Pass file descriptors rather than filenames to Virt Manager.
This requires using a parcelable rather than a JSON file for the config.
Bug: 187181124
Test: atest VirtualizationTestCases
Change-Id: I1636010f5ed55da165f5acd82f1bd8b924e09b41
diff --git a/virtmanager/Android.bp b/virtmanager/Android.bp
index f1971dc..0e746b3 100644
--- a/virtmanager/Android.bp
+++ b/virtmanager/Android.bp
@@ -11,11 +11,10 @@
rustlibs: [
"android.system.virtmanager-rust",
"libandroid_logger",
- "liblog_rust",
- "libserde_json",
- "libserde",
- "libshared_child",
"libanyhow",
+ "libcommand_fds",
+ "liblog_rust",
+ "libshared_child",
],
apex_available: ["com.android.virt"],
}