b990a93646
This enables us to write a lights service in Rust. Bug: 286106270 Tested: Verified with a WIP replacement for the Lights example service. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a37bed645683cec20b67b8303aa8e3f6ac08f32a) Change-Id: I6f9838ea711fb194ac9b9f7b3c29eeb87491beb8
37 lines
839 B
Text
37 lines
839 B
Text
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
aidl_interface {
|
|
name: "android.hardware.light",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"android/hardware/light/*.aidl",
|
|
],
|
|
stability: "vintf",
|
|
backend: {
|
|
java: {
|
|
sdk_version: "module_current",
|
|
},
|
|
rust: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
versions_with_info: [
|
|
{
|
|
version: "1",
|
|
imports: [],
|
|
},
|
|
{
|
|
version: "2",
|
|
imports: [],
|
|
},
|
|
|
|
],
|
|
|
|
}
|