aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-06 01:05:12 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-06 01:05:12 +0000
commit84a9c49f18d79fa1df5fb498d4e709238573eaa4 (patch)
tree98c50f84c0c05abbe12065197057b1dff5622f61
parent7816435b2fdccbe65dbe35dd07f411efdc2bde1a (diff)
parent6f727a1ec85bded7552f725ecd54a5108a7953ba (diff)
downloadgetrandom-android12L-d2-s3-release.tar.gz
Change-Id: I1ff40fd8bce7e25169fbeab599ba8e166d540611
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json11
2 files changed, 17 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 8cf8034..2f8bd71 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --device --run --dependencies --tests --features=std.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -134,8 +134,12 @@ rust_library {
"libcfg_if",
"liblibc",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
// dependent_library ["feature_list"]
// cfg-if-1.0.0
-// libc-0.2.87
+// libc-0.2.97
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..b73c7b4
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,11 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "dependencies": true,
+ "device": true,
+ "features": "std",
+ "run": true,
+ "tests": true
+} \ No newline at end of file