Import headers for enabling VNDK.

These modules don't explicitly declare their
dependence on hardware/gralloc1.h

Bug: 69526027
Test: mma -j BOARD_VNDK_VERSION=current
Change-Id: If9e5636635c7d039d7fa924cb51fa5f838ee6bca
This commit is contained in:
Steven Moreland 2018-01-25 12:29:25 -08:00
parent 0a489f6722
commit 31174f4806
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(common_includes) \
external/libcxx/include/
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := $(common_libs) libqdMetaData libsync
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdgralloc\" -fPIC -Wall -std=c++11 -Werror
LOCAL_CFLAGS += -isystem $(kernel_includes)

View File

@ -5,6 +5,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libqdutils
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_TAGS := optional
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := $(common_libs) libui libbinder libqservice
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdutils\" -Wno-sign-conversion
@ -19,6 +20,7 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_C_INCLUDES := $(common_includes)
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)