• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20    name: "UiBenchMicrobenchmark",
21    srcs: ["src/**/*.java"],
22
23    static_libs: [
24        "collector-device-lib",
25        "ub-uiautomator",
26        "junit",
27        "microbenchmark-device-lib",
28        "launcher-helper-lib",
29    ],
30
31    libs: ["android.test.base.stubs"],
32
33    data: [":perfetto_artifacts",
34           ":UiBench",],
35
36    sdk_version: "test_current",
37
38    test_config: "configs/uibench-all.xml",
39
40    test_options: {
41        extra_test_configs: ["configs/uibench-dialoglist.xml",
42                             "configs/uibench-invalidate.xml",],
43    },
44
45    test_suites: ["device-tests"],
46}
47
48java_library {
49    name: "UiBenchMicrobenchmark-test-src",
50    srcs: ["src/**/*.java"],
51
52    static_libs: [
53        "collector-device-lib",
54        "ub-uiautomator",
55        "junit",
56        "microbenchmark-device-lib",
57        "launcher-helper-lib",
58    ],
59
60    libs: ["android.test.base.stubs"],
61}
62