From e11e8a5977e06534bfe6ffbebbb80db17011a706 Mon Sep 17 00:00:00 2001 From: Arvind Kumar Date: Mon, 20 Jun 2022 22:57:15 +0200 Subject: [PATCH] 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 --- system/display/qti-display.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/display/qti-display.mk b/system/display/qti-display.mk index 25301df2..788149c8 100644 --- a/system/display/qti-display.mk +++ b/system/display/qti-display.mk @@ -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