diff --git a/Android.bp b/Android.bp index f150fac5572596bd5cc19cd808d95db187d93029..4957fee99e0d17361e95e33c6df9acf608e4d2b0 100644 --- a/Android.bp +++ b/Android.bp @@ -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 429052cd298028f9a49b1b5ba23359c9915a0588..0000000000000000000000000000000000000000 --- a/cargo2android.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "device": true, - "run": true, - "dependencies": true, - "variants": [ - { - "features": "alloc,std" - }, - { - "alloc": true, - "features": "alloc", - "force-rlib": true, - "no-host": true, - "suffix": "_nostd", - "no-std": true - } - ] -} diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000000000000000000000000000000000000..560a629400901b654932f5405907b455ca70a0c7 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,27 @@ +{ + "run_cargo": false, + "variants": [ + { + "features": [ + "alloc", + "std" + ] + }, + { + "features": [ + "alloc" + ], + "module_name_overrides": { + "libciborium_io": "libciborium_io_nostd" + }, + "package": { + "ciborium-io": { + "alloc": true, + "force_rlib": true, + "host_supported": false, + "no_std": true + } + } + } + ] +}