| 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 'Win64 Debug (GN)': { |
| 190 'recipe_config': 'libyuv_clang', |
| 191 'chromium_apply_config': ['gn'], |
| 192 'chromium_config_kwargs': { |
| 193 'BUILD_CONFIG': 'Debug', |
| 194 'TARGET_BITS': 64, |
| 195 }, |
| 196 'testing': {'platform': 'win'}, |
| 197 }, |
| 198 'Win64 Release (GN)': { |
| 199 'recipe_config': 'libyuv_clang', |
| 200 'chromium_apply_config': ['gn'], |
| 201 'chromium_config_kwargs': { |
| 202 'BUILD_CONFIG': 'Release', |
| 203 'TARGET_BITS': 64, |
| 204 }, |
| 205 'testing': {'platform': 'win'}, |
| 206 }, |
| 189 'Mac64 Debug': { | 207 'Mac64 Debug': { |
| 190 'recipe_config': 'libyuv', | 208 'recipe_config': 'libyuv', |
| 191 'chromium_config_kwargs': { | 209 'chromium_config_kwargs': { |
| 192 'BUILD_CONFIG': 'Debug', | 210 'BUILD_CONFIG': 'Debug', |
| 193 'TARGET_BITS': 64, | 211 'TARGET_BITS': 64, |
| 194 }, | 212 }, |
| 195 'testing': {'platform': 'mac'}, | 213 'testing': {'platform': 'mac'}, |
| 196 }, | 214 }, |
| 197 'Mac64 Release': { | 215 'Mac64 Release': { |
| 198 'recipe_config': 'libyuv', | 216 'recipe_config': 'libyuv', |
| 199 'chromium_config_kwargs': { | 217 'chromium_config_kwargs': { |
| 200 'BUILD_CONFIG': 'Release', | 218 'BUILD_CONFIG': 'Release', |
| 201 'TARGET_BITS': 64, | 219 'TARGET_BITS': 64, |
| 202 }, | 220 }, |
| 203 'testing': {'platform': 'mac'}, | 221 'testing': {'platform': 'mac'}, |
| 204 }, | 222 }, |
| 223 'Mac64 Debug (GN)': { |
| 224 'recipe_config': 'libyuv', |
| 225 'chromium_apply_config': ['gn'], |
| 226 'chromium_config_kwargs': { |
| 227 'BUILD_CONFIG': 'Debug', |
| 228 'TARGET_BITS': 64, |
| 229 }, |
| 230 'testing': {'platform': 'mac'}, |
| 231 }, |
| 232 'Mac64 Release (GN)': { |
| 233 'recipe_config': 'libyuv', |
| 234 'chromium_apply_config': ['gn'], |
| 235 'chromium_config_kwargs': { |
| 236 'BUILD_CONFIG': 'Release', |
| 237 'TARGET_BITS': 64, |
| 238 }, |
| 239 'testing': {'platform': 'mac'}, |
| 240 }, |
| 205 'Mac Asan': { | 241 'Mac Asan': { |
| 206 'recipe_config': 'libyuv_clang', | 242 'recipe_config': 'libyuv_clang', |
| 207 'chromium_apply_config': ['asan'], | 243 'chromium_apply_config': ['asan'], |
| 208 'chromium_config_kwargs': { | 244 'chromium_config_kwargs': { |
| 209 'BUILD_CONFIG': 'Release', | 245 'BUILD_CONFIG': 'Release', |
| 210 'TARGET_BITS': 64, | 246 'TARGET_BITS': 64, |
| 211 }, | 247 }, |
| 212 'testing': {'platform': 'mac'}, | 248 'testing': {'platform': 'mac'}, |
| 213 }, | 249 }, |
| 214 'iOS Debug': { | 250 'iOS Debug': { |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 'Android Clang Debug': { | 426 'Android Clang Debug': { |
| 391 'recipe_config': 'libyuv_android_clang', | 427 'recipe_config': 'libyuv_android_clang', |
| 392 'chromium_config_kwargs': { | 428 'chromium_config_kwargs': { |
| 393 'BUILD_CONFIG': 'Debug', | 429 'BUILD_CONFIG': 'Debug', |
| 394 'TARGET_PLATFORM': 'android', | 430 'TARGET_PLATFORM': 'android', |
| 395 'TARGET_ARCH': 'arm', | 431 'TARGET_ARCH': 'arm', |
| 396 'TARGET_BITS': 32, | 432 'TARGET_BITS': 32, |
| 397 }, | 433 }, |
| 398 'testing': {'platform': 'linux'}, | 434 'testing': {'platform': 'linux'}, |
| 399 }, | 435 }, |
| 400 'Android GN': { | 436 'Android Debug (GN)': { |
| 437 'recipe_config': 'libyuv_android', |
| 438 'chromium_apply_config': ['gn'], |
| 439 'chromium_config_kwargs': { |
| 440 'BUILD_CONFIG': 'Debug', |
| 441 'TARGET_PLATFORM': 'android', |
| 442 'TARGET_ARCH': 'arm', |
| 443 'TARGET_BITS': 32, |
| 444 }, |
| 445 'testing': {'platform': 'linux'}, |
| 446 }, |
| 447 'Android Release (GN)': { |
| 401 'recipe_config': 'libyuv_android', | 448 'recipe_config': 'libyuv_android', |
| 402 'chromium_apply_config': ['gn'], | 449 'chromium_apply_config': ['gn'], |
| 403 'chromium_config_kwargs': { | 450 'chromium_config_kwargs': { |
| 404 'BUILD_CONFIG': 'Release', | 451 'BUILD_CONFIG': 'Release', |
| 405 'TARGET_PLATFORM': 'android', | 452 'TARGET_PLATFORM': 'android', |
| 406 'TARGET_ARCH': 'arm', | 453 'TARGET_ARCH': 'arm', |
| 407 'TARGET_BITS': 32, | 454 'TARGET_BITS': 32, |
| 408 }, | |
| 409 'testing': {'platform': 'linux'}, | |
| 410 }, | |
| 411 'Android GN (dbg)': { | |
| 412 'recipe_config': 'libyuv_android', | |
| 413 'chromium_apply_config': ['gn'], | |
| 414 'chromium_config_kwargs': { | |
| 415 'BUILD_CONFIG': 'Debug', | |
| 416 'TARGET_PLATFORM': 'android', | |
| 417 'TARGET_ARCH': 'arm', | |
| 418 'TARGET_BITS': 32, | |
| 419 }, | 455 }, |
| 420 'testing': {'platform': 'linux'}, | 456 'testing': {'platform': 'linux'}, |
| 421 }, | 457 }, |
| 422 }, | 458 }, |
| 423 }, | 459 }, |
| 424 'tryserver.libyuv': { | 460 'tryserver.libyuv': { |
| 425 'builders': { | 461 'builders': { |
| 426 'win': { | 462 'win': { |
| 427 'recipe_config': 'libyuv', | 463 'recipe_config': 'libyuv', |
| 428 'chromium_config_kwargs': { | 464 'chromium_config_kwargs': { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 'testing': {'platform': 'win'}, | 500 'testing': {'platform': 'win'}, |
| 465 }, | 501 }, |
| 466 'win_x64_clang_rel': { | 502 'win_x64_clang_rel': { |
| 467 'recipe_config': 'libyuv_clang', | 503 'recipe_config': 'libyuv_clang', |
| 468 'chromium_config_kwargs': { | 504 'chromium_config_kwargs': { |
| 469 'BUILD_CONFIG': 'Release', | 505 'BUILD_CONFIG': 'Release', |
| 470 'TARGET_BITS': 64, | 506 'TARGET_BITS': 64, |
| 471 }, | 507 }, |
| 472 'testing': {'platform': 'win'}, | 508 'testing': {'platform': 'win'}, |
| 473 }, | 509 }, |
| 510 'win_x64_gn': { |
| 511 'recipe_config': 'libyuv_clang', |
| 512 'chromium_apply_config': ['gn'], |
| 513 'chromium_config_kwargs': { |
| 514 'BUILD_CONFIG': 'Debug', |
| 515 'TARGET_BITS': 64, |
| 516 }, |
| 517 'testing': {'platform': 'win'}, |
| 518 }, |
| 519 'win_x64_gn_rel': { |
| 520 'recipe_config': 'libyuv_clang', |
| 521 'chromium_apply_config': ['gn'], |
| 522 'chromium_config_kwargs': { |
| 523 'BUILD_CONFIG': 'Release', |
| 524 'TARGET_BITS': 64, |
| 525 }, |
| 526 'testing': {'platform': 'win'}, |
| 527 }, |
| 474 'mac': { | 528 'mac': { |
| 475 'recipe_config': 'libyuv', | 529 'recipe_config': 'libyuv', |
| 476 'chromium_config_kwargs': { | 530 'chromium_config_kwargs': { |
| 477 'BUILD_CONFIG': 'Debug', | 531 'BUILD_CONFIG': 'Debug', |
| 478 'TARGET_BITS': 64, | 532 'TARGET_BITS': 64, |
| 479 }, | 533 }, |
| 480 'testing': {'platform': 'mac'}, | 534 'testing': {'platform': 'mac'}, |
| 481 }, | 535 }, |
| 482 'mac_rel': { | 536 'mac_rel': { |
| 483 'recipe_config': 'libyuv', | 537 'recipe_config': 'libyuv', |
| 484 'chromium_config_kwargs': { | 538 'chromium_config_kwargs': { |
| 485 'BUILD_CONFIG': 'Release', | 539 'BUILD_CONFIG': 'Release', |
| 486 'TARGET_BITS': 64, | 540 'TARGET_BITS': 64, |
| 487 }, | 541 }, |
| 488 'testing': {'platform': 'mac'}, | 542 'testing': {'platform': 'mac'}, |
| 489 }, | 543 }, |
| 544 'mac_gn': { |
| 545 'recipe_config': 'libyuv', |
| 546 'chromium_apply_config': ['gn'], |
| 547 'chromium_config_kwargs': { |
| 548 'BUILD_CONFIG': 'Debug', |
| 549 'TARGET_BITS': 64, |
| 550 }, |
| 551 'testing': {'platform': 'mac'}, |
| 552 }, |
| 553 'mac_gn_rel': { |
| 554 'recipe_config': 'libyuv', |
| 555 'chromium_apply_config': ['gn'], |
| 556 'chromium_config_kwargs': { |
| 557 'BUILD_CONFIG': 'Release', |
| 558 'TARGET_BITS': 64, |
| 559 }, |
| 560 'testing': {'platform': 'mac'}, |
| 561 }, |
| 490 'mac_asan': { | 562 'mac_asan': { |
| 491 'recipe_config': 'libyuv_clang', | 563 'recipe_config': 'libyuv_clang', |
| 492 'chromium_apply_config': ['asan'], | 564 'chromium_apply_config': ['asan'], |
| 493 'chromium_config_kwargs': { | 565 'chromium_config_kwargs': { |
| 494 'BUILD_CONFIG': 'Release', | 566 'BUILD_CONFIG': 'Release', |
| 495 'TARGET_BITS': 64, | 567 'TARGET_BITS': 64, |
| 496 }, | 568 }, |
| 497 'testing': {'platform': 'mac'}, | 569 'testing': {'platform': 'mac'}, |
| 498 }, | 570 }, |
| 499 'ios': { | 571 'ios': { |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 | 834 |
| 763 # Forced builds (not specifying any revision) and test failures. | 835 # Forced builds (not specifying any revision) and test failures. |
| 764 mastername = 'client.libyuv' | 836 mastername = 'client.libyuv' |
| 765 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 837 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
| 766 suffix='_forced') | 838 suffix='_forced') |
| 767 yield generate_builder(mastername, 'Android Debug', revision=None, | 839 yield generate_builder(mastername, 'Android Debug', revision=None, |
| 768 suffix='_forced') | 840 suffix='_forced') |
| 769 | 841 |
| 770 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 842 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
| 771 suffix='_forced') | 843 suffix='_forced') |
| OLD | NEW |