blob: 2d2256213039ef7e41083cba528ac1e657fc5ee6 [file] [log] [blame]
Bob Badour9dcd9472021-03-10 22:56:24 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Andrew Walbranea9fa482021-03-04 16:11:12 +00005rust_binary {
6 name: "vm",
7 crate_name: "vm",
8 srcs: ["src/main.rs"],
9 edition: "2018",
Inseob Kima5a262f2021-11-17 19:41:03 +090010 prefer_rlib: true,
Andrew Walbranea9fa482021-03-04 16:11:12 +000011 rustlibs: [
Andrew Walbranf6bf6862021-05-21 12:41:13 +000012 "android.system.virtualizationservice-rust",
Andrew Walbranea9fa482021-03-04 16:11:12 +000013 "libanyhow",
Andrew Walbranea9fa482021-03-04 16:11:12 +000014 "libenv_logger",
Andrew Walbrana89fc132021-03-17 17:08:36 +000015 "liblibc",
Andrew Walbranea9fa482021-03-04 16:11:12 +000016 "liblog_rust",
Inseob Kima5a262f2021-11-17 19:41:03 +090017 "libmicrodroid_payload_config",
Andrew Walbran3a5a9212021-05-04 17:09:08 +000018 "libserde_json",
19 "libserde",
David Brazdil20412d92021-03-18 10:53:06 +000020 "libstructopt",
Jooyung Hanfc732f52021-06-26 02:54:20 +090021 "libvmconfig",
Inseob Kima5a262f2021-11-17 19:41:03 +090022 "libzip",
Andrew Walbranea9fa482021-03-04 16:11:12 +000023 ],
24 apex_available: [
25 "com.android.virt",
26 ],
27}