microdroid: add required libs manually
TARGET_BUILD_APPS build makes libs with sdk_version not included in
microdroid system image. Until fixing the build system, those missing
libs can be manually added to the list of microdroid's deps.
Bug: 195425111
Test: TARGET_BUILD_APPS=com.android.virt m apps_only dist
install the apex and run MicrodroidHostTestCases
Change-Id: Ied90997026e2ade327ef337109676aca5636e9b5
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index a5b2898..d1f736d 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -88,6 +88,12 @@
"microdroid_keystore2_key_contexts",
"microdroid_compatibility_matrix",
"microdroid_manifest",
+
+ // TODO(b/195425111) these four should be added automatically
+ "android.hardware.security.secureclock-V1-ndk",
+ "android.hardware.security.sharedsecret-V1-ndk",
+ "libcrypto",
+ "liblzma",
] + microdroid_shell_and_utilities,
multilib: {
common: {