Build libqdMetaData with BOARD_VNDK_VERSION

The header lib 'display_headers' exports headers under libgralloc1.
However, headers at libgralloc1 is internally using libhardware_headers.
Export this to the clients of display_headers.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j libqdMetaData

Change-Id: I2cdf699468aca3f9142e1ef5e756ec9f040e7a6e
This commit is contained in:
Jiyong Park 2017-07-14 14:40:49 +09:00
parent 2ad4b087e0
commit 165d17febd
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) \
ifeq ($(TARGET_USES_GRALLOC1), true)
LOCAL_EXPORT_C_INCLUDE_DIRS += $(display_top)/libgralloc1
LOCAL_EXPORT_HEADER_LIBRARY_HEADERS := libhardware_headers
else
LOCAL_EXPORT_C_INCLUDE_DIRS += $(display_top)/libgralloc
endif