| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """ | 5 # Contains the bulk of the libyuv builder configurations to improve readability |
| 6 Recipe for building and running tests for Libyuv stand-alone. | 6 # of the recipe. |
| 7 """ | |
| 8 | 7 |
| 9 from recipe_engine.types import freeze | 8 from recipe_engine.types import freeze |
| 10 | 9 |
| 11 DEPS = [ | |
| 12 'depot_tools/bot_update', | |
| 13 'chromium', | |
| 14 'depot_tools/gclient', | |
| 15 'libyuv', | |
| 16 'recipe_engine/path', | |
| 17 'recipe_engine/platform', | |
| 18 'recipe_engine/properties', | |
| 19 'recipe_engine/step', | |
| 20 'depot_tools/tryserver', | |
| 21 ] | |
| 22 | |
| 23 RECIPE_CONFIGS = freeze({ | 10 RECIPE_CONFIGS = freeze({ |
| 24 'libyuv': { | 11 'libyuv': { |
| 25 'chromium_config': 'libyuv', | 12 'chromium_config': 'libyuv', |
| 26 'gclient_config': 'libyuv', | 13 'gclient_config': 'libyuv', |
| 27 }, | 14 }, |
| 28 'libyuv_clang': { | 15 'libyuv_clang': { |
| 29 'chromium_config': 'libyuv_clang', | 16 'chromium_config': 'libyuv_clang', |
| 30 'gclient_config': 'libyuv', | 17 'gclient_config': 'libyuv', |
| 31 }, | 18 }, |
| 32 'libyuv_gcc': { | 19 'libyuv_gcc': { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 50 BUILDERS = freeze({ | 37 BUILDERS = freeze({ |
| 51 'client.libyuv': { | 38 'client.libyuv': { |
| 52 'builders': { | 39 'builders': { |
| 53 'Win32 Debug (VS2010)': { | 40 'Win32 Debug (VS2010)': { |
| 54 'recipe_config': 'libyuv', | 41 'recipe_config': 'libyuv', |
| 55 'chromium_apply_config': ['msvs2010'], | 42 'chromium_apply_config': ['msvs2010'], |
| 56 'chromium_config_kwargs': { | 43 'chromium_config_kwargs': { |
| 57 'BUILD_CONFIG': 'Debug', | 44 'BUILD_CONFIG': 'Debug', |
| 58 'TARGET_BITS': 32, | 45 'TARGET_BITS': 32, |
| 59 }, | 46 }, |
| 47 'bot_type': 'builder_tester', |
| 60 'testing': {'platform': 'win'}, | 48 'testing': {'platform': 'win'}, |
| 61 }, | 49 }, |
| 62 'Win32 Release (VS2010)': { | 50 'Win32 Release (VS2010)': { |
| 63 'recipe_config': 'libyuv', | 51 'recipe_config': 'libyuv', |
| 64 'chromium_apply_config': ['msvs2010'], | 52 'chromium_apply_config': ['msvs2010'], |
| 65 'chromium_config_kwargs': { | 53 'chromium_config_kwargs': { |
| 66 'BUILD_CONFIG': 'Release', | 54 'BUILD_CONFIG': 'Release', |
| 67 'TARGET_BITS': 32, | 55 'TARGET_BITS': 32, |
| 68 }, | 56 }, |
| 57 'bot_type': 'builder_tester', |
| 69 'testing': {'platform': 'win'}, | 58 'testing': {'platform': 'win'}, |
| 70 }, | 59 }, |
| 71 'Win64 Debug (VS2010)': { | 60 'Win64 Debug (VS2010)': { |
| 72 'recipe_config': 'libyuv', | 61 'recipe_config': 'libyuv', |
| 73 'chromium_apply_config': ['msvs2010'], | 62 'chromium_apply_config': ['msvs2010'], |
| 74 'chromium_config_kwargs': { | 63 'chromium_config_kwargs': { |
| 75 'BUILD_CONFIG': 'Debug', | 64 'BUILD_CONFIG': 'Debug', |
| 76 'TARGET_BITS': 64, | 65 'TARGET_BITS': 64, |
| 77 }, | 66 }, |
| 67 'bot_type': 'builder_tester', |
| 78 'testing': {'platform': 'win'}, | 68 'testing': {'platform': 'win'}, |
| 79 }, | 69 }, |
| 80 'Win64 Release (VS2010)': { | 70 'Win64 Release (VS2010)': { |
| 81 'recipe_config': 'libyuv', | 71 'recipe_config': 'libyuv', |
| 82 'chromium_apply_config': ['msvs2010'], | 72 'chromium_apply_config': ['msvs2010'], |
| 83 'chromium_config_kwargs': { | 73 'chromium_config_kwargs': { |
| 84 'BUILD_CONFIG': 'Release', | 74 'BUILD_CONFIG': 'Release', |
| 85 'TARGET_BITS': 64, | 75 'TARGET_BITS': 64, |
| 86 }, | 76 }, |
| 77 'bot_type': 'builder_tester', |
| 87 'testing': {'platform': 'win'}, | 78 'testing': {'platform': 'win'}, |
| 88 }, | 79 }, |
| 89 'Win32 Debug (VS2012)': { | 80 'Win32 Debug (VS2012)': { |
| 90 'recipe_config': 'libyuv', | 81 'recipe_config': 'libyuv', |
| 91 'chromium_apply_config': ['msvs2012'], | 82 'chromium_apply_config': ['msvs2012'], |
| 92 'chromium_config_kwargs': { | 83 'chromium_config_kwargs': { |
| 93 'BUILD_CONFIG': 'Debug', | 84 'BUILD_CONFIG': 'Debug', |
| 94 'TARGET_BITS': 32, | 85 'TARGET_BITS': 32, |
| 95 }, | 86 }, |
| 87 'bot_type': 'builder_tester', |
| 96 'testing': {'platform': 'win'}, | 88 'testing': {'platform': 'win'}, |
| 97 }, | 89 }, |
| 98 'Win32 Release (VS2012)': { | 90 'Win32 Release (VS2012)': { |
| 99 'recipe_config': 'libyuv', | 91 'recipe_config': 'libyuv', |
| 100 'chromium_apply_config': ['msvs2012'], | 92 'chromium_apply_config': ['msvs2012'], |
| 101 'chromium_config_kwargs': { | 93 'chromium_config_kwargs': { |
| 102 'BUILD_CONFIG': 'Release', | 94 'BUILD_CONFIG': 'Release', |
| 103 'TARGET_BITS': 32, | 95 'TARGET_BITS': 32, |
| 104 }, | 96 }, |
| 97 'bot_type': 'builder_tester', |
| 105 'testing': {'platform': 'win'}, | 98 'testing': {'platform': 'win'}, |
| 106 }, | 99 }, |
| 107 'Win64 Debug (VS2012)': { | 100 'Win64 Debug (VS2012)': { |
| 108 'recipe_config': 'libyuv', | 101 'recipe_config': 'libyuv', |
| 109 'chromium_apply_config': ['msvs2012'], | 102 'chromium_apply_config': ['msvs2012'], |
| 110 'chromium_config_kwargs': { | 103 'chromium_config_kwargs': { |
| 111 'BUILD_CONFIG': 'Debug', | 104 'BUILD_CONFIG': 'Debug', |
| 112 'TARGET_BITS': 64, | 105 'TARGET_BITS': 64, |
| 113 }, | 106 }, |
| 107 'bot_type': 'builder_tester', |
| 114 'testing': {'platform': 'win'}, | 108 'testing': {'platform': 'win'}, |
| 115 }, | 109 }, |
| 116 'Win64 Release (VS2012)': { | 110 'Win64 Release (VS2012)': { |
| 117 'recipe_config': 'libyuv', | 111 'recipe_config': 'libyuv', |
| 118 'chromium_apply_config': ['msvs2012'], | 112 'chromium_apply_config': ['msvs2012'], |
| 119 'chromium_config_kwargs': { | 113 'chromium_config_kwargs': { |
| 120 'BUILD_CONFIG': 'Release', | 114 'BUILD_CONFIG': 'Release', |
| 121 'TARGET_BITS': 64, | 115 'TARGET_BITS': 64, |
| 122 }, | 116 }, |
| 117 'bot_type': 'builder_tester', |
| 123 'testing': {'platform': 'win'}, | 118 'testing': {'platform': 'win'}, |
| 124 }, | 119 }, |
| 125 'Win32 Debug (VS2013)': { | 120 'Win32 Debug (VS2013)': { |
| 126 'recipe_config': 'libyuv', | 121 'recipe_config': 'libyuv', |
| 127 'chromium_apply_config': ['msvs2013'], | 122 'chromium_apply_config': ['msvs2013'], |
| 128 'chromium_config_kwargs': { | 123 'chromium_config_kwargs': { |
| 129 'BUILD_CONFIG': 'Debug', | 124 'BUILD_CONFIG': 'Debug', |
| 130 'TARGET_BITS': 32, | 125 'TARGET_BITS': 32, |
| 131 }, | 126 }, |
| 127 'bot_type': 'builder_tester', |
| 132 'testing': {'platform': 'win'}, | 128 'testing': {'platform': 'win'}, |
| 133 }, | 129 }, |
| 134 'Win32 Release (VS2013)': { | 130 'Win32 Release (VS2013)': { |
| 135 'recipe_config': 'libyuv', | 131 'recipe_config': 'libyuv', |
| 136 'chromium_apply_config': ['msvs2013'], | 132 'chromium_apply_config': ['msvs2013'], |
| 137 'chromium_config_kwargs': { | 133 'chromium_config_kwargs': { |
| 138 'BUILD_CONFIG': 'Release', | 134 'BUILD_CONFIG': 'Release', |
| 139 'TARGET_BITS': 32, | 135 'TARGET_BITS': 32, |
| 140 }, | 136 }, |
| 137 'bot_type': 'builder_tester', |
| 141 'testing': {'platform': 'win'}, | 138 'testing': {'platform': 'win'}, |
| 142 }, | 139 }, |
| 143 'Win64 Debug (VS2013)': { | 140 'Win64 Debug (VS2013)': { |
| 144 'recipe_config': 'libyuv', | 141 'recipe_config': 'libyuv', |
| 145 'chromium_apply_config': ['msvs2013'], | 142 'chromium_apply_config': ['msvs2013'], |
| 146 'chromium_config_kwargs': { | 143 'chromium_config_kwargs': { |
| 147 'BUILD_CONFIG': 'Debug', | 144 'BUILD_CONFIG': 'Debug', |
| 148 'TARGET_BITS': 64, | 145 'TARGET_BITS': 64, |
| 149 }, | 146 }, |
| 147 'bot_type': 'builder_tester', |
| 150 'testing': {'platform': 'win'}, | 148 'testing': {'platform': 'win'}, |
| 151 }, | 149 }, |
| 152 'Win64 Release (VS2013)': { | 150 'Win64 Release (VS2013)': { |
| 153 'recipe_config': 'libyuv', | 151 'recipe_config': 'libyuv', |
| 154 'chromium_apply_config': ['msvs2013'], | 152 'chromium_apply_config': ['msvs2013'], |
| 155 'chromium_config_kwargs': { | 153 'chromium_config_kwargs': { |
| 156 'BUILD_CONFIG': 'Release', | 154 'BUILD_CONFIG': 'Release', |
| 157 'TARGET_BITS': 64, | 155 'TARGET_BITS': 64, |
| 158 }, | 156 }, |
| 157 'bot_type': 'builder_tester', |
| 159 'testing': {'platform': 'win'}, | 158 'testing': {'platform': 'win'}, |
| 160 }, | 159 }, |
| 161 'Win32 Debug (Clang)': { | 160 'Win32 Debug (Clang)': { |
| 162 'recipe_config': 'libyuv_clang', | 161 'recipe_config': 'libyuv_clang', |
| 163 'chromium_config_kwargs': { | 162 'chromium_config_kwargs': { |
| 164 'BUILD_CONFIG': 'Debug', | 163 'BUILD_CONFIG': 'Debug', |
| 165 'TARGET_BITS': 32, | 164 'TARGET_BITS': 32, |
| 166 }, | 165 }, |
| 166 'bot_type': 'builder_tester', |
| 167 'testing': {'platform': 'win'}, | 167 'testing': {'platform': 'win'}, |
| 168 }, | 168 }, |
| 169 'Win32 Release (Clang)': { | 169 'Win32 Release (Clang)': { |
| 170 'recipe_config': 'libyuv_clang', | 170 'recipe_config': 'libyuv_clang', |
| 171 'chromium_config_kwargs': { | 171 'chromium_config_kwargs': { |
| 172 'BUILD_CONFIG': 'Release', | 172 'BUILD_CONFIG': 'Release', |
| 173 'TARGET_BITS': 32, | 173 'TARGET_BITS': 32, |
| 174 }, | 174 }, |
| 175 'bot_type': 'builder_tester', |
| 175 'testing': {'platform': 'win'}, | 176 'testing': {'platform': 'win'}, |
| 176 }, | 177 }, |
| 177 'Win64 Debug (Clang)': { | 178 'Win64 Debug (Clang)': { |
| 178 'recipe_config': 'libyuv_clang', | 179 'recipe_config': 'libyuv_clang', |
| 179 'chromium_config_kwargs': { | 180 'chromium_config_kwargs': { |
| 180 'BUILD_CONFIG': 'Debug', | 181 'BUILD_CONFIG': 'Debug', |
| 181 'TARGET_BITS': 64, | 182 'TARGET_BITS': 64, |
| 182 }, | 183 }, |
| 184 'bot_type': 'builder_tester', |
| 183 'testing': {'platform': 'win'}, | 185 'testing': {'platform': 'win'}, |
| 184 }, | 186 }, |
| 185 'Win64 Release (Clang)': { | 187 'Win64 Release (Clang)': { |
| 186 'recipe_config': 'libyuv_clang', | 188 'recipe_config': 'libyuv_clang', |
| 187 'chromium_config_kwargs': { | 189 'chromium_config_kwargs': { |
| 188 'BUILD_CONFIG': 'Release', | 190 'BUILD_CONFIG': 'Release', |
| 189 'TARGET_BITS': 64, | 191 'TARGET_BITS': 64, |
| 190 }, | 192 }, |
| 193 'bot_type': 'builder_tester', |
| 191 'testing': {'platform': 'win'}, | 194 'testing': {'platform': 'win'}, |
| 192 }, | 195 }, |
| 193 'Win64 Debug (GN)': { | 196 'Win64 Debug (GN)': { |
| 194 'recipe_config': 'libyuv_clang', | 197 'recipe_config': 'libyuv_clang', |
| 195 'chromium_apply_config': ['gn'], | 198 'chromium_apply_config': ['gn'], |
| 196 'chromium_config_kwargs': { | 199 'chromium_config_kwargs': { |
| 197 'BUILD_CONFIG': 'Debug', | 200 'BUILD_CONFIG': 'Debug', |
| 198 'TARGET_BITS': 64, | 201 'TARGET_BITS': 64, |
| 199 }, | 202 }, |
| 203 'bot_type': 'builder', |
| 200 'testing': {'platform': 'win'}, | 204 'testing': {'platform': 'win'}, |
| 201 }, | 205 }, |
| 202 'Win64 Release (GN)': { | 206 'Win64 Release (GN)': { |
| 203 'recipe_config': 'libyuv_clang', | 207 'recipe_config': 'libyuv_clang', |
| 204 'chromium_apply_config': ['gn'], | 208 'chromium_apply_config': ['gn'], |
| 205 'chromium_config_kwargs': { | 209 'chromium_config_kwargs': { |
| 206 'BUILD_CONFIG': 'Release', | 210 'BUILD_CONFIG': 'Release', |
| 207 'TARGET_BITS': 64, | 211 'TARGET_BITS': 64, |
| 208 }, | 212 }, |
| 213 'bot_type': 'builder', |
| 209 'testing': {'platform': 'win'}, | 214 'testing': {'platform': 'win'}, |
| 210 }, | 215 }, |
| 211 'Mac64 Debug': { | 216 'Mac64 Debug': { |
| 212 'recipe_config': 'libyuv', | 217 'recipe_config': 'libyuv', |
| 213 'chromium_config_kwargs': { | 218 'chromium_config_kwargs': { |
| 214 'BUILD_CONFIG': 'Debug', | 219 'BUILD_CONFIG': 'Debug', |
| 215 'TARGET_BITS': 64, | 220 'TARGET_BITS': 64, |
| 216 }, | 221 }, |
| 222 'bot_type': 'builder_tester', |
| 217 'testing': {'platform': 'mac'}, | 223 'testing': {'platform': 'mac'}, |
| 218 }, | 224 }, |
| 219 'Mac64 Release': { | 225 'Mac64 Release': { |
| 220 'recipe_config': 'libyuv', | 226 'recipe_config': 'libyuv', |
| 221 'chromium_config_kwargs': { | 227 'chromium_config_kwargs': { |
| 222 'BUILD_CONFIG': 'Release', | 228 'BUILD_CONFIG': 'Release', |
| 223 'TARGET_BITS': 64, | 229 'TARGET_BITS': 64, |
| 224 }, | 230 }, |
| 231 'bot_type': 'builder_tester', |
| 225 'testing': {'platform': 'mac'}, | 232 'testing': {'platform': 'mac'}, |
| 226 }, | 233 }, |
| 227 'Mac64 Debug (GN)': { | 234 'Mac64 Debug (GN)': { |
| 228 'recipe_config': 'libyuv', | 235 'recipe_config': 'libyuv', |
| 229 'chromium_apply_config': ['gn'], | 236 'chromium_apply_config': ['gn'], |
| 230 'chromium_config_kwargs': { | 237 'chromium_config_kwargs': { |
| 231 'BUILD_CONFIG': 'Debug', | 238 'BUILD_CONFIG': 'Debug', |
| 232 'TARGET_BITS': 64, | 239 'TARGET_BITS': 64, |
| 233 }, | 240 }, |
| 241 'bot_type': 'builder', |
| 234 'testing': {'platform': 'mac'}, | 242 'testing': {'platform': 'mac'}, |
| 235 }, | 243 }, |
| 236 'Mac64 Release (GN)': { | 244 'Mac64 Release (GN)': { |
| 237 'recipe_config': 'libyuv', | 245 'recipe_config': 'libyuv', |
| 238 'chromium_apply_config': ['gn'], | 246 'chromium_apply_config': ['gn'], |
| 239 'chromium_config_kwargs': { | 247 'chromium_config_kwargs': { |
| 240 'BUILD_CONFIG': 'Release', | 248 'BUILD_CONFIG': 'Release', |
| 241 'TARGET_BITS': 64, | 249 'TARGET_BITS': 64, |
| 242 }, | 250 }, |
| 251 'bot_type': 'builder', |
| 243 'testing': {'platform': 'mac'}, | 252 'testing': {'platform': 'mac'}, |
| 244 }, | 253 }, |
| 245 'Mac Asan': { | 254 'Mac Asan': { |
| 246 'recipe_config': 'libyuv_clang', | 255 'recipe_config': 'libyuv_clang', |
| 247 'chromium_apply_config': ['asan'], | 256 'chromium_apply_config': ['asan'], |
| 248 'chromium_config_kwargs': { | 257 'chromium_config_kwargs': { |
| 249 'BUILD_CONFIG': 'Release', | 258 'BUILD_CONFIG': 'Release', |
| 250 'TARGET_BITS': 64, | 259 'TARGET_BITS': 64, |
| 251 }, | 260 }, |
| 261 'bot_type': 'builder_tester', |
| 252 'testing': {'platform': 'mac'}, | 262 'testing': {'platform': 'mac'}, |
| 253 }, | 263 }, |
| 254 'iOS Debug': { | 264 'iOS Debug': { |
| 255 'recipe_config': 'libyuv_ios', | 265 'recipe_config': 'libyuv_ios', |
| 256 'chromium_config_kwargs': { | 266 'chromium_config_kwargs': { |
| 257 'BUILD_CONFIG': 'Debug', | 267 'BUILD_CONFIG': 'Debug', |
| 258 'TARGET_BITS': 32, | 268 'TARGET_BITS': 32, |
| 259 'TARGET_ARCH': 'arm', | 269 'TARGET_ARCH': 'arm', |
| 260 'TARGET_PLATFORM': 'ios', | 270 'TARGET_PLATFORM': 'ios', |
| 261 }, | 271 }, |
| 272 'bot_type': 'builder', |
| 262 'testing': {'platform': 'mac'}, | 273 'testing': {'platform': 'mac'}, |
| 263 }, | 274 }, |
| 264 'iOS Release': { | 275 'iOS Release': { |
| 265 'recipe_config': 'libyuv_ios', | 276 'recipe_config': 'libyuv_ios', |
| 266 'chromium_config_kwargs': { | 277 'chromium_config_kwargs': { |
| 267 'BUILD_CONFIG': 'Release', | 278 'BUILD_CONFIG': 'Release', |
| 268 'TARGET_BITS': 32, | 279 'TARGET_BITS': 32, |
| 269 'TARGET_ARCH': 'arm', | 280 'TARGET_ARCH': 'arm', |
| 270 'TARGET_PLATFORM': 'ios', | 281 'TARGET_PLATFORM': 'ios', |
| 271 }, | 282 }, |
| 283 'bot_type': 'builder', |
| 272 'testing': {'platform': 'mac'}, | 284 'testing': {'platform': 'mac'}, |
| 273 }, | 285 }, |
| 274 'iOS ARM64 Debug': { | 286 'iOS ARM64 Debug': { |
| 275 'recipe_config': 'libyuv_ios', | 287 'recipe_config': 'libyuv_ios', |
| 276 'chromium_config_kwargs': { | 288 'chromium_config_kwargs': { |
| 277 'BUILD_CONFIG': 'Debug', | 289 'BUILD_CONFIG': 'Debug', |
| 278 'TARGET_BITS': 64, | 290 'TARGET_BITS': 64, |
| 279 'TARGET_ARCH': 'arm', | 291 'TARGET_ARCH': 'arm', |
| 280 'TARGET_PLATFORM': 'ios', | 292 'TARGET_PLATFORM': 'ios', |
| 281 }, | 293 }, |
| 294 'bot_type': 'builder', |
| 282 'testing': {'platform': 'mac'}, | 295 'testing': {'platform': 'mac'}, |
| 283 }, | 296 }, |
| 284 'iOS ARM64 Release': { | 297 'iOS ARM64 Release': { |
| 285 'recipe_config': 'libyuv_ios', | 298 'recipe_config': 'libyuv_ios', |
| 286 'chromium_config_kwargs': { | 299 'chromium_config_kwargs': { |
| 287 'BUILD_CONFIG': 'Release', | 300 'BUILD_CONFIG': 'Release', |
| 288 'TARGET_BITS': 64, | 301 'TARGET_BITS': 64, |
| 289 'TARGET_ARCH': 'arm', | 302 'TARGET_ARCH': 'arm', |
| 290 'TARGET_PLATFORM': 'ios', | 303 'TARGET_PLATFORM': 'ios', |
| 291 }, | 304 }, |
| 305 'bot_type': 'builder', |
| 292 'testing': {'platform': 'mac'}, | 306 'testing': {'platform': 'mac'}, |
| 293 }, | 307 }, |
| 294 'Linux32 Debug': { | 308 'Linux32 Debug': { |
| 295 'recipe_config': 'libyuv', | 309 'recipe_config': 'libyuv', |
| 296 'chromium_config_kwargs': { | 310 'chromium_config_kwargs': { |
| 297 'BUILD_CONFIG': 'Debug', | 311 'BUILD_CONFIG': 'Debug', |
| 298 'TARGET_BITS': 32, | 312 'TARGET_BITS': 32, |
| 299 }, | 313 }, |
| 314 'bot_type': 'builder_tester', |
| 300 'testing': {'platform': 'linux'}, | 315 'testing': {'platform': 'linux'}, |
| 301 }, | 316 }, |
| 302 'Linux32 Release': { | 317 'Linux32 Release': { |
| 303 'recipe_config': 'libyuv', | 318 'recipe_config': 'libyuv', |
| 304 'chromium_config_kwargs': { | 319 'chromium_config_kwargs': { |
| 305 'BUILD_CONFIG': 'Release', | 320 'BUILD_CONFIG': 'Release', |
| 306 'TARGET_BITS': 32, | 321 'TARGET_BITS': 32, |
| 307 }, | 322 }, |
| 323 'bot_type': 'builder_tester', |
| 308 'testing': {'platform': 'linux'}, | 324 'testing': {'platform': 'linux'}, |
| 309 }, | 325 }, |
| 310 'Linux64 Debug': { | 326 'Linux64 Debug': { |
| 311 'recipe_config': 'libyuv', | 327 'recipe_config': 'libyuv', |
| 312 'chromium_config_kwargs': { | 328 'chromium_config_kwargs': { |
| 313 'BUILD_CONFIG': 'Debug', | 329 'BUILD_CONFIG': 'Debug', |
| 314 'TARGET_BITS': 64, | 330 'TARGET_BITS': 64, |
| 315 }, | 331 }, |
| 332 'bot_type': 'builder_tester', |
| 316 'testing': {'platform': 'linux'}, | 333 'testing': {'platform': 'linux'}, |
| 317 }, | 334 }, |
| 318 'Linux64 Release': { | 335 'Linux64 Release': { |
| 319 'recipe_config': 'libyuv', | 336 'recipe_config': 'libyuv', |
| 320 'chromium_config_kwargs': { | 337 'chromium_config_kwargs': { |
| 321 'BUILD_CONFIG': 'Release', | 338 'BUILD_CONFIG': 'Release', |
| 322 'TARGET_BITS': 64, | 339 'TARGET_BITS': 64, |
| 323 }, | 340 }, |
| 341 'bot_type': 'builder_tester', |
| 324 'testing': {'platform': 'linux'}, | 342 'testing': {'platform': 'linux'}, |
| 325 }, | 343 }, |
| 326 'Linux64 Debug (GN)': { | 344 'Linux64 Debug (GN)': { |
| 327 'recipe_config': 'libyuv', | 345 'recipe_config': 'libyuv', |
| 328 'chromium_apply_config': ['gn'], | 346 'chromium_apply_config': ['gn'], |
| 329 'chromium_config_kwargs': { | 347 'chromium_config_kwargs': { |
| 330 'BUILD_CONFIG': 'Debug', | 348 'BUILD_CONFIG': 'Debug', |
| 331 'TARGET_BITS': 64, | 349 'TARGET_BITS': 64, |
| 332 }, | 350 }, |
| 351 'bot_type': 'builder', |
| 333 'testing': {'platform': 'linux'}, | 352 'testing': {'platform': 'linux'}, |
| 334 }, | 353 }, |
| 335 'Linux64 Release (GN)': { | 354 'Linux64 Release (GN)': { |
| 336 'recipe_config': 'libyuv', | 355 'recipe_config': 'libyuv', |
| 337 'chromium_apply_config': ['gn'], | 356 'chromium_apply_config': ['gn'], |
| 338 'chromium_config_kwargs': { | 357 'chromium_config_kwargs': { |
| 339 'BUILD_CONFIG': 'Release', | 358 'BUILD_CONFIG': 'Release', |
| 340 'TARGET_BITS': 64, | 359 'TARGET_BITS': 64, |
| 341 }, | 360 }, |
| 361 'bot_type': 'builder', |
| 342 'testing': {'platform': 'linux'}, | 362 'testing': {'platform': 'linux'}, |
| 343 }, | 363 }, |
| 344 'Linux GCC': { | 364 'Linux GCC': { |
| 345 'recipe_config': 'libyuv_gcc', | 365 'recipe_config': 'libyuv_gcc', |
| 346 'chromium_config_kwargs': { | 366 'chromium_config_kwargs': { |
| 347 'BUILD_CONFIG': 'Release', | 367 'BUILD_CONFIG': 'Release', |
| 348 'TARGET_BITS': 64, | 368 'TARGET_BITS': 64, |
| 349 }, | 369 }, |
| 370 'bot_type': 'builder_tester', |
| 350 'testing': {'platform': 'linux'}, | 371 'testing': {'platform': 'linux'}, |
| 351 }, | 372 }, |
| 352 'Linux Asan': { | 373 'Linux Asan': { |
| 353 'recipe_config': 'libyuv_clang', | 374 'recipe_config': 'libyuv_clang', |
| 354 'chromium_apply_config': ['asan', 'lsan'], | 375 'chromium_apply_config': ['asan', 'lsan'], |
| 355 'chromium_config_kwargs': { | 376 'chromium_config_kwargs': { |
| 356 'BUILD_CONFIG': 'Release', | 377 'BUILD_CONFIG': 'Release', |
| 357 'TARGET_BITS': 64, | 378 'TARGET_BITS': 64, |
| 358 }, | 379 }, |
| 380 'bot_type': 'builder_tester', |
| 359 'testing': {'platform': 'linux'}, | 381 'testing': {'platform': 'linux'}, |
| 360 }, | 382 }, |
| 361 'Linux Memcheck': { | 383 'Linux Memcheck': { |
| 362 'recipe_config': 'libyuv', | 384 'recipe_config': 'libyuv', |
| 363 'chromium_apply_config': ['memcheck'], | 385 'chromium_apply_config': ['memcheck'], |
| 364 'gclient_apply_config': ['libyuv_valgrind'], | 386 'gclient_apply_config': ['libyuv_valgrind'], |
| 365 'chromium_config_kwargs': { | 387 'chromium_config_kwargs': { |
| 366 'BUILD_CONFIG': 'Release', | 388 'BUILD_CONFIG': 'Release', |
| 367 'TARGET_BITS': 64, | 389 'TARGET_BITS': 64, |
| 368 }, | 390 }, |
| 391 'bot_type': 'builder_tester', |
| 369 'testing': {'platform': 'linux'}, | 392 'testing': {'platform': 'linux'}, |
| 370 }, | 393 }, |
| 371 'Linux MSan': { | 394 'Linux MSan': { |
| 372 'recipe_config': 'libyuv_clang', | 395 'recipe_config': 'libyuv_clang', |
| 373 'chromium_apply_config': ['msan', 'msan_full_origin_tracking', | 396 'chromium_apply_config': ['msan', 'msan_full_origin_tracking', |
| 374 'prebuilt_instrumented_libraries'], | 397 'prebuilt_instrumented_libraries'], |
| 375 'chromium_config_kwargs': { | 398 'chromium_config_kwargs': { |
| 376 'BUILD_CONFIG': 'Release', | 399 'BUILD_CONFIG': 'Release', |
| 377 'TARGET_BITS': 64, | 400 'TARGET_BITS': 64, |
| 378 }, | 401 }, |
| 402 'bot_type': 'builder_tester', |
| 379 'testing': {'platform': 'linux'}, | 403 'testing': {'platform': 'linux'}, |
| 380 }, | 404 }, |
| 381 'Linux Tsan v2': { | 405 'Linux Tsan v2': { |
| 382 'recipe_config': 'libyuv_clang', | 406 'recipe_config': 'libyuv_clang', |
| 383 'chromium_apply_config': ['tsan2'], | 407 'chromium_apply_config': ['tsan2'], |
| 384 'chromium_config_kwargs': { | 408 'chromium_config_kwargs': { |
| 385 'BUILD_CONFIG': 'Release', | 409 'BUILD_CONFIG': 'Release', |
| 386 'TARGET_BITS': 64, | 410 'TARGET_BITS': 64, |
| 387 }, | 411 }, |
| 412 'bot_type': 'builder_tester', |
| 388 'testing': {'platform': 'linux'}, | 413 'testing': {'platform': 'linux'}, |
| 389 }, | 414 }, |
| 390 'Linux UBSan': { | 415 'Linux UBSan': { |
| 391 'recipe_config': 'libyuv_clang', | 416 'recipe_config': 'libyuv_clang', |
| 392 'chromium_apply_config': ['ubsan'], | 417 'chromium_apply_config': ['ubsan'], |
| 393 'chromium_config_kwargs': { | 418 'chromium_config_kwargs': { |
| 394 'BUILD_CONFIG': 'Release', | 419 'BUILD_CONFIG': 'Release', |
| 395 'TARGET_BITS': 64, | 420 'TARGET_BITS': 64, |
| 396 }, | 421 }, |
| 422 'bot_type': 'builder_tester', |
| 397 'testing': {'platform': 'linux'}, | 423 'testing': {'platform': 'linux'}, |
| 398 }, | 424 }, |
| 399 'Linux UBSan vptr': { | 425 'Linux UBSan vptr': { |
| 400 'recipe_config': 'libyuv_clang', | 426 'recipe_config': 'libyuv_clang', |
| 401 'chromium_apply_config': ['ubsan_vptr'], | 427 'chromium_apply_config': ['ubsan_vptr'], |
| 402 'chromium_config_kwargs': { | 428 'chromium_config_kwargs': { |
| 403 'BUILD_CONFIG': 'Release', | 429 'BUILD_CONFIG': 'Release', |
| 404 'TARGET_BITS': 64, | 430 'TARGET_BITS': 64, |
| 405 }, | 431 }, |
| 432 'bot_type': 'builder_tester', |
| 406 'testing': {'platform': 'linux'}, | 433 'testing': {'platform': 'linux'}, |
| 407 }, | 434 }, |
| 408 'Android Debug': { | 435 'Android Debug': { |
| 409 'recipe_config': 'libyuv_android', | 436 'recipe_config': 'libyuv_android', |
| 410 'chromium_config_kwargs': { | 437 'chromium_config_kwargs': { |
| 411 'BUILD_CONFIG': 'Debug', | 438 'BUILD_CONFIG': 'Debug', |
| 412 'TARGET_PLATFORM': 'android', | 439 'TARGET_PLATFORM': 'android', |
| 413 'TARGET_ARCH': 'arm', | 440 'TARGET_ARCH': 'arm', |
| 414 'TARGET_BITS': 32, | 441 'TARGET_BITS': 32, |
| 415 }, | 442 }, |
| 443 'bot_type': 'builder', |
| 416 'testing': {'platform': 'linux'}, | 444 'testing': {'platform': 'linux'}, |
| 417 }, | 445 }, |
| 418 'Android Release': { | 446 'Android Release': { |
| 419 'recipe_config': 'libyuv_android', | 447 'recipe_config': 'libyuv_android', |
| 420 'chromium_config_kwargs': { | 448 'chromium_config_kwargs': { |
| 421 'BUILD_CONFIG': 'Release', | 449 'BUILD_CONFIG': 'Release', |
| 422 'TARGET_PLATFORM': 'android', | 450 'TARGET_PLATFORM': 'android', |
| 423 'TARGET_ARCH': 'arm', | 451 'TARGET_ARCH': 'arm', |
| 424 'TARGET_BITS': 32, | 452 'TARGET_BITS': 32, |
| 425 }, | 453 }, |
| 454 'bot_type': 'builder', |
| 426 'testing': {'platform': 'linux'}, | 455 'testing': {'platform': 'linux'}, |
| 427 }, | 456 }, |
| 428 'Android ARM64 Debug': { | 457 'Android ARM64 Debug': { |
| 429 'recipe_config': 'libyuv_android', | 458 'recipe_config': 'libyuv_android', |
| 430 'chromium_config_kwargs': { | 459 'chromium_config_kwargs': { |
| 431 'BUILD_CONFIG': 'Debug', | 460 'BUILD_CONFIG': 'Debug', |
| 432 'TARGET_PLATFORM': 'android', | 461 'TARGET_PLATFORM': 'android', |
| 433 'TARGET_ARCH': 'arm', | 462 'TARGET_ARCH': 'arm', |
| 434 'TARGET_BITS': 64, | 463 'TARGET_BITS': 64, |
| 435 }, | 464 }, |
| 465 'bot_type': 'builder', |
| 436 'testing': {'platform': 'linux'}, | 466 'testing': {'platform': 'linux'}, |
| 437 }, | 467 }, |
| 438 'Android Clang Debug': { | 468 'Android Clang Debug': { |
| 439 'recipe_config': 'libyuv_android_clang', | 469 'recipe_config': 'libyuv_android_clang', |
| 440 'chromium_config_kwargs': { | 470 'chromium_config_kwargs': { |
| 441 'BUILD_CONFIG': 'Debug', | 471 'BUILD_CONFIG': 'Debug', |
| 442 'TARGET_PLATFORM': 'android', | 472 'TARGET_PLATFORM': 'android', |
| 443 'TARGET_ARCH': 'arm', | 473 'TARGET_ARCH': 'arm', |
| 444 'TARGET_BITS': 32, | 474 'TARGET_BITS': 32, |
| 445 }, | 475 }, |
| 476 'bot_type': 'builder', |
| 446 'testing': {'platform': 'linux'}, | 477 'testing': {'platform': 'linux'}, |
| 447 }, | 478 }, |
| 448 'Android32 x86 Debug': { | 479 'Android32 x86 Debug': { |
| 449 'recipe_config': 'libyuv_android', | 480 'recipe_config': 'libyuv_android', |
| 450 'chromium_config_kwargs': { | 481 'chromium_config_kwargs': { |
| 451 'BUILD_CONFIG': 'Debug', | 482 'BUILD_CONFIG': 'Debug', |
| 452 'TARGET_PLATFORM': 'android', | 483 'TARGET_PLATFORM': 'android', |
| 453 'TARGET_ARCH': 'intel', | 484 'TARGET_ARCH': 'intel', |
| 454 'TARGET_BITS': 32, | 485 'TARGET_BITS': 32, |
| 455 }, | 486 }, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 480 }, | 511 }, |
| 481 'Android Debug (GN)': { | 512 'Android Debug (GN)': { |
| 482 'recipe_config': 'libyuv_android', | 513 'recipe_config': 'libyuv_android', |
| 483 'chromium_apply_config': ['gn'], | 514 'chromium_apply_config': ['gn'], |
| 484 'chromium_config_kwargs': { | 515 'chromium_config_kwargs': { |
| 485 'BUILD_CONFIG': 'Debug', | 516 'BUILD_CONFIG': 'Debug', |
| 486 'TARGET_PLATFORM': 'android', | 517 'TARGET_PLATFORM': 'android', |
| 487 'TARGET_ARCH': 'arm', | 518 'TARGET_ARCH': 'arm', |
| 488 'TARGET_BITS': 32, | 519 'TARGET_BITS': 32, |
| 489 }, | 520 }, |
| 521 'bot_type': 'builder', |
| 490 'testing': {'platform': 'linux'}, | 522 'testing': {'platform': 'linux'}, |
| 491 }, | 523 }, |
| 492 'Android Release (GN)': { | 524 'Android Release (GN)': { |
| 493 'recipe_config': 'libyuv_android', | 525 'recipe_config': 'libyuv_android', |
| 494 'chromium_apply_config': ['gn'], | 526 'chromium_apply_config': ['gn'], |
| 495 'chromium_config_kwargs': { | 527 'chromium_config_kwargs': { |
| 496 'BUILD_CONFIG': 'Release', | 528 'BUILD_CONFIG': 'Release', |
| 497 'TARGET_PLATFORM': 'android', | 529 'TARGET_PLATFORM': 'android', |
| 498 'TARGET_ARCH': 'arm', | 530 'TARGET_ARCH': 'arm', |
| 499 'TARGET_BITS': 32, | 531 'TARGET_BITS': 32, |
| 500 }, | 532 }, |
| 533 'bot_type': 'builder', |
| 501 'testing': {'platform': 'linux'}, | 534 'testing': {'platform': 'linux'}, |
| 502 }, | 535 }, |
| 503 }, | 536 }, |
| 504 }, | 537 }, |
| 505 'tryserver.libyuv': { | 538 'tryserver.libyuv': { |
| 506 'builders': { | 539 'builders': { |
| 507 'win': { | 540 'win': { |
| 508 'recipe_config': 'libyuv', | 541 'recipe_config': 'libyuv', |
| 509 'chromium_config_kwargs': { | 542 'chromium_config_kwargs': { |
| 510 'BUILD_CONFIG': 'Debug', | 543 'BUILD_CONFIG': 'Debug', |
| 511 'TARGET_BITS': 32, | 544 'TARGET_BITS': 32, |
| 512 }, | 545 }, |
| 546 'bot_type': 'builder_tester', |
| 513 'testing': {'platform': 'win'}, | 547 'testing': {'platform': 'win'}, |
| 514 }, | 548 }, |
| 515 'win_rel': { | 549 'win_rel': { |
| 516 'recipe_config': 'libyuv', | 550 'recipe_config': 'libyuv', |
| 517 'chromium_config_kwargs': { | 551 'chromium_config_kwargs': { |
| 518 'BUILD_CONFIG': 'Release', | 552 'BUILD_CONFIG': 'Release', |
| 519 'TARGET_BITS': 32, | 553 'TARGET_BITS': 32, |
| 520 }, | 554 }, |
| 555 'bot_type': 'builder_tester', |
| 521 'testing': {'platform': 'win'}, | 556 'testing': {'platform': 'win'}, |
| 522 }, | 557 }, |
| 523 'win_x64_rel': { | 558 'win_x64_rel': { |
| 524 'recipe_config': 'libyuv', | 559 'recipe_config': 'libyuv', |
| 525 'chromium_config_kwargs': { | 560 'chromium_config_kwargs': { |
| 526 'BUILD_CONFIG': 'Release', | 561 'BUILD_CONFIG': 'Release', |
| 527 'TARGET_BITS': 64, | 562 'TARGET_BITS': 64, |
| 528 }, | 563 }, |
| 564 'bot_type': 'builder_tester', |
| 529 'testing': {'platform': 'win'}, | 565 'testing': {'platform': 'win'}, |
| 530 }, | 566 }, |
| 531 'win_clang': { | 567 'win_clang': { |
| 532 'recipe_config': 'libyuv_clang', | 568 'recipe_config': 'libyuv_clang', |
| 533 'chromium_config_kwargs': { | 569 'chromium_config_kwargs': { |
| 534 'BUILD_CONFIG': 'Debug', | 570 'BUILD_CONFIG': 'Debug', |
| 535 'TARGET_BITS': 32, | 571 'TARGET_BITS': 32, |
| 536 }, | 572 }, |
| 573 'bot_type': 'builder_tester', |
| 537 'testing': {'platform': 'win'}, | 574 'testing': {'platform': 'win'}, |
| 538 }, | 575 }, |
| 539 'win_clang_rel': { | 576 'win_clang_rel': { |
| 540 'recipe_config': 'libyuv_clang', | 577 'recipe_config': 'libyuv_clang', |
| 541 'chromium_config_kwargs': { | 578 'chromium_config_kwargs': { |
| 542 'BUILD_CONFIG': 'Release', | 579 'BUILD_CONFIG': 'Release', |
| 543 'TARGET_BITS': 32, | 580 'TARGET_BITS': 32, |
| 544 }, | 581 }, |
| 582 'bot_type': 'builder_tester', |
| 545 'testing': {'platform': 'win'}, | 583 'testing': {'platform': 'win'}, |
| 546 }, | 584 }, |
| 547 'win_x64_clang_rel': { | 585 'win_x64_clang_rel': { |
| 548 'recipe_config': 'libyuv_clang', | 586 'recipe_config': 'libyuv_clang', |
| 549 'chromium_config_kwargs': { | 587 'chromium_config_kwargs': { |
| 550 'BUILD_CONFIG': 'Release', | 588 'BUILD_CONFIG': 'Release', |
| 551 'TARGET_BITS': 64, | 589 'TARGET_BITS': 64, |
| 552 }, | 590 }, |
| 591 'bot_type': 'builder_tester', |
| 553 'testing': {'platform': 'win'}, | 592 'testing': {'platform': 'win'}, |
| 554 }, | 593 }, |
| 555 'win_x64_gn': { | 594 'win_x64_gn': { |
| 556 'recipe_config': 'libyuv_clang', | 595 'recipe_config': 'libyuv_clang', |
| 557 'chromium_apply_config': ['gn'], | 596 'chromium_apply_config': ['gn'], |
| 558 'chromium_config_kwargs': { | 597 'chromium_config_kwargs': { |
| 559 'BUILD_CONFIG': 'Debug', | 598 'BUILD_CONFIG': 'Debug', |
| 560 'TARGET_BITS': 64, | 599 'TARGET_BITS': 64, |
| 561 }, | 600 }, |
| 601 'bot_type': 'builder', |
| 562 'testing': {'platform': 'win'}, | 602 'testing': {'platform': 'win'}, |
| 563 }, | 603 }, |
| 564 'win_x64_gn_rel': { | 604 'win_x64_gn_rel': { |
| 565 'recipe_config': 'libyuv_clang', | 605 'recipe_config': 'libyuv_clang', |
| 566 'chromium_apply_config': ['gn'], | 606 'chromium_apply_config': ['gn'], |
| 567 'chromium_config_kwargs': { | 607 'chromium_config_kwargs': { |
| 568 'BUILD_CONFIG': 'Release', | 608 'BUILD_CONFIG': 'Release', |
| 569 'TARGET_BITS': 64, | 609 'TARGET_BITS': 64, |
| 570 }, | 610 }, |
| 611 'bot_type': 'builder', |
| 571 'testing': {'platform': 'win'}, | 612 'testing': {'platform': 'win'}, |
| 572 }, | 613 }, |
| 573 'mac': { | 614 'mac': { |
| 574 'recipe_config': 'libyuv', | 615 'recipe_config': 'libyuv', |
| 575 'chromium_config_kwargs': { | 616 'chromium_config_kwargs': { |
| 576 'BUILD_CONFIG': 'Debug', | 617 'BUILD_CONFIG': 'Debug', |
| 577 'TARGET_BITS': 64, | 618 'TARGET_BITS': 64, |
| 578 }, | 619 }, |
| 620 'bot_type': 'builder_tester', |
| 579 'testing': {'platform': 'mac'}, | 621 'testing': {'platform': 'mac'}, |
| 580 }, | 622 }, |
| 581 'mac_rel': { | 623 'mac_rel': { |
| 582 'recipe_config': 'libyuv', | 624 'recipe_config': 'libyuv', |
| 583 'chromium_config_kwargs': { | 625 'chromium_config_kwargs': { |
| 584 'BUILD_CONFIG': 'Release', | 626 'BUILD_CONFIG': 'Release', |
| 585 'TARGET_BITS': 64, | 627 'TARGET_BITS': 64, |
| 586 }, | 628 }, |
| 629 'bot_type': 'builder_tester', |
| 587 'testing': {'platform': 'mac'}, | 630 'testing': {'platform': 'mac'}, |
| 588 }, | 631 }, |
| 589 'mac_gn': { | 632 'mac_gn': { |
| 590 'recipe_config': 'libyuv', | 633 'recipe_config': 'libyuv', |
| 591 'chromium_apply_config': ['gn'], | 634 'chromium_apply_config': ['gn'], |
| 592 'chromium_config_kwargs': { | 635 'chromium_config_kwargs': { |
| 593 'BUILD_CONFIG': 'Debug', | 636 'BUILD_CONFIG': 'Debug', |
| 594 'TARGET_BITS': 64, | 637 'TARGET_BITS': 64, |
| 595 }, | 638 }, |
| 639 'bot_type': 'builder', |
| 596 'testing': {'platform': 'mac'}, | 640 'testing': {'platform': 'mac'}, |
| 597 }, | 641 }, |
| 598 'mac_gn_rel': { | 642 'mac_gn_rel': { |
| 599 'recipe_config': 'libyuv', | 643 'recipe_config': 'libyuv', |
| 600 'chromium_apply_config': ['gn'], | 644 'chromium_apply_config': ['gn'], |
| 601 'chromium_config_kwargs': { | 645 'chromium_config_kwargs': { |
| 602 'BUILD_CONFIG': 'Release', | 646 'BUILD_CONFIG': 'Release', |
| 603 'TARGET_BITS': 64, | 647 'TARGET_BITS': 64, |
| 604 }, | 648 }, |
| 649 'bot_type': 'builder', |
| 605 'testing': {'platform': 'mac'}, | 650 'testing': {'platform': 'mac'}, |
| 606 }, | 651 }, |
| 607 'mac_asan': { | 652 'mac_asan': { |
| 608 'recipe_config': 'libyuv_clang', | 653 'recipe_config': 'libyuv_clang', |
| 609 'chromium_apply_config': ['asan'], | 654 'chromium_apply_config': ['asan'], |
| 610 'chromium_config_kwargs': { | 655 'chromium_config_kwargs': { |
| 611 'BUILD_CONFIG': 'Release', | 656 'BUILD_CONFIG': 'Release', |
| 612 'TARGET_BITS': 64, | 657 'TARGET_BITS': 64, |
| 613 }, | 658 }, |
| 659 'bot_type': 'builder_tester', |
| 614 'testing': {'platform': 'mac'}, | 660 'testing': {'platform': 'mac'}, |
| 615 }, | 661 }, |
| 616 'ios': { | 662 'ios': { |
| 617 'recipe_config': 'libyuv_ios', | 663 'recipe_config': 'libyuv_ios', |
| 618 'chromium_config_kwargs': { | 664 'chromium_config_kwargs': { |
| 619 'BUILD_CONFIG': 'Debug', | 665 'BUILD_CONFIG': 'Debug', |
| 620 'TARGET_BITS': 32, | 666 'TARGET_BITS': 32, |
| 621 'TARGET_ARCH': 'arm', | 667 'TARGET_ARCH': 'arm', |
| 622 'TARGET_PLATFORM': 'ios', | 668 'TARGET_PLATFORM': 'ios', |
| 623 }, | 669 }, |
| 670 'bot_type': 'builder', |
| 624 'testing': {'platform': 'mac'}, | 671 'testing': {'platform': 'mac'}, |
| 625 }, | 672 }, |
| 626 'ios_rel': { | 673 'ios_rel': { |
| 627 'recipe_config': 'libyuv_ios', | 674 'recipe_config': 'libyuv_ios', |
| 628 'chromium_config_kwargs': { | 675 'chromium_config_kwargs': { |
| 629 'BUILD_CONFIG': 'Release', | 676 'BUILD_CONFIG': 'Release', |
| 630 'TARGET_BITS': 32, | 677 'TARGET_BITS': 32, |
| 631 'TARGET_ARCH': 'arm', | 678 'TARGET_ARCH': 'arm', |
| 632 'TARGET_PLATFORM': 'ios', | 679 'TARGET_PLATFORM': 'ios', |
| 633 }, | 680 }, |
| 681 'bot_type': 'builder', |
| 634 'testing': {'platform': 'mac'}, | 682 'testing': {'platform': 'mac'}, |
| 635 }, | 683 }, |
| 636 'ios_arm64': { | 684 'ios_arm64': { |
| 637 'recipe_config': 'libyuv_ios', | 685 'recipe_config': 'libyuv_ios', |
| 638 'chromium_config_kwargs': { | 686 'chromium_config_kwargs': { |
| 639 'BUILD_CONFIG': 'Debug', | 687 'BUILD_CONFIG': 'Debug', |
| 640 'TARGET_BITS': 64, | 688 'TARGET_BITS': 64, |
| 641 'TARGET_ARCH': 'arm', | 689 'TARGET_ARCH': 'arm', |
| 642 'TARGET_PLATFORM': 'ios', | 690 'TARGET_PLATFORM': 'ios', |
| 643 }, | 691 }, |
| 692 'bot_type': 'builder', |
| 644 'testing': {'platform': 'mac'}, | 693 'testing': {'platform': 'mac'}, |
| 645 }, | 694 }, |
| 646 'ios_arm64_rel': { | 695 'ios_arm64_rel': { |
| 647 'recipe_config': 'libyuv_ios', | 696 'recipe_config': 'libyuv_ios', |
| 648 'chromium_config_kwargs': { | 697 'chromium_config_kwargs': { |
| 649 'BUILD_CONFIG': 'Release', | 698 'BUILD_CONFIG': 'Release', |
| 650 'TARGET_BITS': 64, | 699 'TARGET_BITS': 64, |
| 651 'TARGET_ARCH': 'arm', | 700 'TARGET_ARCH': 'arm', |
| 652 'TARGET_PLATFORM': 'ios', | 701 'TARGET_PLATFORM': 'ios', |
| 653 }, | 702 }, |
| 703 'bot_type': 'builder', |
| 654 'testing': {'platform': 'mac'}, | 704 'testing': {'platform': 'mac'}, |
| 655 }, | 705 }, |
| 656 'linux': { | 706 'linux': { |
| 657 'recipe_config': 'libyuv', | 707 'recipe_config': 'libyuv', |
| 658 'chromium_config_kwargs': { | 708 'chromium_config_kwargs': { |
| 659 'BUILD_CONFIG': 'Debug', | 709 'BUILD_CONFIG': 'Debug', |
| 660 'TARGET_BITS': 64, | 710 'TARGET_BITS': 64, |
| 661 }, | 711 }, |
| 712 'bot_type': 'builder_tester', |
| 662 'testing': {'platform': 'linux'}, | 713 'testing': {'platform': 'linux'}, |
| 663 }, | 714 }, |
| 664 'linux_rel': { | 715 'linux_rel': { |
| 665 'recipe_config': 'libyuv', | 716 'recipe_config': 'libyuv', |
| 666 'chromium_config_kwargs': { | 717 'chromium_config_kwargs': { |
| 667 'BUILD_CONFIG': 'Release', | 718 'BUILD_CONFIG': 'Release', |
| 668 'TARGET_BITS': 64, | 719 'TARGET_BITS': 64, |
| 669 }, | 720 }, |
| 721 'bot_type': 'builder_tester', |
| 670 'testing': {'platform': 'linux'}, | 722 'testing': {'platform': 'linux'}, |
| 671 }, | 723 }, |
| 672 'linux_gn': { | 724 'linux_gn': { |
| 673 'recipe_config': 'libyuv', | 725 'recipe_config': 'libyuv', |
| 674 'chromium_apply_config': ['gn'], | 726 'chromium_apply_config': ['gn'], |
| 675 'chromium_config_kwargs': { | 727 'chromium_config_kwargs': { |
| 676 'BUILD_CONFIG': 'Debug', | 728 'BUILD_CONFIG': 'Debug', |
| 677 'TARGET_BITS': 64, | 729 'TARGET_BITS': 64, |
| 678 }, | 730 }, |
| 731 'bot_type': 'builder', |
| 679 'testing': {'platform': 'linux'}, | 732 'testing': {'platform': 'linux'}, |
| 680 }, | 733 }, |
| 681 'linux_gn_rel': { | 734 'linux_gn_rel': { |
| 682 'recipe_config': 'libyuv', | 735 'recipe_config': 'libyuv', |
| 683 'chromium_apply_config': ['gn'], | 736 'chromium_apply_config': ['gn'], |
| 684 'chromium_config_kwargs': { | 737 'chromium_config_kwargs': { |
| 685 'BUILD_CONFIG': 'Release', | 738 'BUILD_CONFIG': 'Release', |
| 686 'TARGET_BITS': 64, | 739 'TARGET_BITS': 64, |
| 687 }, | 740 }, |
| 741 'bot_type': 'builder', |
| 688 'testing': {'platform': 'linux'}, | 742 'testing': {'platform': 'linux'}, |
| 689 }, | 743 }, |
| 690 'linux_gcc': { | 744 'linux_gcc': { |
| 691 'recipe_config': 'libyuv_gcc', | 745 'recipe_config': 'libyuv_gcc', |
| 692 'chromium_config_kwargs': { | 746 'chromium_config_kwargs': { |
| 693 'BUILD_CONFIG': 'Release', | 747 'BUILD_CONFIG': 'Release', |
| 694 'TARGET_BITS': 64, | 748 'TARGET_BITS': 64, |
| 695 }, | 749 }, |
| 750 'bot_type': 'builder_tester', |
| 696 'testing': {'platform': 'linux'}, | 751 'testing': {'platform': 'linux'}, |
| 697 }, | 752 }, |
| 698 'linux_asan': { | 753 'linux_asan': { |
| 699 'recipe_config': 'libyuv_clang', | 754 'recipe_config': 'libyuv_clang', |
| 700 'chromium_apply_config': ['asan', 'lsan'], | 755 'chromium_apply_config': ['asan', 'lsan'], |
| 701 'chromium_config_kwargs': { | 756 'chromium_config_kwargs': { |
| 702 'BUILD_CONFIG': 'Release', | 757 'BUILD_CONFIG': 'Release', |
| 703 'TARGET_BITS': 64, | 758 'TARGET_BITS': 64, |
| 704 }, | 759 }, |
| 760 'bot_type': 'builder_tester', |
| 705 'testing': {'platform': 'linux'}, | 761 'testing': {'platform': 'linux'}, |
| 706 }, | 762 }, |
| 707 'linux_memcheck': { | 763 'linux_memcheck': { |
| 708 'recipe_config': 'libyuv', | 764 'recipe_config': 'libyuv', |
| 709 'chromium_apply_config': ['memcheck'], | 765 'chromium_apply_config': ['memcheck'], |
| 710 'gclient_apply_config': ['libyuv_valgrind'], | 766 'gclient_apply_config': ['libyuv_valgrind'], |
| 711 'chromium_config_kwargs': { | 767 'chromium_config_kwargs': { |
| 712 'BUILD_CONFIG': 'Release', | 768 'BUILD_CONFIG': 'Release', |
| 713 'TARGET_BITS': 64, | 769 'TARGET_BITS': 64, |
| 714 }, | 770 }, |
| 771 'bot_type': 'builder_tester', |
| 715 'testing': {'platform': 'linux'}, | 772 'testing': {'platform': 'linux'}, |
| 716 }, | 773 }, |
| 717 'linux_msan': { | 774 'linux_msan': { |
| 718 'recipe_config': 'libyuv_clang', | 775 'recipe_config': 'libyuv_clang', |
| 719 'chromium_apply_config': ['msan', 'msan_full_origin_tracking', | 776 'chromium_apply_config': ['msan', 'msan_full_origin_tracking', |
| 720 'prebuilt_instrumented_libraries'], | 777 'prebuilt_instrumented_libraries'], |
| 721 'chromium_config_kwargs': { | 778 'chromium_config_kwargs': { |
| 722 'BUILD_CONFIG': 'Release', | 779 'BUILD_CONFIG': 'Release', |
| 723 'TARGET_BITS': 64, | 780 'TARGET_BITS': 64, |
| 724 }, | 781 }, |
| 782 'bot_type': 'builder_tester', |
| 725 'testing': {'platform': 'linux'}, | 783 'testing': {'platform': 'linux'}, |
| 726 }, | 784 }, |
| 727 'linux_tsan2': { | 785 'linux_tsan2': { |
| 728 'recipe_config': 'libyuv_clang', | 786 'recipe_config': 'libyuv_clang', |
| 729 'chromium_apply_config': ['tsan2'], | 787 'chromium_apply_config': ['tsan2'], |
| 730 'chromium_config_kwargs': { | 788 'chromium_config_kwargs': { |
| 731 'BUILD_CONFIG': 'Release', | 789 'BUILD_CONFIG': 'Release', |
| 732 'TARGET_BITS': 64, | 790 'TARGET_BITS': 64, |
| 733 }, | 791 }, |
| 792 'bot_type': 'builder_tester', |
| 734 'testing': {'platform': 'linux'}, | 793 'testing': {'platform': 'linux'}, |
| 735 }, | 794 }, |
| 736 'linux_ubsan': { | 795 'linux_ubsan': { |
| 737 'recipe_config': 'libyuv_clang', | 796 'recipe_config': 'libyuv_clang', |
| 738 'chromium_apply_config': ['ubsan'], | 797 'chromium_apply_config': ['ubsan'], |
| 739 'chromium_config_kwargs': { | 798 'chromium_config_kwargs': { |
| 740 'BUILD_CONFIG': 'Release', | 799 'BUILD_CONFIG': 'Release', |
| 741 'TARGET_BITS': 64, | 800 'TARGET_BITS': 64, |
| 742 }, | 801 }, |
| 802 'bot_type': 'builder_tester', |
| 743 'testing': {'platform': 'linux'}, | 803 'testing': {'platform': 'linux'}, |
| 744 }, | 804 }, |
| 745 'linux_ubsan_vptr': { | 805 'linux_ubsan_vptr': { |
| 746 'recipe_config': 'libyuv_clang', | 806 'recipe_config': 'libyuv_clang', |
| 747 'chromium_apply_config': ['ubsan_vptr'], | 807 'chromium_apply_config': ['ubsan_vptr'], |
| 748 'chromium_config_kwargs': { | 808 'chromium_config_kwargs': { |
| 749 'BUILD_CONFIG': 'Release', | 809 'BUILD_CONFIG': 'Release', |
| 750 'TARGET_BITS': 64, | 810 'TARGET_BITS': 64, |
| 751 }, | 811 }, |
| 812 'bot_type': 'builder_tester', |
| 752 'testing': {'platform': 'linux'}, | 813 'testing': {'platform': 'linux'}, |
| 753 }, | 814 }, |
| 754 'android': { | 815 'android': { |
| 755 'recipe_config': 'libyuv_android', | 816 'recipe_config': 'libyuv_android', |
| 756 'chromium_config_kwargs': { | 817 'chromium_config_kwargs': { |
| 757 'BUILD_CONFIG': 'Debug', | 818 'BUILD_CONFIG': 'Debug', |
| 758 'TARGET_PLATFORM': 'android', | 819 'TARGET_PLATFORM': 'android', |
| 759 'TARGET_ARCH': 'arm', | 820 'TARGET_ARCH': 'arm', |
| 760 'TARGET_BITS': 32, | 821 'TARGET_BITS': 32, |
| 761 }, | 822 }, |
| 823 'bot_type': 'builder', |
| 762 'testing': {'platform': 'linux'}, | 824 'testing': {'platform': 'linux'}, |
| 763 }, | 825 }, |
| 764 'android_rel': { | 826 'android_rel': { |
| 765 'recipe_config': 'libyuv_android', | 827 'recipe_config': 'libyuv_android', |
| 766 'chromium_config_kwargs': { | 828 'chromium_config_kwargs': { |
| 767 'BUILD_CONFIG': 'Release', | 829 'BUILD_CONFIG': 'Release', |
| 768 'TARGET_PLATFORM': 'android', | 830 'TARGET_PLATFORM': 'android', |
| 769 'TARGET_ARCH': 'arm', | 831 'TARGET_ARCH': 'arm', |
| 770 'TARGET_BITS': 32, | 832 'TARGET_BITS': 32, |
| 771 }, | 833 }, |
| 834 'bot_type': 'builder', |
| 772 'testing': {'platform': 'linux'}, | 835 'testing': {'platform': 'linux'}, |
| 773 }, | 836 }, |
| 774 'android_clang': { | 837 'android_clang': { |
| 775 'recipe_config': 'libyuv_android_clang', | 838 'recipe_config': 'libyuv_android_clang', |
| 776 'chromium_config_kwargs': { | 839 'chromium_config_kwargs': { |
| 777 'BUILD_CONFIG': 'Debug', | 840 'BUILD_CONFIG': 'Debug', |
| 778 'TARGET_PLATFORM': 'android', | 841 'TARGET_PLATFORM': 'android', |
| 779 'TARGET_ARCH': 'arm', | 842 'TARGET_ARCH': 'arm', |
| 780 'TARGET_BITS': 32, | 843 'TARGET_BITS': 32, |
| 781 }, | 844 }, |
| 845 'bot_type': 'builder', |
| 782 'testing': {'platform': 'linux'}, | 846 'testing': {'platform': 'linux'}, |
| 783 }, | 847 }, |
| 784 'android_arm64': { | 848 'android_arm64': { |
| 785 'recipe_config': 'libyuv_android', | 849 'recipe_config': 'libyuv_android', |
| 786 'chromium_config_kwargs': { | 850 'chromium_config_kwargs': { |
| 787 'BUILD_CONFIG': 'Debug', | 851 'BUILD_CONFIG': 'Debug', |
| 788 'TARGET_PLATFORM': 'android', | 852 'TARGET_PLATFORM': 'android', |
| 789 'TARGET_ARCH': 'arm', | 853 'TARGET_ARCH': 'arm', |
| 790 'TARGET_BITS': 64, | 854 'TARGET_BITS': 64, |
| 791 }, | 855 }, |
| 856 'bot_type': 'builder', |
| 792 'testing': {'platform': 'linux'}, | 857 'testing': {'platform': 'linux'}, |
| 793 }, | 858 }, |
| 794 'android_x86': { | 859 'android_x86': { |
| 795 'recipe_config': 'libyuv_android', | 860 'recipe_config': 'libyuv_android', |
| 796 'chromium_config_kwargs': { | 861 'chromium_config_kwargs': { |
| 797 'BUILD_CONFIG': 'Debug', | 862 'BUILD_CONFIG': 'Debug', |
| 798 'TARGET_PLATFORM': 'android', | 863 'TARGET_PLATFORM': 'android', |
| 799 'TARGET_ARCH': 'intel', | 864 'TARGET_ARCH': 'intel', |
| 800 'TARGET_BITS': 32, | 865 'TARGET_BITS': 32, |
| 801 }, | 866 }, |
| 867 'bot_type': 'builder', |
| 802 'testing': {'platform': 'linux'}, | 868 'testing': {'platform': 'linux'}, |
| 803 }, | 869 }, |
| 804 'android_x64': { | 870 'android_x64': { |
| 805 'recipe_config': 'libyuv_android', | 871 'recipe_config': 'libyuv_android', |
| 806 'chromium_config_kwargs': { | 872 'chromium_config_kwargs': { |
| 807 'BUILD_CONFIG': 'Debug', | 873 'BUILD_CONFIG': 'Debug', |
| 808 'TARGET_PLATFORM': 'android', | 874 'TARGET_PLATFORM': 'android', |
| 809 'TARGET_ARCH': 'intel', | 875 'TARGET_ARCH': 'intel', |
| 810 'TARGET_BITS': 64, | 876 'TARGET_BITS': 64, |
| 811 }, | 877 }, |
| 878 'bot_type': 'builder', |
| 812 'testing': {'platform': 'linux'}, | 879 'testing': {'platform': 'linux'}, |
| 813 }, | 880 }, |
| 814 'android_mips': { | 881 'android_mips': { |
| 815 'recipe_config': 'libyuv_android_clang', | 882 'recipe_config': 'libyuv_android_clang', |
| 816 'chromium_config_kwargs': { | 883 'chromium_config_kwargs': { |
| 817 'BUILD_CONFIG': 'Debug', | 884 'BUILD_CONFIG': 'Debug', |
| 818 'TARGET_PLATFORM': 'android', | 885 'TARGET_PLATFORM': 'android', |
| 819 'TARGET_ARCH': 'mipsel', | 886 'TARGET_ARCH': 'mipsel', |
| 820 'TARGET_BITS': 32, | 887 'TARGET_BITS': 32, |
| 821 }, | 888 }, |
| 889 'bot_type': 'builder', |
| 822 'testing': {'platform': 'linux'}, | 890 'testing': {'platform': 'linux'}, |
| 823 }, | 891 }, |
| 824 'android_gn': { | 892 'android_gn': { |
| 825 'recipe_config': 'libyuv_android', | 893 'recipe_config': 'libyuv_android', |
| 826 'chromium_apply_config': ['gn'], | 894 'chromium_apply_config': ['gn'], |
| 827 'chromium_config_kwargs': { | 895 'chromium_config_kwargs': { |
| 828 'BUILD_CONFIG': 'Debug', | 896 'BUILD_CONFIG': 'Debug', |
| 829 'TARGET_PLATFORM': 'android', | 897 'TARGET_PLATFORM': 'android', |
| 830 'TARGET_ARCH': 'arm', | 898 'TARGET_ARCH': 'arm', |
| 831 'TARGET_BITS': 32, | 899 'TARGET_BITS': 32, |
| 832 }, | 900 }, |
| 901 'bot_type': 'builder', |
| 833 'testing': {'platform': 'linux'}, | 902 'testing': {'platform': 'linux'}, |
| 834 }, | 903 }, |
| 835 'android_gn_rel': { | 904 'android_gn_rel': { |
| 836 'recipe_config': 'libyuv_android', | 905 'recipe_config': 'libyuv_android', |
| 837 'chromium_apply_config': ['gn'], | 906 'chromium_apply_config': ['gn'], |
| 838 'chromium_config_kwargs': { | 907 'chromium_config_kwargs': { |
| 839 'BUILD_CONFIG': 'Release', | 908 'BUILD_CONFIG': 'Release', |
| 840 'TARGET_PLATFORM': 'android', | 909 'TARGET_PLATFORM': 'android', |
| 841 'TARGET_ARCH': 'arm', | 910 'TARGET_ARCH': 'arm', |
| 842 'TARGET_BITS': 32, | 911 'TARGET_BITS': 32, |
| 843 }, | 912 }, |
| 913 'bot_type': 'builder', |
| 844 'testing': {'platform': 'linux'}, | 914 'testing': {'platform': 'linux'}, |
| 845 }, | 915 }, |
| 846 }, | 916 }, |
| 847 }, | 917 }, |
| 848 }) | 918 }) |
| 849 | |
| 850 def RunSteps(api): | |
| 851 mastername = api.properties.get('mastername') | |
| 852 buildername = api.properties.get('buildername') | |
| 853 master_dict = BUILDERS.get(mastername, {}) | |
| 854 bot_config = master_dict.get('builders', {}).get(buildername) | |
| 855 assert bot_config, ('Unrecognized builder name "%r" for master "%r".' % | |
| 856 (buildername, mastername)) | |
| 857 recipe_config_name = bot_config['recipe_config'] | |
| 858 recipe_config = RECIPE_CONFIGS.get(recipe_config_name) | |
| 859 assert recipe_config, ('Cannot find recipe_config "%s" for builder "%r".' % | |
| 860 (recipe_config_name, buildername)) | |
| 861 | |
| 862 api.chromium.set_config(recipe_config['chromium_config'], | |
| 863 **bot_config.get('chromium_config_kwargs', {})) | |
| 864 api.gclient.set_config(recipe_config['gclient_config']) | |
| 865 for c in bot_config.get('gclient_apply_config', []): | |
| 866 api.gclient.apply_config(c) | |
| 867 for c in bot_config.get('chromium_apply_config', []): | |
| 868 api.chromium.apply_config(c) | |
| 869 | |
| 870 if api.tryserver.is_tryserver: | |
| 871 api.chromium.apply_config('trybot_flavor') | |
| 872 | |
| 873 api.bot_update.ensure_checkout(force=True) | |
| 874 api.chromium.ensure_goma() | |
| 875 api.chromium.runhooks() | |
| 876 | |
| 877 if api.chromium.c.project_generator.tool == 'gn': | |
| 878 api.chromium.run_gn(use_goma=True) | |
| 879 api.chromium.compile(targets=['all']) | |
| 880 else: | |
| 881 api.chromium.compile() | |
| 882 if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'): | |
| 883 api.chromium.runtest('libyuv_unittest') | |
| 884 | |
| 885 | |
| 886 def _sanitize_nonalpha(text): | |
| 887 return ''.join(c if c.isalnum() else '_' for c in text.lower()) | |
| 888 | |
| 889 | |
| 890 def GenTests(api): | |
| 891 def generate_builder(mastername, buildername, revision, suffix=None): | |
| 892 suffix = suffix or '' | |
| 893 bot_config = BUILDERS[mastername]['builders'][buildername] | |
| 894 | |
| 895 chromium_kwargs = bot_config.get('chromium_config_kwargs', {}) | |
| 896 test = ( | |
| 897 api.test('%s_%s%s' % (_sanitize_nonalpha(mastername), | |
| 898 _sanitize_nonalpha(buildername), suffix)) + | |
| 899 api.properties(mastername=mastername, | |
| 900 buildername=buildername, | |
| 901 slavename='slavename', | |
| 902 BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) + | |
| 903 api.platform(bot_config['testing']['platform'], | |
| 904 chromium_kwargs.get('TARGET_BITS', 64)) | |
| 905 ) | |
| 906 | |
| 907 if revision: | |
| 908 test += api.properties(revision=revision) | |
| 909 | |
| 910 if mastername.startswith('tryserver'): | |
| 911 test += api.properties(patch_url='try_job_svn_patch') | |
| 912 return test | |
| 913 | |
| 914 for mastername, master_config in BUILDERS.iteritems(): | |
| 915 for buildername in master_config['builders'].keys(): | |
| 916 yield generate_builder(mastername, buildername, revision='12345') | |
| 917 | |
| 918 # Forced builds (not specifying any revision) and test failures. | |
| 919 mastername = 'client.libyuv' | |
| 920 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | |
| 921 suffix='_forced') | |
| 922 yield generate_builder(mastername, 'Android Debug', revision=None, | |
| 923 suffix='_forced') | |
| 924 | |
| 925 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | |
| 926 suffix='_forced') | |
| OLD | NEW |