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.lights-service.example", 12 relative_install_path: "hw", 13 init_rc: ["lights-default.rc"], 14 vintf_fragments: ["lights-default.xml"], 15 vendor: true, 16 rustlibs: [ 17 "liblogger", 18 "liblog_rust", 19 "libbinder_rs", 20 "android.hardware.light-V2-rust", 21 ], 22 srcs: [ "main.rs" ], 23} 24