| package { |
| default_applicable_licenses: ["Android-Apache-2.0"], |
| } |
| |
| rust_binary { |
| name: "vm", |
| crate_name: "vm", |
| srcs: ["src/main.rs"], |
| edition: "2021", |
| prefer_rlib: true, |
| rustlibs: [ |
| "android.system.virtualizationservice-rust", |
| "libanyhow", |
| "libbinder_rs", |
| "libclap", |
| "libenv_logger", |
| "liblibc", |
| "liblog_rust", |
| "libmicrodroid_payload_config", |
| "librustutils", |
| "libserde_json", |
| "libserde", |
| "libvmconfig", |
| "libvmclient", |
| "libzip", |
| ], |
| apex_available: [ |
| "com.android.virt", |
| ], |
| } |
| |
| sh_binary_host { |
| name: "vm_shell", |
| src: "vm_shell.sh", |
| } |