Switch from deprecated include_dirs to local_include_dirs
Also removed subdirs variable which is ignored.
Bug: 134379140
Test: TH
Change-Id: Iac2db7938079f7ec2186042999ab4cade0747cbe
diff --git a/NativeCode.bp b/NativeCode.bp
index e268a87..a27fa74 100644
--- a/NativeCode.bp
+++ b/NativeCode.bp
@@ -111,8 +111,8 @@
"core_native_default_libs",
],
srcs: [":libopenjdk_native_srcs"],
- include_dirs: [
- "libcore/luni/src/main/native",
+ local_include_dirs: [
+ "luni/src/main/native",
],
cflags: [
// TODO(narayan): Prune down this list of exclusions once the underlying
@@ -235,8 +235,3 @@
shared_libs: ["libnativehelper"],
}
-
-subdirs = [
- "luni/src/main/native",
- "ojluni/src/main/native",
-]