commit | fcbbe1795996853fb857be9e7527340623c6464b | [log] [tgz] |
---|---|---|
author | Hasini Gunasinghe <hasinitg@google.com> | Wed Nov 20 20:11:50 2024 +0000 |
committer | Hasini Gunasinghe <hasinitg@google.com> | Sat Mar 08 20:39:46 2025 +0000 |
tree | d456d2befda2b9d82722759115ff5afa0cab9295 | |
parent | 4b89f17ef1ba81b6822607760d1a83d069bf8533 [diff] |
Export RpcServerConnection for use in Trusty Dependent CL/code: https://android-review.git.corp.google.com/c/trusty/app/authmgr/+/3342621/2/authmgr-be/lib/src/server.rs#28 Test: compile in Trusty Bug: 369145005 Change-Id: I70cd4bb8f2b2747d61a4c59749c664c39e43b259
diff --git a/libs/binder/rust/rpcbinder/src/lib.rs b/libs/binder/rust/rpcbinder/src/lib.rs index 7e5c9dd..774bb21 100644 --- a/libs/binder/rust/rpcbinder/src/lib.rs +++ b/libs/binder/rust/rpcbinder/src/lib.rs
@@ -20,6 +20,8 @@ mod session; pub use server::RpcServer; +#[cfg(target_os = "trusty")] +pub use server::RpcServerConnection; #[cfg(not(target_os = "trusty"))] pub use server::RpcServerRef; pub use session::{FileDescriptorTransportMode, RpcSession, RpcSessionRef};