• 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    ],
36
37    static_libs: [
38        "androidx.test.rules",
39        "androidx.test.ext.junit",
40        "compatibility-device-util-axt",
41        "ctsdeviceutillegacy-axt",
42        "ctstestrunner-axt",
43        "cts-input-lib",
44        "cts-hardware-lib",
45        "junit-params",
46        "mockito-target-minus-junit4",
47        "platform-test-annotations",
48        "androidx.test.uiautomator_uiautomator",
49        "truth",
50        "CtsSurfaceValidatorLib",
51        "cts-wm-util",
52        "CtsMockInputMethodLib",
53        "CtsCrossProcessSurfaceControlViewHostTestService",
54        "flag-junit",
55        "com.android.window.flags.window-aconfig-java",
56        "hwui_flags_java_lib",
57        "ui-trace-collector",
58    ],
59
60    jni_libs: [
61        "libctssurfacecontrol_jni",
62        "libnativehelper_compat_libc++",
63    ],
64
65    srcs: [
66        "src/**/*.java",
67        "src/**/*.aidl",
68    ],
69
70    data: [
71        ":CtsCrossProcessSurfaceControlViewHostTestService",
72        ":CtsMockInputMethod",
73    ],
74
75    sdk_version: "test_current",
76}
77