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_gcc': { |
| 33 'chromium_config': 'libyuv_gcc', |
| 34 'gclient_config': 'libyuv', |
| 35 }, |
32 'libyuv_android': { | 36 'libyuv_android': { |
33 'chromium_config': 'libyuv_android', | 37 'chromium_config': 'libyuv_android', |
34 'gclient_config': 'libyuv_android', | 38 'gclient_config': 'libyuv_android', |
35 }, | 39 }, |
36 'libyuv_android_clang': { | 40 'libyuv_android_clang': { |
37 'chromium_config': 'libyuv_android_clang', | 41 'chromium_config': 'libyuv_android_clang', |
38 'gclient_config': 'libyuv_android', | 42 'gclient_config': 'libyuv_android', |
39 }, | 43 }, |
40 'libyuv_ios': { | 44 'libyuv_ios': { |
41 'chromium_config': 'libyuv_ios', | 45 'chromium_config': 'libyuv_ios', |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 }, | 334 }, |
331 'Linux64 Release (GN)': { | 335 'Linux64 Release (GN)': { |
332 'recipe_config': 'libyuv', | 336 'recipe_config': 'libyuv', |
333 'chromium_apply_config': ['gn'], | 337 'chromium_apply_config': ['gn'], |
334 'chromium_config_kwargs': { | 338 'chromium_config_kwargs': { |
335 'BUILD_CONFIG': 'Release', | 339 'BUILD_CONFIG': 'Release', |
336 'TARGET_BITS': 64, | 340 'TARGET_BITS': 64, |
337 }, | 341 }, |
338 'testing': {'platform': 'linux'}, | 342 'testing': {'platform': 'linux'}, |
339 }, | 343 }, |
| 344 'Linux GCC': { |
| 345 'recipe_config': 'libyuv_gcc', |
| 346 'chromium_config_kwargs': { |
| 347 'BUILD_CONFIG': 'Release', |
| 348 'TARGET_BITS': 64, |
| 349 }, |
| 350 'testing': {'platform': 'linux'}, |
| 351 }, |
340 'Linux Asan': { | 352 'Linux Asan': { |
341 'recipe_config': 'libyuv_clang', | 353 'recipe_config': 'libyuv_clang', |
342 'chromium_apply_config': ['asan', 'lsan'], | 354 'chromium_apply_config': ['asan', 'lsan'], |
343 'chromium_config_kwargs': { | 355 'chromium_config_kwargs': { |
344 'BUILD_CONFIG': 'Release', | 356 'BUILD_CONFIG': 'Release', |
345 'TARGET_BITS': 64, | 357 'TARGET_BITS': 64, |
346 }, | 358 }, |
347 'testing': {'platform': 'linux'}, | 359 'testing': {'platform': 'linux'}, |
348 }, | 360 }, |
349 'Linux Memcheck': { | 361 'Linux Memcheck': { |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 }, | 680 }, |
669 'linux_gn_rel': { | 681 'linux_gn_rel': { |
670 'recipe_config': 'libyuv', | 682 'recipe_config': 'libyuv', |
671 'chromium_apply_config': ['gn'], | 683 'chromium_apply_config': ['gn'], |
672 'chromium_config_kwargs': { | 684 'chromium_config_kwargs': { |
673 'BUILD_CONFIG': 'Release', | 685 'BUILD_CONFIG': 'Release', |
674 'TARGET_BITS': 64, | 686 'TARGET_BITS': 64, |
675 }, | 687 }, |
676 'testing': {'platform': 'linux'}, | 688 'testing': {'platform': 'linux'}, |
677 }, | 689 }, |
| 690 'linux_gcc': { |
| 691 'recipe_config': 'libyuv_gcc', |
| 692 'chromium_config_kwargs': { |
| 693 'BUILD_CONFIG': 'Release', |
| 694 'TARGET_BITS': 64, |
| 695 }, |
| 696 'testing': {'platform': 'linux'}, |
| 697 }, |
678 'linux_asan': { | 698 'linux_asan': { |
679 'recipe_config': 'libyuv_clang', | 699 'recipe_config': 'libyuv_clang', |
680 'chromium_apply_config': ['asan', 'lsan'], | 700 'chromium_apply_config': ['asan', 'lsan'], |
681 'chromium_config_kwargs': { | 701 'chromium_config_kwargs': { |
682 'BUILD_CONFIG': 'Release', | 702 'BUILD_CONFIG': 'Release', |
683 'TARGET_BITS': 64, | 703 'TARGET_BITS': 64, |
684 }, | 704 }, |
685 'testing': {'platform': 'linux'}, | 705 'testing': {'platform': 'linux'}, |
686 }, | 706 }, |
687 'linux_memcheck': { | 707 'linux_memcheck': { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 | 916 |
897 # Forced builds (not specifying any revision) and test failures. | 917 # Forced builds (not specifying any revision) and test failures. |
898 mastername = 'client.libyuv' | 918 mastername = 'client.libyuv' |
899 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 919 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
900 suffix='_forced') | 920 suffix='_forced') |
901 yield generate_builder(mastername, 'Android Debug', revision=None, | 921 yield generate_builder(mastername, 'Android Debug', revision=None, |
902 suffix='_forced') | 922 suffix='_forced') |
903 | 923 |
904 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 924 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
905 suffix='_forced') | 925 suffix='_forced') |
OLD | NEW |