summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Priyanka Advani (xWF) <padvani@google.com> 2024-08-27 01:02:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-27 01:02:53 +0000
commit95caae2f886e5a2109529b1469ca603fe5173feb (patch)
tree9c47cf785b6aac55c6a5f412353c01f7108c074f
parent630aa071317472fb644414fd61ddef8c05233bf4 (diff)
parent1f01c41f0c2642fa2ec31a7d04a5d7d2a2f7f6c1 (diff)
Merge "Revert "remove libbinder_ndk_helper_headers"" into main
-rw-r--r--libs/binder/ndk/Android.bp15
1 files changed, 14 insertions, 1 deletions
diff --git a/libs/binder/ndk/Android.bp b/libs/binder/ndk/Android.bp
index 163b5343c0..4e02aceb86 100644
--- a/libs/binder/ndk/Android.bp
+++ b/libs/binder/ndk/Android.bp
@@ -246,7 +246,19 @@ ndk_headers {
license: "NOTICE",
}
-// include_cpp are packaged in development/build/sdk.atree with the AIDL compiler
+// TODO(b/160624671): package with the aidl compiler
+ndk_headers {
+ name: "libbinder_ndk_helper_headers",
+ from: "include_cpp/android",
+ to: "android",
+ srcs: [
+ "include_cpp/android/*.h",
+ ],
+ license: "NOTICE",
+ // These are intentionally not C. It's a mistake that they're in the NDK.
+ // See the bug above.
+ skip_verification: true,
+}
ndk_library {
name: "libbinder_ndk",
@@ -254,5 +266,6 @@ ndk_library {
first_version: "29",
export_header_libs: [
"libbinder_ndk_headers",
+ "libbinder_ndk_helper_headers",
],
}