[service-vm] Extract service-vm module in a separate library
This allows us to test the library with rialto_test and to remove
the duplicate code in the tests.
Test: m MicrodroidHostTests
Bug: 299089107
Change-Id: Idb9c6bf7c96a334d1f0982d8118e0d5b39915003
diff --git a/virtualizationservice/Android.bp b/virtualizationservice/Android.bp
index 56be95b..c00445d 100644
--- a/virtualizationservice/Android.bp
+++ b/virtualizationservice/Android.bp
@@ -31,7 +31,6 @@
"libanyhow",
"libavflog",
"libbinder_rs",
- "libciborium",
"liblibc",
"liblog_rust",
"libnix",
@@ -43,6 +42,7 @@
"libserde",
"libserde_xml_rs",
"libservice_vm_comm",
+ "libservice_vm_manager",
],
apex_available: ["com.android.virt"],
}