1// 2// Copyright (C) 2019 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_test { 22 name: "DiagnosticTools", 23 24 // Only compile source java files in this apk. 25 srcs: ["src/**/*.java"], 26 27 platform_apis: true, 28 29 certificate: "platform", 30 31 //sdk_version: "current", 32 33 optimize: { 34 enabled: false, 35 }, 36 37 enforce_uses_libs: false, 38 dex_preopt: { 39 enabled: false, 40 }, 41 42 static_libs: [ 43 "androidx.recyclerview_recyclerview", 44 "com.google.android.material_material", 45 "androidx-constraintlayout_constraintlayout", 46 "androidx.appcompat_appcompat", 47 "androidx-constraintlayout_constraintlayout-solver", 48 ], 49 50 libs: ["android.car-system-stubs"], 51} 52