Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame^] | 1 | # This flag will be set to true during migration to Snapdragon Display Engine. |
| 2 | TARGET_USES_SDE = false |
| 3 | |
| 4 | display-hals := libgralloc libcopybit liblight libmemtrack |
| 5 | |
| 6 | ifeq ($(TARGET_USES_SDE), true) |
| 7 | sde-libs := displayengine/libs |
| 8 | display-hals += $(sde-libs)/utils $(sde-libs)/core $(sde-libs)/hwc |
| 9 | else |
| 10 | display-hals += libgenlock libhwcomposer liboverlay libqdutils libhdmi |
| 11 | display-hals += libqservice |
| 12 | endif |
| 13 | |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 14 | ifeq ($(call is-vendor-board-platform,QCOM),true) |
| 15 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 16 | else |
Naseer Ahmed | 07bded6 | 2014-04-11 19:46:04 -0400 | [diff] [blame] | 17 | ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),) |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 18 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 19 | endif |
Iliyan Malchev | f5c98d1 | 2012-06-29 16:54:50 -0700 | [diff] [blame] | 20 | endif |