blob: 9621f2cb104a2a6e5def51b03a356e4ed847f664 [file] [log] [blame]
Roshan Pius80c3cc62021-08-27 12:55:02 -07001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Charlie Boutierd572dd02023-04-10 18:14:23 +000010rust_binary {
Roshan Pius80c3cc62021-08-27 12:55:02 -070011 name: "android.hardware.uwb-service",
Charlie Boutierd572dd02023-04-10 18:14:23 +000012 crate_name: "uwb_default_hal",
Roshan Pius80c3cc62021-08-27 12:55:02 -070013 relative_install_path: "hw",
Roshan Pius80c3cc62021-08-27 12:55:02 -070014 vintf_fragments: ["uwb-service.xml"],
15 vendor: true,
Charlie Boutierd572dd02023-04-10 18:14:23 +000016 rustlibs: [
17 "android.hardware.uwb-V1-rust",
18 "liblogger",
19 "liblog_rust",
20 "libbinder_rs",
21 "libbinder_tokio_rs",
22 "libtokio",
23 "libnix",
24 "libanyhow",
Roshan Pius80c3cc62021-08-27 12:55:02 -070025 ],
Charlie Boutierd572dd02023-04-10 18:14:23 +000026 proc_macros: [
27 "libasync_trait",
Roshan Pius80c3cc62021-08-27 12:55:02 -070028 ],
29 srcs: [
Charlie Boutierd572dd02023-04-10 18:14:23 +000030 "src/service.rs",
Roshan Pius80c3cc62021-08-27 12:55:02 -070031 ],
32}