blob: 3b545e5806aac30456e6d59169859ed3df74a582 [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",
Victor Hsieh23bcbfe2021-11-18 10:32:50 -080020 "libminijail_rust",
21 "libnix",
Victor Hsieh72c774c2021-11-18 15:52:28 -080022 "liblibc",
Alan Stokes3ef78d92021-09-08 11:51:06 +010023 "liblog_rust",
Alan Stokescb732dc2021-11-16 15:18:13 +000024 "librustutils",
Alan Stokes9ca14ca2021-10-20 14:25:57 +010025 "libshared_child",
Alan Stokes3ef78d92021-09-08 11:51:06 +010026 ],
Alan Stokes3ef78d92021-09-08 11:51:06 +010027 apex_available: [
28 "com.android.compos",
29 ],
30}