• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2012 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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19filegroup {
20    name: "cts-wm-app-util",
21    srcs: [
22        "src/android/server/wm/ActivityLauncher.java",
23        "src/android/server/wm/CommandSession.java",
24        "src/android/server/wm/ComponentNameUtils.java",
25        "src/android/server/wm/TestJournalProvider.java",
26        "src/android/server/wm/TestLogClient.java",
27        ":cts-wm-components",
28    ],
29}
30
31filegroup {
32    name: "cts-wm-ignore-orientation-request-session",
33    srcs: ["src/android/server/wm/IgnoreOrientationRequestSession.java"],
34}
35
36filegroup {
37    name: "cts-wm-nested-shell-permission",
38    srcs: ["src/android/server/wm/NestedShellPermission.java"],
39}
40
41java_test_helper_library {
42    name: "cts-wm-window-manager-helper",
43
44    srcs: [
45        "src/android/server/wm/Condition.java",
46        "src/android/server/wm/ComponentNameUtils.java",
47        "src/android/server/wm/ProtoExtractors.java",
48        "src/android/server/wm/StateLogger.java",
49        "src/android/server/wm/WaitForValidActivityState.java",
50        "src/android/server/wm/WindowManagerState.java",
51        "src/android/server/wm/WindowManagerStateHelper.java",
52    ],
53
54    static_libs: [
55        "compatibility-device-util-axt",
56        "platformprotosnano",
57        "hamcrest-library",
58    ],
59
60    sdk_version: "test_current",
61}
62
63java_test_helper_library {
64    name: "cts-wm-util",
65
66    srcs: [
67        "src/**/*.java",
68        "src/**/*.aidl",
69        ":cts-wm-components",
70        ":cts-wm-components-base",
71    ],
72
73    static_libs: [
74        "platformprotosnano",
75        "compatibility-device-util-axt",
76        "androidx.test.rules",
77        "hamcrest-library",
78        "CtsMockInputMethodLib",
79    ],
80
81    sdk_version: "test_current",
82}
83