Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 1 | package { |
| 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 Boutier | d572dd0 | 2023-04-10 18:14:23 +0000 | [diff] [blame] | 10 | rust_binary { |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 11 | name: "android.hardware.uwb-service", |
Charlie Boutier | d572dd0 | 2023-04-10 18:14:23 +0000 | [diff] [blame] | 12 | crate_name: "uwb_default_hal", |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 13 | relative_install_path: "hw", |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 14 | vintf_fragments: ["uwb-service.xml"], |
| 15 | vendor: true, |
Charlie Boutier | d572dd0 | 2023-04-10 18:14:23 +0000 | [diff] [blame] | 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", |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 25 | ], |
Charlie Boutier | d572dd0 | 2023-04-10 18:14:23 +0000 | [diff] [blame] | 26 | proc_macros: [ |
| 27 | "libasync_trait", |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 28 | ], |
| 29 | srcs: [ |
Charlie Boutier | d572dd0 | 2023-04-10 18:14:23 +0000 | [diff] [blame] | 30 | "src/service.rs", |
Roshan Pius | 80c3cc6 | 2021-08-27 12:55:02 -0700 | [diff] [blame] | 31 | ], |
| 32 | } |