• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2024 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_applicable_licenses: ["Android-Apache-2.0"],
19    default_team: "trendy_team_system_performance",
20}
21
22android_test {
23    name: "CtsProfilingModuleTests",
24    defaults: ["cts_defaults"],
25    static_libs: [
26        "androidx.test.rules",
27        "androidx.test.ext.truth",
28        "compatibility-device-util-axt",
29        "ctstestrunner-axt",
30        "cts-wm-util",
31        "modules-utils-build",
32        "service-profiling",
33        "profiling_flags_lib",
34        "framework-profiling.impl",
35        "testng",
36    ],
37    libs: [
38        "android.test.runner.stubs.system",
39        "android.test.base.stubs.system",
40        "android.test.mock.stubs.system",
41        "junit",
42    ],
43    // include both the 32 and 64 bit versions
44    compile_multilib: "both",
45    srcs: [
46        "src/android/profiling/cts/*.java",
47    ],
48    jni_libs: [
49        "libcts_profiling_module_test_native",
50    ],
51    jarjar_rules: "jarjar-rules.txt",
52    test_mainline_modules: ["com.google.android.profiling.apex"],
53    test_suites: [
54        "cts",
55        "general-tests",
56        "mts-profiling",
57        "mcts-profiling",
58    ],
59    min_sdk_version: "35",
60    sdk_version: "module_current",
61}
62