summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2022-09-08 21:20:07 +0000
committer Spandan Das <spandandas@google.com> 2022-09-27 16:58:15 +0000
commit76d971d0d67c2078dfbf0ef3d69b6a295644627a (patch)
treef4ee750c09892c4b88280f7e7a7fccfaa32ed6d2
parentfb6602dcf62eaa5731697469b1039ae6d5e8bfc9 (diff)
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 The headers are in a different git project (frameworks/native) Test: m nothing Bug: 239044713 Change-Id: Ifd00d8d4d3771b2dbd924cea4f2ade0bafc15ed6
-rw-r--r--native/android/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index 32b7a0780e63..8594ba5ca2da 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -27,6 +27,9 @@ ndk_library {
symbol_file: "libandroid.map.txt",
first_version: "9",
unversioned_until: "current",
+ export_header_libs: [
+ "libandroid_headers",
+ ],
}
cc_defaults {