sdm660-common: Conditionally build IR HIDL
Change-Id: I7ebde1c32e2a64c867b7ae26c3aa254432386df2 Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: OdSazib <odsazib@gmail.com>
This commit is contained in:
parent
bc7afa0f64
commit
35d819fd51
1 changed files with 9 additions and 0 deletions
|
@ -184,6 +184,15 @@ PRODUCT_PACKAGES += \
|
|||
# Dalvik
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk )
|
||||
|
||||
# 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 += \
|
||||
android.frameworks.displayservice@1.0 \
|
||||
|
|
Loading…
Reference in a new issue