blob: 75f0c4feed24bd85358dfa6d9f9cfb0d5a5d17df [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"],
Alan Stokes6472ccd2022-08-31 13:41:28 +01008 edition: "2021",
Alan Stokesb2cc79e2021-09-14 14:08:46 +01009 prefer_rlib: true,
Shikha Panwar9b2fb092024-02-21 12:37:16 +000010 defaults: ["avf_build_flags_rust"],
Alan Stokes3ef78d92021-09-08 11:51:06 +010011 rustlibs: [
12 "android.system.composd-rust",
Alan Stokes69c610f2021-09-27 14:03:31 +010013 "android.system.virtualizationservice-rust",
Alan Stokes3ef78d92021-09-08 11:51:06 +010014 "compos_aidl_interface-rust",
15 "libandroid_logger",
16 "libanyhow",
17 "libbinder_rs",
18 "libcompos_common",
Alan Stokes14f07392021-09-27 14:03:31 +010019 "libcomposd_native_rust",
Victor Hsieh9807dcd2023-03-14 09:58:53 -070020 "libfsverity_rs",
Victor Hsieh23bcbfe2021-11-18 10:32:50 -080021 "libminijail_rust",
22 "libnix",
Victor Hsieh72c774c2021-11-18 15:52:28 -080023 "liblibc",
Alan Stokes3ef78d92021-09-08 11:51:06 +010024 "liblog_rust",
Victor Hsieh9807dcd2023-03-14 09:58:53 -070025 "libodsign_proto_rust",
Ludovic Barman93ee3082023-06-20 12:18:43 +000026 "libprotobuf",
Alan Stokescb732dc2021-11-16 15:18:13 +000027 "librustutils",
Alan Stokes9ca14ca2021-10-20 14:25:57 +010028 "libshared_child",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000029 "libvmclient",
Alan Stokes3ef78d92021-09-08 11:51:06 +010030 ],
Alan Stokes3ef78d92021-09-08 11:51:06 +010031 apex_available: [
32 "com.android.compos",
33 ],
34}