Reduce use of deprecated include_dirs
Removes libnativehelper/include_jni as that is no longer needed uses
jni_headers instead.
Needed as libnativehelper is part of the runtime module and so will not
be present in an unbundled build, instead its build targets will be
provided as prebuilts.
Bug: 134379140
Test: m checkbuild
Change-Id: I2524af076ff6187edb34d5073574e2b3f5e2697f
diff --git a/cpp/Android.bp b/cpp/Android.bp
index 31cb3f8..35b09cd 100644
--- a/cpp/Android.bp
+++ b/cpp/Android.bp
@@ -6,7 +6,9 @@
include_dirs: [
"frameworks/rs",
- "libnativehelper/include_jni",
+ ],
+ header_libs: [
+ "jni_headers",
],
cflags: [