blob: d1d53d09d96aa50485f89aa9701577e77c7d2f89 [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 Walbranc4b1bde2022-02-03 15:26:02 +000018 "librustutils",
Andrew Walbran3a5a9212021-05-04 17:09:08 +000019 "libserde_json",
20 "libserde",
David Brazdil20412d92021-03-18 10:53:06 +000021 "libstructopt",
Jooyung Hanfc732f52021-06-26 02:54:20 +090022 "libvmconfig",
Inseob Kima5a262f2021-11-17 19:41:03 +090023 "libzip",
Andrew Walbranea9fa482021-03-04 16:11:12 +000024 ],
25 apex_available: [
26 "com.android.virt",
27 ],
28}