diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-15 00:09:49 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-15 00:09:49 +0000 |
commit | f60957e297c9f14e8de29449e4f0f141e7b3dd13 (patch) | |
tree | e3632568202aef7fbaa4d02c2d0b81d636a2aba9 | |
parent | 2cd820f978f62e0acd7ba6fe59b0e2a6a9a2a394 (diff) | |
parent | 09fa908e3c5e8bb1462b7fcce08c3543f5d51d5d (diff) | |
download | hex-f60957e297c9f14e8de29449e4f0f141e7b3dd13.tar.gz |
Snap for 11098506 from 09fa908e3c5e8bb1462b7fcce08c3543f5d51d5d to sdk-release
Change-Id: Ide20d19ec45054a733edf9f63798f80b27f3c1dd
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 19 | ||||
-rw-r--r-- | cargo_embargo.json | 22 |
3 files changed, 23 insertions, 20 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 d3874c5..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "device": true, - "run": true, - "vendor-available": true, - "variants": [ - { - }, - { - "device": true, - "alloc": true, - "no-host": true, - "dependency_suffix": "_nostd", - "force-rlib": true, - "suffix": "_nostd", - "no-std": true, - "features" : "alloc" - } - ] -} diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..3bbad79 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,22 @@ +{ + "run_cargo": false, + "variants": [ + {}, + { + "features": [ + "alloc" + ], + "module_name_overrides": { + "libhex": "libhex_nostd" + }, + "package": { + "hex": { + "alloc": true, + "force_rlib": true, + "host_supported": false, + "no_std": true + } + } + } + ] +} |