1// 2// Copyright (C) 2020 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_team: "trendy_team_framework_accessibility", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "frameworks_base_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["frameworks_base_license"], 25} 26 27android_test { 28 name: "CorePerfTests", 29 30 resource_dirs: ["res"], 31 srcs: [ 32 "src/**/*.java", 33 "src/**/*.kt", 34 "src/android/os/ISomeService.aidl", 35 ], 36 37 static_libs: [ 38 "androidx.appcompat_appcompat", 39 "androidx.test.rules", 40 "androidx.annotation_annotation", 41 "androidx.benchmark_benchmark-common", 42 "androidx.benchmark_benchmark-junit4", 43 "apct-perftests-overlay-apps", 44 "apct-perftests-resources-manager-apps", 45 "apct-perftests-utils", 46 "collector-device-lib", 47 "compatibility-device-util-axt", 48 "junit", 49 "junit-params", 50 "core-tests-support", 51 "guava", 52 ], 53 54 libs: ["android.test.base"], 55 56 java_resources: [":GoogleFontDancingScript"], 57 58 data: [":perfetto_artifacts"], 59 60 platform_apis: true, 61 62 jni_libs: ["libperftestscore_jni"], 63 64 test_suites: ["device-tests"], 65 certificate: "platform", 66 67 errorprone: { 68 javacflags: [ 69 "-Xep:ReturnValueIgnored:WARN", 70 "-Xep:UnnecessaryStringBuilder:OFF", 71 ], 72 }, 73} 74