aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:14:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:14:55 +0000
commitde1418d40d423859f11f5e0b0d945e132eaf2310 (patch)
tree9dd9146256b9975c26255e7227d088a9164d931b
parentdf9e225e8219f7c03a9a7f68339933063127c736 (diff)
parentdfd6f18903feaab9b9610ad5761f6082993be93a (diff)
downloaduuid-android14-qpr2-s2-release.tar.gz
Change-Id: I8d2b0a73229ad6d3673eac0dd958b2ab5f2ec18c
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json17
-rw-r--r--cargo_embargo.json26
3 files changed, 27 insertions, 18 deletions
diff --git a/Android.bp b/Android.bp
index a35ef78..fe212f7 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 3a42f4e..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "run": true,
- "variants": [
- {
- "features": "serde,std,v1,v4"
- },
- {
- "features": "",
- "force-rlib": true,
- "no-host": true,
- "suffix": "_nostd",
- "no-std": true
- }
- ]
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..2736f99
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,26 @@
+{
+ "run_cargo": false,
+ "variants": [
+ {
+ "features": [
+ "serde",
+ "std",
+ "v1",
+ "v4"
+ ]
+ },
+ {
+ "features": [],
+ "module_name_overrides": {
+ "libuuid": "libuuid_nostd"
+ },
+ "package": {
+ "uuid": {
+ "force_rlib": true,
+ "host_supported": false,
+ "no_std": true
+ }
+ }
+ }
+ ]
+}