aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:58:28 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:58:28 +0000
commitc15bd3ae8d12ac6aa956d1f25d4147efab91f6bb (patch)
tree99684c7b9dd2e84bf1178129da61e95c5eeb6627
parentaa7ad21b5d00be2152fd6a9061852d7c908f8319 (diff)
downloadprotobuf-json-mapping-c15bd3ae8d12ac6aa956d1f25d4147efab91f6bb.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I8848a34c2450bd0a90d601858b96fcdc7b46fcb9
-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 c9b6504..49fe9d8 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 aefb658..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "run": true,
- "device": true,
- "tests": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..c8842d1
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+ "run_cargo": false,
+ "tests": true
+}