1// 2// Copyright (C) 2015 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: "CarMediaApp", 23 24 srcs: ["src/**/*.java"], 25 26 resource_dirs: ["res"], 27 28 required: ["allowed_privapp_com.android.car.media"], 29 30 certificate: "platform", 31 // Keep this commented out until enough apps stop requiring a system signature. 32 // certificate: ":com-android-car-apps-test", 33 34 privileged: true, 35 36 libs: ["android.car-system-stubs"], 37 min_sdk_version: "30", // Media requires apis that became public in R. 38 target_sdk_version: "31", 39 sdk_version: "system_current", 40 41 optimize: { 42 enabled: false, 43 }, 44 45 dex_preopt: { 46 enabled: false, 47 }, 48 49 static_libs: [ 50 "androidx-constraintlayout_constraintlayout-solver", 51 "androidx-constraintlayout_constraintlayout", 52 "car-apps-common", 53 "car-media-common", 54 "car-ui-lib", 55 "car-uxr-client-lib", 56 ], 57 58 product_variables: { 59 pdk: { 60 enabled: false, 61 }, 62 }, 63} 64