Don't build lights module if vendor supplies it
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
This commit is contained in:
parent
ced789792c
commit
a1ca3a9754
|
@ -4,12 +4,16 @@ sdm-libs := sdm/libs
|
|||
display-hals := include $(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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue