• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	    sdk_version: "module_current",
36            min_sdk_version: "31",
37            apex_available: [
38                "//apex_available:platform",
39                "com.android.car.framework",
40            ],
41            enabled: false,
42        },
43        ndk: {
44            enabled: true,
45        },
46    },
47    // Run "m android.frameworks.automotive.telemetry-freeze-api" to bump the version. Freeze the
48    // version only during the release.
49    // Run "m android.frameworks.automotive.telemetry-update-api" to update the
50    // "aidl_api/.../current/" dir.
51    versions: ["1"],
52}
53