forked from ivecera/android_hardware_qcom_display
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Android.mk
30 lines (24 loc) · 799 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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