Refactor vm_config.json parsing routine
The routine is separate into a dedicated class. The parsing is now done
structurally using Gson.
Bug: N/A
Test: run Ferrochrome
Change-Id: I25cac5e8a7a12a7a0e6493a9362a239e43a00274
diff --git a/android/VmLauncherApp/proguard.flags b/android/VmLauncherApp/proguard.flags
new file mode 100644
index 0000000..5e05ecf
--- /dev/null
+++ b/android/VmLauncherApp/proguard.flags
@@ -0,0 +1,7 @@
+# Keep the no-args constructor of the deserialized class
+-keepclassmembers class com.android.virtualization.vmlauncher.VmConfigJson {
+ <init>();
+}
+-keepclassmembers class com.android.virtualization.vmlauncher.VmConfigJson$* {
+ <init>();
+}