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 # Contains the bulk of the WebRTC builder configurations so they can be reused | 5 # Contains the bulk of the WebRTC builder configurations so they can be reused |
6 # from multiple recipes. | 6 # from multiple recipes. |
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({ |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 }, | 88 }, |
89 'Win64 Release': { | 89 'Win64 Release': { |
90 'recipe_config': 'webrtc', | 90 'recipe_config': 'webrtc', |
91 'chromium_config_kwargs': { | 91 'chromium_config_kwargs': { |
92 'BUILD_CONFIG': 'Release', | 92 'BUILD_CONFIG': 'Release', |
93 'TARGET_BITS': 64, | 93 'TARGET_BITS': 64, |
94 }, | 94 }, |
95 'bot_type': 'builder_tester', | 95 'bot_type': 'builder_tester', |
96 'testing': {'platform': 'win'}, | 96 'testing': {'platform': 'win'}, |
97 }, | 97 }, |
98 'Win64 Debug (GN)': { | 98 'Win64 Debug (GYP)': { |
99 'recipe_config': 'webrtc', | 99 'recipe_config': 'webrtc', |
100 'chromium_config_kwargs': { | 100 'chromium_config_kwargs': { |
101 'BUILD_CONFIG': 'Debug', | 101 'BUILD_CONFIG': 'Debug', |
102 'TARGET_BITS': 64, | 102 'TARGET_BITS': 64, |
103 }, | 103 }, |
104 'chromium_apply_config': ['webrtc_gn'], | |
105 'bot_type': 'builder', | 104 'bot_type': 'builder', |
106 'testing': {'platform': 'win'}, | 105 'testing': {'platform': 'win'}, |
107 }, | 106 }, |
108 'Win64 Release (GN)': { | 107 'Win64 Release (GYP)': { |
109 'recipe_config': 'webrtc', | 108 'recipe_config': 'webrtc', |
110 'chromium_config_kwargs': { | 109 'chromium_config_kwargs': { |
111 'BUILD_CONFIG': 'Release', | 110 'BUILD_CONFIG': 'Release', |
112 'TARGET_BITS': 64, | 111 'TARGET_BITS': 64, |
113 }, | 112 }, |
114 'chromium_apply_config': ['webrtc_gn'], | |
115 'bot_type': 'builder', | 113 'bot_type': 'builder', |
116 'testing': {'platform': 'win'}, | 114 'testing': {'platform': 'win'}, |
117 }, | 115 }, |
118 'Win32 Debug (Clang)': { | 116 'Win32 Debug (Clang)': { |
119 'recipe_config': 'webrtc_clang', | 117 'recipe_config': 'webrtc_clang', |
120 'chromium_config_kwargs': { | 118 'chromium_config_kwargs': { |
121 'BUILD_CONFIG': 'Debug', | 119 'BUILD_CONFIG': 'Debug', |
122 'TARGET_BITS': 32, | 120 'TARGET_BITS': 32, |
123 }, | 121 }, |
124 'bot_type': 'builder', | 122 'bot_type': 'builder', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 }, | 202 }, |
205 'Mac64 Release': { | 203 'Mac64 Release': { |
206 'recipe_config': 'webrtc', | 204 'recipe_config': 'webrtc', |
207 'chromium_config_kwargs': { | 205 'chromium_config_kwargs': { |
208 'BUILD_CONFIG': 'Release', | 206 'BUILD_CONFIG': 'Release', |
209 'TARGET_BITS': 64, | 207 'TARGET_BITS': 64, |
210 }, | 208 }, |
211 'bot_type': 'builder_tester', | 209 'bot_type': 'builder_tester', |
212 'testing': {'platform': 'mac'}, | 210 'testing': {'platform': 'mac'}, |
213 }, | 211 }, |
214 'Mac64 Debug (GN)': { | 212 'Mac64 Debug (GYP)': { |
215 'recipe_config': 'webrtc', | 213 'recipe_config': 'webrtc', |
216 'chromium_config_kwargs': { | 214 'chromium_config_kwargs': { |
217 'BUILD_CONFIG': 'Debug', | 215 'BUILD_CONFIG': 'Debug', |
218 'TARGET_BITS': 64, | 216 'TARGET_BITS': 64, |
219 }, | 217 }, |
220 'chromium_apply_config': ['webrtc_gn'], | |
221 'bot_type': 'builder', | 218 'bot_type': 'builder', |
222 'testing': {'platform': 'mac'}, | 219 'testing': {'platform': 'mac'}, |
223 }, | 220 }, |
224 'Mac64 Release (GN)': { | 221 'Mac64 Release (GYP)': { |
225 'recipe_config': 'webrtc', | 222 'recipe_config': 'webrtc', |
226 'chromium_config_kwargs': { | 223 'chromium_config_kwargs': { |
227 'BUILD_CONFIG': 'Release', | 224 'BUILD_CONFIG': 'Release', |
228 'TARGET_BITS': 64, | 225 'TARGET_BITS': 64, |
229 }, | 226 }, |
230 'chromium_apply_config': ['webrtc_gn'], | |
231 'bot_type': 'builder', | 227 'bot_type': 'builder', |
232 'testing': {'platform': 'mac'}, | 228 'testing': {'platform': 'mac'}, |
233 }, | 229 }, |
234 'Mac Asan': { | 230 'Mac Asan': { |
235 'recipe_config': 'webrtc_clang', | 231 'recipe_config': 'webrtc_clang', |
236 'chromium_apply_config': ['asan'], | 232 'chromium_apply_config': ['asan'], |
237 'chromium_config_kwargs': { | 233 'chromium_config_kwargs': { |
238 'BUILD_CONFIG': 'Release', | 234 'BUILD_CONFIG': 'Release', |
239 'TARGET_BITS': 64, | 235 'TARGET_BITS': 64, |
240 }, | 236 }, |
(...skipping 23 matching lines...) Expand all Loading... |
264 }, | 260 }, |
265 'Linux64 Release': { | 261 'Linux64 Release': { |
266 'recipe_config': 'webrtc', | 262 'recipe_config': 'webrtc', |
267 'chromium_config_kwargs': { | 263 'chromium_config_kwargs': { |
268 'BUILD_CONFIG': 'Release', | 264 'BUILD_CONFIG': 'Release', |
269 'TARGET_BITS': 64, | 265 'TARGET_BITS': 64, |
270 }, | 266 }, |
271 'bot_type': 'builder_tester', | 267 'bot_type': 'builder_tester', |
272 'testing': {'platform': 'linux'}, | 268 'testing': {'platform': 'linux'}, |
273 }, | 269 }, |
274 'Linux64 Debug (GN)': { | 270 'Linux64 Debug (GYP)': { |
275 'recipe_config': 'webrtc', | 271 'recipe_config': 'webrtc', |
276 'chromium_config_kwargs': { | 272 'chromium_config_kwargs': { |
277 'BUILD_CONFIG': 'Debug', | 273 'BUILD_CONFIG': 'Debug', |
278 'TARGET_BITS': 64, | 274 'TARGET_BITS': 64, |
279 }, | 275 }, |
280 'chromium_apply_config': ['webrtc_gn'], | |
281 'bot_type': 'builder', | 276 'bot_type': 'builder', |
282 'testing': {'platform': 'linux'}, | 277 'testing': {'platform': 'linux'}, |
283 }, | 278 }, |
284 'Linux64 Release (GN)': { | 279 'Linux64 Release (GYP)': { |
285 'recipe_config': 'webrtc', | 280 'recipe_config': 'webrtc', |
286 'chromium_config_kwargs': { | 281 'chromium_config_kwargs': { |
287 'BUILD_CONFIG': 'Release', | 282 'BUILD_CONFIG': 'Release', |
288 'TARGET_BITS': 64, | 283 'TARGET_BITS': 64, |
289 }, | 284 }, |
290 'chromium_apply_config': ['webrtc_gn'], | |
291 'bot_type': 'builder', | 285 'bot_type': 'builder', |
292 'testing': {'platform': 'linux'}, | 286 'testing': {'platform': 'linux'}, |
293 }, | 287 }, |
294 'Linux32 ARM': { | 288 'Linux32 ARM': { |
295 'recipe_config': 'webrtc', | 289 'recipe_config': 'webrtc', |
296 'chromium_config_kwargs': { | 290 'chromium_config_kwargs': { |
297 'BUILD_CONFIG': 'Release', | 291 'BUILD_CONFIG': 'Release', |
298 'TARGET_ARCH': 'arm', | 292 'TARGET_ARCH': 'arm', |
299 'TARGET_BITS': 32, | 293 'TARGET_BITS': 32, |
300 }, | 294 }, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 'recipe_config': 'webrtc_android_clang', | 472 'recipe_config': 'webrtc_android_clang', |
479 'chromium_config_kwargs': { | 473 'chromium_config_kwargs': { |
480 'BUILD_CONFIG': 'Debug', | 474 'BUILD_CONFIG': 'Debug', |
481 'TARGET_PLATFORM': 'android', | 475 'TARGET_PLATFORM': 'android', |
482 'TARGET_ARCH': 'arm', | 476 'TARGET_ARCH': 'arm', |
483 'TARGET_BITS': 32, | 477 'TARGET_BITS': 32, |
484 }, | 478 }, |
485 'bot_type': 'builder', | 479 'bot_type': 'builder', |
486 'testing': {'platform': 'linux'}, | 480 'testing': {'platform': 'linux'}, |
487 }, | 481 }, |
488 'Android32 GN (dbg)': { | 482 'Android32 GYP (dbg)': { |
489 'recipe_config': 'webrtc_android', | 483 'recipe_config': 'webrtc_android', |
490 'chromium_config_kwargs': { | 484 'chromium_config_kwargs': { |
491 'BUILD_CONFIG': 'Debug', | 485 'BUILD_CONFIG': 'Debug', |
492 'TARGET_PLATFORM': 'android', | 486 'TARGET_PLATFORM': 'android', |
493 'TARGET_ARCH': 'arm', | 487 'TARGET_ARCH': 'arm', |
494 'TARGET_BITS': 32, | 488 'TARGET_BITS': 32, |
495 }, | 489 }, |
496 'chromium_apply_config': ['webrtc_gn'], | |
497 'bot_type': 'builder', | 490 'bot_type': 'builder', |
498 'testing': {'platform': 'linux'}, | 491 'testing': {'platform': 'linux'}, |
499 }, | 492 }, |
500 'Android32 GN': { | 493 'Android32 GYP': { |
501 'recipe_config': 'webrtc_android', | 494 'recipe_config': 'webrtc_android', |
502 'chromium_config_kwargs': { | 495 'chromium_config_kwargs': { |
503 'BUILD_CONFIG': 'Release', | 496 'BUILD_CONFIG': 'Release', |
504 'TARGET_PLATFORM': 'android', | 497 'TARGET_PLATFORM': 'android', |
505 'TARGET_ARCH': 'arm', | 498 'TARGET_ARCH': 'arm', |
506 'TARGET_BITS': 32, | 499 'TARGET_BITS': 32, |
507 }, | 500 }, |
508 'chromium_apply_config': ['webrtc_gn'], | |
509 'bot_type': 'builder', | 501 'bot_type': 'builder', |
510 'testing': {'platform': 'linux'}, | 502 'testing': {'platform': 'linux'}, |
511 }, | 503 }, |
512 'Android32 Tests (L Nexus5)(dbg)': { | 504 'Android32 Tests (L Nexus5)(dbg)': { |
513 'recipe_config': 'webrtc_android', | 505 'recipe_config': 'webrtc_android', |
514 'chromium_config_kwargs': { | 506 'chromium_config_kwargs': { |
515 'BUILD_CONFIG': 'Debug', | 507 'BUILD_CONFIG': 'Debug', |
516 'TARGET_PLATFORM': 'android', | 508 'TARGET_PLATFORM': 'android', |
517 'TARGET_ARCH': 'arm', | 509 'TARGET_ARCH': 'arm', |
518 'TARGET_BITS': 32, | 510 'TARGET_BITS': 32, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 }, | 760 }, |
769 'win_x64_rel': { | 761 'win_x64_rel': { |
770 'recipe_config': 'webrtc', | 762 'recipe_config': 'webrtc', |
771 'chromium_config_kwargs': { | 763 'chromium_config_kwargs': { |
772 'BUILD_CONFIG': 'Release', | 764 'BUILD_CONFIG': 'Release', |
773 'TARGET_BITS': 64, | 765 'TARGET_BITS': 64, |
774 }, | 766 }, |
775 'bot_type': 'builder_tester', | 767 'bot_type': 'builder_tester', |
776 'testing': {'platform': 'win'}, | 768 'testing': {'platform': 'win'}, |
777 }, | 769 }, |
778 'win_x64_gn_dbg': { | 770 'win_x64_gyp_dbg': { |
779 'recipe_config': 'webrtc', | 771 'recipe_config': 'webrtc', |
780 'chromium_config_kwargs': { | 772 'chromium_config_kwargs': { |
781 'BUILD_CONFIG': 'Debug', | 773 'BUILD_CONFIG': 'Debug', |
782 'TARGET_BITS': 64, | 774 'TARGET_BITS': 64, |
783 }, | 775 }, |
784 'chromium_apply_config': ['webrtc_gn'], | |
785 'bot_type': 'builder', | 776 'bot_type': 'builder', |
786 'testing': {'platform': 'win'}, | 777 'testing': {'platform': 'win'}, |
787 }, | 778 }, |
788 'win_x64_gn_rel': { | 779 'win_x64_gyp_rel': { |
789 'recipe_config': 'webrtc', | 780 'recipe_config': 'webrtc', |
790 'chromium_config_kwargs': { | 781 'chromium_config_kwargs': { |
791 'BUILD_CONFIG': 'Release', | 782 'BUILD_CONFIG': 'Release', |
792 'TARGET_BITS': 64, | 783 'TARGET_BITS': 64, |
793 }, | 784 }, |
794 'chromium_apply_config': ['webrtc_gn'], | |
795 'bot_type': 'builder', | 785 'bot_type': 'builder', |
796 'testing': {'platform': 'win'}, | 786 'testing': {'platform': 'win'}, |
797 }, | 787 }, |
798 'win_clang_dbg': { | 788 'win_clang_dbg': { |
799 'recipe_config': 'webrtc_clang', | 789 'recipe_config': 'webrtc_clang', |
800 'chromium_config_kwargs': { | 790 'chromium_config_kwargs': { |
801 'BUILD_CONFIG': 'Debug', | 791 'BUILD_CONFIG': 'Debug', |
802 'TARGET_BITS': 32, | 792 'TARGET_BITS': 32, |
803 }, | 793 }, |
804 'bot_type': 'builder', | 794 'bot_type': 'builder', |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 }, | 900 }, |
911 'mac_rel': { | 901 'mac_rel': { |
912 'recipe_config': 'webrtc', | 902 'recipe_config': 'webrtc', |
913 'chromium_config_kwargs': { | 903 'chromium_config_kwargs': { |
914 'BUILD_CONFIG': 'Release', | 904 'BUILD_CONFIG': 'Release', |
915 'TARGET_BITS': 64, | 905 'TARGET_BITS': 64, |
916 }, | 906 }, |
917 'bot_type': 'builder_tester', | 907 'bot_type': 'builder_tester', |
918 'testing': {'platform': 'mac'}, | 908 'testing': {'platform': 'mac'}, |
919 }, | 909 }, |
920 'mac_gn_dbg': { | 910 'mac_gyp_dbg': { |
921 'recipe_config': 'webrtc', | 911 'recipe_config': 'webrtc', |
922 'chromium_config_kwargs': { | 912 'chromium_config_kwargs': { |
923 'BUILD_CONFIG': 'Debug', | 913 'BUILD_CONFIG': 'Debug', |
924 'TARGET_BITS': 64, | 914 'TARGET_BITS': 64, |
925 }, | 915 }, |
926 'chromium_apply_config': ['webrtc_gn'], | |
927 'bot_type': 'builder', | 916 'bot_type': 'builder', |
928 'testing': {'platform': 'mac'}, | 917 'testing': {'platform': 'mac'}, |
929 }, | 918 }, |
930 'mac_gn_rel': { | 919 'mac_gyp_rel': { |
931 'recipe_config': 'webrtc', | 920 'recipe_config': 'webrtc', |
932 'chromium_config_kwargs': { | 921 'chromium_config_kwargs': { |
933 'BUILD_CONFIG': 'Release', | 922 'BUILD_CONFIG': 'Release', |
934 'TARGET_BITS': 64, | 923 'TARGET_BITS': 64, |
935 }, | 924 }, |
936 'chromium_apply_config': ['webrtc_gn'], | |
937 'bot_type': 'builder', | 925 'bot_type': 'builder', |
938 'testing': {'platform': 'mac'}, | 926 'testing': {'platform': 'mac'}, |
939 }, | 927 }, |
940 'mac_asan': { | 928 'mac_asan': { |
941 'recipe_config': 'webrtc_clang', | 929 'recipe_config': 'webrtc_clang', |
942 'chromium_apply_config': ['asan'], | 930 'chromium_apply_config': ['asan'], |
943 'chromium_config_kwargs': { | 931 'chromium_config_kwargs': { |
944 'BUILD_CONFIG': 'Release', | 932 'BUILD_CONFIG': 'Release', |
945 'TARGET_BITS': 64, | 933 'TARGET_BITS': 64, |
946 }, | 934 }, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 }, | 984 }, |
997 'linux_rel': { | 985 'linux_rel': { |
998 'recipe_config': 'webrtc', | 986 'recipe_config': 'webrtc', |
999 'chromium_config_kwargs': { | 987 'chromium_config_kwargs': { |
1000 'BUILD_CONFIG': 'Release', | 988 'BUILD_CONFIG': 'Release', |
1001 'TARGET_BITS': 64, | 989 'TARGET_BITS': 64, |
1002 }, | 990 }, |
1003 'bot_type': 'builder_tester', | 991 'bot_type': 'builder_tester', |
1004 'testing': {'platform': 'linux'}, | 992 'testing': {'platform': 'linux'}, |
1005 }, | 993 }, |
1006 'linux_gn_dbg': { | 994 'linux_gyp_dbg': { |
1007 'recipe_config': 'webrtc', | 995 'recipe_config': 'webrtc', |
1008 'chromium_config_kwargs': { | 996 'chromium_config_kwargs': { |
1009 'BUILD_CONFIG': 'Debug', | 997 'BUILD_CONFIG': 'Debug', |
1010 'TARGET_BITS': 64, | 998 'TARGET_BITS': 64, |
1011 }, | 999 }, |
1012 'chromium_apply_config': ['webrtc_gn'], | |
1013 'bot_type': 'builder', | 1000 'bot_type': 'builder', |
1014 'testing': {'platform': 'linux'}, | 1001 'testing': {'platform': 'linux'}, |
1015 }, | 1002 }, |
1016 'linux_gn_rel': { | 1003 'linux_gyp_rel': { |
1017 'recipe_config': 'webrtc', | 1004 'recipe_config': 'webrtc', |
1018 'chromium_config_kwargs': { | 1005 'chromium_config_kwargs': { |
1019 'BUILD_CONFIG': 'Release', | 1006 'BUILD_CONFIG': 'Release', |
1020 'TARGET_BITS': 64, | 1007 'TARGET_BITS': 64, |
1021 }, | 1008 }, |
1022 'chromium_apply_config': ['webrtc_gn'], | |
1023 'bot_type': 'builder', | 1009 'bot_type': 'builder', |
1024 'testing': {'platform': 'linux'}, | 1010 'testing': {'platform': 'linux'}, |
1025 }, | 1011 }, |
1026 'linux_arm': { | 1012 'linux_arm': { |
1027 'recipe_config': 'webrtc', | 1013 'recipe_config': 'webrtc', |
1028 'chromium_config_kwargs': { | 1014 'chromium_config_kwargs': { |
1029 'BUILD_CONFIG': 'Release', | 1015 'BUILD_CONFIG': 'Release', |
1030 'TARGET_ARCH': 'arm', | 1016 'TARGET_ARCH': 'arm', |
1031 'TARGET_BITS': 32, | 1017 'TARGET_BITS': 32, |
1032 }, | 1018 }, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 'recipe_config': 'webrtc_android', | 1237 'recipe_config': 'webrtc_android', |
1252 'chromium_config_kwargs': { | 1238 'chromium_config_kwargs': { |
1253 'BUILD_CONFIG': 'Debug', | 1239 'BUILD_CONFIG': 'Debug', |
1254 'TARGET_PLATFORM': 'android', | 1240 'TARGET_PLATFORM': 'android', |
1255 'TARGET_ARCH': 'arm', | 1241 'TARGET_ARCH': 'arm', |
1256 'TARGET_BITS': 32, | 1242 'TARGET_BITS': 32, |
1257 }, | 1243 }, |
1258 'bot_type': 'builder_tester', | 1244 'bot_type': 'builder_tester', |
1259 'testing': {'platform': 'linux'}, | 1245 'testing': {'platform': 'linux'}, |
1260 }, | 1246 }, |
1261 'android_gn_dbg': { | 1247 'android_gyp_dbg': { |
1262 'recipe_config': 'webrtc_android', | 1248 'recipe_config': 'webrtc_android', |
1263 'chromium_config_kwargs': { | 1249 'chromium_config_kwargs': { |
1264 'BUILD_CONFIG': 'Debug', | 1250 'BUILD_CONFIG': 'Debug', |
1265 'TARGET_PLATFORM': 'android', | 1251 'TARGET_PLATFORM': 'android', |
1266 'TARGET_ARCH': 'arm', | 1252 'TARGET_ARCH': 'arm', |
1267 'TARGET_BITS': 32, | 1253 'TARGET_BITS': 32, |
1268 }, | 1254 }, |
1269 'chromium_apply_config': ['webrtc_gn'], | |
1270 'bot_type': 'builder', | 1255 'bot_type': 'builder', |
1271 'testing': {'platform': 'linux'}, | 1256 'testing': {'platform': 'linux'}, |
1272 }, | 1257 }, |
1273 'android_gn_rel': { | 1258 'android_gyp_rel': { |
1274 'recipe_config': 'webrtc_android', | 1259 'recipe_config': 'webrtc_android', |
1275 'chromium_config_kwargs': { | 1260 'chromium_config_kwargs': { |
1276 'BUILD_CONFIG': 'Release', | 1261 'BUILD_CONFIG': 'Release', |
1277 'TARGET_PLATFORM': 'android', | 1262 'TARGET_PLATFORM': 'android', |
1278 'TARGET_ARCH': 'arm', | 1263 'TARGET_ARCH': 'arm', |
1279 'TARGET_BITS': 32, | 1264 'TARGET_BITS': 32, |
1280 }, | 1265 }, |
1281 'chromium_apply_config': ['webrtc_gn'], | |
1282 'bot_type': 'builder', | 1266 'bot_type': 'builder', |
1283 'testing': {'platform': 'linux'}, | 1267 'testing': {'platform': 'linux'}, |
1284 }, | 1268 }, |
1285 }, | 1269 }, |
1286 }, | 1270 }, |
1287 }) | 1271 }) |
1288 | 1272 |
OLD | NEW |