aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-13 17:16:07 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-13 17:16:07 +0000
commitee256f84cb2c91ea7199d700cd45f8b23bed79ca (patch)
tree0e55c20b11b41d4b213eb7a294a7b782640e52b4
parentc476bee173422105a4cbe528114a70eb0ae61c35 (diff)
downloadserde_yaml-ee256f84cb2c91ea7199d700cd45f8b23bed79ca.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: If349377f3c46c14f486f4366fe964d53d7e53880
-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 84b295e..9c09f2f 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: "libserde_yaml",
crate_name: "serde_yaml",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 958632b..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..e7fa008
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "serde_yaml": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}