aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-10-18 17:58:20 +0100
committerAndrew Walbran <qwandor@google.com>2023-10-18 17:58:20 +0100
commitc1a6703d1d27eb356cd23e2ba2c97718deb9df6f (patch)
tree4dc4fff89ce664d6e3823087cd5d8f8d7cd79d4b
parent8b81b274001b6de823cae1a61124303b443d7494 (diff)
downloadmanaged-c1a6703d1d27eb356cd23e2ba2c97718deb9df6f.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Ie31da248103a7c0742a282908d8659a24eb470f3
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json4
3 files changed, 5 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 8e46cb3..f698173 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 d36fb44..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "device": true,
- "run": true,
- "tests": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..246281d
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+ "tests": true,
+ "run_cargo": false
+}