1// Copyright (C) 2019 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_responsible_apis",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsWindowManagerBackgroundActivityTestCases",
22    defaults: ["cts_defaults"],
23
24    // TODO(b/129909356): Consolidate this to CtsWindowManagerDeviceTestCases.apk
25
26    srcs: ["src/**/*.java"],
27
28    sdk_version: "test_current",
29
30    static_libs: [
31        "androidx.appcompat_appcompat",
32        "androidx.test.core",
33        "androidx.test.rules",
34        "androidx.test.uiautomator_uiautomator",
35        "cts-wm-util",
36        "cts-wm-app-base",
37        "cts-core-test-runner-axt",
38        "cts-background-activity-common",
39        "cts_window-sidecar",
40        "cts_window-extensions",
41        "cts_window_jetpack_utils",
42        "com.android.window.flags.window-aconfig-java",
43        "android.security.flags-aconfig-java",
44        "Harrier",
45    ],
46
47    test_suites: [
48        "cts",
49        "general-tests",
50    ],
51    data: [
52        ":CtsBackgroundActivityAppA",
53        ":CtsBackgroundActivityAppA33",
54        ":CtsBackgroundActivityAppB",
55        ":CtsBackgroundActivityAppB33",
56        ":CtsBackgroundActivityAppC",
57        ":CtsBackgroundActivityAppC33",
58        ":CtsBackgroundActivityAppAllowCrossUidFlagDefault",
59    ],
60    per_testcase_directory: true,
61}
62