aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-15 15:41:50 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-15 15:41:50 +0000
commit0adece5a03f29c8da92793663487c456ff8d2c02 (patch)
tree79d9b50120f01d8a5e1c5646aa79eb082835aed4
parentcceb9bb50a1d6ca490dddc6a2e0459b5731d0347 (diff)
downloadregex-automata-0adece5a03f29c8da92793663487c456ff8d2c02.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I6157877ed6de331456a1f6d6e853a82a9e5f3128
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json1
3 files changed, 3 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index a238a21..57e536b 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 {
@@ -57,9 +57,7 @@ rust_library {
"-C debug-assertions=on",
"-C opt-level=3",
],
- rustlibs: [
- "libregex_syntax",
- ],
+ rustlibs: ["libregex_syntax"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bf78496..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "device": true,
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1 @@
+{}