[gs101] Enable Multiclient HAL

Test: 1) complile and flash a gs101 device, passed PTS and CHQTS;
      2) checked logs to make sure no sepolicy violations

Bug: 247124878
Change-Id: I77925374dee75076de1820227cc8879a053af09b
This commit is contained in:
Lei Ju 2024-02-17 10:37:44 -08:00
parent 908d73a76a
commit b87b77a43a

View file

@ -69,7 +69,7 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/google/pixel \
device/google/gs101 \
device/google/gs101/powerstats \
system/chre/host/hal_generic \
vendor/google_devices/common/chre/host/hal \
vendor/google/whitechapel/tools \
vendor/google/camera \
vendor/google/interfaces \
@ -339,24 +339,20 @@ PRODUCT_HOST_PACKAGES += \
PRODUCT_PACKAGES += \
messaging
# Contexthub HAL
PRODUCT_PACKAGES += \
android.hardware.contexthub-service.generic
# CHRE tools
# CHRE
## tools
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
chre_power_test_client \
chre_test_client
chre_test_client \
chre_aidl_hal_client
endif
## HAL
include device/google/gs-common/chre/hal.mk
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.context_hub.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.context_hub.xml
# Enable the CHRE Daemon
CHRE_USF_DAEMON_ENABLED := true
PRODUCT_PACKAGES += \
chre \
preloaded_nanoapps.json
# Filesystem management tools