diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-15 00:12:21 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-15 00:12:21 +0000 |
commit | d4adc0a6fdc0e494c94604b8ca8627270170698f (patch) | |
tree | 3315405c216c4173af9f5e918430b4da07bbeb0f | |
parent | e1fe6c5cf192ff34de6459ce9e9b6919cfb71b9a (diff) | |
parent | b69d9a4fee0a069e204a5387ebafec47f8a24a13 (diff) | |
download | vhost-d4adc0a6fdc0e494c94604b8ca8627270170698f.tar.gz |
Snap for 11098506 from b69d9a4fee0a069e204a5387ebafec47f8a24a13 to sdk-release
Change-Id: I50e808d67e4181aebcb3f34ba13bc999bb4c9343
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo2android.json | 9 | ||||
-rw-r--r-- | cargo_embargo.json | 18 |
3 files changed, 19 insertions, 12 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: "libvhost_android", crate_name: "vhost", diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index f3781ef..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "run": true, - "name-suffix": "_android", - "features": "default,vhost-user,vhost-user-slave", - "dep-suffixes": { - "bitflags": "-1.3.2", - "vm_memory": "_android" - } -} diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..3f73d27 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,18 @@ +{ + "features": [ + "default", + "vhost-user", + "vhost-user-slave" + ], + "module_name_overrides": { + "libbitflags": "libbitflags-1.3.2", + "libvhost": "libvhost_android", + "libvm_memory": "libvm_memory_android" + }, + "package": { + "vhost": { + "device_supported": false + } + }, + "run_cargo": false +} |