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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'testing': {'platform': 'win'}, | 179 'testing': {'platform': 'win'}, |
180 }, | 180 }, |
181 'Win64 Release (Clang)': { | 181 'Win64 Release (Clang)': { |
182 'recipe_config': 'libyuv_clang', | 182 'recipe_config': 'libyuv_clang', |
183 'chromium_config_kwargs': { | 183 'chromium_config_kwargs': { |
184 'BUILD_CONFIG': 'Release', | 184 'BUILD_CONFIG': 'Release', |
185 'TARGET_BITS': 64, | 185 'TARGET_BITS': 64, |
186 }, | 186 }, |
187 'testing': {'platform': 'win'}, | 187 'testing': {'platform': 'win'}, |
188 }, | 188 }, |
189 'Mac32 Debug': { | |
190 'recipe_config': 'libyuv', | |
191 'chromium_config_kwargs': { | |
192 'BUILD_CONFIG': 'Debug', | |
193 'TARGET_BITS': 32, | |
194 }, | |
195 'testing': {'platform': 'mac'}, | |
196 }, | |
197 'Mac32 Release': { | |
198 'recipe_config': 'libyuv', | |
199 'chromium_config_kwargs': { | |
200 'BUILD_CONFIG': 'Release', | |
201 'TARGET_BITS': 32, | |
202 }, | |
203 'testing': {'platform': 'mac'}, | |
204 }, | |
205 'Mac64 Debug': { | 189 'Mac64 Debug': { |
206 'recipe_config': 'libyuv', | 190 'recipe_config': 'libyuv', |
207 'chromium_config_kwargs': { | 191 'chromium_config_kwargs': { |
208 'BUILD_CONFIG': 'Debug', | 192 'BUILD_CONFIG': 'Debug', |
209 'TARGET_BITS': 64, | 193 'TARGET_BITS': 64, |
210 }, | 194 }, |
211 'testing': {'platform': 'mac'}, | 195 'testing': {'platform': 'mac'}, |
212 }, | 196 }, |
213 'Mac64 Release': { | 197 'Mac64 Release': { |
214 'recipe_config': 'libyuv', | 198 'recipe_config': 'libyuv', |
215 'chromium_config_kwargs': { | 199 'chromium_config_kwargs': { |
216 'BUILD_CONFIG': 'Release', | 200 'BUILD_CONFIG': 'Release', |
217 'TARGET_BITS': 64, | 201 'TARGET_BITS': 64, |
218 }, | 202 }, |
219 'testing': {'platform': 'mac'}, | 203 'testing': {'platform': 'mac'}, |
220 }, | 204 }, |
221 'Mac Asan': { | 205 'Mac Asan': { |
222 'recipe_config': 'libyuv_clang', | 206 'recipe_config': 'libyuv_clang', |
223 'chromium_apply_config': ['asan'], | 207 'chromium_apply_config': ['asan'], |
224 'chromium_config_kwargs': { | 208 'chromium_config_kwargs': { |
225 'BUILD_CONFIG': 'Release', | 209 'BUILD_CONFIG': 'Release', |
226 'TARGET_BITS': 32, | 210 'TARGET_BITS': 64, |
227 }, | 211 }, |
228 'testing': {'platform': 'mac'}, | 212 'testing': {'platform': 'mac'}, |
229 }, | 213 }, |
230 'iOS Debug': { | 214 'iOS Debug': { |
231 'recipe_config': 'libyuv_ios', | 215 'recipe_config': 'libyuv_ios', |
232 'chromium_config_kwargs': { | 216 'chromium_config_kwargs': { |
233 'BUILD_CONFIG': 'Debug', | 217 'BUILD_CONFIG': 'Debug', |
234 'TARGET_BITS': 32, | 218 'TARGET_BITS': 32, |
235 'TARGET_ARCH': 'arm', | 219 'TARGET_ARCH': 'arm', |
236 'TARGET_PLATFORM': 'ios', | 220 'TARGET_PLATFORM': 'ios', |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 'chromium_config_kwargs': { | 440 'chromium_config_kwargs': { |
457 'BUILD_CONFIG': 'Release', | 441 'BUILD_CONFIG': 'Release', |
458 'TARGET_BITS': 64, | 442 'TARGET_BITS': 64, |
459 }, | 443 }, |
460 'testing': {'platform': 'win'}, | 444 'testing': {'platform': 'win'}, |
461 }, | 445 }, |
462 'mac': { | 446 'mac': { |
463 'recipe_config': 'libyuv', | 447 'recipe_config': 'libyuv', |
464 'chromium_config_kwargs': { | 448 'chromium_config_kwargs': { |
465 'BUILD_CONFIG': 'Debug', | 449 'BUILD_CONFIG': 'Debug', |
466 'TARGET_BITS': 32, | 450 'TARGET_BITS': 64, |
467 }, | 451 }, |
468 'testing': {'platform': 'mac'}, | 452 'testing': {'platform': 'mac'}, |
469 }, | 453 }, |
470 'mac_rel': { | 454 'mac_rel': { |
471 'recipe_config': 'libyuv', | 455 'recipe_config': 'libyuv', |
472 'chromium_config_kwargs': { | 456 'chromium_config_kwargs': { |
473 'BUILD_CONFIG': 'Release', | 457 'BUILD_CONFIG': 'Release', |
474 'TARGET_BITS': 32, | |
475 }, | |
476 'testing': {'platform': 'mac'}, | |
477 }, | |
478 'mac_x64_rel': { | |
479 'recipe_config': 'libyuv', | |
480 'chromium_config_kwargs': { | |
481 'BUILD_CONFIG': 'Release', | |
482 'TARGET_BITS': 64, | 458 'TARGET_BITS': 64, |
483 }, | 459 }, |
484 'testing': {'platform': 'mac'}, | 460 'testing': {'platform': 'mac'}, |
485 }, | 461 }, |
486 'mac_asan': { | 462 'mac_asan': { |
487 'recipe_config': 'libyuv_clang', | 463 'recipe_config': 'libyuv_clang', |
488 'chromium_apply_config': ['asan'], | 464 'chromium_apply_config': ['asan'], |
489 'chromium_config_kwargs': { | 465 'chromium_config_kwargs': { |
490 'BUILD_CONFIG': 'Release', | 466 'BUILD_CONFIG': 'Release', |
491 'TARGET_BITS': 32, | 467 'TARGET_BITS': 64, |
492 }, | 468 }, |
493 'testing': {'platform': 'mac'}, | 469 'testing': {'platform': 'mac'}, |
494 }, | 470 }, |
495 'ios': { | 471 'ios': { |
496 'recipe_config': 'libyuv_ios', | 472 'recipe_config': 'libyuv_ios', |
497 'chromium_config_kwargs': { | 473 'chromium_config_kwargs': { |
498 'BUILD_CONFIG': 'Debug', | 474 'BUILD_CONFIG': 'Debug', |
499 'TARGET_BITS': 32, | 475 'TARGET_BITS': 32, |
500 'TARGET_ARCH': 'arm', | 476 'TARGET_ARCH': 'arm', |
501 'TARGET_PLATFORM': 'ios', | 477 'TARGET_PLATFORM': 'ios', |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 | 706 |
731 # Forced builds (not specifying any revision) and test failures. | 707 # Forced builds (not specifying any revision) and test failures. |
732 mastername = 'client.libyuv' | 708 mastername = 'client.libyuv' |
733 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 709 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
734 suffix='_forced') | 710 suffix='_forced') |
735 yield generate_builder(mastername, 'Android Debug', revision=None, | 711 yield generate_builder(mastername, 'Android Debug', revision=None, |
736 suffix='_forced') | 712 suffix='_forced') |
737 | 713 |
738 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 714 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
739 suffix='_forced') | 715 suffix='_forced') |
OLD | NEW |