aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:34:52 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:34:52 +0000
commit1be1fde9f392d0aa0c67ba0b0e55fe417f31dedc (patch)
treecc383aa63a92e45e2807b173964749955fc74815
parent0afaa600966af2806cde9a59ba7fd3ad6d9abec2 (diff)
downloadlinkme-1be1fde9f392d0aa0c67ba0b0e55fe417f31dedc.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I68c5fa1be61894b90c0141c265f808a50274a022
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json3
3 files changed, 4 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index ce589d8..80f74b3 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: "liblinkme",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 1b6cca2..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "run": true
-} \ No newline at end of file
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
+}