summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:56:25 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:56:25 +0000
commit95be593d390e80f60c1355e338ac88588d1b5327 (patch)
treed37662732ec4949376a31d1c52ec36ace68da443
parenta3764d3c1b4cad61f094f12458282357fa88b9bc (diff)
downloadfutures-macro-95be593d390e80f60c1355e338ac88588d1b5327.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I87ec1604f9a8b8380e051787c630312289f521b1
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json3
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index a7004bf..452b349 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 958632b..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..2cd9227
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "futures-macro": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}