1// 2// Copyright (C) 2016 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 17android_app { 18 name: "CarRadioApp", 19 20 srcs: [ 21 "src/**/*.java", 22 "src/**/I*.aidl", 23 ], 24 aidl: { 25 local_include_dirs: ["src"], 26 }, 27 28 platform_apis: true, 29 30 required: ["privapp_whitelist_com.android.car.radio"], 31 32 certificate: "platform", 33 34 privileged: true, 35 36 libs: ["android.car"], 37 38 static_libs: [ 39 "androidx.lifecycle_lifecycle-livedata", 40 "androidx-constraintlayout_constraintlayout", 41 "androidx.room_room-runtime", 42 "car-apps-common", 43 "car-media-common", 44 "car-broadcastradio-support", 45 "car-ui-lib", 46 ], 47 48 plugins: ["androidx.room_room-compiler-plugin"], 49 50 resource_dirs: ["res"], 51 52 optimize: { 53 enabled: false, 54 }, 55 56 dex_preopt: { 57 enabled: false, 58 }, 59 60 product_variables: { 61 pdk: { 62 enabled: false, 63 }, 64 }, 65} 66