aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:14:58 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-11 02:14:58 +0000
commit8e22910d18671fe613692aba2d5e5401be8a1455 (patch)
treeaa5d548f97adc4df26342a80f72097d1a9646dd9
parentbf78e2b425917eb232ecd3b60d98926071ad053a (diff)
parent83e15c7f07b40a248c6e95626700342ab62dc75b (diff)
downloadvhost-user-backend-android14-qpr2-release.tar.gz
Change-Id: I5b6a7052a04de6c24c6a2fe9ec6bbe59bb110091
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json7
-rw-r--r--cargo_embargo.json12
3 files changed, 13 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 487cdd1..29f13dd 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: "libvhost_user_backend",
crate_name: "vhost_user_backend",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 6f1f3ce..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "run": true,
- "dep-suffixes": {
- "vhost": "_android",
- "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..2a9a0a7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,12 @@
+{
+ "module_name_overrides": {
+ "libvhost": "libvhost_android",
+ "libvm_memory": "libvm_memory_android"
+ },
+ "package": {
+ "vhost-user-backend": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}