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 | |
Dileep Marchya | aef83ad | 2014-11-04 17:04:50 -0800 | [diff] [blame] | 4 | display-hals := libgralloc libcopybit liblight libmemtrack libqservice |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 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 |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 11 | endif |
| 12 | |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 13 | ifeq ($(call is-vendor-board-platform,QCOM),true) |
| 14 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 15 | else |
Naseer Ahmed | 07bded6 | 2014-04-11 19:46:04 -0400 | [diff] [blame] | 16 | ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),) |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 17 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 18 | endif |
Iliyan Malchev | f5c98d1 | 2012-06-29 16:54:50 -0700 | [diff] [blame] | 19 | endif |