blob: a0315d0b30d39346ffb29491cfd0f3a55185da1f [file] [log] [blame]
Arthur Ishiguroa257b782021-08-04 10:40:29 -07001// Copyright 2021 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 Badoure0a9bb22021-09-13 16:08:07 -070015package {
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
Arthur Ishiguroa257b782021-08-04 10:40:29 -070024aidl_interface {
25 name: "android.hardware.contexthub",
26 vendor_available: true,
Victor Berchetb32b5442022-02-02 10:16:41 -080027 host_supported: true,
Arthur Ishiguroa257b782021-08-04 10:40:29 -070028 srcs: ["android/hardware/contexthub/*.aidl"],
29 stability: "vintf",
30 backend: {
31 java: {
32 sdk_version: "module_current",
33 },
34 ndk: {
35 apps_enabled: false,
36 },
Austin Foxley4f3a09d2023-05-05 22:00:36 +000037 rust: {
38 enabled: true,
39 },
Arthur Ishiguroa257b782021-08-04 10:40:29 -070040 },
Jiyong Park70f58372022-04-16 07:03:24 +090041 versions_with_info: [
42 {
43 version: "1",
44 imports: [],
45 },
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000046 {
47 version: "2",
48 imports: [],
49 },
50
Jiyong Park70f58372022-04-16 07:03:24 +090051 ],
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000052 frozen: true,
Jiyong Park70f58372022-04-16 07:03:24 +090053
Arthur Ishiguroa257b782021-08-04 10:40:29 -070054}