| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 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 | |
| 17 | package { |
| Nataniel Borges | f005b41 | 2024-08-08 13:31:55 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_windowing_animations_transitions", |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 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 | |
| Nataniel Borges | f005b41 | 2024-08-08 13:31:55 +0000 | [diff] [blame] | 27 | //////////////////////////////////////////////////////////////////////////////// |
| 28 | // Begin to cleanup after CL merges |
| 29 | |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 30 | filegroup { |
| 31 | name: "FlickerTestsAppLaunchCommon-src", |
| 32 | srcs: ["src/**/common/*"], |
| 33 | } |
| 34 | |
| 35 | filegroup { |
| 36 | name: "FlickerTestsAppLaunch1-src", |
| Nataniel Borges | c536b83 | 2024-05-23 09:31:57 +0000 | [diff] [blame] | 37 | srcs: ["src/**/OpenAppFrom*"], |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | java_library { |
| 41 | name: "FlickerTestsAppLaunchCommon", |
| 42 | defaults: ["FlickerTestsDefault"], |
| 43 | srcs: [":FlickerTestsAppLaunchCommon-src"], |
| 44 | static_libs: ["FlickerTestsBase"], |
| 45 | } |
| 46 | |
| 47 | android_test { |
| 48 | name: "FlickerTestsAppLaunch1", |
| 49 | defaults: ["FlickerTestsDefault"], |
| 50 | manifest: "AndroidManifest.xml", |
| 51 | test_config_template: "AndroidTestTemplate.xml", |
| 52 | srcs: [":FlickerTestsAppLaunch1-src"], |
| 53 | static_libs: [ |
| 54 | "FlickerTestsBase", |
| 55 | "FlickerTestsAppLaunchCommon", |
| 56 | ], |
| Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 57 | data: ["trace_config/*"], |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | android_test { |
| 61 | name: "FlickerTestsAppLaunch2", |
| 62 | defaults: ["FlickerTestsDefault"], |
| 63 | manifest: "AndroidManifest.xml", |
| 64 | test_config_template: "AndroidTestTemplate.xml", |
| 65 | srcs: ["src/**/*"], |
| 66 | exclude_srcs: [ |
| 67 | ":FlickerTestsAppLaunchCommon-src", |
| 68 | ":FlickerTestsAppLaunch1-src", |
| 69 | ], |
| 70 | static_libs: [ |
| 71 | "FlickerTestsBase", |
| 72 | "FlickerTestsAppLaunchCommon", |
| 73 | ], |
| Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 74 | data: ["trace_config/*"], |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 75 | } |
| Nataniel Borges | f005b41 | 2024-08-08 13:31:55 +0000 | [diff] [blame] | 76 | |
| 77 | // End to cleanup after CL merges |
| 78 | //////////////////////////////////////////////////////////////////////////////// |
| 79 | |
| 80 | android_test { |
| 81 | name: "FlickerTestsAppLaunch", |
| 82 | defaults: ["FlickerTestsDefault"], |
| 83 | manifest: "AndroidManifest.xml", |
| 84 | test_config_template: "AndroidTestTemplate.xml", |
| 85 | srcs: ["src/**/*"], |
| 86 | static_libs: [ |
| 87 | "FlickerTestsBase", |
| 88 | "FlickerTestsAppLaunchCommon", |
| 89 | ], |
| 90 | data: ["trace_config/*"], |
| 91 | } |
| 92 | |
| 93 | //////////////////////////////////////////////////////////////////////////////// |
| 94 | // Begin breakdowns for FlickerTestsAppLaunch module |
| 95 | |
| 96 | test_module_config { |
| 97 | name: "FlickerTestsAppLaunch-CatchAll", |
| 98 | base: "FlickerTestsAppLaunch", |
| 99 | exclude_filters: [ |
| 100 | "com.android.server.wm.flicker.launch.TaskTransitionTest", |
| 101 | "com.android.server.wm.flicker.launch.ActivityTransitionTest", |
| 102 | "com.android.server.wm.flicker.launch.OpenAppFromIconColdTest", |
| 103 | "com.android.server.wm.flicker.launch.OpenAppFromIntentColdAfterCameraTest", |
| 104 | "com.android.server.wm.flicker.launch.OpenAppFromIntentColdTest", |
| 105 | "com.android.server.wm.flicker.launch.OpenAppFromIntentWarmTest", |
| 106 | "com.android.server.wm.flicker.launch.OpenAppFromLockscreenViaIntentTest", |
| 107 | "com.android.server.wm.flicker.launch.OpenAppFromOverviewTest", |
| 108 | "com.android.server.wm.flicker.launch.OpenCameraFromHomeOnDoubleClickPowerButtonTest", |
| 109 | "com.android.server.wm.flicker.launch.OpenTransferSplashscreenAppFromLauncherTransition", |
| 110 | "com.android.server.wm.flicker.launch.OverrideTaskTransitionTest", |
| 111 | "com.android.server.wm.flicker.launch.TaskTransitionTest", |
| 112 | ], |
| 113 | test_suites: ["device-tests"], |
| 114 | } |
| 115 | |
| 116 | test_module_config { |
| 117 | name: "FlickerTestsAppLaunch-ActivityTransitionTest", |
| 118 | base: "FlickerTestsAppLaunch", |
| 119 | include_filters: ["com.android.server.wm.flicker.launch.ActivityTransitionTest"], |
| 120 | test_suites: ["device-tests"], |
| 121 | } |
| 122 | |
| 123 | test_module_config { |
| 124 | name: "FlickerTestsAppLaunch-OpenAppFromIconColdTest", |
| 125 | base: "FlickerTestsAppLaunch", |
| 126 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIconColdTest"], |
| 127 | test_suites: ["device-tests"], |
| 128 | } |
| 129 | |
| 130 | test_module_config { |
| 131 | name: "FlickerTestsAppLaunch-OpenAppFromIntentColdAfterCameraTest", |
| 132 | base: "FlickerTestsAppLaunch", |
| 133 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentColdAfterCameraTest"], |
| 134 | test_suites: ["device-tests"], |
| 135 | } |
| 136 | |
| 137 | test_module_config { |
| 138 | name: "FlickerTestsAppLaunch-OpenAppFromIntentColdTest", |
| 139 | base: "FlickerTestsAppLaunch", |
| 140 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentColdTest"], |
| 141 | test_suites: ["device-tests"], |
| 142 | } |
| 143 | |
| 144 | test_module_config { |
| 145 | name: "FlickerTestsAppLaunch-OpenAppFromIntentWarmTest", |
| 146 | base: "FlickerTestsAppLaunch", |
| 147 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentWarmTest"], |
| 148 | test_suites: ["device-tests"], |
| 149 | } |
| 150 | |
| 151 | test_module_config { |
| 152 | name: "FlickerTestsAppLaunch-OpenAppFromLockscreenViaIntentTest", |
| 153 | base: "FlickerTestsAppLaunch", |
| 154 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromLockscreenViaIntentTest"], |
| 155 | test_suites: ["device-tests"], |
| 156 | } |
| 157 | |
| 158 | test_module_config { |
| 159 | name: "FlickerTestsAppLaunch-OpenAppFromOverviewTest", |
| 160 | base: "FlickerTestsAppLaunch", |
| 161 | include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromOverviewTest"], |
| 162 | test_suites: ["device-tests"], |
| 163 | } |
| 164 | |
| 165 | test_module_config { |
| 166 | name: "FlickerTestsAppLaunch-OpenCameraFromHomeOnDoubleClickPowerButtonTest", |
| 167 | base: "FlickerTestsAppLaunch", |
| 168 | include_filters: ["com.android.server.wm.flicker.launch.OpenCameraFromHomeOnDoubleClickPowerButtonTest"], |
| 169 | test_suites: ["device-tests"], |
| 170 | } |
| 171 | |
| 172 | test_module_config { |
| 173 | name: "FlickerTestsAppLaunch-OpenTransferSplashscreenAppFromLauncherTransition", |
| 174 | base: "FlickerTestsAppLaunch", |
| 175 | include_filters: ["com.android.server.wm.flicker.launch.OpenTransferSplashscreenAppFromLauncherTransition"], |
| 176 | test_suites: ["device-tests"], |
| 177 | } |
| 178 | |
| 179 | test_module_config { |
| 180 | name: "FlickerTestsAppLaunch-OverrideTaskTransitionTest", |
| 181 | base: "FlickerTestsAppLaunch", |
| 182 | include_filters: ["com.android.server.wm.flicker.launch.OverrideTaskTransitionTest"], |
| 183 | test_suites: ["device-tests"], |
| 184 | } |
| 185 | |
| 186 | test_module_config { |
| 187 | name: "FlickerTestsAppLaunch-TaskTransitionTest", |
| 188 | base: "FlickerTestsAppLaunch", |
| 189 | include_filters: ["com.android.server.wm.flicker.launch.TaskTransitionTest"], |
| 190 | test_suites: ["device-tests"], |
| 191 | } |
| 192 | |
| 193 | // End breakdowns for FlickerTestsAppLaunch module |
| 194 | //////////////////////////////////////////////////////////////////////////////// |