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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 'swarming_gyp_release_bot_arm': ['swarming', 'gyp', 'release_bot', 'arm', 'c rosscompile'], | 127 'swarming_gyp_release_bot_arm': ['swarming', 'gyp', 'release_bot', 'arm', 'c rosscompile'], |
| 128 'swarming_gyp_release_bot_minimal_symbols_x64': ['swarming', 'gyp', 'release _bot_minimal_symbols', 'x64'], | 128 'swarming_gyp_release_bot_minimal_symbols_x64': ['swarming', 'gyp', 'release _bot_minimal_symbols', 'x64'], |
| 129 'swarming_gyp_release_bot_minimal_symbols_x86': ['swarming', 'gyp', 'release _bot_minimal_symbols', 'x86'], | 129 'swarming_gyp_release_bot_minimal_symbols_x86': ['swarming', 'gyp', 'release _bot_minimal_symbols', 'x86'], |
| 130 'swarming_gyp_release_bot_x64': ['swarming', 'gyp', 'release_bot', 'x64'], | 130 'swarming_gyp_release_bot_x64': ['swarming', 'gyp', 'release_bot', 'x64'], |
| 131 'swarming_gyp_release_bot_x86': ['swarming', 'gyp', 'release_bot', 'x86'], | 131 'swarming_gyp_release_bot_x86': ['swarming', 'gyp', 'release_bot', 'x86'], |
| 132 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar m', 'crosscompile'], | 132 'swarming_gyp_release_trybot_arm': ['swarming', 'gyp', 'release_trybot', 'ar m', 'crosscompile'], |
| 133 'swarming_gyp_release_trybot_minimal_symbols_x64': ['swarming', 'gyp', 'rele ase_trybot', 'minimal_symbols', 'x64'], | 133 'swarming_gyp_release_trybot_minimal_symbols_x64': ['swarming', 'gyp', 'rele ase_trybot', 'minimal_symbols', 'x64'], |
| 134 'swarming_gyp_release_trybot_minimal_symbols_x86': ['swarming', 'gyp', 'rele ase_trybot', 'minimal_symbols', 'x86'], | 134 'swarming_gyp_release_trybot_minimal_symbols_x86': ['swarming', 'gyp', 'rele ase_trybot', 'minimal_symbols', 'x86'], |
| 135 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy p', 'release_trybot'], | 135 'swarming_tsan_gyp_release_trybot': ['swarming', 'disable_nacl', 'tsan', 'gy p', 'release_trybot'], |
| 136 | 136 |
| 137 # WebRTC Chromium bots that build with proprietary codecs enabled. These | |
|
kjellander_chromium
2016/02/02 13:30:38
There's a bit of duplication here compared with th
| |
| 138 # configs should be kept in sync with the counterparts without the "webrtc_" | |
| 139 # prefix. | |
| 140 'webrtc_android_gn_debug_bot': ['android', 'gn', 'debug_bot', 'chrome_with_c odecs'], | |
|
Dirk Pranke
2016/02/02 22:07:48
I would name this 'android_gn_debug_bot_chrome_wit
kjellander_chromium
2016/02/04 12:23:09
Done.
| |
| 141 'webrtc_android_gn_release_bot': ['android', 'gn', 'release_bot', 'chrome_wi th_codecs'], | |
| 142 'webrtc_gn_debug_bot_minimal_symbols': ['gn', 'debug_bot_minimal_symbols', ' chrome_with_codecs'], | |
| 143 'webrtc_gn_debug_static_bot': ['gn', 'debug_static_bot', 'chrome_with_codecs '], | |
| 144 'webrtc_gn_release_bot': ['gn', 'release_bot', 'chrome_with_codecs'], | |
| 145 'webrtc_gn_release_bot_minimal_symbols': ['gn', 'release_bot_minimal_symbols ', 'chrome_with_codecs'], | |
| 146 | |
| 137 # This indicates that we haven't yet set up this bot w/ MB. This is | 147 # This indicates that we haven't yet set up this bot w/ MB. This is |
| 138 # different from 'none' in that a bot set to 'none' should never do | 148 # different from 'none' in that a bot set to 'none' should never do |
| 139 # compiles; a bot set to 'tbd' should do compiles but we haven't | 149 # compiles; a bot set to 'tbd' should do compiles but we haven't |
| 140 # added the entries yet. | 150 # added the entries yet. |
| 141 # 'tbd': ['none'], | 151 # 'tbd': ['none'], |
| 142 | 152 |
| 143 # clang/win doesn't work with goma yet, so this can't use debug_bot: | 153 # clang/win doesn't work with goma yet, so this can't use debug_bot: |
| 144 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols'] , | 154 'win_clang_debug_bot': ['gn', 'clang', 'debug', 'shared', 'minimal_symbols'] , |
| 145 }, | 155 }, |
| 146 | 156 |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 168 ], | 178 ], |
| 169 | 179 |
| 170 # This is a dict mapping a given 'mixin' name to a dict of settings that | 180 # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 171 # mb should use. See //tools/mb/docs/user_guide.md for more information. | 181 # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 172 'mixins': { | 182 'mixins': { |
| 173 'android': { | 183 'android': { |
| 174 'gn_args': 'target_os="android"', | 184 'gn_args': 'target_os="android"', |
| 175 'gyp_defines': 'OS=android', | 185 'gyp_defines': 'OS=android', |
| 176 }, | 186 }, |
| 177 | 187 |
| 188 'archive_gpu_tests': { | |
| 189 # archive_gpu_tests=true is not needed in GN builds. | |
| 190 'gyp_defines': 'archive_gpu_tests=1', | |
| 191 }, | |
| 192 | |
| 178 'arm': { | 193 'arm': { |
| 179 'gn_args': 'target_cpu="arm"', | 194 'gn_args': 'target_cpu="arm"', |
| 180 'gyp_defines': 'target_arch=arm', | 195 'gyp_defines': 'target_arch=arm', |
| 181 }, | 196 }, |
| 182 | 197 |
| 183 'arm64': { | 198 'arm64': { |
| 184 'gn_args': 'target_cpu="arm64"', | 199 'gn_args': 'target_cpu="arm64"', |
| 185 'gyp_defines': 'target_arch=arm64', | 200 'gyp_defines': 'target_arch=arm64', |
| 186 }, | 201 }, |
| 187 | 202 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 198 'cast': { | 213 'cast': { |
| 199 'gn_args': 'is_chromecast=true', | 214 'gn_args': 'is_chromecast=true', |
| 200 'gyp_defines': 'chromecast=1', | 215 'gyp_defines': 'chromecast=1', |
| 201 }, | 216 }, |
| 202 | 217 |
| 203 'cfi': { | 218 'cfi': { |
| 204 'gn_args': 'is_cfi=true', | 219 'gn_args': 'is_cfi=true', |
| 205 'gyp_defines': 'cfi_vptr=1', | 220 'gyp_defines': 'cfi_vptr=1', |
| 206 }, | 221 }, |
| 207 | 222 |
| 223 'chrome_with_codecs': { | |
| 224 'gn_args': 'ffmpeg_branding="Chrome" proprietary_codecs=true', | |
| 225 'gyp_defines': 'ffmpeg_branding=Chrome proprietary_codecs=1', | |
| 226 }, | |
| 227 | |
| 208 'chromeos': { | 228 'chromeos': { |
| 209 'gn_args': 'target_os="chromeos"', | 229 'gn_args': 'target_os="chromeos"', |
| 210 'gyp_defines': 'chromeos=1', | 230 'gyp_defines': 'chromeos=1', |
| 211 }, | 231 }, |
| 212 | 232 |
| 213 'clang': { | 233 'clang': { |
| 214 'gn_args': 'is_clang=true', | 234 'gn_args': 'is_clang=true', |
| 215 'gyp_defines': 'clang=1', | 235 'gyp_defines': 'clang=1', |
| 216 }, | 236 }, |
| 217 | 237 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 281 'gn': {'type': 'gn'}, | 301 'gn': {'type': 'gn'}, |
| 282 | 302 |
| 283 'goma': { | 303 'goma': { |
| 284 # The MB code will properly escape goma_dir if necessary in the GYP | 304 # The MB code will properly escape goma_dir if necessary in the GYP |
| 285 # code path; the GN code path needs no escaping. | 305 # code path; the GN code path needs no escaping. |
| 286 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"', | 306 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"', |
| 287 'gyp_defines': 'use_goma=1 gomadir=$(goma_dir)', | 307 'gyp_defines': 'use_goma=1 gomadir=$(goma_dir)', |
| 288 }, | 308 }, |
| 289 | 309 |
| 290 'gpu_tests': { | 310 'gpu_tests': { |
| 291 # archive_gpu_tests=true is not needed in GN builds. | 311 'mixins': ['archive_gpu_tests', 'chrome_with_codecs'], |
|
kjellander_chromium
2016/02/02 13:30:38
I assume this is how it worked. I don't indent to
Dirk Pranke
2016/02/02 22:07:48
Yup, that's how this works.
| |
| 292 'gn_args': 'ffmpeg_branding="Chrome" proprietary_codecs=true', | |
| 293 'gyp_defines': 'archive_gpu_tests=1 ffmpeg_branding=Chrome proprietary_cod ecs=1', | |
| 294 }, | 312 }, |
| 295 | 313 |
| 296 'gyp': {'type': 'gyp'}, | 314 'gyp': {'type': 'gyp'}, |
| 297 | 315 |
| 298 'internal_gles2_conform_tests': { | 316 'internal_gles2_conform_tests': { |
| 299 'gn_args': 'internal_gles2_conform_tests=true', | 317 'gn_args': 'internal_gles2_conform_tests=true', |
| 300 'gyp_defines': 'internal_gles2_conform_tests=1', | 318 'gyp_defines': 'internal_gles2_conform_tests=1', |
| 301 }, | 319 }, |
| 302 | 320 |
| 303 'libfuzzer': { 'gn_args': 'use_libfuzzer=true' }, | 321 'libfuzzer': { 'gn_args': 'use_libfuzzer=true' }, |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 591 'GPU Linux Builder (dbg)': 'swarming_gpu_fyi_tests_gn_debug_bot', | 609 'GPU Linux Builder (dbg)': 'swarming_gpu_fyi_tests_gn_debug_bot', |
| 592 'Linux Release (NVIDIA)': 'none', | 610 'Linux Release (NVIDIA)': 'none', |
| 593 'Linux Debug (NVIDIA)': 'none', | 611 'Linux Debug (NVIDIA)': 'none', |
| 594 'Linux Release (Intel)': 'none', | 612 'Linux Release (Intel)': 'none', |
| 595 'Linux Release (Intel Graphics Stack)': 'none', | 613 'Linux Release (Intel Graphics Stack)': 'none', |
| 596 'Linux Release (ATI)': 'none', | 614 'Linux Release (ATI)': 'none', |
| 597 'Linux Debug (NVIDIA)': 'none', | 615 'Linux Debug (NVIDIA)': 'none', |
| 598 'Linux Release dEQP (NVIDIA)': 'none', | 616 'Linux Release dEQP (NVIDIA)': 'none', |
| 599 }, | 617 }, |
| 600 'chromium.webrtc.fyi': { | 618 'chromium.webrtc.fyi': { |
| 601 'Android GN': 'android_gn_release_bot', | 619 'Android GN': 'webrtc_android_gn_release_bot', |
| 602 'Android GN (dbg)': 'android_gn_debug_bot', | 620 'Android GN (dbg)': 'webrtc_android_gn_debug_bot', |
| 603 'Linux Builder': 'gn_release_bot', | 621 'Linux Builder': 'webrtc_gn_release_bot', |
| 604 'Mac GN': 'gn_release_bot', | 622 'Mac GN': 'webrtc_gn_release_bot', |
| 605 'Mac GN (dbg)': 'gn_debug_static_bot', | 623 'Mac GN (dbg)': 'webrtc_gn_debug_static_bot', |
| 606 'Win x64 GN': 'gn_release_bot_minimal_symbols', | 624 'Win x64 GN': 'webrtc_gn_release_bot_minimal_symbols', |
| 607 'Win x64 GN (dbg)': 'gn_debug_bot_minimal_symbols', | 625 'Win x64 GN (dbg)': 'webrtc_gn_debug_bot_minimal_symbols', |
| 608 }, | 626 }, |
| 609 'client.skia': { | 627 'client.skia': { |
| 610 'Linux Builder': 'swarming_gn_release_bot', | 628 'Linux Builder': 'swarming_gn_release_bot', |
| 611 'Linux Builder-Trybot': 'swarming_gn_release_bot', | 629 'Linux Builder-Trybot': 'swarming_gn_release_bot', |
| 612 'Linux Tests': 'swarming_gn_release_bot', | 630 'Linux Tests': 'swarming_gn_release_bot', |
| 613 }, | 631 }, |
| 614 'client.v8.fyi': { | 632 'client.v8.fyi': { |
| 615 'Linux Debug Builder': 'gn_debug_bot', | 633 'Linux Debug Builder': 'gn_debug_bot', |
| 616 'V8 Linux GN': 'gn_release_bot', | 634 'V8 Linux GN': 'gn_release_bot', |
| 617 'V8 Android GN (dbg)': 'android_gn_debug_bot', | 635 'V8 Android GN (dbg)': 'android_gn_debug_bot', |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 729 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', | 747 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', |
| 730 'win_clang_x64_dbg': 'win_clang_debug_bot', | 748 'win_clang_x64_dbg': 'win_clang_debug_bot', |
| 731 }, | 749 }, |
| 732 'tryserver.v8': { | 750 'tryserver.v8': { |
| 733 'v8_linux_chromium_gn_rel': 'gn_release_trybot', | 751 'v8_linux_chromium_gn_rel': 'gn_release_trybot', |
| 734 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', | 752 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', |
| 735 'v8_linux_blink_rel': 'swarming_gn_release_trybot_minimal_symbols_x64', | 753 'v8_linux_blink_rel': 'swarming_gn_release_trybot_minimal_symbols_x64', |
| 736 }, | 754 }, |
| 737 }, | 755 }, |
| 738 } | 756 } |
| OLD | NEW |