aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2021-06-14 15:00:57 +0000
committerJorge Moreira Broche <jemoreira@google.com>2021-11-02 23:51:03 +0000
commit6f727a1ec85bded7552f725ecd54a5108a7953ba (patch)
tree98c50f84c0c05abbe12065197057b1dff5622f61
parent7816435b2fdccbe65dbe35dd07f411efdc2bde1a (diff)
downloadgetrandom-android12L-dev.tar.gz
Bug: 190503456 Test: mm Merged-In: I262cf8fc6b69c8e9719dc580d565ff3621c53fbd Change-Id: I262cf8fc6b69c8e9719dc580d565ff3621c53fbd
-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