summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index 80d5f462d..62cca6de6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,7 +1,10 @@
-ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)
-
-display-hals := libgralloc libgenlock libcopybit liblight
+ifeq ($(call is-vendor-board-platform,QCOM),true)
+ifeq ($(TARGET_QCOM_DISPLAY_VARIANT),)
+display-hals := libgralloc libgenlock libcopybit
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
-
+ifneq ($(TARGET_PROVIDES_LIBLIGHT),true)
+display-hals += liblight
+endif
include $(call all-named-subdir-makefiles,$(display-hals))
endif
+endif