aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-10-20 13:18:11 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-20 13:18:11 +0000
commitb916b55a1488d34b9d70f9e0758809ce71b80626 (patch)
tree3a4660415d4837b742356ef16cefeef01027494a
parentc53daa5e385d709c7413bdbca21093d07c2c331b (diff)
parenta2a67fe35b3b3377b7247f07af94a9bf1c07b6ab (diff)
downloadheck-b916b55a1488d34b9d70f9e0758809ce71b80626.tar.gz
Migrate to cargo_embargo. am: 5be076e383 am: 30bacb0b7e am: a2a67fe35b
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/heck/+/2796417 Change-Id: Icb450b2c44b4a77355ba5a529983193d7e18b2a9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp10
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json7
3 files changed, 10 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index b3de44e..aff3f3f 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 {
@@ -54,9 +54,7 @@ rust_test {
"unicode",
"unicode-segmentation",
],
- rustlibs: [
- "libunicode_segmentation",
- ],
+ rustlibs: ["libunicode_segmentation"],
}
rust_library {
@@ -71,9 +69,7 @@ rust_library {
"unicode",
"unicode-segmentation",
],
- rustlibs: [
- "libunicode_segmentation",
- ],
+ rustlibs: ["libunicode_segmentation"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 5f2af9d..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "device": true,
- "run": true,
- "tests": true,
- "features": "unicode"
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..5fe28da
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,7 @@
+{
+ "tests": true,
+ "features": [
+ "unicode"
+ ],
+ "run_cargo": false
+}