display-config: Add a soong namespace for display commonsys
This is required for targets which may not have displayconfig
available.
Change-Id: I905ad2763c7ef1e6fb3f19ac9446887641b45581
diff --git a/config/display-product-system.mk b/config/display-product-system.mk
index cdeabd7..6509648 100644
--- a/config/display-product-system.mk
+++ b/config/display-product-system.mk
@@ -14,3 +14,13 @@
libsmomoconfig.qti \
libcomposerextn.qti \
libdisplayconfig.qti
+
+SOONG_CONFIG_NAMESPACES += qtidisplaycommonsys
+# Soong Keys
+SOONG_CONFIG_qtidisplaycommonsys := displayconfig_enabled
+# Soong Values
+SOONG_CONFIG_qtidisplaycommonsys_displayconfig_enabled := false
+
+ifeq ($(call is-vendor-board-platform,QCOM),true)
+ SOONG_CONFIG_qtidisplaycommonsys_displayconfig_enabled := true
+endif