summaryrefslogtreecommitdiff
path: root/module_ndk_libs
diff options
context:
space:
mode:
authorSpandan Das <spandandas@google.com>2022-09-08 22:03:51 +0000
committerSpandan Das <spandandas@google.com>2022-09-08 22:03:51 +0000
commitdbaab3a819cba61962d720d92eb14094ab76f154 (patch)
treedb90a37d3f51eb27579f0364c07f7c39e076137d /module_ndk_libs
parent17f000e9dd3fb6d7b59ae3622baedce937d0fa96 (diff)
downloadextras-dbaab3a819cba61962d720d92eb14094ab76f154.tar.gz
Declare the headers of the ndk_library
This creates a dependency edge between the ndk_library and its headers, which should be a no-op in regular Soong builds. This dependency edge will be used in the Multi-tree project to export the relevant .h files into a well known location Test: m nothing Bug: 239044713 Change-Id: Ifdd74d65722d92b4fa58cba5ad6ae62a6055883a
Diffstat (limited to 'module_ndk_libs')
-rw-r--r--module_ndk_libs/libnativehelper/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/module_ndk_libs/libnativehelper/Android.bp b/module_ndk_libs/libnativehelper/Android.bp
index 43043738..e5c63261 100644
--- a/module_ndk_libs/libnativehelper/Android.bp
+++ b/module_ndk_libs/libnativehelper/Android.bp
@@ -55,4 +55,8 @@ ndk_library {
name: "libnativehelper",
symbol_file: "libnativehelper.map.txt",
first_version: "S",
+ export_header_libs: [
+ "libnativehelper_ndk_headers",
+ "ndk_jni.h",
+ ],
}