Merge "Make availble to com.android.virt" am: 4dbac81946 am: a6112087d3

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/oid-registry/+/2112008

Change-Id: I9aa3128ab70effc7cc21ddc47fad94042cf1d19a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 4d1a9e6..b85e7ac 100644
--- a/Android.bp
+++ b/Android.bp
@@ -69,6 +69,10 @@
     rustlibs: [
         "libder_parser",
     ],
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.virt",
+    ],
 }
 
 rust_test {
diff --git a/cargo2android.json b/cargo2android.json
index 183bd42..322cd70 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,7 +1,11 @@
 {
+  "apex-available": [
+    "//apex_available:platform",
+    "com.android.virt"
+  ],
   "copy-out": true,
   "device": true,
   "features": "crypto,x509",
   "run": true,
   "tests": true
-}
\ No newline at end of file
+}