blob: 2a24b7a8b334f50e17f57d88b81f2daa2bb24ed0 [file] [log] [blame]
Alan Stokes3ef78d92021-09-08 11:51:06 +01001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_binary {
6 name: "composd",
7 srcs: ["src/composd_main.rs"],
8 edition: "2018",
Alan Stokesb2cc79e2021-09-14 14:08:46 +01009 prefer_rlib: true,
Alan Stokes3ef78d92021-09-08 11:51:06 +010010 rustlibs: [
11 "android.system.composd-rust",
Alan Stokes69c610f2021-09-27 14:03:31 +010012 "android.system.virtualizationservice-rust",
Alan Stokes3ef78d92021-09-08 11:51:06 +010013 "compos_aidl_interface-rust",
14 "libandroid_logger",
15 "libanyhow",
Alan Stokes3189af02021-09-30 17:51:19 +010016 "libbinder_common",
Alan Stokes3ef78d92021-09-08 11:51:06 +010017 "libbinder_rs",
18 "libcompos_common",
Alan Stokes14f07392021-09-27 14:03:31 +010019 "libcomposd_native_rust",
Alan Stokesb2cc79e2021-09-14 14:08:46 +010020 "libnum_traits",
Alan Stokes3ef78d92021-09-08 11:51:06 +010021 "liblog_rust",
Victor Hsieh2294b032021-10-13 14:12:07 -070022 "librustutils",
Alan Stokes3ef78d92021-09-08 11:51:06 +010023 ],
Alan Stokesb2cc79e2021-09-14 14:08:46 +010024 proc_macros: ["libnum_derive"],
Alan Stokes3ef78d92021-09-08 11:51:06 +010025 apex_available: [
26 "com.android.compos",
27 ],
28}