1// Copyright 2019 Google Inc. All Rights Reserved. 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_renderscript_nnapi", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "UiBenchMicrobenchmark", 22 srcs: ["src/**/*.java"], 23 24 static_libs: [ 25 "collector-device-lib", 26 "androidx.test.uiautomator_uiautomator", 27 "junit", 28 "microbenchmark-device-lib", 29 "launcher-helper-lib", 30 ], 31 32 libs: ["android.test.base.stubs"], 33 34 data: [ 35 ":perfetto_artifacts", 36 ":UiBench", 37 ], 38 39 sdk_version: "test_current", 40 41 test_config: "configs/uibench-all.xml", 42 43 test_options: { 44 extra_test_configs: [ 45 "configs/uibench-dialoglist.xml", 46 "configs/uibench-invalidate.xml", 47 ], 48 }, 49 50 test_suites: ["device-tests"], 51} 52 53java_library { 54 name: "UiBenchMicrobenchmark-test-src", 55 srcs: ["src/**/*.java"], 56 57 static_libs: [ 58 "collector-device-lib", 59 "androidx.test.uiautomator_uiautomator", 60 "junit", 61 "microbenchmark-device-lib", 62 "launcher-helper-lib", 63 ], 64 65 libs: ["android.test.base.stubs"], 66} 67