blob: f9eac4d2b7de325427c2c8e07b46f44a72347cf1 [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",
Alan Stokes0e82b502022-08-08 14:44:48 +010014 "libbinder_rs",
Andrew Walbranea9fa482021-03-04 16:11:12 +000015 "libenv_logger",
Andrew Walbrana89fc132021-03-17 17:08:36 +000016 "liblibc",
Andrew Walbranea9fa482021-03-04 16:11:12 +000017 "liblog_rust",
Inseob Kima5a262f2021-11-17 19:41:03 +090018 "libmicrodroid_payload_config",
Andrew Walbranc4b1bde2022-02-03 15:26:02 +000019 "librustutils",
Andrew Walbran3a5a9212021-05-04 17:09:08 +000020 "libserde_json",
21 "libserde",
David Brazdil20412d92021-03-18 10:53:06 +000022 "libstructopt",
Jooyung Hanfc732f52021-06-26 02:54:20 +090023 "libvmconfig",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000024 "libvmclient",
Inseob Kima5a262f2021-11-17 19:41:03 +090025 "libzip",
Andrew Walbranea9fa482021-03-04 16:11:12 +000026 ],
27 apex_available: [
28 "com.android.virt",
29 ],
30}