Ethan Chen | 527be43 | 2014-11-08 23:27:23 -0800 | [diff] [blame] | 1 | ifeq ($(call my-dir),$(call project-path-for,qcom-display)) |
| 2 | |
Pothuluraiah Usarthi | 3727487 | 2017-12-11 11:37:08 -0800 | [diff] [blame] | 3 | ifneq ($(TARGET_DISABLE_DISPLAY),true) |
Pullakavi Srinivas | c644266 | 2016-06-22 02:20:07 +0530 | [diff] [blame] | 4 | sdm-libs := sdm/libs |
Naseer Ahmed | 9905128 | 2017-05-15 12:20:07 -0400 | [diff] [blame] | 5 | display-hals := include $(sdm-libs)/utils $(sdm-libs)/core libdebug |
Pullakavi Srinivas | c644266 | 2016-06-22 02:20:07 +0530 | [diff] [blame] | 6 | |
| 7 | ifneq ($(TARGET_IS_HEADLESS), true) |
Steve Kondik | c99eb85 | 2014-11-10 13:02:22 -0800 | [diff] [blame^] | 8 | display-hals += libcopybit libmemtrack hdmi_cec \ |
Uday Kiran Pichika | 5f30637 | 2018-08-02 16:22:15 -0700 | [diff] [blame] | 9 | $(sdm-libs)/hwc2 gpu_tonemapper libdrmutils |
Pullakavi Srinivas | c644266 | 2016-06-22 02:20:07 +0530 | [diff] [blame] | 10 | endif |
| 11 | |
Naseer Ahmed | 202a616 | 2018-02-09 10:42:10 -0500 | [diff] [blame] | 12 | display-hals += gralloc |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 13 | |
Steve Kondik | c99eb85 | 2014-11-10 13:02:22 -0800 | [diff] [blame^] | 14 | ifneq ($(TARGET_PROVIDES_LIBLIGHT),true) |
| 15 | display-hals += liblight |
| 16 | endif |
| 17 | |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 18 | ifeq ($(call is-vendor-board-platform,QCOM),true) |
| 19 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 20 | else |
Naseer Ahmed | 07bded6 | 2014-04-11 19:46:04 -0400 | [diff] [blame] | 21 | ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),) |
Naseer Ahmed | 7421472 | 2013-02-09 08:11:36 -0500 | [diff] [blame] | 22 | include $(call all-named-subdir-makefiles,$(display-hals)) |
| 23 | endif |
Iliyan Malchev | f5c98d1 | 2012-06-29 16:54:50 -0700 | [diff] [blame] | 24 | endif |
Pothuluraiah Usarthi | 3727487 | 2017-12-11 11:37:08 -0800 | [diff] [blame] | 25 | endif #TARGET_DISABLE_DISPLAY |
Ethan Chen | 527be43 | 2014-11-08 23:27:23 -0800 | [diff] [blame] | 26 | |
| 27 | endif |