aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-29 16:02:39 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-29 16:02:39 +0000
commit5f84f1f63c2f3c8691e99c02255b59e4778a551c (patch)
tree44189c66df197ad7d4a47e717ff4fdc61fbda9b3
parent12d36a4dc522fa26501db29464d96bc642ef1892 (diff)
downloadtungstenite-5f84f1f63c2f3c8691e99c02255b59e4778a551c.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I6694b8da394536cf9a6bbe0e057266916ebd2dbf
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json4
3 files changed, 5 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 93dfd49..1b12e5c 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: "libtungstenite",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 6ca9ae9..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "run": true,
- "device": true,
- "features": ""
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..b639cc5
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+ "features": [],
+ "run_cargo": false
+}