system: display: Setup soong configs for lights aidl

To resolve compilation issue for legacy targets
where lights aidl is not required, adding soong module
and configs for lights aidl to remove shared
libs dependency for legacy target and adding
shared libs dependency only for target defined
in soong_config_variables.

Change-Id: I6e5f847313d2ab184b5ea7198012fbbe01b8028d
This commit is contained in:
Arvind Kumar 2022-06-20 22:57:15 +02:00 committed by Kunmun
parent 16787fc1ae
commit e11e8a5977
No known key found for this signature in database
GPG Key ID: 4AB205FAC69E17ED
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ include vendor/qcom/opensource/commonsys-intf/display/config/display-product-sys
include vendor/qcom/opensource/commonsys/display/config/display-product-commonsys.mk
endif
# Lights AIDL Soong Configs
SOONG_CONFIG_NAMESPACES += lights
SOONG_CONFIG_lights += lighttargets
SOONG_CONFIG_lights_lighttargets := lightaidlV1target
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml