From 0f238ac9eb2fad20f543c2cceeca72e5fc64ef54 Mon Sep 17 00:00:00 2001 From: Chen Yu Y Date: Tue, 21 Nov 2017 16:13:48 +0800 Subject: [PATCH] Extend the search scope of c header files When VNDK enabled, system strict the header file search scope, this patch extend the c includes search scope Change-Id: I9f71870287f64e3a3d90a03eca9316041440663a Jira: None. Test: Build should pass Signed-off-by: Chen Yu Y --- Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 0ed3586..c2253d3 100644 --- a/Android.mk +++ b/Android.mk @@ -55,7 +55,7 @@ endif ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 27; echo $$?), 0) LOCAL_SHARED_LIBRARIES += libnativewindow LOCAL_STATIC_LIBRARIES += libarect -LOCAL_HEADER_LIBRARIES += libnativebase_headers +LOCAL_HEADER_LIBRARIES += libnativebase_headers libsystem_headers libhardware_headers libutils_headers LOCAL_CFLAGS += -DUSE_VNDK endif -- 2.11.0