blob: 55a3107b707e1f9a1aed19695d2644421fb27b14 [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",
Victor Hsiehaf989d52022-01-25 13:59:50 -080021 "libnum_cpus",
Victor Hsieh23bcbfe2021-11-18 10:32:50 -080022 "libnix",
Victor Hsieh72c774c2021-11-18 15:52:28 -080023 "liblibc",
Alan Stokes3ef78d92021-09-08 11:51:06 +010024 "liblog_rust",
Alan Stokescb732dc2021-11-16 15:18:13 +000025 "librustutils",
Alan Stokes9ca14ca2021-10-20 14:25:57 +010026 "libshared_child",
Alan Stokes3ef78d92021-09-08 11:51:06 +010027 ],
Alan Stokes3ef78d92021-09-08 11:51:06 +010028 apex_available: [
29 "com.android.compos",
30 ],
31}