Add explicit dependencies on jni_headers
Bug: 152482542
Test: lunch aosp_x86_64 && m checkbuild
Change-Id: I1859a5b15d7e1a4939968908d862d27b2345acc4
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index a732276..4024d48 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -26,7 +26,9 @@
srcs: [
"native_loader.cpp",
],
- header_libs: ["libnativehelper_header_only"],
+ header_libs: [
+ "libnativehelper_header_only",
+ ],
shared_libs: [
"liblog",
"libnativebridge",
@@ -78,6 +80,8 @@
],
host_supported: true,
export_include_dirs: ["include"],
+ header_libs: ["jni_headers"],
+ export_header_lib_headers: ["jni_headers"],
}
cc_test {