OSDN Git Service

Switch to new Bluetooth HIDL HAL
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 26 Dec 2017 06:15:45 +0000 (14:15 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 26 Dec 2017 06:15:45 +0000 (14:15 +0800)
The new generic Bluetooth HAL for standard Linux hci interface
was introduced since Android 8.1 by the Linaro project.

CleanSpec.mk
treble.mk

index c721cef..bd5e55b 100644 (file)
@@ -1,2 +1,3 @@
 $(call add-clean-step, rm -f $(TARGET_OUT_VENDOR)/*/*/android.hardware.graphics.allocator@2.0-service*)
 $(call add-clean-step, rm -rf $(TARGET_OUT_APPS_PRIVILEGED)/Telecom)
+$(call add-clean-step, rm -f $(TARGET_OUT_VENDOR)/*/*/android.hardware.bluetooth@1.0-service* $(TARGET_OUT)/lib*/libbt-vendor.so)
index 624a5be..3e1ef40 100644 (file)
--- a/treble.mk
+++ b/treble.mk
@@ -18,8 +18,7 @@ PRODUCT_PACKAGES += \
 # Bluetooth HAL
 PRODUCT_PACKAGES += \
     android.hardware.bluetooth@1.0-impl \
-    android.hardware.bluetooth@1.0-service \
-    libbt-vendor
+    android.hardware.bluetooth@1.0-service.btlinux
 
 # Camera HAL
 PRODUCT_PACKAGES += \