xref: /aosp_15_r20/cts/tests/framework/base/windowmanager/util/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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
36java_test_helper_library {
37    name: "cts-wm-util",
38
39    srcs: [
40        "src/**/*.java",
41        "src/**/*.aidl",
42        ":cts-wm-components",
43        ":cts-wm-components-base",
44    ],
45
46    static_libs: [
47        "android.tracing.flags-aconfig-java",
48        "platformprotosnano",
49        "compatibility-device-util-axt",
50        "androidx.test.rules",
51        "hamcrest-library",
52        "CtsMockInputMethodLib",
53        "com.android.window.flags.window-aconfig-java",
54        "perfetto_winscope-lite",
55    ],
56
57    sdk_version: "test_current",
58}
59
60android_test_helper_app {
61    name: "CtsWindowManagerExternalApp",
62    srcs: ["src/android/server/wm/ExternalActivity.java"],
63    test_suites: ["cts"],
64}
65