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// Audomotive Telemetry interfaces.
20//
21// Depend on "android.frameworks.automotive.telemetry-V1-ndk". Change "V1" to desired version (it
22// must be always provided), and "ndk" to a desired AIDL back-end.
23aidl_interface {
24    name: "android.frameworks.automotive.telemetry",
25    srcs: [
26        "android/frameworks/automotive/telemetry/*.aidl",
27    ],
28    vendor_available: true,
29    stability: "vintf",
30    backend: {
31        cpp: {
32            enabled: true,
33        },
34        java: {
35            enabled: false,
36        },
37        ndk: {
38            enabled: true,
39        },
40    },
41    // Run "m android.frameworks.automotive.telemetry-freeze-api" to bump the version. Freeze the
42    // version only during the release.
43    // Run "m android.frameworks.automotive.telemetry-update-api" to update the
44    // "aidl_api/.../current/" dir.
45    versions: ["1"],
46}
47