kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 1 | # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | # FOR DETAILS ON THIS FILE SEE THE MAIN COPY IN //tools/mb/mb_config.pyl. |
| 10 | # This is configuration for standalone WebRTC bots. It is used to keep the bot |
| 11 | # configurations source-side instead of in the buildbot scripts. That makes it |
| 12 | # easy to try different configurations of GYP and GN in tryjob patches. |
| 13 | |
| 14 | { |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 15 | # This is a map of buildbot master names -> buildbot builder names -> |
| 16 | # config names (where each config name is a key in the 'configs' dict, |
| 17 | # above). mb uses this dict to look up which config to use for a given bot. |
| 18 | # The builders should be sorted by the order they appear in the /builders |
| 19 | # page on the buildbots, *not* alphabetically. |
| 20 | 'masters': { |
| 21 | 'client.webrtc': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 22 | # iOS |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 23 | 'iOS32 Debug': 'ios_gyp_debug_bot_arm_device', |
| 24 | 'iOS32 Release': 'ios_gyp_release_bot_arm_device', |
| 25 | 'iOS64 Debug': 'ios_gyp_debug_bot_arm64_device', |
| 26 | 'iOS64 Release': 'ios_gyp_release_bot_arm64_device', |
| 27 | 'iOS32 Debug Simulator': 'ios_gyp_debug_bot_x86', |
| 28 | 'iOS64 Debug Simulator': 'ios_gyp_debug_bot_x64', |
| 29 | 'iOS64 Debug (GN)': 'ios_gn_debug_bot_arm64_device', |
| 30 | 'iOS64 Release (GN)': 'ios_gn_release_bot_arm64_device', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 31 | |
| 32 | # Linux |
| 33 | 'Linux32 ARM': 'gyp_release_bot_arm', |
| 34 | 'Linux32 Debug': 'gyp_debug_bot_x86', |
| 35 | 'Linux32 Release': 'gyp_release_bot_x86', |
| 36 | 'Linux64 Debug': 'gyp_debug_bot_x64', |
| 37 | 'Linux64 Release': 'gyp_release_bot_x64', |
| 38 | 'Linux Asan': 'gyp_asan_lsan_clang_release_bot_x64', |
| 39 | 'Linux Memcheck': 'gyp_memcheck_release_bot_x64', |
| 40 | 'Linux MSan': 'gyp_msan_clang_release_bot_x64', |
| 41 | 'Linux Tsan v2': 'gyp_tsan_clang_release_bot_x64', |
| 42 | 'Linux UBSan': 'gyp_ubsan_clang_release_bot_x64', |
| 43 | 'Linux UBSan vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', |
| 44 | 'Linux64 Release [large tests]': 'gyp_release_bot_x64', |
| 45 | 'Linux64 Debug (GN)': 'gn_openh264_debug_bot_x64', |
| 46 | 'Linux64 Release (GN)': 'gn_openh264_release_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 47 | |
| 48 | # Android |
| 49 | 'Android32 Builder': 'android_gyp_release_bot_arm', |
| 50 | 'Android32 Builder (dbg)': 'android_gyp_debug_bot_arm', |
| 51 | 'Android32 Builder x86': 'android_gyp_release_bot_x86', |
| 52 | 'Android32 Builder x86 (dbg)': 'android_gyp_debug_bot_x86', |
| 53 | 'Android32 Builder MIPS (dbg)': 'android_gyp_clang_debug_bot_mipsel', |
| 54 | 'Android32 Clang (dbg)': 'android_gyp_clang_debug_bot_arm', |
| 55 | 'Android64 Builder': 'android_gyp_release_bot_arm64', |
| 56 | 'Android64 Builder (dbg)': 'android_gyp_debug_bot_arm64', |
| 57 | 'Android64 Builder x64 (dbg)': 'android_gyp_debug_bot_x64', |
| 58 | 'Android32 GN': 'android_gn_release_bot_arm', |
| 59 | 'Android32 GN (dbg)': 'android_gn_debug_bot_arm', |
| 60 | 'Android32 Tests (L Nexus5)(dbg)': 'none', |
| 61 | 'Android32 Tests (L Nexus5)': 'none', |
| 62 | 'Android32 Tests (L Nexus7.2)(dbg)': 'none', |
| 63 | 'Android32 Tests (L Nexus7.2)': 'none', |
| 64 | 'Android64 Tests (L Nexus9)': 'none', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 65 | }, |
| 66 | 'tryserver.webrtc': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 67 | # iOS |
| 68 | 'ios_dbg': 'ios_gyp_debug_trybot_arm_device', |
| 69 | 'ios_rel': 'ios_gyp_release_trybot_arm_device', |
| 70 | 'ios_arm64_dbg': 'ios_gyp_debug_trybot_arm64_device', |
| 71 | 'ios_arm64_rel': 'ios_gyp_release_trybot_arm64_device', |
| 72 | 'ios32_sim_dbg': 'ios_gyp_debug_trybot_x86', |
| 73 | 'ios64_sim_dbg': 'ios_gyp_debug_trybot_x64', |
| 74 | 'ios64_gn_dbg': 'ios_gn_debug_trybot_arm64_device', |
| 75 | 'ios64_gn_rel': 'ios_gn_release_trybot_arm64_device', |
| 76 | |
| 77 | # Linux |
| 78 | 'linux_compile_dbg': 'gyp_debug_trybot_x64', |
| 79 | 'linux_compile_rel': 'gyp_release_trybot_x64', |
| 80 | 'linux_dbg': 'gyp_debug_trybot_x64', |
| 81 | 'linux_rel': 'gyp_release_trybot_x64', |
| 82 | 'linux_gn_dbg': 'gn_openh264_debug_trybot_x64', |
| 83 | 'linux_gn_rel': 'gn_openh264_release_trybot_x64', |
| 84 | 'linux_arm': 'gyp_release_trybot_arm', |
| 85 | 'linux_asan': 'gyp_asan_lsan_clang_release_trybot_x64', |
| 86 | 'linux_memcheck': 'gyp_memcheck_release_trybot_x64', |
| 87 | 'linux_msan': 'gyp_msan_clang_release_trybot_x64', |
| 88 | 'linux_tsan2': 'gyp_tsan_clang_release_trybot_x64', |
| 89 | 'linux_ubsan': 'gyp_ubsan_clang_release_trybot_x64', |
ehmaldonado | 048ab2f | 2016-08-09 07:55:45 -0700 | [diff] [blame] | 90 | 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_trybot_x64', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 91 | 'linux_baremetal': 'gyp_release_trybot_x64', |
| 92 | 'linux_swarming': 'swarming_gyp_debug_trybot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 93 | |
| 94 | # Android |
| 95 | 'android_compile_dbg': 'android_gyp_debug_trybot_arm', |
| 96 | 'android_compile_rel': 'android_gyp_release_trybot_arm', |
| 97 | 'android_compile_arm64_dbg': 'android_gyp_debug_trybot_arm64', |
| 98 | 'android_compile_arm64_rel': 'android_gyp_release_trybot_arm64', |
| 99 | 'android_compile_x86_dbg': 'android_gyp_debug_trybot_x86', |
| 100 | 'android_compile_x86_rel': 'android_gyp_release_trybot_x86', |
| 101 | 'android_compile_x64_dbg': 'android_gyp_debug_trybot_x64', |
| 102 | 'android_compile_mips_dbg': 'android_gyp_clang_debug_trybot_mipsel', |
| 103 | 'android_dbg': 'android_gyp_debug_trybot_arm', |
| 104 | 'android_rel': 'android_gyp_release_trybot_arm', |
| 105 | 'android_clang_dbg': 'android_gyp_clang_debug_trybot_arm', |
| 106 | 'android_amd64_rel': 'android_gyp_release_trybot_arm64', |
| 107 | 'android_n6': 'android_gyp_debug_trybot_arm', |
| 108 | 'android_gn_dbg': 'android_gn_debug_trybot_arm', |
| 109 | 'android_gn_rel': 'android_gn_release_trybot_arm', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 110 | }, |
| 111 | }, |
| 112 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 113 | # This is the list of configs that you can pass to mb; each config |
| 114 | # represents a particular combination of GYP_DEFINES/gn args that |
| 115 | # we must support. A given config *may* be platform-specific but |
| 116 | # is not necessarily so (i.e., we might have mac, win, and linux |
| 117 | # bots all using the 'gn_release_bot' config). |
| 118 | 'configs': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 119 | # iOS |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 120 | 'ios_gn_debug_bot_arm64_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 121 | 'ios', 'gn', 'ios_debug_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 122 | ], |
| 123 | 'ios_gn_release_bot_arm64_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 124 | 'ios', 'gn', 'ios_release_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 125 | ], |
| 126 | 'ios_gyp_debug_bot_arm_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 127 | 'ios', 'gyp', 'ios_debug_bot', 'arm', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 128 | ], |
| 129 | 'ios_gyp_release_bot_arm_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 130 | 'ios', 'gyp', 'ios_release_bot', 'arm', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 131 | ], |
| 132 | 'ios_gyp_debug_bot_arm64_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 133 | 'ios', 'gyp', 'ios_debug_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 134 | ], |
| 135 | 'ios_gyp_release_bot_arm64_device': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 136 | 'ios', 'gyp', 'ios_release_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 137 | ], |
| 138 | 'ios_gyp_debug_bot_x86': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 139 | 'ios', 'gyp', 'ios_debug_bot', 'x86' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 140 | ], |
| 141 | 'ios_gyp_debug_bot_x64': [ |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 142 | 'ios', 'gyp', 'ios_release_bot', 'x64' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 143 | ], |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 144 | # iOS trybots |
| 145 | 'ios_gn_debug_trybot_arm64_device': [ |
| 146 | 'ios', 'gn', 'ios_debug_trybot', 'arm64', 'device' |
| 147 | ], |
| 148 | 'ios_gn_release_trybot_arm64_device': [ |
| 149 | 'ios', 'gn', 'ios_release_trybot', 'arm64', 'device' |
| 150 | ], |
| 151 | 'ios_gyp_debug_trybot_arm_device': [ |
| 152 | 'ios', 'gyp', 'ios_debug_trybot', 'arm', 'device' |
| 153 | ], |
| 154 | 'ios_gyp_release_trybot_arm_device': [ |
| 155 | 'ios', 'gyp', 'ios_release_trybot', 'arm', 'device' |
| 156 | ], |
| 157 | 'ios_gyp_debug_trybot_arm64_device': [ |
| 158 | 'ios', 'gyp', 'ios_debug_trybot', 'arm64', 'device' |
| 159 | ], |
| 160 | 'ios_gyp_release_trybot_arm64_device': [ |
| 161 | 'ios', 'gyp', 'ios_release_trybot', 'arm64', 'device' |
| 162 | ], |
| 163 | 'ios_gyp_debug_trybot_x86': [ |
| 164 | 'ios', 'gyp', 'ios_debug_trybot', 'x86' |
| 165 | ], |
| 166 | 'ios_gyp_debug_trybot_x64': [ |
| 167 | 'ios', 'gyp', 'ios_release_trybot', 'x64' |
| 168 | ], |
| 169 | |
| 170 | # Linux |
| 171 | 'gyp_release_bot_arm': [ |
| 172 | 'gyp', 'release_bot', 'arm' |
| 173 | ], |
| 174 | 'gyp_debug_bot_x86': [ |
| 175 | 'gyp', 'debug_bot', 'x86' |
| 176 | ], |
| 177 | 'gyp_release_bot_x86': [ |
| 178 | 'gyp', 'release_bot', 'x86' |
| 179 | ], |
| 180 | 'gyp_debug_bot_x64': [ |
| 181 | 'gyp', 'debug_bot', 'x64' |
| 182 | ], |
| 183 | 'gyp_release_bot_x64': [ |
| 184 | 'gyp', 'release_bot', 'x64' |
| 185 | ], |
| 186 | 'gyp_asan_lsan_clang_release_bot_x64': [ |
| 187 | 'gyp', 'asan', 'lsan', 'clang', 'release_bot', 'x64' |
| 188 | ], |
| 189 | 'gyp_memcheck_release_bot_x64': [ |
| 190 | 'gyp', 'memcheck', 'release_bot', 'x64' |
| 191 | ], |
| 192 | 'gyp_msan_clang_release_bot_x64': [ |
| 193 | 'gyp', 'msan', 'clang', 'release_bot', 'x64' |
| 194 | ], |
| 195 | 'gyp_tsan_clang_release_bot_x64': [ |
| 196 | 'gyp', 'tsan', 'clang', 'release_bot', 'x64' |
| 197 | ], |
| 198 | 'gyp_ubsan_clang_release_bot_x64': [ |
| 199 | 'gyp', 'ubsan', 'clang', 'release_bot', 'x64' |
| 200 | ], |
| 201 | 'gyp_ubsan_vptr_clang_release_bot_x64': [ |
| 202 | 'gyp', 'ubsan_vptr', 'clang', 'release_bot', 'x64' |
| 203 | ], |
| 204 | 'gn_openh264_debug_bot_x64': [ |
| 205 | 'gn', 'openh264', 'debug_bot', 'x64' |
| 206 | ], |
| 207 | 'gn_openh264_release_bot_x64': [ |
| 208 | 'gn', 'openh264', 'release_bot', 'x64' |
| 209 | ], |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 210 | # Linux trybot |
| 211 | 'gyp_release_trybot_arm': [ |
| 212 | 'gyp', 'release_trybot', 'arm' |
| 213 | ], |
| 214 | 'gyp_debug_trybot_x64': [ |
| 215 | 'gyp', 'debug_trybot', 'x64' |
| 216 | ], |
| 217 | 'gyp_release_trybot_x64': [ |
| 218 | 'gyp', 'release_trybot', 'x64' |
| 219 | ], |
| 220 | 'gyp_asan_lsan_clang_release_trybot_x64': [ |
| 221 | 'gyp', 'asan', 'lsan', 'clang', 'release_trybot', 'x64' |
| 222 | ], |
| 223 | 'gyp_memcheck_release_trybot_x64': [ |
| 224 | 'gyp', 'memcheck', 'release_trybot', 'x64' |
| 225 | ], |
| 226 | 'gyp_msan_clang_release_trybot_x64': [ |
| 227 | 'gyp', 'msan', 'clang', 'release_trybot', 'x64' |
| 228 | ], |
| 229 | 'gyp_tsan_clang_release_trybot_x64': [ |
| 230 | 'gyp', 'tsan', 'clang', 'release_trybot', 'x64' |
| 231 | ], |
| 232 | 'gyp_ubsan_clang_release_trybot_x64': [ |
| 233 | 'gyp', 'ubsan', 'clang', 'release_trybot', 'x64' |
| 234 | ], |
| 235 | 'gyp_ubsan_vptr_clang_release_trybot_x64': [ |
| 236 | 'gyp', 'ubsan_vptr', 'clang', 'release_trybot', 'x64' |
| 237 | ], |
| 238 | 'gn_openh264_debug_trybot_x64': [ |
| 239 | 'gn', 'openh264', 'debug_trybot', 'x64' |
| 240 | ], |
| 241 | 'gn_openh264_release_trybot_x64': [ |
| 242 | 'gn', 'openh264', 'release_trybot', 'x64' |
| 243 | ], |
| 244 | 'swarming_gyp_debug_trybot_x64': [ |
| 245 | 'swarming', 'gyp', 'debug', 'debug_trybot', 'x64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 246 | ], |
| 247 | |
| 248 | # Android |
| 249 | 'android_gyp_release_bot_arm': [ |
| 250 | 'android', 'gyp', 'release_bot', 'arm' |
| 251 | ], |
| 252 | 'android_gyp_debug_bot_arm': [ |
| 253 | 'android', 'gyp', 'debug_bot', 'arm' |
| 254 | ], |
| 255 | 'android_gyp_release_bot_x86': [ |
| 256 | 'android', 'gyp', 'release_bot', 'x86' |
| 257 | ], |
| 258 | 'android_gyp_debug_bot_x86': [ |
| 259 | 'android', 'gyp', 'debug_bot', 'x86' |
| 260 | ], |
| 261 | 'android_gyp_clang_debug_bot_mipsel': [ |
| 262 | 'android', 'gyp', 'clang', 'debug_bot', 'mipsel' |
| 263 | ], |
| 264 | 'android_gyp_clang_debug_bot_arm': [ |
| 265 | 'android', 'gyp', 'clang', 'debug_bot', 'arm' |
| 266 | ], |
| 267 | 'android_gyp_release_bot_arm64': [ |
| 268 | 'android', 'gyp', 'release_bot', 'arm64' |
| 269 | ], |
| 270 | 'android_gyp_debug_bot_arm64': [ |
| 271 | 'android', 'gyp', 'debug_bot', 'arm64' |
| 272 | ], |
| 273 | 'android_gyp_debug_bot_x64': [ |
| 274 | 'android', 'gyp', 'debug_bot', 'x64' |
| 275 | ], |
| 276 | 'android_gn_release_bot_arm': [ |
| 277 | 'android', 'gn', 'release_bot', 'arm' |
| 278 | ], |
| 279 | 'android_gn_debug_bot_arm': [ |
| 280 | 'android', 'gn', 'debug_bot', 'arm' |
| 281 | ], |
| 282 | # Android trybots |
| 283 | 'android_gyp_debug_trybot_arm': [ |
| 284 | 'android', 'gyp', 'debug_trybot', 'arm', |
| 285 | ], |
| 286 | 'android_gyp_release_trybot_arm': [ |
| 287 | 'android', 'gyp', 'release_trybot', 'arm', |
| 288 | ], |
| 289 | 'android_gyp_debug_trybot_arm64': [ |
| 290 | 'android', 'gyp', 'debug_trybot', 'arm64', |
| 291 | ], |
| 292 | 'android_gyp_release_trybot_arm64': [ |
| 293 | 'android', 'gyp', 'release_trybot', 'arm64', |
| 294 | ], |
| 295 | 'android_gyp_debug_trybot_x86': [ |
| 296 | 'android', 'gyp', 'debug_trybot', 'x86', |
| 297 | ], |
| 298 | 'android_gyp_release_trybot_x86': [ |
| 299 | 'android', 'gyp', 'release_trybot', 'x86', |
| 300 | ], |
| 301 | 'android_gyp_debug_trybot_x64': [ |
| 302 | 'android', 'gyp', 'debug_trybot', 'x64', |
| 303 | ], |
| 304 | 'android_gyp_clang_debug_trybot_mipsel': [ |
| 305 | 'android', 'gyp', 'clang', 'debug_trybot', 'mipsel', |
| 306 | ], |
| 307 | 'android_gyp_clang_debug_trybot_arm': [ |
| 308 | 'android', 'gyp', 'clang', 'debug_trybot', 'arm', |
| 309 | ], |
| 310 | 'android_gn_debug_trybot_arm': [ |
| 311 | 'android', 'gn', 'debug_trybot', 'arm', |
| 312 | ], |
| 313 | 'android_gn_release_trybot_arm': [ |
| 314 | 'android', 'gn', 'release_trybot', 'arm', |
| 315 | ], |
| 316 | |
| 317 | # This is used for tracking purposes; any bot that uses this config |
| 318 | # should never actually run MB. |
| 319 | 'none': [ |
| 320 | 'error', |
| 321 | ], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 322 | }, |
| 323 | |
| 324 | # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 325 | # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 326 | 'mixins': { |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 327 | 'android': { |
| 328 | 'gn_args': 'target_os="android"', |
| 329 | 'gyp_defines': 'OS=android', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 330 | }, |
| 331 | |
| 332 | 'arm': { |
| 333 | 'gn_args': 'target_cpu="arm"', |
| 334 | 'gyp_defines': 'target_arch=arm', |
| 335 | }, |
| 336 | |
| 337 | 'arm64': { |
| 338 | 'gn_args': 'target_cpu="arm64"', |
| 339 | 'gyp_defines': 'target_arch=arm64', |
| 340 | }, |
| 341 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 342 | 'asan': { |
| 343 | 'gn_args': 'is_asan=true', |
| 344 | 'gyp_defines': 'asan=1', |
| 345 | }, |
| 346 | |
| 347 | 'clang': { |
| 348 | 'gn_args': 'is_clang=true', |
| 349 | 'gyp_defines': 'clang=1', |
| 350 | }, |
| 351 | |
| 352 | 'dcheck_always_on': { |
| 353 | 'gn_args': 'dcheck_always_on=true', |
| 354 | 'gyp_defines': 'dcheck_always_on=1', |
| 355 | }, |
| 356 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 357 | 'debug': { |
| 358 | 'gn_args': 'is_debug=true', |
| 359 | }, |
| 360 | |
| 361 | 'debug_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 362 | 'mixins': ['debug', 'shared', 'goma'], |
| 363 | }, |
| 364 | |
| 365 | 'debug_trybot': { |
| 366 | 'mixins': ['debug_bot', 'dcheck_always_on'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 367 | }, |
| 368 | |
| 369 | 'device': { |
kjellander@webrtc.org | 0c74ae1 | 2016-02-25 08:41:10 +0100 | [diff] [blame] | 370 | 'gn_args': 'ios_enable_code_signing=false', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 371 | 'gyp_defines': 'chromium_ios_signing=0', |
| 372 | }, |
| 373 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 374 | # This mixin is used to force configs that use it to fail. It |
| 375 | # is used in two cases: when we have bots that we haven't looked |
| 376 | # at yet and don't know whether they need MB or not, and for bots |
| 377 | # that are test-only and should never run MB. |
| 378 | 'error': { |
| 379 | 'gn_args': 'error', |
| 380 | 'gyp_defines': 'target_arch=unknown', |
| 381 | }, |
| 382 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 383 | 'gn': {'type': 'gn'}, |
| 384 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 385 | 'goma': { |
| 386 | # The MB code will properly escape goma_dir if necessary in the GYP |
| 387 | # code path; the GN code path needs no escaping. |
| 388 | 'gn_args': 'use_goma=true', |
| 389 | 'gyp_defines': 'use_goma=1', |
| 390 | }, |
| 391 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 392 | 'gyp': {'type': 'gyp'}, |
| 393 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 394 | 'ios': { |
| 395 | 'gn_args': 'target_os="ios"', |
| 396 | 'gyp_defines': 'OS=ios', |
| 397 | }, |
| 398 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 399 | 'ios_debug_bot': { |
| 400 | 'mixins': ['debug', 'shared'] |
| 401 | }, |
| 402 | |
| 403 | 'ios_debug_trybot': { |
| 404 | 'mixins': ['ios_debug_bot', 'dcheck_always_on'] |
| 405 | }, |
| 406 | |
| 407 | 'ios_release_bot': { |
| 408 | 'mixins': ['release', 'static'] |
| 409 | }, |
| 410 | |
| 411 | 'ios_release_trybot': { |
| 412 | 'mixins': ['ios_release_bot', 'dcheck_always_on'] |
| 413 | }, |
| 414 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 415 | 'lsan': { |
| 416 | 'gn_args': 'is_lsan=true', |
| 417 | 'gyp_defines': 'lsan=1', |
| 418 | }, |
| 419 | |
| 420 | 'memcheck': { |
| 421 | 'gyp_defines': 'build_for_tool=memcheck', |
| 422 | }, |
| 423 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame^] | 424 | 'mipsel': { |
| 425 | 'gn_args': 'target_cpu="mipsel"', |
| 426 | 'gyp_defines': 'target_arch=mipsel', |
| 427 | }, |
| 428 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 429 | 'msan': { |
| 430 | 'gn_args': ('is_msan=true msan_track_origins=2 ' |
| 431 | 'use_prebuilt_instrumented_libraries=true'), |
| 432 | 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
| 433 | 'use_prebuilt_instrumented_libraries=1'), |
| 434 | }, |
| 435 | |
| 436 | 'tsan': { |
| 437 | 'gn_args': 'is_tsan=true', |
| 438 | 'gyp_defines': 'tsan=1', |
| 439 | }, |
| 440 | |
| 441 | 'openh264': { |
| 442 | 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true', |
| 443 | 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1', |
| 444 | }, |
| 445 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 446 | 'release': { |
| 447 | 'gn_args': 'is_debug=false', |
| 448 | }, |
| 449 | |
| 450 | 'release_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 451 | 'mixins': ['release', 'static', 'goma'], |
| 452 | }, |
| 453 | |
| 454 | 'release_trybot': { |
| 455 | 'mixins': ['release_bot', 'dcheck_always_on'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 456 | }, |
| 457 | |
| 458 | 'shared': { |
| 459 | 'gn_args': 'is_component_build=true', |
| 460 | 'gyp_defines': 'component=shared_library', |
| 461 | }, |
| 462 | |
| 463 | 'static': { |
| 464 | 'gn_args': 'is_component_build=false', |
| 465 | 'gyp_defines': 'component=static_library', |
| 466 | }, |
| 467 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 468 | 'swarming': { |
| 469 | 'gn_args': '', |
| 470 | 'gyp_defines': 'test_isolation_mode=prepare', |
| 471 | }, |
| 472 | |
| 473 | 'ubsan': { |
| 474 | 'gn_args': 'is_ubsan=true', |
| 475 | 'gyp_defines': 'ubsan=1', |
| 476 | }, |
| 477 | |
| 478 | 'ubsan_vptr': { |
| 479 | 'gn_args': 'is_ubsan_vptr=true', |
| 480 | 'gyp_defines': 'ubsan_vptr=1', |
| 481 | }, |
| 482 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 483 | 'x64': { |
| 484 | 'gn_args': 'target_cpu="x64"', |
| 485 | 'gyp_defines': 'target_arch=x64', |
| 486 | }, |
| 487 | |
| 488 | 'x86': { |
| 489 | 'gn_args': 'target_cpu="x86"', |
| 490 | 'gyp_defines': 'target_arch=ia32', |
| 491 | }, |
| 492 | }, |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 493 | } |