aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-08 17:54:11 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-08 17:54:11 +0000
commitd39684fbc4545043560b606708b76b0930adc091 (patch)
treeabe9ec99da51b98bfd7761f40e0107b5f9c974ce
parenta04468a1fce9fe9606c705b3b2768a78ce76c4d1 (diff)
downloadhttp-d39684fbc4545043560b606708b76b0930adc091.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I7dd4f536bde7921691c365badfc0935521570ee0
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 4 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index bb2d0a3..14552ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// 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.
-
-
rust_library {
name: "libhttp",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index fe43c3f..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "run": true,
- "device": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}