1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_binary {
6    name: "composd",
7    srcs: ["src/composd_main.rs"],
8    edition: "2021",
9    prefer_rlib: true,
10    defaults: ["avf_build_flags_rust"],
11    rustlibs: [
12        "android.system.composd-rust",
13        "android.system.virtualizationservice-rust",
14        "compos_aidl_interface-rust",
15        "libandroid_logger",
16        "libanyhow",
17        "libbinder_rs",
18        "libcompos_common",
19        "libcomposd_native_rust",
20        "libfsverity_rs",
21        "libminijail_rust",
22        "libnix",
23        "liblibc",
24        "liblog_rust",
25        "libodsign_proto_rust",
26        "libprotobuf",
27        "librustutils",
28        "libshared_child",
29        "libvmclient",
30    ],
31    apex_available: [
32        "com.android.compos",
33    ],
34}
35