blob: 03774749573820b55052c53cd9e95312bd88dda1 [file] [log] [blame]
Alan Stokes17fd36a2021-09-06 17:22:37 +01001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_library {
6 name: "libcompos_common",
7 crate_name: "compos_common",
8 srcs: ["lib.rs"],
9 edition: "2018",
10 rustlibs: [
11 "android.system.virtualizationservice-rust",
12 "compos_aidl_interface-rust",
13 "libanyhow",
Alan Stokes126fd512021-12-16 15:00:01 +000014 "libbinder_common",
Alan Stokes17fd36a2021-09-06 17:22:37 +010015 "libbinder_rpc_unstable_bindgen",
16 "libbinder_rs",
17 "liblog_rust",
Alan Stokes46a1dff2021-12-14 10:56:05 +000018 "libnum_traits",
Alan Stokes17aed5c2021-10-20 14:25:57 +010019 "librustutils",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000020 "libvmclient",
Alan Stokes17fd36a2021-09-06 17:22:37 +010021 ],
Alan Stokes46a1dff2021-12-14 10:56:05 +000022 proc_macros: ["libnum_derive"],
Alan Stokes17fd36a2021-09-06 17:22:37 +010023 shared_libs: [
24 "libbinder_rpc_unstable",
25 ],
26 apex_available: [
27 "com.android.compos",
28 ],
29}