diff options
author | Jiyong Park <jiyong@google.com> | 2017-07-17 22:14:42 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-17 22:14:42 +0000 |
commit | cd21970e01fff9a9f96e1ec0bb13d540c128105f (patch) | |
tree | 56a4a425f954b26c84b83af8ac8943eab878a2ab | |
parent | b2ba998f3db0f31961dee81ebbe37026ddbf32cf (diff) | |
parent | 8d9a6e1f58e9275ab3185964d875deac9a8e2933 (diff) | |
download | libnativehelper-cd21970e01fff9a9f96e1ec0bb13d540c128105f.tar.gz |
Merge "Add jni_headers to export only jni.h to vendor and platform." am: 1e942ba689 am: 09b2f6273c
am: 8d9a6e1f58
Change-Id: I61aa873e064afd0aa5f57f948098aed1d502cc56
-rw-r--r-- | Android.bp | 13 | ||||
l--------- | include_jni/jni.h | 1 |
2 files changed, 13 insertions, 1 deletions
@@ -12,6 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +cc_library_headers { + name: "jni_headers", + host_supported: true, + export_include_dirs: ["include_jni"], + vendor_available: true, +} + cc_library { name: "libnativehelper", host_supported: true, @@ -31,7 +38,10 @@ cc_library { srcs: ["AsynchronousCloseMonitor.cpp"], host_ldlibs: ["-ldl"], }, - }, + }, + + header_libs: ["jni_headers"], + export_header_lib_headers: ["jni_headers"], shared_libs: [ "liblog", @@ -41,6 +51,7 @@ cc_library { "-Werror", "-fvisibility=protected", ], + export_include_dirs: ["include", "platform_include"], } diff --git a/include_jni/jni.h b/include_jni/jni.h new file mode 120000 index 0000000..88d1a00 --- /dev/null +++ b/include_jni/jni.h @@ -0,0 +1 @@ +../include/nativehelper/jni.h
\ No newline at end of file |