-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAndroid.mk
30 lines (25 loc) · 820 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))
ifeq ($(call is-board-platform-in-list, msm8996),true)
TARGET_USES_SDM = true
else
TARGET_USES_SDM = false
endif
display-hals := libgralloc libcopybit libmemtrack libqservice libqdutils
display-hals += hdmi_cec include
ifeq ($(TARGET_USES_SDM), true)
sdm-libs := sdm/libs
display-hals += $(sdm-libs)/utils $(sdm-libs)/core $(sdm-libs)/hwc
else
display-hals += libgenlock libhwcomposer liboverlay libhdmi
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
ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(display-hals))
endif
endif
endif