blob: c722795a6c467e20703523289cc25aa7e0841e2c [file] [log] [blame]
Wei Wang61c2a332020-01-08 16:51:47 -08001// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Bob Badourc22b35b2021-02-23 14:26:20 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
Wei Wang61c2a332020-01-08 16:51:47 -080024aidl_interface {
25 name: "android.hardware.power",
26 vendor_available: true,
27 srcs: [
28 "android/hardware/power/*.aidl",
29 ],
30 stability: "vintf",
31 backend: {
Wei Wang05003412021-04-01 10:44:29 -070032 cpp: {
33 enabled: true,
34 },
Wei Wang61c2a332020-01-08 16:51:47 -080035 java: {
36 platform_apis: true,
37 },
38 ndk: {
39 vndk: {
40 enabled: true,
41 },
42 },
43 },
Wei Wang05003412021-04-01 10:44:29 -070044 versions: [
45 "1",
Jiyong Park72b63592021-05-21 11:28:05 +090046 "2",
Wei Wang05003412021-04-01 10:44:29 -070047 ],
Wei Wang61c2a332020-01-08 16:51:47 -080048}