aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:10:52 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:10:52 +0000
commitfbad28d68f2dd272256d94d3d1549e6071ef5416 (patch)
tree0a4f65679f0c7d08b29d72ef600c8e0f11015380
parent118906d18f246ff6dbf5f48513fb6defb93ec1cd (diff)
parent23e6aff1f69282bfe2838d226dcc4ccbb825fd40 (diff)
downloadbyteorder-android14-qpr2-release.tar.gz
Change-Id: I25e192bec1846a613bf5ab1a6b2a42d522adbd51
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json16
-rw-r--r--cargo_embargo.json19
3 files changed, 20 insertions, 17 deletions
diff --git a/Android.bp b/Android.bp
index 4af177a..e0bece5 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 1014789..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "run": true,
- "variants": [
- {
- },
- {
- "features": "",
- "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..e073779
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,19 @@
+{
+ "run_cargo": false,
+ "variants": [
+ {},
+ {
+ "features": [],
+ "module_name_overrides": {
+ "libbyteorder": "libbyteorder_nostd"
+ },
+ "package": {
+ "byteorder": {
+ "force_rlib": true,
+ "host_supported": false,
+ "no_std": true
+ }
+ }
+ }
+ ]
+}