xref: /aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_lse_app_compat",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "frameworks_base_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["frameworks_base_license"],
25}
26
27android_test {
28    name: "WMShellFlickerTestsAppCompat",
29    defaults: ["WMShellFlickerTestsDefault"],
30    manifest: "AndroidManifest.xml",
31    package_name: "com.android.wm.shell.flicker",
32    instrumentation_target_package: "com.android.wm.shell.flicker",
33    test_config_template: "AndroidTestTemplate.xml",
34    srcs: ["src/**/*.kt"],
35    static_libs: ["WMShellFlickerTestsBase"],
36    data: ["trace_config/*"],
37}
38
39////////////////////////////////////////////////////////////////////////////////
40// Begin breakdowns for WMShellFlickerTestsAppCompat module
41
42test_module_config {
43    name: "WMShellFlickerTestsAppCompat-CatchAll",
44    base: "WMShellFlickerTestsAppCompat",
45    exclude_filters: [
46        "com.android.wm.shell.flicker.appcompat.OpenAppInSizeCompatModeTest",
47        "com.android.wm.shell.flicker.appcompat.OpenTransparentActivityTest",
48        "com.android.wm.shell.flicker.appcompat.QuickSwitchLauncherToLetterboxAppTest",
49        "com.android.wm.shell.flicker.appcompat.RepositionFixedPortraitAppTest",
50        "com.android.wm.shell.flicker.appcompat.RestartAppInSizeCompatModeTest",
51        "com.android.wm.shell.flicker.appcompat.RotateImmersiveAppInFullscreenTest",
52    ],
53    test_suites: ["device-tests"],
54}
55
56test_module_config {
57    name: "WMShellFlickerTestsAppCompat-OpenAppInSizeCompatModeTest",
58    base: "WMShellFlickerTestsAppCompat",
59    include_filters: ["com.android.wm.shell.flicker.appcompat.OpenAppInSizeCompatModeTest"],
60    test_suites: ["device-tests"],
61}
62
63test_module_config {
64    name: "WMShellFlickerTestsAppCompat-OpenTransparentActivityTest",
65    base: "WMShellFlickerTestsAppCompat",
66    include_filters: ["com.android.wm.shell.flicker.appcompat.OpenTransparentActivityTest"],
67    test_suites: ["device-tests"],
68}
69
70test_module_config {
71    name: "WMShellFlickerTestsAppCompat-QuickSwitchLauncherToLetterboxAppTest",
72    base: "WMShellFlickerTestsAppCompat",
73    include_filters: ["com.android.wm.shell.flicker.appcompat.QuickSwitchLauncherToLetterboxAppTest"],
74    test_suites: ["device-tests"],
75}
76
77test_module_config {
78    name: "WMShellFlickerTestsAppCompat-RepositionFixedPortraitAppTest",
79    base: "WMShellFlickerTestsAppCompat",
80    include_filters: ["com.android.wm.shell.flicker.appcompat.RepositionFixedPortraitAppTest"],
81    test_suites: ["device-tests"],
82}
83
84test_module_config {
85    name: "WMShellFlickerTestsAppCompat-RestartAppInSizeCompatModeTest",
86    base: "WMShellFlickerTestsAppCompat",
87    include_filters: ["com.android.wm.shell.flicker.appcompat.RestartAppInSizeCompatModeTest"],
88    test_suites: ["device-tests"],
89}
90
91test_module_config {
92    name: "WMShellFlickerTestsAppCompat-RotateImmersiveAppInFullscreenTest",
93    base: "WMShellFlickerTestsAppCompat",
94    include_filters: ["com.android.wm.shell.flicker.appcompat.RotateImmersiveAppInFullscreenTest"],
95    test_suites: ["device-tests"],
96}
97
98// End breakdowns for FlickerTestsRotation module
99////////////////////////////////////////////////////////////////////////////////
100