summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-12-13 15:58:59 +0000
committerAndrew Walbran <qwandor@google.com>2023-12-13 15:58:59 +0000
commit99affe0c4a4c6b5e36db0cec8ce33666ce703762 (patch)
tree631ee33a3d70f55f47d6646dbdf7345e87a29909
parent836639ad57168966855575ccd67bf056e40d4f44 (diff)
downloadpredicates-99affe0c4a4c6b5e36db0cec8ce33666ce703762.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I8257ca4ea5fcd7db899cf99e8b292d7dd8500fac
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index de5a19a..efbf0aa 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: "libpredicates",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 6958d82..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "device": true,
- "features": "regex,color",
- "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..c5e9f11
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "features": [
+ "regex",
+ "color"
+ ],
+ "run_cargo": false,
+ "tests": true
+}