1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_library {
6    name: "libcompos_common",
7    crate_name: "compos_common",
8    defaults: ["avf_build_flags_rust"],
9    srcs: ["lib.rs"],
10    edition: "2021",
11    rustlibs: [
12        "android.system.virtualizationservice-rust",
13        "compos_aidl_interface-rust",
14        "libanyhow",
15        "libbinder_rs",
16        "libglob",
17        "liblazy_static",
18        "liblog_rust",
19        "libnested_virt",
20        "libnum_traits",
21        "librustutils",
22        "libvmclient",
23        "libplatformproperties_rust",
24    ],
25    proc_macros: ["libnum_derive"],
26    apex_available: [
27        "com.android.compos",
28    ],
29}
30