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', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 45 | 'Linux64 Debug (GN)': 'gn_debug_bot_x64', |
| 46 | 'Linux64 Release (GN)': 'gn_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 |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 68 | 'ios_dbg': 'ios_gyp_debug_bot_arm_device', |
| 69 | 'ios_rel': 'ios_gyp_release_bot_arm_device', |
| 70 | 'ios_arm64_dbg': 'ios_gyp_debug_bot_arm64_device', |
| 71 | 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device', |
| 72 | 'ios32_sim_dbg': 'ios_gyp_debug_bot_x86', |
| 73 | 'ios64_sim_dbg': 'ios_gyp_debug_bot_x64', |
| 74 | 'ios64_gn_dbg': 'ios_gn_debug_bot_arm64_device', |
| 75 | 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 76 | |
| 77 | # Linux |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 78 | 'linux_compile_dbg': 'gyp_debug_bot_x64', |
| 79 | 'linux_compile_rel': 'gyp_release_bot_x64', |
| 80 | 'linux_dbg': 'gyp_debug_bot_x64', |
| 81 | 'linux_rel': 'gyp_release_bot_x64', |
| 82 | 'linux_gn_dbg': 'gn_debug_bot_x64', |
| 83 | 'linux_gn_rel': 'gn_release_bot_x64', |
| 84 | 'linux_arm': 'gyp_release_bot_arm', |
| 85 | 'linux_asan': 'gyp_asan_lsan_clang_release_bot_x64', |
| 86 | 'linux_memcheck': 'gyp_memcheck_release_bot_x64', |
| 87 | 'linux_msan': 'gyp_msan_clang_release_bot_x64', |
| 88 | 'linux_tsan2': 'gyp_tsan_clang_release_bot_x64', |
| 89 | 'linux_ubsan': 'gyp_ubsan_clang_release_bot_x64', |
| 90 | 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', |
| 91 | 'linux_baremetal': 'gyp_release_bot_x64', |
| 92 | 'linux_swarming': 'swarming_gyp_debug_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 93 | |
| 94 | # Android |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 95 | 'android_compile_dbg': 'android_gyp_debug_bot_arm', |
| 96 | 'android_compile_rel': 'android_gyp_release_bot_arm', |
| 97 | 'android_compile_arm64_dbg': 'android_gyp_debug_bot_arm64', |
| 98 | 'android_compile_arm64_rel': 'android_gyp_release_bot_arm64', |
| 99 | 'android_compile_x86_dbg': 'android_gyp_debug_bot_x86', |
| 100 | 'android_compile_x86_rel': 'android_gyp_release_bot_x86', |
| 101 | 'android_compile_x64_dbg': 'android_gyp_debug_bot_x64', |
| 102 | 'android_compile_mips_dbg': 'android_gyp_clang_debug_bot_mipsel', |
| 103 | 'android_dbg': 'android_gyp_debug_bot_arm', |
| 104 | 'android_rel': 'android_gyp_release_bot_arm', |
| 105 | 'android_clang_dbg': 'android_gyp_clang_debug_bot_arm', |
| 106 | 'android_amd64_rel': 'android_gyp_release_bot_arm64', |
| 107 | 'android_n6': 'android_gyp_debug_bot_arm', |
| 108 | 'android_gn_dbg': 'android_gn_debug_bot_arm', |
| 109 | 'android_gn_rel': 'android_gn_release_bot_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 | |
| 145 | # Linux |
| 146 | 'gyp_release_bot_arm': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 147 | 'gyp', 'openh264_release_bot', 'arm' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 148 | ], |
| 149 | 'gyp_debug_bot_x86': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 150 | 'gyp', 'openh264_debug_bot', 'x86' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 151 | ], |
| 152 | 'gyp_release_bot_x86': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 153 | 'gyp', 'openh264_release_bot', 'x86' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 154 | ], |
| 155 | 'gyp_debug_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 156 | 'gyp', 'openh264_debug_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 157 | ], |
| 158 | 'gyp_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 159 | 'gyp', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 160 | ], |
| 161 | 'gyp_asan_lsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 162 | 'gyp', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 163 | ], |
| 164 | 'gyp_memcheck_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 165 | 'gyp', 'memcheck', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 166 | ], |
| 167 | 'gyp_msan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 168 | 'gyp', 'msan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 169 | ], |
| 170 | 'gyp_tsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 171 | 'gyp', 'tsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 172 | ], |
| 173 | 'gyp_ubsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 174 | 'gyp', 'ubsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 175 | ], |
| 176 | 'gyp_ubsan_vptr_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 177 | 'gyp', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 178 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 179 | 'gn_debug_bot_x64': [ |
| 180 | 'gn', 'openh264_debug_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 181 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 182 | 'gn_release_bot_x64': [ |
| 183 | 'gn', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 184 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 185 | 'swarming_gyp_debug_bot_x64': [ |
| 186 | 'swarming', 'gyp', 'openh264_debug_bot', 'x64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 187 | ], |
| 188 | |
| 189 | # Android |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 190 | 'android_gyp_debug_bot_arm': [ |
| 191 | 'android', 'gyp', 'debug_bot', 'arm' |
| 192 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 193 | 'android_gyp_release_bot_arm': [ |
| 194 | 'android', 'gyp', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 195 | ], |
| 196 | 'android_gyp_debug_bot_x86': [ |
| 197 | 'android', 'gyp', 'debug_bot', 'x86' |
| 198 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 199 | 'android_gyp_release_bot_x86': [ |
| 200 | 'android', 'gyp', 'release_bot', 'x86' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 201 | ], |
| 202 | 'android_gyp_clang_debug_bot_arm': [ |
| 203 | 'android', 'gyp', 'clang', 'debug_bot', 'arm' |
| 204 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 205 | 'android_gyp_clang_debug_bot_mipsel': [ |
| 206 | 'android', 'gyp', 'clang', 'debug_bot', 'mipsel' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 207 | ], |
| 208 | 'android_gyp_debug_bot_arm64': [ |
| 209 | 'android', 'gyp', 'debug_bot', 'arm64' |
| 210 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 211 | 'android_gyp_release_bot_arm64': [ |
| 212 | 'android', 'gyp', 'release_bot', 'arm64' |
| 213 | ], |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 214 | 'android_gyp_debug_bot_x64': [ |
| 215 | 'android', 'gyp', 'debug_bot', 'x64' |
| 216 | ], |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 217 | 'android_gn_debug_bot_arm': [ |
| 218 | 'android', 'gn', 'debug_bot', 'arm' |
| 219 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 220 | 'android_gn_release_bot_arm': [ |
| 221 | 'android', 'gn', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 222 | ], |
| 223 | |
| 224 | # This is used for tracking purposes; any bot that uses this config |
| 225 | # should never actually run MB. |
| 226 | 'none': [ |
| 227 | 'error', |
| 228 | ], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 229 | }, |
| 230 | |
| 231 | # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 232 | # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 233 | 'mixins': { |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 234 | 'android': { |
| 235 | 'gn_args': 'target_os="android"', |
| 236 | 'gyp_defines': 'OS=android', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 237 | }, |
| 238 | |
| 239 | 'arm': { |
| 240 | 'gn_args': 'target_cpu="arm"', |
| 241 | 'gyp_defines': 'target_arch=arm', |
| 242 | }, |
| 243 | |
| 244 | 'arm64': { |
| 245 | 'gn_args': 'target_cpu="arm64"', |
| 246 | 'gyp_defines': 'target_arch=arm64', |
| 247 | }, |
| 248 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 249 | 'asan': { |
| 250 | 'gn_args': 'is_asan=true', |
| 251 | 'gyp_defines': 'asan=1', |
| 252 | }, |
| 253 | |
| 254 | 'clang': { |
| 255 | 'gn_args': 'is_clang=true', |
| 256 | 'gyp_defines': 'clang=1', |
| 257 | }, |
| 258 | |
| 259 | 'dcheck_always_on': { |
| 260 | 'gn_args': 'dcheck_always_on=true', |
| 261 | 'gyp_defines': 'dcheck_always_on=1', |
| 262 | }, |
| 263 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 264 | 'debug': { |
| 265 | 'gn_args': 'is_debug=true', |
| 266 | }, |
| 267 | |
| 268 | 'debug_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 269 | 'mixins': ['debug', 'shared', 'goma'], |
| 270 | }, |
| 271 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 272 | 'device': { |
kjellander@webrtc.org | 0c74ae1 | 2016-02-25 08:41:10 +0100 | [diff] [blame] | 273 | 'gn_args': 'ios_enable_code_signing=false', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 274 | 'gyp_defines': 'chromium_ios_signing=0', |
| 275 | }, |
| 276 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 277 | # This mixin is used to force configs that use it to fail. It |
| 278 | # is used in two cases: when we have bots that we haven't looked |
| 279 | # at yet and don't know whether they need MB or not, and for bots |
| 280 | # that are test-only and should never run MB. |
| 281 | 'error': { |
| 282 | 'gn_args': 'error', |
| 283 | 'gyp_defines': 'target_arch=unknown', |
| 284 | }, |
| 285 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 286 | 'gn': {'type': 'gn'}, |
| 287 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 288 | 'goma': { |
| 289 | # The MB code will properly escape goma_dir if necessary in the GYP |
| 290 | # code path; the GN code path needs no escaping. |
| 291 | 'gn_args': 'use_goma=true', |
| 292 | 'gyp_defines': 'use_goma=1', |
| 293 | }, |
| 294 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 295 | 'gyp': {'type': 'gyp'}, |
| 296 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 297 | 'ios': { |
| 298 | 'gn_args': 'target_os="ios"', |
| 299 | 'gyp_defines': 'OS=ios', |
| 300 | }, |
| 301 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 302 | 'ios_debug_bot': { |
| 303 | 'mixins': ['debug', 'shared'] |
| 304 | }, |
| 305 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 306 | 'ios_release_bot': { |
| 307 | 'mixins': ['release', 'static'] |
| 308 | }, |
| 309 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 310 | 'lsan': { |
| 311 | 'gn_args': 'is_lsan=true', |
| 312 | 'gyp_defines': 'lsan=1', |
| 313 | }, |
| 314 | |
| 315 | 'memcheck': { |
| 316 | 'gyp_defines': 'build_for_tool=memcheck', |
| 317 | }, |
| 318 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 319 | 'mipsel': { |
| 320 | 'gn_args': 'target_cpu="mipsel"', |
| 321 | 'gyp_defines': 'target_arch=mipsel', |
| 322 | }, |
| 323 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 324 | 'msan': { |
| 325 | 'gn_args': ('is_msan=true msan_track_origins=2 ' |
| 326 | 'use_prebuilt_instrumented_libraries=true'), |
| 327 | 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
| 328 | 'use_prebuilt_instrumented_libraries=1'), |
| 329 | }, |
| 330 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 331 | 'openh264': { |
| 332 | 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true', |
| 333 | 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1', |
| 334 | }, |
| 335 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 336 | 'openh264_debug_bot': { |
| 337 | 'mixins': ['openh264', 'debug_bot'], |
| 338 | }, |
| 339 | |
| 340 | 'openh264_release_bot': { |
| 341 | 'mixins': ['openh264', 'release_bot'], |
| 342 | }, |
| 343 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 344 | 'release': { |
| 345 | 'gn_args': 'is_debug=false', |
| 346 | }, |
| 347 | |
| 348 | 'release_bot': { |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 349 | 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 350 | }, |
| 351 | |
| 352 | 'shared': { |
| 353 | 'gn_args': 'is_component_build=true', |
| 354 | 'gyp_defines': 'component=shared_library', |
| 355 | }, |
| 356 | |
| 357 | 'static': { |
| 358 | 'gn_args': 'is_component_build=false', |
| 359 | 'gyp_defines': 'component=static_library', |
| 360 | }, |
| 361 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 362 | 'swarming': { |
| 363 | 'gn_args': '', |
| 364 | 'gyp_defines': 'test_isolation_mode=prepare', |
| 365 | }, |
| 366 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame^] | 367 | 'tsan': { |
| 368 | 'gn_args': 'is_tsan=true', |
| 369 | 'gyp_defines': 'tsan=1', |
| 370 | }, |
| 371 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 372 | 'ubsan': { |
| 373 | 'gn_args': 'is_ubsan=true', |
| 374 | 'gyp_defines': 'ubsan=1', |
| 375 | }, |
| 376 | |
| 377 | 'ubsan_vptr': { |
| 378 | 'gn_args': 'is_ubsan_vptr=true', |
| 379 | 'gyp_defines': 'ubsan_vptr=1', |
| 380 | }, |
| 381 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 382 | 'x64': { |
| 383 | 'gn_args': 'target_cpu="x64"', |
| 384 | 'gyp_defines': 'target_arch=x64', |
| 385 | }, |
| 386 | |
| 387 | 'x86': { |
| 388 | 'gn_args': 'target_cpu="x86"', |
| 389 | 'gyp_defines': 'target_arch=ia32', |
| 390 | }, |
| 391 | }, |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 392 | } |