Add VirtualMachineService skeleton code
VirtualMachineService (the name isn't yet fixed) is a binder service
between virt service and guest VMs. Guest VMs can notify that it's ready
over VirtualMachineService.
Bug: 191845268
Test: atest MicrodroidHostTestCases
Change-Id: I80c529f104fe184a1bdbee25805c7871392336d5
diff --git a/microdroid_manager/Android.bp b/microdroid_manager/Android.bp
index a082beb..95a7014 100644
--- a/microdroid_manager/Android.bp
+++ b/microdroid_manager/Android.bp
@@ -9,8 +9,12 @@
edition: "2018",
prefer_rlib: true,
rustlibs: [
+ "android.system.virtualizationservice-rust",
+ "android.system.virtualmachineservice-rust",
"libanyhow",
"libapkverify",
+ "libbinder_rpc_unstable_bindgen",
+ "libbinder_rs",
"libkernlog",
"liblibc",
"liblog_rust",
@@ -22,6 +26,9 @@
"libserde_json",
"libvsock",
],
+ shared_libs: [
+ "libbinder_rpc_unstable",
+ ],
init_rc: ["microdroid_manager.rc"],
}