• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2023 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_windowing_infra_",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsSurfaceControlTests",
22    defaults: ["cts_defaults"],
23
24    // Tag this module as a cts test artifact
25    test_suites: [
26        "cts",
27        "general-tests",
28    ],
29
30    compile_multilib: "both",
31
32    libs: [
33        "android.test.runner.stubs",
34        "android.test.base.stubs",
35        "android.view.flags-aconfig-java",
36    ],
37
38    static_libs: [
39        "androidx.test.rules",
40        "androidx.test.ext.junit",
41        "android.hardware.flags-aconfig-java",
42        "compatibility-device-util-axt",
43        "ctsdeviceutillegacy-axt",
44        "ctstestrunner-axt",
45        "cts-input-lib",
46        "cts-hardware-lib",
47        "junit-params",
48        "mockito-target-minus-junit4",
49        "platform-test-annotations",
50        "androidx.test.uiautomator_uiautomator",
51        "truth",
52        "CtsSurfaceValidatorLib",
53        "cts-wm-util",
54        "CtsMockInputMethodLib",
55        "CtsCrossProcessSurfaceControlViewHostTestService",
56        "flag-junit",
57        "com.android.window.flags.window-aconfig-java",
58        "hwui_flags_java_lib",
59        "ui-trace-collector",
60        "collector-device-lib",
61        "cts_backported_fixes",
62        "surfaceflinger_flags_java_lib",
63    ],
64
65    jni_libs: [
66        "libctssurfacecontrol_jni",
67        "libnativehelper_compat_libc++",
68    ],
69
70    srcs: [
71        "src/**/*.java",
72        "src/**/*.aidl",
73    ],
74
75    data: [
76        ":CtsCrossProcessSurfaceControlViewHostTestService",
77        ":CtsMockInputMethod",
78    ],
79
80    sdk_version: "test_current",
81}
82