summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-10-08 21:14:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-10-08 21:14:25 +0000
commitc8765fd88eb1e58c85b25623b6ac40815abe1f35 (patch)
treeb8dfea35f56d37e40de09d46d317f69517469890
parent8fbdc9d44061559967570b379c12c8e32ec41ace (diff)
parent5cf7fa0c7a5a3bdc562363ca4c7a7cbff11ed0c3 (diff)
downloadparking_lot_core-c8765fd88eb1e58c85b25623b6ac40815abe1f35.tar.gz
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json9
2 files changed, 14 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index dcf43e5..aa0f1a0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --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 {
"liblibc",
"libsmallvec",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
rust_defaults {
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..d28888a
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,9 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "device": true,
+ "run": true,
+ "tests": true
+} \ No newline at end of file