summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Peng <robinpeng@google.com>2018-05-08 13:58:41 -0700
committerRobin Peng <robinpeng@google.com>2018-08-16 14:48:09 +0800
commit48f187e83d1bf1fcf34e3aa15856248491b6ac1d (patch)
tree3d5ff2b1e2c6058dac4a4bad5211eae6437ee8d8
parent24ddf03c29b20884a2c256931f3600dcce6f0061 (diff)
downloaddisplay-48f187e83d1bf1fcf34e3aa15856248491b6ac1d.tar.gz
don't build some components when vendor/ is missing
Bug: 112670501 Change-Id: I799a03e5a655764adcb2fe9e30c61138322c746d Signed-off-by: Robin Peng <robinpeng@google.com>
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 707acf1f..6c2a7021 100644
--- a/Android.mk
+++ b/Android.mk
@@ -9,6 +9,7 @@ endif
display-hals += gralloc
+ifneq ($(BUILD_WITHOUT_VENDOR),true)
ifeq ($(call is-vendor-board-platform,QCOM),true)
include $(call all-named-subdir-makefiles,$(display-hals))
else
@@ -16,4 +17,5 @@ ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(display-hals))
endif
endif
+endif
endif #TARGET_DISABLE_DISPLAY