1// Copyright (C) 2024 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 19android_app { 20 name: "CarDistantDisplayPanoManager", 21 22 srcs: ["src/**/*.kt"], 23 24 resource_dirs: ["res"], 25 26 static_libs: [ 27 "androidx.activity_activity-ktx", 28 "androidx.appcompat_appcompat", 29 "androidx.core_core-ktx", 30 "androidx.lifecycle_lifecycle-livedata-ktx", 31 "androidx.lifecycle_lifecycle-viewmodel-ktx", 32 "androidx.legacy_legacy-support-v4", 33 "car-ui-lib", 34 35 // App Cards 36 "car-app-card-host", 37 38 // Kotlin 39 "kotlin-stdlib", 40 "kotlinx-coroutines-android", 41 42 "libprotobuf-java-lite", 43 ], 44 45 required: ["allowed_privapp_com.android.car.pano.manager"], 46 47 optimize: { 48 enabled: false, 49 }, 50 51 dex_preopt: { 52 enabled: false, 53 }, 54 55 manifest: "AndroidManifest.xml", 56 57 platform_apis: true, 58 59 certificate: "platform", 60} 61 62prebuilt_etc { 63 name: "allowed_privapp_com.android.car.pano.manager", 64 sub_dir: "permissions", 65 src: "com.android.car.pano.manager.xml", 66 filename_from_src: true, 67} 68