2021-03-11 06:56:24 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2021-03-04 16:11:12 +00:00
|
|
|
rust_binary {
|
|
|
|
name: "vm",
|
|
|
|
crate_name: "vm",
|
|
|
|
srcs: ["src/main.rs"],
|
2022-08-31 12:41:28 +00:00
|
|
|
edition: "2021",
|
2021-11-17 10:41:03 +00:00
|
|
|
prefer_rlib: true,
|
2021-03-04 16:11:12 +00:00
|
|
|
rustlibs: [
|
2021-05-21 12:41:13 +00:00
|
|
|
"android.system.virtualizationservice-rust",
|
2021-03-04 16:11:12 +00:00
|
|
|
"libanyhow",
|
2022-08-08 13:44:48 +00:00
|
|
|
"libbinder_rs",
|
2022-09-12 20:06:26 +00:00
|
|
|
"libclap",
|
2021-03-04 16:11:12 +00:00
|
|
|
"libenv_logger",
|
2021-03-17 17:08:36 +00:00
|
|
|
"liblibc",
|
2021-03-04 16:11:12 +00:00
|
|
|
"liblog_rust",
|
2021-11-17 10:41:03 +00:00
|
|
|
"libmicrodroid_payload_config",
|
2022-02-03 15:26:02 +00:00
|
|
|
"librustutils",
|
2021-05-04 17:09:08 +00:00
|
|
|
"libserde_json",
|
|
|
|
"libserde",
|
2021-06-25 17:54:20 +00:00
|
|
|
"libvmconfig",
|
2022-05-16 16:14:10 +00:00
|
|
|
"libvmclient",
|
2021-11-17 10:41:03 +00:00
|
|
|
"libzip",
|
2021-03-04 16:11:12 +00:00
|
|
|
],
|
|
|
|
apex_available: [
|
|
|
|
"com.android.virt",
|
|
|
|
],
|
|
|
|
}
|
2022-08-29 08:27:00 +00:00
|
|
|
|
|
|
|
sh_binary_host {
|
|
|
|
name: "vm_shell",
|
|
|
|
src: "vm_shell.sh",
|
|
|
|
}
|