Add libbinder_ndk to the NDK.
This library is a C API over libbinder. Its intended to be used as a
bakend of AIDL, but implemented services direclty in this protocol is
also possible.
Bug: 111445392
Test: runtests.sh
Change-Id: Iaf3adc0dce0646dcc04e78ae33cccdf0c29d613c
diff --git a/libs/binder/ndk/Android.bp b/libs/binder/ndk/Android.bp
index 459b6b5..3f3c4fa 100644
--- a/libs/binder/ndk/Android.bp
+++ b/libs/binder/ndk/Android.bp
@@ -37,3 +37,19 @@
"libutils",
],
}
+
+ndk_headers {
+ name: "libbinder_ndk_headers",
+ from: "include_ndk/android",
+ to: "android",
+ srcs: [
+ "include_ndk/android/*.h",
+ ],
+ license: "NOTICE",
+}
+
+ndk_library {
+ name: "libbinder_ndk",
+ symbol_file: "libbinder_ndk.map.txt",
+ first_version: "29",
+}