aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-09 02:06:16 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-11-09 02:06:16 +0000
commitb52ad27280fa7dfd251294b40890209128724829 (patch)
treee5c19e6dedead598cb804e2c65a0766aefec6dbd
parentb08c88ee5b5dc709f1429d81c25184366334f8ec (diff)
parente2f3b1a1fcad497f948c2932a1f93abc89991f3b (diff)
downloadrand_chacha-b52ad27280fa7dfd251294b40890209128724829.tar.gz
Snap for 7895410 from e2f3b1a1fcad497f948c2932a1f93abc89991f3b to tm-release
Change-Id: I6c1b98ba2a816b3c9a1025ed172f99484c5d23f7
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json10
2 files changed, 15 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 4e0002c..c1ac7ac 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --device --run --dependencies --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -54,6 +54,10 @@ rust_library {
"libppv_lite86",
"librand_core",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
rust_defaults {
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..72ca2d4
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,10 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "dependencies": true,
+ "device": true,
+ "run": true,
+ "tests": true
+}