diff options
author | Steve Kondik <shade@chemlab.org> | 2014-11-10 13:02:22 -0800 |
---|---|---|
committer | Rashed Abdel-Tawab <rashed@linux.com> | 2017-09-12 21:16:57 -0400 |
commit | b27738a3d58214ed032f62a80232f11757f83a56 (patch) | |
tree | f345faa35585024e52d5f31bfaa2258c1d213f32 | |
parent | b058cc3cfe8ac9c642617805f024a39b2c51d446 (diff) | |
download | android_hardware_qcom_display-lineage-15.0-caf-8996.tar.gz android_hardware_qcom_display-lineage-15.0-caf-8996.tar.bz2 android_hardware_qcom_display-lineage-15.0-caf-8996.zip |
Don't build lights module if vendor supplies itlineage-15.0-caf-8996
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
-rw-r--r-- | Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk index 039130de4..afc987a4a 100644 --- a/Android.mk +++ b/Android.mk @@ -4,7 +4,7 @@ sdm-libs := sdm/libs display-hals := include libqservice libqdutils $(sdm-libs)/utils $(sdm-libs)/core ifneq ($(TARGET_IS_HEADLESS), true) - display-hals += libcopybit liblight libmemtrack hdmi_cec \ + display-hals += libcopybit libmemtrack hdmi_cec \ $(sdm-libs)/hwc $(sdm-libs)/hwc2 gpu_tonemapper libdrmutils libdisplayconfig endif @@ -14,6 +14,10 @@ else display-hals += libgralloc1 endif +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 |