1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_defaults {
6    name: "composd_cmd_defaults",
7    srcs: ["composd_cmd.rs"],
8    defaults: ["avf_build_flags_rust"],
9    edition: "2021",
10    rustlibs: [
11        "android.system.composd-rust",
12        "libanyhow",
13        "libbinder_rs",
14        "libclap",
15        "libcompos_common",
16        "libhypervisor_props",
17    ],
18    prefer_rlib: true,
19}
20
21rust_binary {
22    name: "composd_cmd",
23    defaults: ["composd_cmd_defaults"],
24    apex_available: [
25        "com.android.compos",
26    ],
27}
28
29rust_test {
30    name: "composd_cmd.test",
31    defaults: ["composd_cmd_defaults"],
32    test_suites: ["general-tests"],
33}
34