gs201: migrate Bluetooth HAL service setting to project dependent make files

Bug: 189727579
Test: Manually
Change-Id: I97e9e4b764ccf3b7896904590d00633ae206b729
This commit is contained in:
weichinweng 2021-09-06 21:15:49 +08:00 committed by TreeHugger Robot
parent a8ddf739a5
commit 1c94ce30ef
2 changed files with 3 additions and 12 deletions

View file

@ -1,4 +0,0 @@
# This is BTBCM HAL overlay configuration file.
# Uart port name
UartPort = /dev/ttySAC18

View file

@ -42,8 +42,7 @@ PRODUCT_SOONG_NAMESPACES += \
vendor/google_devices/common/proprietary/confirmatioui_hal \
vendor/google_nos/host/android \
vendor/google_nos/test/system-test-harness \
vendor/google/camera \
vendor/broadcom/bluetooth
vendor/google/camera
DEVICE_USES_EXYNOS_GRALLOC_VERSION := 4
@ -754,14 +753,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/by-name/frp
# Bluetooth HAL
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.1-service.bcmbtlinux \
bt_vendor.conf
# Bluetooth
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
device/google/gs201/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
# System props to enable Bluetooth Quality Report (BQR) feature
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))