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-libyuv', |
| 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': { |
| 589 'settings': { |
| 590 'build_gs_bucket': 'chromium-libyuv', |
| 591 }, |
539 'builders': { | 592 'builders': { |
540 'win': { | 593 'win': { |
541 'recipe_config': 'libyuv', | 594 'recipe_config': 'libyuv', |
542 'chromium_config_kwargs': { | 595 'chromium_config_kwargs': { |
543 'BUILD_CONFIG': 'Debug', | 596 'BUILD_CONFIG': 'Debug', |
544 'TARGET_BITS': 32, | 597 'TARGET_BITS': 32, |
545 }, | 598 }, |
546 'bot_type': 'builder_tester', | 599 'bot_type': 'builder_tester', |
547 'testing': {'platform': 'win'}, | 600 'testing': {'platform': 'win'}, |
548 }, | 601 }, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 'testing': {'platform': 'linux'}, | 866 'testing': {'platform': 'linux'}, |
814 }, | 867 }, |
815 'android': { | 868 'android': { |
816 'recipe_config': 'libyuv_android', | 869 'recipe_config': 'libyuv_android', |
817 'chromium_config_kwargs': { | 870 'chromium_config_kwargs': { |
818 'BUILD_CONFIG': 'Debug', | 871 'BUILD_CONFIG': 'Debug', |
819 'TARGET_PLATFORM': 'android', | 872 'TARGET_PLATFORM': 'android', |
820 'TARGET_ARCH': 'arm', | 873 'TARGET_ARCH': 'arm', |
821 'TARGET_BITS': 32, | 874 'TARGET_BITS': 32, |
822 }, | 875 }, |
823 'bot_type': 'builder', | 876 'bot_type': 'builder_tester', |
824 'testing': {'platform': 'linux'}, | 877 'testing': {'platform': 'linux'}, |
825 }, | 878 }, |
826 'android_rel': { | 879 'android_rel': { |
827 'recipe_config': 'libyuv_android', | 880 'recipe_config': 'libyuv_android', |
828 'chromium_config_kwargs': { | 881 'chromium_config_kwargs': { |
829 'BUILD_CONFIG': 'Release', | 882 'BUILD_CONFIG': 'Release', |
830 'TARGET_PLATFORM': 'android', | 883 'TARGET_PLATFORM': 'android', |
831 'TARGET_ARCH': 'arm', | 884 'TARGET_ARCH': 'arm', |
832 'TARGET_BITS': 32, | 885 'TARGET_BITS': 32, |
833 }, | 886 }, |
834 'bot_type': 'builder', | 887 'bot_type': 'builder_tester', |
835 'testing': {'platform': 'linux'}, | 888 'testing': {'platform': 'linux'}, |
836 }, | 889 }, |
837 'android_clang': { | 890 'android_clang': { |
838 'recipe_config': 'libyuv_android_clang', | 891 'recipe_config': 'libyuv_android_clang', |
839 'chromium_config_kwargs': { | 892 'chromium_config_kwargs': { |
840 'BUILD_CONFIG': 'Debug', | 893 'BUILD_CONFIG': 'Debug', |
841 'TARGET_PLATFORM': 'android', | 894 'TARGET_PLATFORM': 'android', |
842 'TARGET_ARCH': 'arm', | 895 'TARGET_ARCH': 'arm', |
843 'TARGET_BITS': 32, | 896 'TARGET_BITS': 32, |
844 }, | 897 }, |
845 'bot_type': 'builder', | 898 'bot_type': 'builder', |
846 'testing': {'platform': 'linux'}, | 899 'testing': {'platform': 'linux'}, |
847 }, | 900 }, |
848 'android_arm64': { | 901 'android_arm64': { |
849 'recipe_config': 'libyuv_android', | 902 'recipe_config': 'libyuv_android', |
850 'chromium_config_kwargs': { | 903 'chromium_config_kwargs': { |
851 'BUILD_CONFIG': 'Debug', | 904 'BUILD_CONFIG': 'Debug', |
852 'TARGET_PLATFORM': 'android', | 905 'TARGET_PLATFORM': 'android', |
853 'TARGET_ARCH': 'arm', | 906 'TARGET_ARCH': 'arm', |
854 'TARGET_BITS': 64, | 907 'TARGET_BITS': 64, |
855 }, | 908 }, |
856 'bot_type': 'builder', | 909 'bot_type': 'builder_tester', |
857 'testing': {'platform': 'linux'}, | 910 'testing': {'platform': 'linux'}, |
858 }, | 911 }, |
859 'android_x86': { | 912 'android_x86': { |
860 'recipe_config': 'libyuv_android', | 913 'recipe_config': 'libyuv_android', |
861 'chromium_config_kwargs': { | 914 'chromium_config_kwargs': { |
862 'BUILD_CONFIG': 'Debug', | 915 'BUILD_CONFIG': 'Debug', |
863 'TARGET_PLATFORM': 'android', | 916 'TARGET_PLATFORM': 'android', |
864 'TARGET_ARCH': 'intel', | 917 'TARGET_ARCH': 'intel', |
865 'TARGET_BITS': 32, | 918 'TARGET_BITS': 32, |
866 }, | 919 }, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 'TARGET_PLATFORM': 'android', | 962 'TARGET_PLATFORM': 'android', |
910 'TARGET_ARCH': 'arm', | 963 'TARGET_ARCH': 'arm', |
911 'TARGET_BITS': 32, | 964 'TARGET_BITS': 32, |
912 }, | 965 }, |
913 'bot_type': 'builder', | 966 'bot_type': 'builder', |
914 'testing': {'platform': 'linux'}, | 967 'testing': {'platform': 'linux'}, |
915 }, | 968 }, |
916 }, | 969 }, |
917 }, | 970 }, |
918 }) | 971 }) |
OLD | NEW |