summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-07-12 14:42:46 +0100
committer Paul Duffin <paulduffin@google.com> 2019-07-16 16:08:12 +0100
commitf3b039f1b6eab47c4cc8bc6702b6274192d7ca89 (patch)
tree2c9d6f1cfead32b1d3950083ddae5813121cad94
parente70d3717058ff6d6f85e1b0df96bb61266949207 (diff)
Remove libnativehelper directories from include_dirs
Uses libnativehelper_header_only library 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: I8becbda3a202ddaed52eaf861ac94fe4b08807c2
-rw-r--r--tools/lock_agent/Android.bp16
1 files changed, 4 insertions, 12 deletions
diff --git a/tools/lock_agent/Android.bp b/tools/lock_agent/Android.bp
index 408946b28836..79dce4a8ce09 100644
--- a/tools/lock_agent/Android.bp
+++ b/tools/lock_agent/Android.bp
@@ -12,13 +12,9 @@ cc_library {
],
sdk_version: "current",
stl: "c++_static",
- include_dirs: [
- // NDK headers aren't available in platform NDK builds.
- "libnativehelper/include_jni",
- // Use ScopedUtfChars.
- "libnativehelper/header_only_include",
- ],
header_libs: [
+ // Use ScopedUtfChars.
+ "libnativehelper_header_only",
"libopenjdkjvmti_headers",
],
compile_multilib: "both",
@@ -32,13 +28,9 @@ cc_binary_host {
"libz",
"slicer",
],
- include_dirs: [
- // NDK headers aren't available in platform NDK builds.
- "libnativehelper/include_jni",
- // Use ScopedUtfChars.
- "libnativehelper/header_only_include",
- ],
header_libs: [
+ // Use ScopedUtfChars.
+ "libnativehelper_header_only",
"libopenjdkjvmti_headers",
],
}