diff options
author | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2021-09-13 14:17:24 +0200 |
---|---|---|
committer | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2021-09-20 14:20:47 +0200 |
commit | b07706602008134069db5f76b6614e50428a286d (patch) | |
tree | 2a1838d65b65ac1d28cbc22460e1d0c7bf9a572e | |
parent | 04f9abedb83abf72aaf417fe378730dd1dd63966 (diff) |
sdm660-common: Conditionally build IR HIDL
Change-Id: I7ebde1c32e2a64c867b7ae26c3aa254432386df2
-rw-r--r-- | sdm660.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -141,6 +141,15 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ $(LOCAL_PATH)/configs/component-overrides-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml +# ConsumerIR +ifeq ($(BOARD_HAVE_IR),true) +PRODUCT_PACKAGES += \ + android.hardware.ir@1.0-service.xiaomi_sdm660 + +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml +endif + # Display PRODUCT_PACKAGES += \ gralloc.sdm660 \ |