aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-13 17:10:17 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-13 17:10:17 +0000
commit3dd3db72533c687e927cb7a7eaaec93a1a253ee3 (patch)
treefedebcc28ab3c0c916c91934cccd643f315ea274
parent5ffcbe6bd3f6cc3efa6e18ba62b61657c4bd66ba (diff)
downloadprotobuf-codegen-3dd3db72533c687e927cb7a7eaaec93a1a253ee3.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Iae129d11efa4b2c7343d69ff680fa42a64848cc5
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json9
3 files changed, 10 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 54a73f5..57c9584 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 341300b..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "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..545a831
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "package": {
+ "protobuf-codegen": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false,
+ "tests": true
+}