summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:41:20 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:41:20 +0000
commit4a9384f6a93eb8f3d458344b010dcbeec2c38d89 (patch)
tree211e294ac7e4a8ce8fb08d2ab4d646e6c1708504
parent399e7c1ce2ca68766efa8700864749dd0aadebf7 (diff)
downloadpathdiff-4a9384f6a93eb8f3d458344b010dcbeec2c38d89.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Id17c2e1d0c2cba7573d24dbf5c8551fec106fff0
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json3
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index dd4f313..c12e034 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_host {
name: "libpathdiff",
crate_name: "pathdiff",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 1be49f0..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "run": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..4895908
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "pathdiff": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}