aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-06 01:05:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-06 01:05:08 +0000
commit0093f477cbc3aec7d20dd09f466420a88646510d (patch)
tree98c50f84c0c05abbe12065197057b1dff5622f61
parent15539470b9587137c93ab10ef05a4974b727e69c (diff)
parent6f727a1ec85bded7552f725ecd54a5108a7953ba (diff)
downloadgetrandom-android12L-s1-release.tar.gz
Change-Id: Iaf0455d6fa1547ec18b809c46c14fd0391456236
-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