aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-16 16:26:33 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-16 16:26:33 +0000
commitb90aef0888838b45bc90612e652399bc7f87b350 (patch)
treece8f730fbe7661357823cb65ec27c8eae63cc186
parent98c70049ece2a1ef8feb2cee1523e12bf980fbf9 (diff)
downloadtokio-macros-b90aef0888838b45bc90612e652399bc7f87b350.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Ia675a4153213c646a04a5168b7a04d39da9a2794
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 846146a..666092e 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..ab4e99c
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "tokio-macros": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}