diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2014-04-11 19:46:04 -0400 |
---|---|---|
committer | Naseer Ahmed <naseer@codeaurora.org> | 2014-04-14 10:51:47 -0400 |
commit | 07bded6ac921e7049cc4b5075c0f9cd5a402ea4b (patch) | |
tree | b8ed7310f1424ff54a168627b2aec601568815a6 | |
parent | 69669978f77eb71edc6282244920cb78e45a2024 (diff) | |
download | display-07bded6ac921e7049cc4b5075c0f9cd5a402ea4b.tar.gz |
display: Makefile changes for AOSP builds
- On some builds, the display HAL can be located in a subdirectory.
Use LOCAL_PATH to include local headers.
- Use msm and apq filters to pick up the qcom display HAL.
Change-Id: Ib9b47ececb37fda1ecde5ce1cbe1fce9b041f84a
-rw-r--r-- | Android.mk | 3 | ||||
-rw-r--r-- | common.mk | 16 |
2 files changed, 9 insertions, 10 deletions
@@ -4,8 +4,7 @@ display-hals += libmemtrack ifeq ($(call is-vendor-board-platform,QCOM),true) include $(call all-named-subdir-makefiles,$(display-hals)) else -ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),) - #This is for mako since it doesn't have the QCOM make functions +ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),) include $(call all-named-subdir-makefiles,$(display-hals)) endif endif @@ -1,12 +1,12 @@ #Common headers -common_includes := hardware/qcom/display/libgralloc -common_includes += hardware/qcom/display/liboverlay -common_includes += hardware/qcom/display/libcopybit -common_includes += hardware/qcom/display/libqdutils -common_includes += hardware/qcom/display/libhwcomposer -common_includes += hardware/qcom/display/libexternal -common_includes += hardware/qcom/display/libqservice -common_includes += hardware/qcom/display/libvirtual +common_includes := $(LOCAL_PATH)/../libgralloc +common_includes += $(LOCAL_PATH)/../liboverlay +common_includes += $(LOCAL_PATH)/../libcopybit +common_includes += $(LOCAL_PATH)/../libqdutils +common_includes += $(LOCAL_PATH)/../libhwcomposer +common_includes += $(LOCAL_PATH)/../libexternal +common_includes += $(LOCAL_PATH)/../libqservice +common_includes += $(LOCAL_PATH)/../libvirtual ifeq ($(TARGET_USES_POST_PROCESSING),true) common_flags += -DUSES_POST_PROCESSING |