1// Copyright (C) 2023 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
15package {
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
24aidl_interface {
25    name: "android.hardware.automotive.vehicle.property",
26    vendor_available: true,
27    srcs: [
28        // This HAL was originally part of android.hardware.automotive.vehicle
29        "android/hardware/automotive/vehicle/*.aidl",
30    ],
31    frozen: false,
32    stability: "vintf",
33    backend: {
34        cpp: {
35            enabled: false,
36        },
37        java: {
38            sdk_version: "module_current",
39            min_sdk_version: "31",
40            apex_available: [
41                "//apex_available:platform",
42                "com.android.car.framework",
43            ],
44        },
45        rust: {
46            enabled: true,
47        },
48    },
49    versions_with_info: [
50        {
51            version: "1",
52            imports: [],
53        },
54        {
55            version: "2",
56            imports: [],
57        },
58        {
59            version: "3",
60            imports: [],
61        },
62
63    ],
64    host_supported: true,
65}
66
67filegroup {
68    name: "android.hardware.automotive.vehicle.property-files",
69    srcs: [
70        "android/hardware/automotive/vehicle/*.aidl",
71    ],
72}
73