diff options
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 17 | ||||
-rw-r--r-- | cargo_embargo.json | 26 |
3 files changed, 27 insertions, 18 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index 3a42f4e..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "dependencies": true, - "device": true, - "run": true, - "variants": [ - { - "features": "serde,std,v1,v4" - }, - { - "features": "", - "force-rlib": true, - "no-host": true, - "suffix": "_nostd", - "no-std": true - } - ] -}
\ No newline at end of file diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..2736f99 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,26 @@ +{ + "run_cargo": false, + "variants": [ + { + "features": [ + "serde", + "std", + "v1", + "v4" + ] + }, + { + "features": [], + "module_name_overrides": { + "libuuid": "libuuid_nostd" + }, + "package": { + "uuid": { + "force_rlib": true, + "host_supported": false, + "no_std": true + } + } + } + ] +} |