dipper: Remove device-specific BT stack

It has been commonized because that makes kernel 4.19 bringup
less painful.

Change-Id: Ie85122d34626aa43d6094bea93744fd9a829acac
This commit is contained in:
duckyduckG authored and Bruno Martins committed 2026-02-07 10:58:36 +00:00
1 parent bfdb8a7363
commit 4dcf7f2b16
9 files changed
-207

No files matched your search

-195
View File
@@ -2524,42 +2524,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "android.hardware.bluetooth@1.0-impl-qti",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so",
],
shared_libs: [
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"liblog",
"libutils",
"libdiag",
"libqmiservices",
"libqmi_cci",
"libbtnv",
"android.hardware.bluetooth@1.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "android.hardware.keymaster@3.0-impl-qti", name: "android.hardware.keymaster@3.0-impl-qti",
owner: "xiaomi", owner: "xiaomi",
@@ -2751,100 +2715,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.bluetooth_sar@1.0-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.0-impl.so",
],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libutils",
"liblog",
"libhwbinder",
"libbase",
"libcutils",
"libhardware",
"vendor.qti.hardware.bluetooth_sar@1.0",
"android.hardware.bluetooth@1.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.btconfigstore@1.0-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.qti.hardware.btconfigstore@1.0-impl.so",
],
shared_libs: [
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"liblog",
"libhwbinder",
"libutils",
"vendor.qti.hardware.btconfigstore@1.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: "libbtnv",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libbtnv.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libdiagjni", name: "libdiagjni",
owner: "xiaomi", owner: "xiaomi",
@@ -3014,36 +2884,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.bluetooth_sar@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.0.so",
],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
prebuilt_rfsa { prebuilt_rfsa {
name: "dirac_resource", name: "dirac_resource",
filename: "dirac_resource.dar", filename: "dirac_resource.dar",
@@ -3123,41 +2963,6 @@ sh_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "android.hardware.bluetooth@1.0-service-qti",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libhwbinder",
"libhidlbase",
"libhidltransport",
"android.hardware.bluetooth@1.0",
"vendor.qti.hardware.bluetooth_sar@1.0",
"vendor.qti.hardware.btconfigstore@1.0",
"libqti_vndfwk_detect",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "android.hardware.keymaster@3.0-service-qti", name: "android.hardware.keymaster@3.0-service-qti",
owner: "xiaomi", owner: "xiaomi",
-7
View File
@@ -42,7 +42,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/dipper/proprietary/vendor/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ vendor/xiaomi/dipper/proprietary/vendor/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
vendor/xiaomi/dipper/proprietary/vendor/etc/gpsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gpsconfig.xml \ vendor/xiaomi/dipper/proprietary/vendor/etc/gpsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gpsconfig.xml \
vendor/xiaomi/dipper/proprietary/vendor/etc/hdr_config.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/hdr_config.cfg \ vendor/xiaomi/dipper/proprietary/vendor/etc/hdr_config.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/hdr_config.cfg \
vendor/xiaomi/dipper/proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.0-service-qti.rc \
vendor/xiaomi/dipper/proprietary/vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@3.0-service-qti.rc \ vendor/xiaomi/dipper/proprietary/vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@3.0-service-qti.rc \
vendor/xiaomi/dipper/proprietary/vendor/etc/init/vendor.qti.secure_element@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.secure_element@1.0-service.rc \ vendor/xiaomi/dipper/proprietary/vendor/etc/init/vendor.qti.secure_element@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.secure_element@1.0-service.rc \
vendor/xiaomi/dipper/proprietary/vendor/etc/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lhd.conf \ vendor/xiaomi/dipper/proprietary/vendor/etc/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lhd.conf \
@@ -224,30 +223,24 @@ PRODUCT_PACKAGES += \
libtonemapalgo \ libtonemapalgo \
libvidhance \ libvidhance \
android.hardware.gnss@2.0-impl-xiaomi \ android.hardware.gnss@2.0-impl-xiaomi \
android.hardware.bluetooth@1.0-impl-qti \
android.hardware.keymaster@3.0-impl-qti \ android.hardware.keymaster@3.0-impl-qti \
android.hardware.secure_element@1.0-impl \ android.hardware.secure_element@1.0-impl \
fingerprint.fpc.sdm845 \ fingerprint.fpc.sdm845 \
fingerprint.goodix.sdm845 \ fingerprint.goodix.sdm845 \
flp.brcm \ flp.brcm \
gps.brcm \ gps.brcm \
vendor.qti.hardware.bluetooth_sar@1.0-impl \
vendor.qti.hardware.btconfigstore@1.0-impl \
libbtnv \
libdiagjni \ libdiagjni \
libgf_ca \ libgf_ca \
libgf_hal \ libgf_hal \
libgps.utils \ libgps.utils \
libremosaiclib \ libremosaiclib \
sensors.ssc \ sensors.ssc \
vendor.qti.hardware.bluetooth_sar@1.0 \
dirac_resource \ dirac_resource \
libSuperSensor_skel \ libSuperSensor_skel \
libarcsoft_dualcam_refocus_skel \ libarcsoft_dualcam_refocus_skel \
misound_res \ misound_res \
glgps \ glgps \
gps.cer \ gps.cer \
android.hardware.bluetooth@1.0-service-qti \
android.hardware.keymaster@3.0-service-qti \ android.hardware.keymaster@3.0-service-qti \
vendor.qti.secure_element@1.0-service \ vendor.qti.secure_element@1.0-service \
ignss_2_0 \ ignss_2_0 \
@@ -1,5 +0,0 @@
service vendor.bluetooth-1-0-qti /vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
class hal
user bluetooth
group bluetooth system wakelock oem_2901
capabilities BLOCK_SUSPEND NET_ADMIN
Binary file not shown.
Binary file not shown.