Embed test-purpose APEXes as data
On Pixel devices, adbd/statsd apexes have different names, which causes
`pm path` to fail.
Instead, embed test-purpose APEXes as data and use them for testing.
This can also provide isolation for the testing environment.
Bug: 221024307
Test: atest MicrodroidHostTestCases (on internal branches)
Change-Id: I4a71ea662e789d48bdbdf2008bbdd666778a72fe
diff --git a/tests/hostside/Android.bp b/tests/hostside/Android.bp
index 6083fe5..fa9da9d 100644
--- a/tests/hostside/Android.bp
+++ b/tests/hostside/Android.bp
@@ -23,6 +23,8 @@
":test.com.android.virt.pem",
":test2.com.android.virt.pem",
":test-payload-metadata",
+ ":com.android.adbd{.apex}",
+ ":com.android.os.statsd{.apex}",
],
data_native_bins: [
"sepolicy-analyze",