Add CompOsKeyService to ICompOsService
ICompOsService is renamed from ICompService in this change. The
implementation starts to include a CompOsKeyService, but it has not
started to use it.
Bug: 194717985
Bug: 161471326
Test: ComposHostTestCases
Change-Id: Ifddd1109f387e061989dba7292b629c04b07fa34
diff --git a/compos/src/compsvc_main.rs b/compos/src/compsvc_main.rs
index 8f68949..5c5da22 100644
--- a/compos/src/compsvc_main.rs
+++ b/compos/src/compsvc_main.rs
@@ -19,6 +19,7 @@
mod common;
mod compilation;
+mod compos_key_service;
mod compsvc;
mod signer;
@@ -48,7 +49,7 @@
);
let config = parse_args()?;
- let mut service = compsvc::new_binder(None).as_binder();
+ let mut service = compsvc::new_binder(config.rpc_binder, /* signer */ None)?.as_binder();
if config.rpc_binder {
debug!("compsvc is starting as a rpc service.");
// SAFETY: Service ownership is transferring to the server and won't be valid afterward.