aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 14:04:07 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 14:04:07 +0000
commitb6e9f2e4a44c78564e0d359b447e062a5f582092 (patch)
tree974252dea3d445d2ae32ce4c807a919d8c64628f
parent22a53f8bb2f987fc4853031085ab634a21810d3d (diff)
downloadregex-syntax-b6e9f2e4a44c78564e0d359b447e062a5f582092.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Ia3952e54813bc4d990fdae9340f5535def8e9e79
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json12
-rw-r--r--cargo_embargo.json9
3 files changed, 10 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index d04c7c4..ff28213 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 bef74ca..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.compos",
- "com.android.virt"
- ],
- "dependencies": true,
- "device": true,
- "run": true,
- "tests": true,
- "vendor-available": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..a76efe6
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.compos",
+ "com.android.virt"
+ ],
+ "run_cargo": false,
+ "tests": true
+}