aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:10:59 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:10:59 +0000
commitd337464ee5736b72435119cbceb959ae198e56b5 (patch)
tree71284f06c1f3802a5347905922d63d075ce9bc7f
parentb191fbe4ee204acfc3a569edf3398aa5d3bdd0b9 (diff)
parentb865040cde752340f8a5da2917cb97f2050cbff6 (diff)
downloadciborium-ll-android14-qpr2-release.tar.gz
Change-Id: I88f5c0fe2b29ec630f1b984e3e1a054e1837597e
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json21
-rw-r--r--cargo_embargo.json23
3 files changed, 24 insertions, 22 deletions
diff --git a/Android.bp b/Android.bp
index 1f50f06..1dde19a 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 639f806..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "device": true,
- "run": true,
- "dependencies": true,
- "variants": [
- {
- "tests": true
- },
- {
- "alloc": true,
- "dep-suffixes": {
- "ciborium_io": "_nostd",
- "half": "_nostd"
- },
- "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..b2ac6c1
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,23 @@
+{
+ "run_cargo": false,
+ "variants": [
+ {
+ "tests": true
+ },
+ {
+ "module_name_overrides": {
+ "libciborium_io": "libciborium_io_nostd",
+ "libciborium_ll": "libciborium_ll_nostd",
+ "libhalf": "libhalf_nostd"
+ },
+ "package": {
+ "ciborium-ll": {
+ "alloc": true,
+ "force_rlib": true,
+ "host_supported": false,
+ "no_std": true
+ }
+ }
+ }
+ ]
+}