diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-12 23:45:10 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-12 23:45:10 +0000 |
commit | 8dab05e2bc8e7f65b18420e27be2c0de77832684 (patch) | |
tree | 09dd12640f661cbbb57d1d008986ad6694332589 | |
parent | 8aa17fcaeb9274d36bebacb345e138658382331d (diff) | |
parent | 97bf312e35f110aa967fa143c3fc57239e7d013b (diff) | |
download | ciborium-io-8dab05e2bc8e7f65b18420e27be2c0de77832684.tar.gz |
Migrate to cargo_embargo. am: 97bf312e35
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ciborium-io/+/2824416
Change-Id: Id5298c0a92b74ed15c09134f7b0655893a808193
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 18 | ||||
-rw-r--r-- | cargo_embargo.json | 27 |
3 files changed, 28 insertions, 19 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 429052c..0000000 --- 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 0000000..560a629 --- /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 + } + } + } + ] +} |