blob: 2c2d2f2cd803e22f472cee2da8c7887dea681e10 [file] [log] [blame]
Aidan Wolterbb91a6b2024-07-01 15:42:20 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5// A daemon that launches microfuchsia in AVF.
6rust_binary {
7 name: "microfuchsiad",
8 srcs: ["src/main.rs"],
9 edition: "2021",
10 prefer_rlib: true,
11 defaults: ["avf_build_flags_rust"],
12 rustlibs: [
13 "android.system.microfuchsiad-rust",
14 "android.system.virtualizationservice-rust",
15 "libandroid_logger",
16 "libanyhow",
17 "libbinder_rs",
Jiyong Park2867dd32024-08-27 16:48:30 +090018 "liblog_rust",
Jiyong Parkaf63d1c2024-09-04 16:15:42 +090019 "liblibc",
Aidan Wolterbb91a6b2024-07-01 15:42:20 +000020 "libvmclient",
21 ],
James Robinson6eea2b82024-11-19 17:28:00 +000022 cfgs: [
23 // Enable this to configure microfuchsia VM instances with an interactive serial console. This console can
24 // be attached to using the 'vm console' command.
25 // Warning - enabling this will cause the VM to stall out unless a console is attached.
26 // See b/379163126 for details.
27 // "enable_console",
28 ],
Aidan Wolterbb91a6b2024-07-01 15:42:20 +000029 apex_available: [
30 "com.android.microfuchsia",
31 ],
32}