aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-08 20:44:35 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-10-08 20:44:35 +0000
commitf78f73ccf47b9f64cb8ee11120601f25e5a91ba1 (patch)
tree561e3a4b92cd59e668483e633826cc38a8f3be38
parent5de0895a1290ed849484b2153a8514160872a87b (diff)
parent3e737dcae5dddab54dbbb1ac7487d465343ae44f (diff)
downloadcrossbeam-queue-f78f73ccf47b9f64cb8ee11120601f25e5a91ba1.tar.gz
Merge "Add apex to crossbeam-queue rust crate"
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json4
2 files changed, 8 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 017fe82..8589c95 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
-
-
package {
default_applicable_licenses: [
"external_rust_crates_crossbeam-queue_license",
@@ -143,4 +141,8 @@ rust_library {
"libcfg_if",
"libcrossbeam_utils",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
diff --git a/cargo2android.json b/cargo2android.json
index d36fb44..6e516e0 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,4 +1,8 @@
{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
"device": true,
"run": true,
"tests": true