diff options
author | Jeongik Cha <jeongik@google.com> | 2023-09-27 12:21:24 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-09-27 12:21:24 +0000 |
commit | 5dd29e3e874f181cbf8079e8a35869c39d72dca7 (patch) | |
tree | 032129f16c04f41d3a5d73b413757c1cc98ad05e | |
parent | 887c389a4386cb37e7d99868f7c1777899333c98 (diff) | |
parent | 08f4f7d318a90e5e80d6b899183ec37438799ba4 (diff) | |
download | vhost-device-vsock-5dd29e3e874f181cbf8079e8a35869c39d72dca7.tar.gz |
Android.bp for vhost-device-vsock am: e2eb7e7f40 am: 4eb9dfbca4 am: 00c271a8f8 am: 16760fc6ef am: 08f4f7d318
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/vhost-device-vsock/+/2752354
Change-Id: I363549695a15c6607b1da68efffc2d299d13fd91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 31 | ||||
-rw-r--r-- | cargo2android.json | 8 |
2 files changed, 39 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..5e7a4bf --- /dev/null +++ b/Android.bp @@ -0,0 +1,31 @@ +// This file is generated by cargo2android.py --config cargo2android.json. +// Do not modify this file as changes will be overridden on upgrade. + + + +rust_binary_host { + name: "vhost_device_vsock", + crate_name: "vhost_device_vsock", + cargo_env_compat: true, + cargo_pkg_version: "0.1.0", + srcs: ["src/main.rs"], + edition: "2021", + rustlibs: [ + "libbyteorder", + "libclap", + "libconfig_rust", + "libenv_logger", + "libepoll", + "liblog_rust", + "libserde", + "libserde_yaml", + "libthiserror", + "libvhost_android", + "libvhost_user_backend", + "libvirtio_bindings", + "libvirtio_queue", + "libvirtio_vsock", + "libvm_memory_android", + "libvmm_sys_util", + ], +} diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..cb73581 --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,8 @@ +{ + "run": true, + "dep-suffixes": { + "config": "_rust", + "vhost": "_android", + "vm_memory": "_android" + } +}
\ No newline at end of file |