1// 2// Copyright (C) 2020 Google Inc. 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_test { 22 name: "CarLauncherTests", 23 24 srcs: ["src/**/*.java"], 25 26 resource_dirs: ["res"], 27 28 libs: [ 29 "android.test.base", 30 "android.car", 31 ], 32 33 static_libs: [ 34 "androidx.test.core", 35 "androidx.test.runner", 36 "androidx.test.espresso.core", 37 "androidx.test.espresso.intents", 38 "androidx.test.ext.junit", 39 "hamcrest-library", 40 "mockito-target-minus-junit4", 41 "testables", 42 "CarLauncher-core" 43 ], 44 45 platform_apis: true, 46 47 certificate: "platform", 48 49 manifest: "AndroidManifest.xml", 50 51 instrumentation_for: "CarLauncher", 52 53 dex_preopt: { 54 enabled: false, 55 }, 56} 57