blob: b666cd5fe98e0a8d10310a9dbbb1a797a342e486 [file] [log] [blame]
ifeq ($(call my-dir),$(call project-path-for,qcom-display))
ifneq ($(TARGET_DISABLE_DISPLAY),true)
sdm-libs := sdm/libs
display-hals := include libdebug $(sdm-libs)/utils $(sdm-libs)/core
ifneq ($(TARGET_IS_HEADLESS), true)
display-hals += libmemtrack hdmi_cec \
$(sdm-libs)/hwc2 gpu_tonemapper libdrmutils
endif
display-hals += gralloc
ifneq ($(TARGET_PROVIDES_LIBLIGHT),true)
display-hals += liblight
endif
endif #TARGET_DISABLE_DISPLAY
ifneq ($(TARGET_IS_HEADLESS), true)
display-hals += libcopybit
endif
ifeq ($(call is-vendor-board-platform,QCOM),true)
include $(call all-named-subdir-makefiles,$(display-hals))
else
ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(display-hals))
endif
endif
endif