aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json9
2 files changed, 15 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 5e4e836..3022ab7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -28,10 +28,14 @@ rust_library {
"liblibc",
"libnix",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
// dependent_library ["feature_list"]
// bitflags-1.2.1 "default"
// cfg-if-1.0.0
-// libc-0.2.97 "default,extra_traits,std"
+// libc-0.2.98 "default,extra_traits,std"
// nix-0.19.1
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
+}