• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "conscrypt-test-support",
48        "compatibility-device-util-axt",
49        "junit",
50        "junit-params",
51        "core-tests-support",
52        "guava",
53        "perfetto_trace_java_protos",
54    ],
55
56    libs: ["android.test.base.stubs.system"],
57
58    java_resources: [":GoogleFontDancingScript"],
59
60    data: [":perfetto_artifacts"],
61
62    platform_apis: true,
63
64    jni_libs: ["libperftestscore_jni"],
65
66    test_suites: ["device-tests"],
67    certificate: "platform",
68
69    errorprone: {
70        javacflags: [
71            "-Xep:ReturnValueIgnored:WARN",
72            "-Xep:UnnecessaryStringBuilder:OFF",
73        ],
74    },
75}
76