summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpandan Das <spandandas@google.com>2022-09-08 21:55:23 +0000
committerSpandan Das <spandandas@google.com>2022-09-08 21:55:23 +0000
commitd7e3c7ca078f4ed013af1b7a8315dc306045ca57 (patch)
tree9503c5b519cf550f4ec404981865e320fa11d9aa
parent97288af7dd3c3606ec82ae933f0e0a951a00804a (diff)
downloadwilhelm-d7e3c7ca078f4ed013af1b7a8315dc306045ca57.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 Formatting changes are from bpfmt Test: m nothing Bug: 239044713 Change-Id: Id73fe0013f869240871ad3864904d62bcd244a3a
-rw-r--r--Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a961572..c5e3230 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,6 +43,9 @@ ndk_library {
symbol_file: "src/libOpenMAXAL.map.txt",
first_version: "14",
unversioned_until: "current",
+ export_header_libs: [
+ "libOpenMAXAL_headers",
+ ],
}
ndk_headers {
@@ -58,6 +61,9 @@ ndk_library {
symbol_file: "src/libOpenSLES.map.txt",
first_version: "9",
unversioned_until: "current",
+ export_header_libs: [
+ "libOpenSLES_ndk_headers",
+ ],
}
cc_library_headers {