blob: 51f97f890e9e4fb3b99a92fd9d5162756b54e39b [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",
Alan Stokes17fd36a2021-09-06 17:22:37 +010016 "liblog_rust",
Alan Stokes46a1dff2021-12-14 10:56:05 +000017 "libnum_traits",
Alan Stokes17aed5c2021-10-20 14:25:57 +010018 "librustutils",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000019 "libvmclient",
Alan Stokes17fd36a2021-09-06 17:22:37 +010020 ],
Alan Stokes46a1dff2021-12-14 10:56:05 +000021 proc_macros: ["libnum_derive"],
Alan Stokes17fd36a2021-09-06 17:22:37 +010022 shared_libs: [
23 "libbinder_rpc_unstable",
24 ],
25 apex_available: [
26 "com.android.compos",
27 ],
28}