Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 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 # Contains the bulk of the libyuv builder configurations to improve readability | 5 # Contains the bulk of the libyuv builder configurations to improve readability |
| 6 # of the recipe. | 6 # of the recipe. |
| 7 | 7 |
| 8 from recipe_engine.types import freeze | 8 from recipe_engine.types import freeze |
| 9 | 9 |
| 10 RECIPE_CONFIGS = freeze({ | 10 RECIPE_CONFIGS = freeze({ |
| 11 'libyuv': { | 11 'libyuv': { |
| 12 'chromium_config': 'libyuv', | 12 'chromium_config': 'libyuv', |
| 13 'gclient_config': 'libyuv', | 13 'gclient_config': 'libyuv', |
| 14 }, | 14 }, |
| 15 'libyuv_clang': { | 15 'libyuv_clang': { |
| 16 'chromium_config': 'libyuv_clang', | 16 'chromium_config': 'libyuv_clang', |
| 17 'gclient_config': 'libyuv', | 17 'gclient_config': 'libyuv', |
| 18 }, | 18 }, |
| 19 'libyuv_gcc': { | 19 'libyuv_gcc': { |
| 20 'chromium_config': 'libyuv_gcc', | 20 'chromium_config': 'libyuv_gcc', |
| 21 'gclient_config': 'libyuv', | 21 'gclient_config': 'libyuv', |
| 22 }, | 22 }, |
| 23 'libyuv_android': { | 23 'libyuv_android': { |
| 24 'chromium_config': 'libyuv_android', | 24 'chromium_config': 'libyuv_android', |
| 25 'chromium_android_config': 'libyuv', | |
| 25 'gclient_config': 'libyuv_android', | 26 'gclient_config': 'libyuv_android', |
| 26 }, | 27 }, |
| 27 'libyuv_android_clang': { | 28 'libyuv_android_clang': { |
| 28 'chromium_config': 'libyuv_android_clang', | 29 'chromium_config': 'libyuv_android_clang', |
| 30 'chromium_android_config': 'libyuv', | |
| 29 'gclient_config': 'libyuv_android', | 31 'gclient_config': 'libyuv_android', |
| 30 }, | 32 }, |
| 31 'libyuv_ios': { | 33 'libyuv_ios': { |
| 32 'chromium_config': 'libyuv_ios', | 34 'chromium_config': 'libyuv_ios', |
| 33 'gclient_config': 'libyuv_ios', | 35 'gclient_config': 'libyuv_ios', |
| 34 }, | 36 }, |
| 35 }) | 37 }) |
| 36 | 38 |
| 37 BUILDERS = freeze({ | 39 BUILDERS = freeze({ |
| 38 'client.libyuv': { | 40 'client.libyuv': { |
| 41 'settings': { | |
| 42 'build_gs_bucket': 'chromium-webrtc', | |
|
kjellander_chromium
2016/09/06 06:45:05
I think it's fine sharing our bucket since we're o
| |
| 43 }, | |
| 39 'builders': { | 44 'builders': { |
| 40 'Win32 Debug (VS2010)': { | 45 'Win32 Debug (VS2010)': { |
| 41 'recipe_config': 'libyuv', | 46 'recipe_config': 'libyuv', |
| 42 'chromium_apply_config': ['msvs2010'], | 47 'chromium_apply_config': ['msvs2010'], |
| 43 'chromium_config_kwargs': { | 48 'chromium_config_kwargs': { |
| 44 'BUILD_CONFIG': 'Debug', | 49 'BUILD_CONFIG': 'Debug', |
| 45 'TARGET_BITS': 32, | 50 'TARGET_BITS': 32, |
| 46 }, | 51 }, |
| 47 'bot_type': 'builder_tester', | 52 'bot_type': 'builder_tester', |
| 48 'testing': {'platform': 'win'}, | 53 'testing': {'platform': 'win'}, |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 435 'Android Debug': { | 440 'Android Debug': { |
| 436 'recipe_config': 'libyuv_android', | 441 'recipe_config': 'libyuv_android', |
| 437 'chromium_config_kwargs': { | 442 'chromium_config_kwargs': { |
| 438 'BUILD_CONFIG': 'Debug', | 443 'BUILD_CONFIG': 'Debug', |
| 439 'TARGET_PLATFORM': 'android', | 444 'TARGET_PLATFORM': 'android', |
| 440 'TARGET_ARCH': 'arm', | 445 'TARGET_ARCH': 'arm', |
| 441 'TARGET_BITS': 32, | 446 'TARGET_BITS': 32, |
| 442 }, | 447 }, |
| 443 'bot_type': 'builder', | 448 'bot_type': 'builder', |
| 444 'testing': {'platform': 'linux'}, | 449 'testing': {'platform': 'linux'}, |
| 450 'triggers': [ | |
| 451 'Android Tester ARM32 Debug (Nexus 5X)', | |
| 452 ], | |
| 445 }, | 453 }, |
| 446 'Android Release': { | 454 'Android Release': { |
| 447 'recipe_config': 'libyuv_android', | 455 'recipe_config': 'libyuv_android', |
| 448 'chromium_config_kwargs': { | 456 'chromium_config_kwargs': { |
| 449 'BUILD_CONFIG': 'Release', | 457 'BUILD_CONFIG': 'Release', |
| 450 'TARGET_PLATFORM': 'android', | 458 'TARGET_PLATFORM': 'android', |
| 451 'TARGET_ARCH': 'arm', | 459 'TARGET_ARCH': 'arm', |
| 452 'TARGET_BITS': 32, | 460 'TARGET_BITS': 32, |
| 453 }, | 461 }, |
| 454 'bot_type': 'builder', | 462 'bot_type': 'builder', |
| 455 'testing': {'platform': 'linux'}, | 463 'testing': {'platform': 'linux'}, |
| 464 'triggers': [ | |
| 465 'Android Tester ARM32 Release (Nexus 5X)', | |
| 466 ], | |
| 456 }, | 467 }, |
| 457 'Android ARM64 Debug': { | 468 'Android ARM64 Debug': { |
| 458 'recipe_config': 'libyuv_android', | 469 'recipe_config': 'libyuv_android', |
| 459 'chromium_config_kwargs': { | 470 'chromium_config_kwargs': { |
| 460 'BUILD_CONFIG': 'Debug', | 471 'BUILD_CONFIG': 'Debug', |
| 461 'TARGET_PLATFORM': 'android', | 472 'TARGET_PLATFORM': 'android', |
| 462 'TARGET_ARCH': 'arm', | 473 'TARGET_ARCH': 'arm', |
| 463 'TARGET_BITS': 64, | 474 'TARGET_BITS': 64, |
| 464 }, | 475 }, |
| 465 'bot_type': 'builder', | 476 'bot_type': 'builder', |
| 466 'testing': {'platform': 'linux'}, | 477 'testing': {'platform': 'linux'}, |
| 478 'triggers': [ | |
| 479 'Android Tester ARM64 Debug (Nexus 5X)', | |
| 480 ], | |
| 467 }, | 481 }, |
| 468 'Android Clang Debug': { | 482 'Android Clang Debug': { |
| 469 'recipe_config': 'libyuv_android_clang', | 483 'recipe_config': 'libyuv_android_clang', |
| 470 'chromium_config_kwargs': { | 484 'chromium_config_kwargs': { |
| 471 'BUILD_CONFIG': 'Debug', | 485 'BUILD_CONFIG': 'Debug', |
| 472 'TARGET_PLATFORM': 'android', | 486 'TARGET_PLATFORM': 'android', |
| 473 'TARGET_ARCH': 'arm', | 487 'TARGET_ARCH': 'arm', |
| 474 'TARGET_BITS': 32, | 488 'TARGET_BITS': 32, |
| 475 }, | 489 }, |
| 476 'bot_type': 'builder', | 490 'bot_type': 'builder', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 526 'chromium_apply_config': ['gn'], | 540 'chromium_apply_config': ['gn'], |
| 527 'chromium_config_kwargs': { | 541 'chromium_config_kwargs': { |
| 528 'BUILD_CONFIG': 'Release', | 542 'BUILD_CONFIG': 'Release', |
| 529 'TARGET_PLATFORM': 'android', | 543 'TARGET_PLATFORM': 'android', |
| 530 'TARGET_ARCH': 'arm', | 544 'TARGET_ARCH': 'arm', |
| 531 'TARGET_BITS': 32, | 545 'TARGET_BITS': 32, |
| 532 }, | 546 }, |
| 533 'bot_type': 'builder', | 547 'bot_type': 'builder', |
| 534 'testing': {'platform': 'linux'}, | 548 'testing': {'platform': 'linux'}, |
| 535 }, | 549 }, |
| 550 'Android Tester ARM32 Debug (Nexus 5X)': { | |
| 551 'recipe_config': 'libyuv_android', | |
| 552 'chromium_config_kwargs': { | |
| 553 'BUILD_CONFIG': 'Debug', | |
| 554 'TARGET_PLATFORM': 'android', | |
| 555 'TARGET_ARCH': 'arm', | |
| 556 'TARGET_BITS': 32, | |
| 557 }, | |
| 558 'bot_type': 'tester', | |
| 559 'parent_buildername': 'Android Debug', | |
| 560 'testing': {'platform': 'linux'}, | |
| 561 }, | |
| 562 'Android Tester ARM32 Release (Nexus 5X)': { | |
| 563 'recipe_config': 'libyuv_android', | |
| 564 'chromium_config_kwargs': { | |
| 565 'BUILD_CONFIG': 'Release', | |
| 566 'TARGET_PLATFORM': 'android', | |
| 567 'TARGET_ARCH': 'arm', | |
| 568 'TARGET_BITS': 32, | |
| 569 }, | |
| 570 'bot_type': 'tester', | |
| 571 'parent_buildername': 'Android Release', | |
| 572 'testing': {'platform': 'linux'}, | |
| 573 }, | |
| 574 'Android Tester ARM64 Debug (Nexus 5X)': { | |
| 575 'recipe_config': 'libyuv_android', | |
| 576 'chromium_config_kwargs': { | |
| 577 'BUILD_CONFIG': 'Debug', | |
| 578 'TARGET_PLATFORM': 'android', | |
| 579 'TARGET_ARCH': 'arm', | |
| 580 'TARGET_BITS': 64, | |
| 581 }, | |
| 582 'bot_type': 'tester', | |
| 583 'parent_buildername': 'Android ARM64 Debug', | |
| 584 'testing': {'platform': 'linux'}, | |
| 585 }, | |
| 536 }, | 586 }, |
| 537 }, | 587 }, |
| 538 'tryserver.libyuv': { | 588 'tryserver.libyuv': { |
| 539 'builders': { | 589 'builders': { |
| 540 'win': { | 590 'win': { |
| 541 'recipe_config': 'libyuv', | 591 'recipe_config': 'libyuv', |
| 542 'chromium_config_kwargs': { | 592 'chromium_config_kwargs': { |
| 543 'BUILD_CONFIG': 'Debug', | 593 'BUILD_CONFIG': 'Debug', |
| 544 'TARGET_BITS': 32, | 594 'TARGET_BITS': 32, |
| 545 }, | 595 }, |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 813 'testing': {'platform': 'linux'}, | 863 'testing': {'platform': 'linux'}, |
| 814 }, | 864 }, |
| 815 'android': { | 865 'android': { |
| 816 'recipe_config': 'libyuv_android', | 866 'recipe_config': 'libyuv_android', |
| 817 'chromium_config_kwargs': { | 867 'chromium_config_kwargs': { |
| 818 'BUILD_CONFIG': 'Debug', | 868 'BUILD_CONFIG': 'Debug', |
| 819 'TARGET_PLATFORM': 'android', | 869 'TARGET_PLATFORM': 'android', |
| 820 'TARGET_ARCH': 'arm', | 870 'TARGET_ARCH': 'arm', |
| 821 'TARGET_BITS': 32, | 871 'TARGET_BITS': 32, |
| 822 }, | 872 }, |
| 823 'bot_type': 'builder', | 873 'bot_type': 'builder_tester', |
| 824 'testing': {'platform': 'linux'}, | 874 'testing': {'platform': 'linux'}, |
| 825 }, | 875 }, |
| 826 'android_rel': { | 876 'android_rel': { |
| 827 'recipe_config': 'libyuv_android', | 877 'recipe_config': 'libyuv_android', |
| 828 'chromium_config_kwargs': { | 878 'chromium_config_kwargs': { |
| 829 'BUILD_CONFIG': 'Release', | 879 'BUILD_CONFIG': 'Release', |
| 830 'TARGET_PLATFORM': 'android', | 880 'TARGET_PLATFORM': 'android', |
| 831 'TARGET_ARCH': 'arm', | 881 'TARGET_ARCH': 'arm', |
| 832 'TARGET_BITS': 32, | 882 'TARGET_BITS': 32, |
| 833 }, | 883 }, |
| 834 'bot_type': 'builder', | 884 'bot_type': 'builder_tester', |
| 835 'testing': {'platform': 'linux'}, | 885 'testing': {'platform': 'linux'}, |
| 836 }, | 886 }, |
| 837 'android_clang': { | 887 'android_clang': { |
| 838 'recipe_config': 'libyuv_android_clang', | 888 'recipe_config': 'libyuv_android_clang', |
| 839 'chromium_config_kwargs': { | 889 'chromium_config_kwargs': { |
| 840 'BUILD_CONFIG': 'Debug', | 890 'BUILD_CONFIG': 'Debug', |
| 841 'TARGET_PLATFORM': 'android', | 891 'TARGET_PLATFORM': 'android', |
| 842 'TARGET_ARCH': 'arm', | 892 'TARGET_ARCH': 'arm', |
| 843 'TARGET_BITS': 32, | 893 'TARGET_BITS': 32, |
| 844 }, | 894 }, |
| 845 'bot_type': 'builder', | 895 'bot_type': 'builder', |
| 846 'testing': {'platform': 'linux'}, | 896 'testing': {'platform': 'linux'}, |
| 847 }, | 897 }, |
| 848 'android_arm64': { | 898 'android_arm64': { |
| 849 'recipe_config': 'libyuv_android', | 899 'recipe_config': 'libyuv_android', |
| 850 'chromium_config_kwargs': { | 900 'chromium_config_kwargs': { |
| 851 'BUILD_CONFIG': 'Debug', | 901 'BUILD_CONFIG': 'Debug', |
| 852 'TARGET_PLATFORM': 'android', | 902 'TARGET_PLATFORM': 'android', |
| 853 'TARGET_ARCH': 'arm', | 903 'TARGET_ARCH': 'arm', |
| 854 'TARGET_BITS': 64, | 904 'TARGET_BITS': 64, |
| 855 }, | 905 }, |
| 856 'bot_type': 'builder', | 906 'bot_type': 'builder_tester', |
| 857 'testing': {'platform': 'linux'}, | 907 'testing': {'platform': 'linux'}, |
| 858 }, | 908 }, |
| 859 'android_x86': { | 909 'android_x86': { |
| 860 'recipe_config': 'libyuv_android', | 910 'recipe_config': 'libyuv_android', |
| 861 'chromium_config_kwargs': { | 911 'chromium_config_kwargs': { |
| 862 'BUILD_CONFIG': 'Debug', | 912 'BUILD_CONFIG': 'Debug', |
| 863 'TARGET_PLATFORM': 'android', | 913 'TARGET_PLATFORM': 'android', |
| 864 'TARGET_ARCH': 'intel', | 914 'TARGET_ARCH': 'intel', |
| 865 'TARGET_BITS': 32, | 915 'TARGET_BITS': 32, |
| 866 }, | 916 }, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 909 'TARGET_PLATFORM': 'android', | 959 'TARGET_PLATFORM': 'android', |
| 910 'TARGET_ARCH': 'arm', | 960 'TARGET_ARCH': 'arm', |
| 911 'TARGET_BITS': 32, | 961 'TARGET_BITS': 32, |
| 912 }, | 962 }, |
| 913 'bot_type': 'builder', | 963 'bot_type': 'builder', |
| 914 'testing': {'platform': 'linux'}, | 964 'testing': {'platform': 'linux'}, |
| 915 }, | 965 }, |
| 916 }, | 966 }, |
| 917 }, | 967 }, |
| 918 }) | 968 }) |
| OLD | NEW |