1// Copyright (C) 2022 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// Actual application 20android_app { 21 name: "CarTelemetryApp", 22 23 srcs: [ 24 "src/**/*.java", 25 "src/**/*.aidl", 26 ":cartelemetryservice-proto-srcs", 27 ], 28 aidl: { 29 local_include_dirs: ["src"], 30 include_dirs: [ 31 "frameworks/native/aidl/binder", 32 ], 33 }, 34 platform_apis: true, 35 aaptflags: ["--auto-add-overlay"], 36 privileged: true, 37 certificate: "platform", 38 proto: { 39 type: "lite", 40 }, 41 libs: [ 42 "android.car", 43 ], 44 static_libs: [ 45 "libprotobuf-java-lite", 46 "androidx.recyclerview_recyclerview", 47 "androidx-constraintlayout_constraintlayout", 48 ], 49 required: ["allowed_privapp_com.android.car.cartelemetryapp"], 50} 51