blob: 285329e27d2d7ff91b35963e208cbd165f2a34f4 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
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-Palencia531b5ba2023-06-16 00:13:04 +000010rust_binary {
Steven Moreland84dd3b72019-07-25 17:13:52 -070011 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-Palencia531b5ba2023-06-16 00:13:04 +000016 rustlibs: [
17 "liblogger",
18 "liblog_rust",
19 "libbinder_rs",
20 "android.hardware.light-V2-rust",
Steven Moreland84dd3b72019-07-25 17:13:52 -070021 ],
Jesus Sanchez-Palencia531b5ba2023-06-16 00:13:04 +000022 srcs: [ "main.rs" ],
Steven Moreland84dd3b72019-07-25 17:13:52 -070023}