aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:47 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:47 +0000
commit6a6fcbde596eaabc7fe8f3444b256cd3593f0b80 (patch)
tree2b03e15d71c0003a68fdb16c9edce14edca8cee6
parent6c703db48a8448dd46d1db8dfc05e8a904efc47e (diff)
parentb633725a58e4592cdd7916297e50bf7b42748374 (diff)
downloadvirtio-queue-android14-qpr2-s1-release.tar.gz
Change-Id: I466da0449e9b4b3e7d02b56250b7502251ce25d7
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json11
3 files changed, 12 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 83d3ed5..8e6354a 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_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
+}