OSDN Git Service

nativebridge: add missing include path
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 Dec 2017 09:39:48 +0000 (17:39 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 Dec 2017 09:39:48 +0000 (17:39 +0800)
This is necessary on Android 8.1.

nativebridge/Android.mk

index 75cd99e..378ce69 100644 (file)
@@ -17,6 +17,7 @@ LOCAL_SRC_FILES := src/libnb.cpp
 LOCAL_CFLAGS := -Werror -Wall
 LOCAL_CPPFLAGS := -std=c++11
 LOCAL_SHARED_LIBRARIES := libcutils libdl liblog
+LOCAL_C_INCLUDES := system/core/libnativebridge/include
 LOCAL_MULTILIB := both
 LOCAL_POST_INSTALL_CMD := $(hide) \
     rm -rf $(TARGET_OUT)/*/{arm*,*houdini*} {$(TARGET_OUT),$(PRODUCT_OUT)}/vendor/{*/arm*,*/*houdini*}; \