Skip to content

Commit 95caae2

Browse files
Priyanka Advani (xWF)Gerrit Code Review
authored andcommitted
Merge "Revert "remove libbinder_ndk_helper_headers"" into main
2 parents 630aa07 + 1f01c41 commit 95caae2

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

libs/binder/ndk/Android.bp

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,26 @@ ndk_headers {
246246
license: "NOTICE",
247247
}
248248

249-
// include_cpp are packaged in development/build/sdk.atree with the AIDL compiler
249+
// TODO(b/160624671): package with the aidl compiler
250+
ndk_headers {
251+
name: "libbinder_ndk_helper_headers",
252+
from: "include_cpp/android",
253+
to: "android",
254+
srcs: [
255+
"include_cpp/android/*.h",
256+
],
257+
license: "NOTICE",
258+
// These are intentionally not C. It's a mistake that they're in the NDK.
259+
// See the bug above.
260+
skip_verification: true,
261+
}
250262

251263
ndk_library {
252264
name: "libbinder_ndk",
253265
symbol_file: "libbinder_ndk.map.txt",
254266
first_version: "29",
255267
export_header_libs: [
256268
"libbinder_ndk_headers",
269+
"libbinder_ndk_helper_headers",
257270
],
258271
}

0 commit comments

Comments
 (0)