OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """ |
6 Recipe for building and running tests for Libyuv stand-alone. | 6 Recipe for building and running tests for Libyuv stand-alone. |
7 """ | 7 """ |
8 | 8 |
9 from recipe_engine.types import freeze | 9 from recipe_engine.types import freeze |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 RECIPE_CONFIGS = freeze({ | 23 RECIPE_CONFIGS = freeze({ |
24 'libyuv': { | 24 'libyuv': { |
25 'chromium_config': 'libyuv', | 25 'chromium_config': 'libyuv', |
26 'gclient_config': 'libyuv', | 26 'gclient_config': 'libyuv', |
27 }, | 27 }, |
28 'libyuv_clang': { | 28 'libyuv_clang': { |
29 'chromium_config': 'libyuv_clang', | 29 'chromium_config': 'libyuv_clang', |
30 'gclient_config': 'libyuv', | 30 'gclient_config': 'libyuv', |
31 }, | 31 }, |
32 'libyuv_asan': { | |
33 'chromium_config': 'libyuv_asan', | |
34 'gclient_config': 'libyuv', | |
35 }, | |
36 'libyuv_android': { | 32 'libyuv_android': { |
37 'chromium_config': 'libyuv_android', | 33 'chromium_config': 'libyuv_android', |
38 'gclient_config': 'libyuv_android', | 34 'gclient_config': 'libyuv_android', |
39 }, | 35 }, |
40 'libyuv_android_clang': { | 36 'libyuv_android_clang': { |
41 'chromium_config': 'libyuv_android_clang', | 37 'chromium_config': 'libyuv_android_clang', |
42 'gclient_config': 'libyuv_android', | 38 'gclient_config': 'libyuv_android', |
43 }, | 39 }, |
44 'libyuv_ios': { | 40 'libyuv_ios': { |
45 'chromium_config': 'libyuv_ios', | 41 'chromium_config': 'libyuv_ios', |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 }, | 180 }, |
185 'Mac64 Release': { | 181 'Mac64 Release': { |
186 'recipe_config': 'libyuv', | 182 'recipe_config': 'libyuv', |
187 'chromium_config_kwargs': { | 183 'chromium_config_kwargs': { |
188 'BUILD_CONFIG': 'Release', | 184 'BUILD_CONFIG': 'Release', |
189 'TARGET_BITS': 64, | 185 'TARGET_BITS': 64, |
190 }, | 186 }, |
191 'testing': {'platform': 'mac'}, | 187 'testing': {'platform': 'mac'}, |
192 }, | 188 }, |
193 'Mac Asan': { | 189 'Mac Asan': { |
194 'recipe_config': 'libyuv_asan', | 190 'recipe_config': 'libyuv_clang', |
| 191 'chromium_apply_config': ['asan'], |
195 'chromium_config_kwargs': { | 192 'chromium_config_kwargs': { |
196 'BUILD_CONFIG': 'Release', | 193 'BUILD_CONFIG': 'Release', |
197 'TARGET_BITS': 32, | 194 'TARGET_BITS': 32, |
198 }, | 195 }, |
199 'testing': {'platform': 'mac'}, | 196 'testing': {'platform': 'mac'}, |
200 }, | 197 }, |
201 'iOS Debug': { | 198 'iOS Debug': { |
202 'recipe_config': 'libyuv_ios', | 199 'recipe_config': 'libyuv_ios', |
203 'chromium_config_kwargs': { | 200 'chromium_config_kwargs': { |
204 'BUILD_CONFIG': 'Debug', | 201 'BUILD_CONFIG': 'Debug', |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 'Linux64 Release (GN)': { | 279 'Linux64 Release (GN)': { |
283 'recipe_config': 'libyuv', | 280 'recipe_config': 'libyuv', |
284 'chromium_apply_config': ['gn'], | 281 'chromium_apply_config': ['gn'], |
285 'chromium_config_kwargs': { | 282 'chromium_config_kwargs': { |
286 'BUILD_CONFIG': 'Release', | 283 'BUILD_CONFIG': 'Release', |
287 'TARGET_BITS': 64, | 284 'TARGET_BITS': 64, |
288 }, | 285 }, |
289 'testing': {'platform': 'linux'}, | 286 'testing': {'platform': 'linux'}, |
290 }, | 287 }, |
291 'Linux Asan': { | 288 'Linux Asan': { |
292 'recipe_config': 'libyuv_asan', | 289 'recipe_config': 'libyuv_clang', |
| 290 'chromium_apply_config': ['asan', 'lsan'], |
293 'chromium_config_kwargs': { | 291 'chromium_config_kwargs': { |
294 'BUILD_CONFIG': 'Release', | 292 'BUILD_CONFIG': 'Release', |
295 'TARGET_BITS': 64, | 293 'TARGET_BITS': 64, |
296 }, | 294 }, |
297 'testing': {'platform': 'linux'}, | 295 'testing': {'platform': 'linux'}, |
298 }, | 296 }, |
299 'Linux Memcheck': { | 297 'Linux Memcheck': { |
300 'recipe_config': 'libyuv', | 298 'recipe_config': 'libyuv', |
301 'chromium_apply_config': ['memcheck'], | 299 'chromium_apply_config': ['memcheck'], |
302 'gclient_apply_config': ['libyuv_valgrind'], | 300 'gclient_apply_config': ['libyuv_valgrind'], |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 }, | 421 }, |
424 'mac_x64_rel': { | 422 'mac_x64_rel': { |
425 'recipe_config': 'libyuv', | 423 'recipe_config': 'libyuv', |
426 'chromium_config_kwargs': { | 424 'chromium_config_kwargs': { |
427 'BUILD_CONFIG': 'Release', | 425 'BUILD_CONFIG': 'Release', |
428 'TARGET_BITS': 64, | 426 'TARGET_BITS': 64, |
429 }, | 427 }, |
430 'testing': {'platform': 'mac'}, | 428 'testing': {'platform': 'mac'}, |
431 }, | 429 }, |
432 'mac_asan': { | 430 'mac_asan': { |
433 'recipe_config': 'libyuv_asan', | 431 'recipe_config': 'libyuv_clang', |
| 432 'chromium_apply_config': ['asan'], |
434 'chromium_config_kwargs': { | 433 'chromium_config_kwargs': { |
435 'BUILD_CONFIG': 'Release', | 434 'BUILD_CONFIG': 'Release', |
436 'TARGET_BITS': 32, | 435 'TARGET_BITS': 32, |
437 }, | 436 }, |
438 'testing': {'platform': 'mac'}, | 437 'testing': {'platform': 'mac'}, |
439 }, | 438 }, |
440 'ios': { | 439 'ios': { |
441 'recipe_config': 'libyuv_ios', | 440 'recipe_config': 'libyuv_ios', |
442 'chromium_config_kwargs': { | 441 'chromium_config_kwargs': { |
443 'BUILD_CONFIG': 'Debug', | 442 'BUILD_CONFIG': 'Debug', |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 'linux_gn_rel': { | 504 'linux_gn_rel': { |
506 'recipe_config': 'libyuv', | 505 'recipe_config': 'libyuv', |
507 'chromium_apply_config': ['gn'], | 506 'chromium_apply_config': ['gn'], |
508 'chromium_config_kwargs': { | 507 'chromium_config_kwargs': { |
509 'BUILD_CONFIG': 'Release', | 508 'BUILD_CONFIG': 'Release', |
510 'TARGET_BITS': 64, | 509 'TARGET_BITS': 64, |
511 }, | 510 }, |
512 'testing': {'platform': 'linux'}, | 511 'testing': {'platform': 'linux'}, |
513 }, | 512 }, |
514 'linux_asan': { | 513 'linux_asan': { |
515 'recipe_config': 'libyuv_asan', | 514 'recipe_config': 'libyuv_clang', |
| 515 'chromium_apply_config': ['asan', 'lsan'], |
516 'chromium_config_kwargs': { | 516 'chromium_config_kwargs': { |
517 'BUILD_CONFIG': 'Release', | 517 'BUILD_CONFIG': 'Release', |
518 'TARGET_BITS': 64, | 518 'TARGET_BITS': 64, |
519 }, | 519 }, |
520 'testing': {'platform': 'linux'}, | 520 'testing': {'platform': 'linux'}, |
521 }, | 521 }, |
522 'linux_memcheck': { | 522 'linux_memcheck': { |
523 'recipe_config': 'libyuv', | 523 'recipe_config': 'libyuv', |
524 'chromium_apply_config': ['memcheck'], | 524 'chromium_apply_config': ['memcheck'], |
525 'gclient_apply_config': ['libyuv_valgrind'], | 525 'gclient_apply_config': ['libyuv_valgrind'], |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 | 674 |
675 # Forced builds (not specifying any revision) and test failures. | 675 # Forced builds (not specifying any revision) and test failures. |
676 mastername = 'client.libyuv' | 676 mastername = 'client.libyuv' |
677 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 677 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
678 suffix='_forced') | 678 suffix='_forced') |
679 yield generate_builder(mastername, 'Android Debug', revision=None, | 679 yield generate_builder(mastername, 'Android Debug', revision=None, |
680 suffix='_forced') | 680 suffix='_forced') |
681 | 681 |
682 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 682 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
683 suffix='_forced') | 683 suffix='_forced') |
OLD | NEW |