diff options
author | Steve Kondik <shade@chemlab.org> | 2014-11-10 13:02:22 -0800 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2021-11-30 18:32:03 +0100 |
commit | d10bc9bac3823879f5332d27f817b58099fcd91e (patch) | |
tree | 6801ca0ff9d84ec65634b9ab693f427ec00ddf8b | |
parent | 41b5d296bbe887277947f3910b92710c633a5f2a (diff) |
Don't build lights module if vendor supplies it
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
-rw-r--r-- | Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,12 +5,16 @@ sdm-libs := sdm/libs display-hals := include $(sdm-libs)/utils $(sdm-libs)/core libdebug ifneq ($(TARGET_IS_HEADLESS), true) - display-hals += libcopybit liblight libmemtrack hdmi_cec \ + display-hals += libcopybit libmemtrack hdmi_cec \ $(sdm-libs)/hwc2 gpu_tonemapper libdrmutils endif display-hals += gralloc +ifneq ($(TARGET_PROVIDES_LIBLIGHT),true) + display-hals += liblight +endif + ifeq ($(call is-vendor-board-platform,QCOM),true) include $(call all-named-subdir-makefiles,$(display-hals)) else |