Use header lib instead of using global include path
Header lib is preferred since a set of headers can have internal dependency to other headers which are in different directories. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j memtrack.msm8998 Change-Id: I19b05ea960ba553eb9bbcd674eb9c50216169cef
This commit is contained in:
parent
616df2f769
commit
814103ec44
|
@ -20,10 +20,10 @@ include $(CLEAR_VARS)
|
|||
|
||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
LOCAL_C_INCLUDES += hardware/libhardware/include
|
||||
LOCAL_CFLAGS := -Wconversion -Wall -Werror -Wno-sign-conversion
|
||||
LOCAL_CLANG := true
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_SRC_FILES := memtrack_msm.c kgsl.c
|
||||
LOCAL_MODULE := memtrack.$(TARGET_BOARD_PLATFORM)
|
||||
LOCAL_HEADER_LIBRARIES := libhardware_headers
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
Loading…
Reference in New Issue