From d1fc30327579db4ffa081bb4de4557a7f0de8977 Mon Sep 17 00:00:00 2001 From: Lei Ju Date: Wed, 20 Dec 2023 11:43:51 -0800 Subject: [PATCH] [zumapro] Use common settings for chre HAL Bug: 248615564 Test: compilation Change-Id: I4ddb726d5c73a69f4a9319f680b8945b3fc96a72 --- device.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/device.mk b/device.mk index d4b3d5f..56ebf5c 100644 --- a/device.mk +++ b/device.mk @@ -396,17 +396,16 @@ 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 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