• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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
10rust_binary {
11    name: "android.hardware.uwb-service",
12    crate_name: "uwb_default_hal",
13    relative_install_path: "hw",
14    vintf_fragments: ["uwb-service.xml"],
15    vendor: true,
16    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",
25    ],
26    proc_macros: [
27        "libasync_trait",
28    ],
29    srcs: [
30        "src/service.rs",
31    ],
32}
33