Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # This is the list of configs that you can pass to mb; each config | 6 # This is the list of configs that you can pass to mb; each config |
| 7 # represents a particular combination of GYP_DEFINES/gn args that | 7 # represents a particular combination of GYP_DEFINES/gn args that |
| 8 # we must support. A given config *may* be platform-specific but | 8 # we must support. A given config *may* be platform-specific but |
| 9 # is not necessarily so (i.e., we might have mac, win, and linux | 9 # is not necessarily so (i.e., we might have mac, win, and linux |
| 10 # bots all using the 'gn_release_bot' config). | 10 # bots all using the 'gn_release_bot' config). |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'], | 45 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'], |
| 46 'gyp_debug_bot': ['gyp', 'debug_bot'], | 46 'gyp_debug_bot': ['gyp', 'debug_bot'], |
| 47 'gyp_debug_bot_x86': ['gyp', 'debug_bot', 'x86'], | 47 'gyp_debug_bot_x86': ['gyp', 'debug_bot', 'x86'], |
| 48 'gyp_official_goma': ['gyp', 'official', 'goma'], | 48 'gyp_official_goma': ['gyp', 'official', 'goma'], |
| 49 'gyp_official_goma_chromeos': ['gyp', 'official', 'goma', 'chromeos'], | 49 'gyp_official_goma_chromeos': ['gyp', 'official', 'goma', 'chromeos'], |
| 50 'gyp_official_goma_x86': ['gyp', 'official', 'goma', 'x86'], | 50 'gyp_official_goma_x86': ['gyp', 'official', 'goma', 'x86'], |
| 51 'gyp_official_goma_minimal_symbols_android': ['gyp', 'official', 'goma', 'mi nimal_symbols', 'android'], | 51 'gyp_official_goma_minimal_symbols_android': ['gyp', 'official', 'goma', 'mi nimal_symbols', 'android'], |
| 52 'gyp_official_goma_minimal_symbols_android_arm64': ['gyp', 'official', 'goma ', 'minimal_symbols', 'android', 'arm64'], | 52 'gyp_official_goma_minimal_symbols_android_arm64': ['gyp', 'official', 'goma ', 'minimal_symbols', 'android', 'arm64'], |
| 53 'gyp_official_goma_minimal_symbols_x64': ['gyp', 'official', 'goma', 'minima l_symbols', 'x64'], | 53 'gyp_official_goma_minimal_symbols_x64': ['gyp', 'official', 'goma', 'minima l_symbols', 'x64'], |
| 54 'gyp_official_goma_minimal_symbols_x86': ['gyp', 'official', 'goma', 'minima l_symbols', 'x86'], | 54 'gyp_official_goma_minimal_symbols_x86': ['gyp', 'official', 'goma', 'minima l_symbols', 'x86'], |
| 55 'gyp_release_bot_arm': ['gyp', 'release_bot', 'arm', 'crosscompile'], | |
| 56 'gyp_release_trybot': ['gyp', 'release_trybot'], | 55 'gyp_release_trybot': ['gyp', 'release_trybot'], |
| 57 'gyp_release_trybot_x64': ['gyp', 'release_trybot', 'x64'], | 56 'gyp_release_trybot_x64': ['gyp', 'release_trybot', 'x64'], |
| 58 'libfuzzer_upload_bot': ['gn', 'release', 'libfuzzer', 'asan', 'proprietary_ codecs'], | 57 'libfuzzer_upload_bot': ['gn', 'release', 'libfuzzer', 'asan', 'proprietary_ codecs'], |
| 59 | 58 |
| 60 # This is just for completeness; any bot that uses this config should never actually run MB. | |
| 61 'none': ['none'], | |
| 62 | |
| 63 'noswarming_gyp_release_bot': ['noswarming', 'gyp', 'release_bot'], | 59 'noswarming_gyp_release_bot': ['noswarming', 'gyp', 'release_bot'], |
| 64 'noswarming_gyp_release_bot_linux_dump_symbols': ['noswarming', 'gyp', 'rele ase_bot', 'linux_dump_symbols'], | 60 'noswarming_gyp_release_bot_linux_dump_symbols': ['noswarming', 'gyp', 'rele ase_bot', 'linux_dump_symbols'], |
| 65 'noswarming_gyp_release_bot_mac_strip': ['noswarming', 'gyp', 'release_bot', 'mac_strip'], | 61 'noswarming_gyp_release_bot_mac_strip': ['noswarming', 'gyp', 'release_bot', 'mac_strip'], |
| 66 'noswarming_gyp_release_bot_x86_linux_dump_symbols': ['noswarming', 'gyp', ' release_bot', 'x86', 'linux_dump_symbols'], | 62 'noswarming_gyp_release_bot_x86_linux_dump_symbols': ['noswarming', 'gyp', ' release_bot', 'x86', 'linux_dump_symbols'], |
| 67 | 63 |
| 68 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea se_trybot'], | 64 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea se_trybot'], |
| 69 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp', 'release_trybot'], | 65 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp', 'release_trybot'], |
| 70 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp ', 'release_bot'], | 66 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp ', 'release_bot'], |
| 71 'swarming_gpu_tests_gn_release_trybot': ['swarming', 'gpu_tests', 'gn', 'rel ease_trybot'], | 67 'swarming_gpu_tests_gn_release_trybot': ['swarming', 'gpu_tests', 'gn', 'rel ease_trybot'], |
| 72 'swarming_gpu_tests_gyp_debug_trybot': ['swarming', 'gpu_tests', 'gyp', 'deb ug_trybot'], | 68 'swarming_gpu_tests_gyp_debug_trybot': ['swarming', 'gpu_tests', 'gyp', 'deb ug_trybot'], |
| 73 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r elease_trybot'], | 69 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r elease_trybot'], |
| 74 'swarming_gn_debug_bot': ['swarming', 'gn', 'debug_bot'], | 70 'swarming_gn_debug_bot': ['swarming', 'gn', 'debug_bot'], |
| 75 'swarming_gn_debug_trybot': ['swarming', 'gn', 'debug_trybot'], | 71 'swarming_gn_debug_trybot': ['swarming', 'gn', 'debug_trybot'], |
| 76 'swarming_gn_release_bot': ['swarming', 'gn', 'release_bot'], | 72 'swarming_gn_release_bot': ['swarming', 'gn', 'release_bot'], |
| 77 'swarming_gn_release_trybot': ['swarming', 'gn', 'release_bot'], | 73 'swarming_gn_release_trybot': ['swarming', 'gn', 'release_bot'], |
| 78 'swarming_gyp_debug_bot_no_symbols_x86': ['swarming', 'gyp', 'debug_bot', 'n o_symbols', 'x86'], | 74 'swarming_gyp_debug_bot_no_symbols_x86': ['swarming', 'gyp', 'debug_bot', 'n o_symbols', 'x86'], |
| 79 'swarming_gyp_debug_trybot_x86': ['swarming', 'gyp', 'debug_trybot', 'x86'], | 75 'swarming_gyp_debug_trybot_x86': ['swarming', 'gyp', 'debug_trybot', 'x86'], |
| 80 'swarming_gyp_release_bot': ['swarming', 'gyp', 'release_bot'], | 76 'swarming_gyp_release_bot': ['swarming', 'gyp', 'release_bot'], |
| 77 'swarming_gyp_release_bot_arm': ['swarming', 'gyp', 'release_bot', 'arm', 'c rosscompile'], | |
| 81 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar m', 'crosscompile'], | 78 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar m', 'crosscompile'], |
| 82 'swarming_gyp_release_trybot_arm_float': ['swarming', 'gyp', 'release_trybot ', 'arm_float', 'crosscompile'], | |
| 83 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy p', 'release_trybot'], | 79 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy p', 'release_trybot'], |
| 84 | 80 |
| 85 # clang/win doesn't work with goma yet, so this can't use debug_bot: | 81 # clang/win doesn't work with goma yet, so this can't use debug_bot: |
| 86 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols'] , | 82 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols'] , |
| 87 }, | 83 }, |
| 88 | 84 |
| 89 # This is a list of configs that do not actually exist on any bot | 85 # This is a list of configs that do not actually exist on any bot |
| 90 # but are used so commonly by devs that we must support them. | 86 # but are used so commonly by devs that we must support them. |
| 91 'common_dev_configs': [ | 87 'common_dev_configs': [ |
| 92 'dev_gn_debug', | 88 'dev_gn_debug', |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 120 'arm': { | 116 'arm': { |
| 121 'gn_args': 'target_cpu="arm"', | 117 'gn_args': 'target_cpu="arm"', |
| 122 'gyp_defines': 'target_arch=arm', | 118 'gyp_defines': 'target_arch=arm', |
| 123 }, | 119 }, |
| 124 | 120 |
| 125 'arm64': { | 121 'arm64': { |
| 126 'gn_args': 'target_cpu="arm64"', | 122 'gn_args': 'target_cpu="arm64"', |
| 127 'gyp_defines': 'target_arch=arm64', | 123 'gyp_defines': 'target_arch=arm64', |
| 128 }, | 124 }, |
| 129 | 125 |
| 130 'arm_float': { | |
| 131 'gn_args': 'error', | |
| 132 'gyp_defines': 'target_arch=arm arm_float_abi=hard', | |
| 133 }, | |
| 134 | |
| 135 'arm64': { | 126 'arm64': { |
| 136 'gn_args': 'target_cpu="arm64"', | 127 'gn_args': 'target_cpu="arm64"', |
| 137 'gyp_defines': 'target_arch=arm64', | 128 'gyp_defines': 'target_arch=arm64', |
| 138 }, | 129 }, |
| 139 | 130 |
| 140 'asan': { | 131 'asan': { |
| 141 'gn_args': 'is_asan=true', | 132 'gn_args': 'is_asan=true', |
| 142 'gyp_defines': 'asan=1', | 133 'gyp_defines': 'asan=1', |
| 143 }, | 134 }, |
| 144 | 135 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 'msan': { | 257 'msan': { |
| 267 'gn_args': 'use_msan=true', | 258 'gn_args': 'use_msan=true', |
| 268 'gyp_defines': 'msan=1 msan_track_origins=2 use_prebuilt_instrumented_libr aries=1', | 259 'gyp_defines': 'msan=1 msan_track_origins=2 use_prebuilt_instrumented_libr aries=1', |
| 269 }, | 260 }, |
| 270 | 261 |
| 271 'no_symbols': { | 262 'no_symbols': { |
| 272 'gn_args': 'symbol_level=0', | 263 'gn_args': 'symbol_level=0', |
| 273 'gyp_defines': 'fastbuild=2', | 264 'gyp_defines': 'fastbuild=2', |
| 274 }, | 265 }, |
| 275 | 266 |
| 276 # This config is used by bots that aren't building Chromium and should | |
| 277 # never be running MB. It is used for tracking purposes. These values | |
| 278 # were picked such that if someone did try to run MB, both GN and GYP | |
| 279 # should error out. | |
| 280 'none': { | |
| 281 'gn_args': 'error', | |
| 282 'gyp_defines': 'target_arch=unknown', | |
| 283 }, | |
|
Dirk Pranke
2015/11/21 00:38:05
actually, I'd like to leave this block in. Did the
Sam Clegg
2015/11/21 00:43:46
Yes, presubmit told me to do it.
Done.
| |
| 284 | |
| 285 'noswarming': { | 267 'noswarming': { |
| 286 'gn_args': '', | 268 'gn_args': '', |
| 287 'gyp_defines': 'test_isolation_mode=noop', | 269 'gyp_defines': 'test_isolation_mode=noop', |
| 288 }, | 270 }, |
| 289 | 271 |
| 290 'official': { | 272 'official': { |
| 291 'gn_args': 'is_chrome_branded=true is_official_build=true is_debug=false', | 273 'gn_args': 'is_chrome_branded=true is_official_build=true is_debug=false', |
| 292 'gyp_defines': 'branding=Chrome buildtype=Official', | 274 'gyp_defines': 'branding=Chrome buildtype=Official', |
| 293 }, | 275 }, |
| 294 | 276 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 438 'Android GN': 'android_gn_release_bot', | 420 'Android GN': 'android_gn_release_bot', |
| 439 'Android GN (dbg)': 'android_gn_debug_bot', | 421 'Android GN (dbg)': 'android_gn_debug_bot', |
| 440 'Linux GN': 'gn_release_bot', | 422 'Linux GN': 'gn_release_bot', |
| 441 'Linux GN (dbg)': 'gn_debug_bot' | 423 'Linux GN (dbg)': 'gn_debug_bot' |
| 442 }, | 424 }, |
| 443 'chromium.fyi': { | 425 'chromium.fyi': { |
| 444 'CrWinClang64(dbg)': 'win_clang_debug_bot', | 426 'CrWinClang64(dbg)': 'win_clang_debug_bot', |
| 445 'Libfuzzer Upload Linux': 'libfuzzer_upload_bot', | 427 'Libfuzzer Upload Linux': 'libfuzzer_upload_bot', |
| 446 'Site Isolation Linux': 'gn_release_trybot', | 428 'Site Isolation Linux': 'gn_release_trybot', |
| 447 'Site Isolation Win': 'gyp_release_trybot_x64', | 429 'Site Isolation Win': 'gyp_release_trybot_x64', |
| 448 'Linux ARM': 'gyp_release_bot_arm', | 430 'Linux ARM': 'swarming_gyp_release_bot_arm', |
| 449 }, | 431 }, |
| 450 'chromium.webrtc.fyi': { | 432 'chromium.webrtc.fyi': { |
| 451 'Android GN': 'android_gn_release_bot', | 433 'Android GN': 'android_gn_release_bot', |
| 452 'Android GN (dbg)': 'android_gn_debug_bot', | 434 'Android GN (dbg)': 'android_gn_debug_bot', |
| 453 'Linux GN': 'gn_release_bot', | 435 'Linux GN': 'gn_release_bot', |
| 454 'Linux GN (dbg)': 'gn_debug_bot', | 436 'Linux GN (dbg)': 'gn_debug_bot', |
| 455 'Mac GN': 'gn_release_bot', | 437 'Mac GN': 'gn_release_bot', |
| 456 'Mac GN (dbg)': 'gn_debug_static_bot', | 438 'Mac GN (dbg)': 'gn_debug_static_bot', |
| 457 'Win GN': 'gn_release_bot_minimal_symbols_x86', | 439 'Win GN': 'gn_release_bot_minimal_symbols_x86', |
| 458 'Win GN (dbg)': 'gn_debug_bot_minimal_symbols_x86', | 440 'Win GN (dbg)': 'gn_debug_bot_minimal_symbols_x86', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 500 'linux_chromium_dbg_ng': 'swarming_gn_debug_trybot', | 482 'linux_chromium_dbg_ng': 'swarming_gn_debug_trybot', |
| 501 'linux_chromium_trusty_dbg': 'gyp_debug_bot', | 483 'linux_chromium_trusty_dbg': 'gyp_debug_bot', |
| 502 'linux_chromium_trusty32_dbg': 'gyp_debug_bot_x86', | 484 'linux_chromium_trusty32_dbg': 'gyp_debug_bot_x86', |
| 503 'linux_chromium_gn_dbg': 'gn_debug_bot', | 485 'linux_chromium_gn_dbg': 'gn_debug_bot', |
| 504 'linux_chromium_gn_chromeos_dbg': 'chromeos_gn_debug_bot', | 486 'linux_chromium_gn_chromeos_dbg': 'chromeos_gn_debug_bot', |
| 505 'android_chromium_gn_compile_dbg': 'android_gn_debug_bot', | 487 'android_chromium_gn_compile_dbg': 'android_gn_debug_bot', |
| 506 'linux_chromium_msan_rel_ng': 'swarming_msan_gyp_release_trybot', | 488 'linux_chromium_msan_rel_ng': 'swarming_msan_gyp_release_trybot', |
| 507 'linux_chromium_tsan_rel_ng': 'swarming_tsan_gyp_release_trybot', | 489 'linux_chromium_tsan_rel_ng': 'swarming_tsan_gyp_release_trybot', |
| 508 'linux_chromium_practice_rel_ng': 'gyp_release_trybot', | 490 'linux_chromium_practice_rel_ng': 'gyp_release_trybot', |
| 509 'linux_arm_compile': 'swarming_gyp_release_trybot_arm', | 491 'linux_arm_compile': 'swarming_gyp_release_trybot_arm', |
| 510 'linux_arm': 'swarming_gyp_release_trybot_arm_float', | |
| 511 'linux_arm_tester': 'none', | |
| 512 'linux_chromium_compile_dbg_32_ng': 'swarming_gyp_debug_trybot_x86', | 492 'linux_chromium_compile_dbg_32_ng': 'swarming_gyp_debug_trybot_x86', |
| 513 'linux_chromium_dbg_32_ng': 'swarming_gyp_debug_trybot_x86', | 493 'linux_chromium_dbg_32_ng': 'swarming_gyp_debug_trybot_x86', |
| 514 'linux_chromium_archive_rel_ng': 'noswarming_gyp_release_bot_linux_dump_sy mbols', | 494 'linux_chromium_archive_rel_ng': 'noswarming_gyp_release_bot_linux_dump_sy mbols', |
| 515 'linux_chromium_clobber_rel_ng': 'gyp_release_trybot', | 495 'linux_chromium_clobber_rel_ng': 'gyp_release_trybot', |
| 516 'linux_chromium_gn_upload': 'gn_linux_upload', | 496 'linux_chromium_gn_upload': 'gn_linux_upload', |
| 517 'cast_shell_linux': 'cast_gyp_release_trybot', | 497 'cast_shell_linux': 'cast_gyp_release_trybot', |
| 518 'linux_deterministic': 'swarming_deterministic_gyp_release_bot', | 498 'linux_deterministic': 'swarming_deterministic_gyp_release_bot', |
| 519 'linux_ecs_ozone': 'embedded_gyp_debug_bot', | 499 'linux_ecs_ozone': 'embedded_gyp_debug_bot', |
| 520 }, | 500 }, |
| 521 'tryserver.chromium.mac': { | 501 'tryserver.chromium.mac': { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 557 'win8_chromium_gn_rel': 'gn_release_trybot_x86', | 537 'win8_chromium_gn_rel': 'gn_release_trybot_x86', |
| 558 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', | 538 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', |
| 559 'win_clang_x64_dbg': 'win_clang_debug_bot', | 539 'win_clang_x64_dbg': 'win_clang_debug_bot', |
| 560 }, | 540 }, |
| 561 'tryserver.v8': { | 541 'tryserver.v8': { |
| 562 'v8_linux_chromium_gn_rel': 'gn_release_trybot', | 542 'v8_linux_chromium_gn_rel': 'gn_release_trybot', |
| 563 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', | 543 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', |
| 564 }, | 544 }, |
| 565 }, | 545 }, |
| 566 } | 546 } |
| OLD | NEW |