Switch from deprecated include_dirs to local_include_dirs
Cleanup needed to allow build to prevent use of libnativehelper paths
in the include_dirs property.
Bug: 134379140
Test: m checkbuild
Change-Id: Iaf52ba22c4db2b1803ac92b16afee983ac2c0c9d
diff --git a/Android.bp b/Android.bp
index dd5603c..51d9698 100644
--- a/Android.bp
+++ b/Android.bp
@@ -93,9 +93,9 @@
"include",
],
cflags: ["-Werror"],
- include_dirs: [
- "libnativehelper/header_only_include",
- "libnativehelper/platform_include",
+ local_include_dirs: [
+ "header_only_include",
+ "platform_include",
],
srcs: [
"JNIHelp.cpp",