Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [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 | |
Jesus Sanchez-Palencia | 531b5ba | 2023-06-16 00:13:04 +0000 | [diff] [blame] | 10 | rust_binary { |
Steven Moreland | 84dd3b7 | 2019-07-25 17:13:52 -0700 | [diff] [blame] | 11 | name: "android.hardware.lights-service.example", |
| 12 | relative_install_path: "hw", |
| 13 | init_rc: ["lights-default.rc"], |
| 14 | vintf_fragments: ["lights-default.xml"], |
| 15 | vendor: true, |
Jesus Sanchez-Palencia | 531b5ba | 2023-06-16 00:13:04 +0000 | [diff] [blame] | 16 | rustlibs: [ |
| 17 | "liblogger", |
| 18 | "liblog_rust", |
| 19 | "libbinder_rs", |
| 20 | "android.hardware.light-V2-rust", |
Steven Moreland | 84dd3b7 | 2019-07-25 17:13:52 -0700 | [diff] [blame] | 21 | ], |
Jesus Sanchez-Palencia | 531b5ba | 2023-06-16 00:13:04 +0000 | [diff] [blame] | 22 | srcs: [ "main.rs" ], |
Steven Moreland | 84dd3b7 | 2019-07-25 17:13:52 -0700 | [diff] [blame] | 23 | } |