Add MicrodroidTestApp
It's a test app (along with a native binary) that we will use to test
micdordoid. Right now, it doesn't have any test routine in it. For the
time being, the existing MicrodroidHostTestCases will use the apk to
check if zipfuse can correctly mount the file across the host Android
and microdroid. For this, the app right now is part of the virt APEX.
Later when we have app-facing Java APIs, the test app will be removed
from the virt APEX and installed separately (via adb install) and will
invoke the Java APIs and check the expected side effects.
Bug: 186377508
Test: m MicrodroidTestApp
Test: m com.android.virt
Change-Id: I929565f7fec1cd888ccc7a2b1c3021a2a85681ad
diff --git a/apex/Android.bp b/apex/Android.bp
index 459545c..63f257b 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -51,6 +51,10 @@
"mk_cdisk",
"mk_payload",
],
+ apps: [
+ // TODO(jiyong): remove this when microdroid_payload.json is created by virt manager
+ "MicrodroidTestApp",
+ ],
prebuilts: [
"com.android.virt.init.rc",
"microdroid_cdisk.json",