1// Copyright (C) 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19// See https://source.android.com/devices/architecture/aidl/stable-aidl#module-naming-rules
20// to learn how to use it.
21aidl_interface {
22    name: "android.automotive.telemetry.internal",
23    srcs: [
24        "android/automotive/telemetry/internal/*.aidl",
25    ],
26    vendor_available: false,
27    backend: {
28        ndk: {
29            enabled: true,
30        },
31        java: {
32            sdk_version: "module_current",
33            min_sdk_version: "31",
34            apex_available: [
35                "//apex_available:platform",
36                "com.android.car.framework",
37            ],
38            enabled: true,
39        },
40    },
41
42    // Run "m android.automotive.telemetry.internal-update-api" to update the
43    // "aidl_api/.../current/" dir whenever the aidl files are changed.
44    // This field is automatically updated during version freeze.
45    versions_with_info: [
46        {
47            version: "1",
48            imports: [],
49        },
50        {
51            version: "2",
52            imports: [],
53        },
54
55    ],
56    frozen: true,
57}
58