summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-07-12 16:12:49 +0100
committerPaul Duffin <paulduffin@google.com>2019-07-12 16:13:57 +0100
commitd96f57e86a4bff38b84ee2cfb2286f9114ccb6fc (patch)
tree6b2b1b18f5f0c53796c35edd93e3bcf63fda9f2d
parent4dfdfc2aae0f2ff9d63fb05148f245637f56a9d8 (diff)
Switch from deprecated include_dirs to local_include_dirs
Also removed subdirs variable which is ignored. Bug: 134379140 Test: TH Change-Id: Iac2db7938079f7ec2186042999ab4cade0747cbe
-rw-r--r--NativeCode.bp9
1 files changed, 2 insertions, 7 deletions
diff --git a/NativeCode.bp b/NativeCode.bp
index e268a87aae..a27fa74821 100644
--- a/NativeCode.bp
+++ b/NativeCode.bp
@@ -111,8 +111,8 @@ cc_defaults {
"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 @@ cc_benchmark {
shared_libs: ["libnativehelper"],
}
-
-subdirs = [
- "luni/src/main/native",
- "ojluni/src/main/native",
-]