diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-13 17:28:37 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-13 17:28:37 +0000 |
commit | b0e70a3aab4c7b853c67bdb95083263bcbceae27 (patch) | |
tree | 2b03e15d71c0003a68fdb16c9edce14edca8cee6 | |
parent | 626bc7959c4aeb04589cfd11376d089ae6352964 (diff) | |
download | virtio-queue-b0e70a3aab4c7b853c67bdb95083263bcbceae27.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: Ife540d6d891812d7ea982241f2ca1233a3a061ad
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo2android.json | 6 | ||||
-rw-r--r-- | cargo_embargo.json | 11 |
3 files changed, 12 insertions, 9 deletions
@@ -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_queue", crate_name: "virtio_queue", diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index 3c5fa7e..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "run": true, - "dep-suffixes": { - "vm_memory": "_android" - } - }
\ No newline at end of file diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..31753da --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,11 @@ +{ + "module_name_overrides": { + "libvm_memory": "libvm_memory_android" + }, + "package": { + "virtio-queue": { + "device_supported": false + } + }, + "run_cargo": false +} |