aboutsummaryrefslogtreecommitdiff
path: root/cargo2android.json
diff options
context:
space:
mode:
Diffstat (limited to 'cargo2android.json')
-rw-r--r--cargo2android.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/cargo2android.json b/cargo2android.json
index e26e552..602fbb5 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -5,5 +5,19 @@
],
"run": true,
"vendor-available": true,
- "features": "alloc"
+ "features": "alloc",
+ "variants": [
+ {
+ },
+ {
+ "device": true,
+ "no-host": true,
+ "add-module-block": "cargo2android_viz.bp",
+ "dependency_suffix": "_nostd",
+ "force-rlib": true,
+ "suffix": "_nostd",
+ "alloc": true,
+ "no-std": true
+ }
+ ]
}