libbinder: Build binderRpcToTrustyTest test
Add a new test binary binderRpcToTrustyTest that
runs a subset of the binderRpcTest tests on a connection
from Android to Trusty.
Bug: 230135749
Test: push&run binderRpcToTrustyTest in the Trusty emulator
Change-Id: Ibc3cea398eb7fee0b75f830ad77afb3d893850d1
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index baeb565..2cc2c01 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -358,6 +358,7 @@
cc_library_static {
name: "libbinder_rpc_no_kernel",
+ vendor_available: true,
defaults: [
"libbinder_common_defaults",
"libbinder_android_defaults",
@@ -410,6 +411,7 @@
cc_defaults {
name: "libbinder_tls_defaults",
defaults: ["libbinder_tls_shared_deps"],
+ vendor_available: true,
host_supported: true,
header_libs: [
@@ -436,7 +438,7 @@
defaults: ["libbinder_tls_defaults"],
}
-cc_library_shared {
+cc_library {
name: "libbinder_trusty",
vendor: true,
srcs: [