Update Android.bp with cargo2android.json

The rust library is available to the virt APEX.

Bug: 204072128
Test: m crosvm
Change-Id: I86fcdb840d75e3d94fbb265bfb5ff0a57d87a38f
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..5e30379
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,24 @@
+// This file is generated by cargo2android.py --config cargo2android.json.
+// Do not modify this file as changes will be overridden on upgrade.
+
+
+
+rust_library {
+    name: "libtempfile",
+    host_supported: true,
+    crate_name: "tempfile",
+    cargo_env_compat: true,
+    cargo_pkg_version: "3.2.0",
+    srcs: ["src/lib.rs"],
+    edition: "2018",
+    rustlibs: [
+        "libcfg_if",
+        "liblibc",
+        "librand",
+        "libremove_dir_all",
+    ],
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.virt",
+    ],
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..5c18d15
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,9 @@
+{
+  "apex-available": [
+    "//apex_available:platform",
+    "com.android.virt"
+  ],
+  "dependencies": true,
+  "device": true,
+  "run": true
+}