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 23 matching lines...) Expand all Loading... |
34 'gn_debug_bot_minimal_symbols_x86': ['gn', 'debug_bot_minimal_symbols', 'x86
'], | 34 'gn_debug_bot_minimal_symbols_x86': ['gn', 'debug_bot_minimal_symbols', 'x86
'], |
35 'gn_debug_static_bot': ['gn', 'debug_static_bot'], | 35 'gn_debug_static_bot': ['gn', 'debug_static_bot'], |
36 'gn_linux_upload': ['gn_linux_upload'], | 36 'gn_linux_upload': ['gn_linux_upload'], |
37 'gn_release_bot': ['gn', 'release_bot'], | 37 'gn_release_bot': ['gn', 'release_bot'], |
38 'gn_release_bot_minimal_symbols': ['gn', 'release_bot_minimal_symbols'], | 38 'gn_release_bot_minimal_symbols': ['gn', 'release_bot_minimal_symbols'], |
39 'gn_release_bot_minimal_symbols_x86': ['gn', 'release_bot_minimal_symbols',
'x86'], | 39 'gn_release_bot_minimal_symbols_x86': ['gn', 'release_bot_minimal_symbols',
'x86'], |
40 'gn_release_trybot': ['gn', 'release_trybot'], | 40 'gn_release_trybot': ['gn', 'release_trybot'], |
41 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'], | 41 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'], |
42 'gyp_debug_bot': ['gyp', 'debug_bot'], | 42 'gyp_debug_bot': ['gyp', 'debug_bot'], |
43 'gyp_debug_bot_x86': ['gyp', 'debug_bot', 'x86'], | 43 'gyp_debug_bot_x86': ['gyp', 'debug_bot', 'x86'], |
44 'gyp_release_bot_arm': ['gyp', 'release_bot', 'arm'], | 44 'gyp_release_bot_arm': ['gyp', 'release_bot', 'arm', 'crosscompile'], |
45 'gyp_release_trybot': ['gyp', 'release_trybot'], | 45 'gyp_release_trybot': ['gyp', 'release_trybot'], |
46 | 46 |
47 # This is just for completeness; any bot that uses this config should never
actually run MB. | 47 # This is just for completeness; any bot that uses this config should never
actually run MB. |
48 'none': ['none'], | 48 'none': ['none'], |
49 | 49 |
50 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea
se_trybot'], | 50 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea
se_trybot'], |
51 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp',
'release_trybot'], | 51 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp',
'release_trybot'], |
52 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp
', 'release_bot'], | 52 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp
', 'release_bot'], |
53 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r
elease_trybot'], | 53 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r
elease_trybot'], |
54 'swarming_gyp_debug_bot': ['swarming', 'gyp', 'debug_bot'], | 54 'swarming_gyp_debug_bot': ['swarming', 'gyp', 'debug_bot'], |
55 'swarming_gyp_debug_bot_no_symbols_x86': ['swarming', 'gyp', 'debug_bot', 'n
o_symbols', 'x86'], | 55 'swarming_gyp_debug_bot_no_symbols_x86': ['swarming', 'gyp', 'debug_bot', 'n
o_symbols', 'x86'], |
56 'swarming_gyp_debug_trybot': ['swarming', 'gyp', 'debug_trybot'], | 56 'swarming_gyp_debug_trybot': ['swarming', 'gyp', 'debug_trybot'], |
57 'swarming_gyp_debug_trybot_x86': ['swarming', 'gyp', 'debug_trybot', 'x86'], | 57 'swarming_gyp_debug_trybot_x86': ['swarming', 'gyp', 'debug_trybot', 'x86'], |
58 'swarming_gyp_release_bot': ['swarming', 'gyp', 'release_bot'], | 58 'swarming_gyp_release_bot': ['swarming', 'gyp', 'release_bot'], |
59 'swarming_gyp_release_trybot': ['swarming', 'gyp', 'release_trybot'], | 59 'swarming_gyp_release_trybot': ['swarming', 'gyp', 'release_trybot'], |
60 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar
m'], | 60 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar
m', 'crosscompile'], |
61 'swarming_gyp_release_trybot_arm_float': ['swarming', 'gyp', 'release_trybot
', 'arm_float'], | 61 'swarming_gyp_release_trybot_arm_float': ['swarming', 'gyp', 'release_trybot
', 'arm_float', 'crosscompile'], |
62 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy
p', 'release_trybot'], | 62 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy
p', 'release_trybot'], |
63 | 63 |
64 # clang/win doesn't work with goma yet, so this can't use debug_bot: | 64 # clang/win doesn't work with goma yet, so this can't use debug_bot: |
65 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols']
, | 65 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols']
, |
66 }, | 66 }, |
67 | 67 |
68 # This is a list of configs that do not actually exist on any bot | 68 # This is a list of configs that do not actually exist on any bot |
69 # but are used so commonly by devs that we must support them. | 69 # but are used so commonly by devs that we must support them. |
70 'common_dev_configs': [ | 70 'common_dev_configs': [ |
71 'dev_gn_debug', | 71 'dev_gn_debug', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 'chromeos': { | 124 'chromeos': { |
125 'gn_args': 'target_os="chromeos"', | 125 'gn_args': 'target_os="chromeos"', |
126 'gyp_defines': 'chromeos=1', | 126 'gyp_defines': 'chromeos=1', |
127 }, | 127 }, |
128 | 128 |
129 'clang': { | 129 'clang': { |
130 'gn_args': 'is_clang=true', | 130 'gn_args': 'is_clang=true', |
131 'gyp_defines': 'clang=1', | 131 'gyp_defines': 'clang=1', |
132 }, | 132 }, |
133 | 133 |
| 134 'crosscompile': { |
| 135 # This mixin is only needed on GYP bots that are doing cross-compiles |
| 136 # but are *not* targetting Android or iOS (where build/gyp_chromium |
| 137 # will set the crosscompile variable automatically). It is not need |
| 138 # in GN at all. |
| 139 'gyp_crosscompile': True, |
| 140 }, |
| 141 |
134 'dcheck_always_on': { | 142 'dcheck_always_on': { |
135 'gn_args': 'dcheck_always_on=true', | 143 'gn_args': 'dcheck_always_on=true', |
136 'gyp_defines': 'dcheck_always_on=1', | 144 'gyp_defines': 'dcheck_always_on=1', |
137 }, | 145 }, |
138 | 146 |
139 'debug': { | 147 'debug': { |
140 'gn_args': 'is_debug=true', | 148 'gn_args': 'is_debug=true', |
141 'gyp_config': 'Debug', | 149 'gyp_config': 'Debug', |
142 }, | 150 }, |
143 | 151 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 'win8_chromium_gn_rel': 'gn_release_trybot_x86', | 405 'win8_chromium_gn_rel': 'gn_release_trybot_x86', |
398 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols', | 406 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols', |
399 'win_clang_x64_dbg': 'win_clang_debug_bot', | 407 'win_clang_x64_dbg': 'win_clang_debug_bot', |
400 }, | 408 }, |
401 'tryserver.v8': { | 409 'tryserver.v8': { |
402 'v8_linux_chromium_gn_rel': 'gn_release_trybot', | 410 'v8_linux_chromium_gn_rel': 'gn_release_trybot', |
403 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', | 411 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', |
404 }, | 412 }, |
405 }, | 413 }, |
406 } | 414 } |
OLD | NEW |