1// 2// Copyright (C) 2017 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21android_app { 22 name: "CarMessengerApp", 23 24 srcs: ["src/**/*.java"], 25 26 resource_dirs: ["res"], 27 28 sdk_version: "system_current", 29 30 required: ["allowed_privapp_com.android.car.messenger"], 31 32 overrides: ["messaging"], 33 34 optimize: { 35 enabled: false, 36 }, 37 38 privileged: true, 39 40 libs: ["android.car-system-stubs"], 41 42 // must be unbundled dependencies 43 static_libs: [ 44 "androidx-constraintlayout_constraintlayout", 45 "androidx.lifecycle_lifecycle-common-java8", 46 "androidx.lifecycle_lifecycle-extensions", 47 "androidx.legacy_legacy-support-v4", 48 "androidx.preference_preference", 49 "androidx.recyclerview_recyclerview", 50 "car-assist-lib", 51 "car-messaging-models", 52 "car-telephony-common", 53 "car-ui-lib", 54 "androidx.annotation_annotation", 55 ], 56 57 dex_preopt: { 58 enabled: false, 59 }, 60 61 product_variables: { 62 pdk: { 63 enabled: false, 64 }, 65 }, 66} 67