1package { 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", 18 "liblog_rust", 19 "liblibc", 20 "libvmclient", 21 ], 22 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 ], 29 apex_available: [ 30 "com.android.microfuchsia", 31 ], 32} 33