sdm845-common: Commonize BT stack and dependencies

There's no harm doing this and eases kernel 4.19 bringup.

Change-Id: Ie88f469be3f83c887dc2f993cb964bfa51091512
This commit is contained in:
duckyduckG committed 2026-04-04 10:17:33 +05:00
1 parent dcfb560be8
commit 4b7927a0aa
33 files changed
+168 -16

No files matched your search

+161 -14
View File
@@ -2635,12 +2635,12 @@ cc_prebuilt_library_shared {
"libcutils",
"libfmq",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"android.hardware.bluetooth.audio@2.0",
"libbluetooth_audio_session",
"libbluetooth_audio_session_qti",
"libbluetooth_audio_session_qti_2_1",
"libc++",
"libc",
"libm",
@@ -2744,9 +2744,44 @@ cc_prebuilt_library_shared {
"libcutils",
"libfmq",
"libhidlbase",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.bluetooth_audio@2.1-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.1-impl.so",
],
shared_libs: [
"android.hardware.audio.common@5.0",
"libbluetooth_audio_session_qti_2_1",
"libbase",
"libcutils",
"libfmq",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"vendor.qti.hardware.bluetooth_audio@2.1",
"vendor.qti.hardware.bluetooth_audio@2.0",
"libc++",
"libc",
"libm",
@@ -3205,6 +3240,39 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib/libbluetooth_audio_session_qti.so",
],
shared_libs: [
"vendor.qti.hardware.bluetooth_audio@2.0",
"libaudioutils",
"libbase",
"libcutils",
"libfmq",
"libhidlbase",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libbluetooth_audio_session_qti_2_1",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libbluetooth_audio_session_qti_2_1.so",
],
shared_libs: [
"vendor.qti.hardware.bluetooth_audio@2.1",
"vendor.qti.hardware.bluetooth_audio@2.0",
"libaudioutils",
"libbase",
@@ -4945,7 +5013,6 @@ cc_prebuilt_library_shared {
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"libdiag",
@@ -4953,6 +5020,7 @@ cc_prebuilt_library_shared {
"libqmi_cci",
"libbtnv",
"android.hardware.bluetooth@1.0",
"libsoc_helper",
"libc++",
"libc",
"libm",
@@ -5065,7 +5133,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.bluetooth_sar@1.0-impl",
name: "vendor.qti.hardware.bluetooth_sar@1.1-impl",
owner: "xiaomi",
strip: {
none: true,
@@ -5073,19 +5141,16 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.0-impl.so",
"proprietary/vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.1-impl.so",
],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libutils",
"liblog",
"libhwbinder",
"libbase",
"libcutils",
"libhardware",
"vendor.qti.hardware.bluetooth_sar@1.0",
"android.hardware.bluetooth@1.0",
"vendor.qti.hardware.bluetooth_sar@1.1",
"android.hardware.bluetooth@1.0-impl-qti",
"libc++",
"libc",
@@ -5115,9 +5180,7 @@ cc_prebuilt_library_shared {
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"liblog",
"libhwbinder",
"libutils",
"vendor.qti.hardware.btconfigstore@1.0",
"android.hardware.bluetooth@1.0-impl-qti",
@@ -5134,6 +5197,38 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.btconfigstore@2.0-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.qti.hardware.btconfigstore@2.0-impl.so",
],
shared_libs: [
"libbase",
"libcutils",
"libhidlbase",
"liblog",
"libutils",
"vendor.qti.hardware.btconfigstore@2.0",
"android.hardware.bluetooth@1.0-impl-qti",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.capabilityconfigstore@1.0-impl",
owner: "xiaomi",
@@ -8021,6 +8116,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsoc_helper",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libsoc_helper.so",
],
shared_libs: [
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libspcom",
owner: "xiaomi",
@@ -9026,8 +9146,35 @@ cc_prebuilt_library_shared {
],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.bluetooth_sar@1.1",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so",
],
shared_libs: [
"vendor.qti.hardware.bluetooth_sar@1.0",
"libhidlbase",
"liblog",
"libutils",
"libcutils",
@@ -12996,13 +13143,13 @@ cc_prebuilt_binary {
"liblog",
"libcutils",
"libutils",
"libhwbinder",
"libhidlbase",
"libhidltransport",
"android.hardware.bluetooth@1.0",
"vendor.qti.hardware.fm@1.0_vendor",
"vendor.qti.hardware.bluetooth_sar@1.0",
"vendor.qti.hardware.bluetooth_sar@1.1",
"vendor.qti.hardware.btconfigstore@1.0",
"vendor.qti.hardware.btconfigstore@2.0",
"libqti_vndfwk_detect",
"libc++",
"libc",