1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_team: "trendy_team_performance", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CoroutineTracingPerfTests", 22 23 srcs: [ 24 "src/**/*.kt", 25 ":tracinglib-core-srcs", 26 ], 27 28 static_libs: [ 29 "androidx.annotation_annotation", 30 "androidx.benchmark_benchmark-common", 31 "androidx.benchmark_benchmark-junit4", 32 "androidx.test.core", 33 "androidx.test.ext.junit", 34 "androidx.test.rules", 35 "androidx.test.runner", 36 "apct-perftests-utils", 37 "collector-device-lib", 38 "flag-junit", 39 "kotlinx_coroutines_android", 40 "platform-test-rules", 41 "com_android_systemui_flags_lib", 42 ], 43 44 data: [":perfetto_artifacts"], 45 46 platform_apis: true, 47 certificate: "platform", 48 use_resource_processor: true, 49 50 test_suites: ["device-tests"], 51} 52