aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-13 17:27:33 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-13 17:27:33 +0000
commitc6f65f5c2393fb2f97552043b3b17442f0b1edaf (patch)
treed298752f0519c39a499f169984740bba5dde1101
parent4a3779cd328da545649a15be27d9774630f318b2 (diff)
downloadvirtio-bindings-c6f65f5c2393fb2f97552043b3b17442f0b1edaf.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I230ef72ed4e463a9717750b296a7959e9dbac5ab
-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 5feba86..dd38ad0 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: "libvirtio_bindings",
crate_name: "virtio_bindings",
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..253af3c
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "virtio-bindings": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}