blob: f585de9f06edaead9dcf5ada2d0c9b89ea2053fc [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",
Jooyung Han3e051962023-08-21 12:57:20 +090014 init_rc: ["uwb-service.rc"],
Roshan Pius80c3cc62021-08-27 12:55:02 -070015 vintf_fragments: ["uwb-service.xml"],
16 vendor: true,
Charlie Boutierd572dd02023-04-10 18:14:23 +000017 rustlibs: [
18 "android.hardware.uwb-V1-rust",
19 "liblogger",
20 "liblog_rust",
21 "libbinder_rs",
22 "libbinder_tokio_rs",
23 "libtokio",
24 "libnix",
25 "libanyhow",
Roshan Pius80c3cc62021-08-27 12:55:02 -070026 ],
Charlie Boutierd572dd02023-04-10 18:14:23 +000027 proc_macros: [
28 "libasync_trait",
Roshan Pius80c3cc62021-08-27 12:55:02 -070029 ],
30 srcs: [
Charlie Boutierd572dd02023-04-10 18:14:23 +000031 "src/service.rs",
Roshan Pius80c3cc62021-08-27 12:55:02 -070032 ],
33}