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 |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 23 | 'iOS32 Debug': 'ios_gyp_debug_static_bot_arm_device', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 24 | 'iOS32 Release': 'ios_gyp_release_bot_arm_device', |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 25 | 'iOS64 Debug': 'ios_gyp_debug_static_bot_arm64_device', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 26 | 'iOS64 Release': 'ios_gyp_release_bot_arm64_device', |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 27 | 'iOS32 Debug Simulator': 'ios_gyp_debug_static_bot_x86', |
| 28 | 'iOS64 Debug Simulator': 'ios_gyp_debug_static_bot_x64', |
| 29 | 'iOS64 Debug (GN)': 'ios_gn_debug_static_bot_arm64_device', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 30 | 'iOS64 Release (GN)': 'ios_gn_release_bot_arm64_device', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 31 | |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 32 | # Mac |
| 33 | 'Mac64 Debug': 'gyp_debug_bot_x64', |
| 34 | 'Mac64 Release': 'gyp_release_bot_x64', |
| 35 | 'Mac64 Debug (GN)': 'gn_debug_bot_x64', |
| 36 | 'Mac64 Release (GN)': 'gn_release_bot_x64', |
| 37 | 'Mac Asan': 'mac_gyp_asan_clang_release_bot_x64', |
| 38 | 'Mac64 Release [large tests]': 'gyp_release_bot_x64', |
| 39 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 40 | # Linux |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 41 | 'Linux32 ARM': 'gyp_crosscompile_release_bot_arm', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 42 | 'Linux32 Debug': 'gyp_debug_bot_x86', |
| 43 | 'Linux32 Release': 'gyp_release_bot_x86', |
| 44 | 'Linux64 Debug': 'gyp_debug_bot_x64', |
| 45 | 'Linux64 Release': 'gyp_release_bot_x64', |
| 46 | 'Linux Asan': 'gyp_asan_lsan_clang_release_bot_x64', |
| 47 | 'Linux Memcheck': 'gyp_memcheck_release_bot_x64', |
| 48 | 'Linux MSan': 'gyp_msan_clang_release_bot_x64', |
| 49 | 'Linux Tsan v2': 'gyp_tsan_clang_release_bot_x64', |
| 50 | 'Linux UBSan': 'gyp_ubsan_clang_release_bot_x64', |
| 51 | 'Linux UBSan vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', |
| 52 | 'Linux64 Release [large tests]': 'gyp_release_bot_x64', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 53 | 'Linux64 Debug (GN)': 'gn_debug_bot_x64', |
| 54 | 'Linux64 Release (GN)': 'gn_release_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 55 | |
| 56 | # Android |
| 57 | 'Android32 Builder': 'android_gyp_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 58 | 'Android32 Builder (dbg)': 'android_gyp_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 59 | 'Android32 Builder x86': 'android_gyp_release_bot_x86', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 60 | 'Android32 Builder x86 (dbg)': 'android_gyp_debug_static_bot_x86', |
| 61 | 'Android32 Builder MIPS (dbg)': 'android_gyp_clang_debug_static_bot_mipsel', |
| 62 | 'Android32 Clang (dbg)': 'android_gyp_clang_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 63 | 'Android64 Builder': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 64 | 'Android64 Builder (dbg)': 'android_gyp_debug_static_bot_arm64', |
| 65 | 'Android64 Builder x64 (dbg)': 'android_gyp_debug_static_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 66 | 'Android32 GN': 'android_gn_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 67 | 'Android32 GN (dbg)': 'android_gn_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 68 | 'Android32 Tests (L Nexus5)(dbg)': 'none', |
| 69 | 'Android32 Tests (L Nexus5)': 'none', |
| 70 | 'Android32 Tests (L Nexus7.2)(dbg)': 'none', |
| 71 | 'Android32 Tests (L Nexus7.2)': 'none', |
| 72 | 'Android64 Tests (L Nexus9)': 'none', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 73 | |
| 74 | # Windows |
| 75 | 'Win32 Debug': 'gyp_debug_bot_x86', |
| 76 | 'Win32 Release': 'gyp_release_bot_x86', |
| 77 | 'Win64 Debug': 'gyp_debug_bot_x64', |
| 78 | 'Win64 Release': 'gyp_release_bot_x64', |
| 79 | 'Win64 Debug (GN)': 'gn_debug_bot_x64', |
| 80 | 'Win64 Release (GN)': 'gn_release_bot_x64', |
| 81 | 'Win32 Debug (Clang)': 'win_gyp_clang_debug_bot_x86', |
| 82 | 'Win32 Release (Clang)': 'win_gyp_clang_release_bot_x86', |
| 83 | 'Win64 Debug (Clang)': 'win_gyp_clang_debug_bot_x64', |
| 84 | 'Win64 Release (Clang)': 'win_gyp_clang_release_bot_x64', |
| 85 | 'Win SyzyASan': 'win_gyp_syzyasan_release_bot_x86', |
| 86 | 'Win DrMemory Full': 'win_gyp_drmemory_debug_bot_x86', |
| 87 | 'Win DrMemory Light': 'win_gyp_drmemory_debug_bot_x86', |
| 88 | 'Win32 Release [large tests]': 'gyp_release_bot_x86', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 89 | }, |
| 90 | 'tryserver.webrtc': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 91 | # iOS |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 92 | 'ios_dbg': 'ios_gyp_debug_static_bot_arm_device', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 93 | 'ios_rel': 'ios_gyp_release_bot_arm_device', |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 94 | 'ios_arm64_dbg': 'ios_gyp_debug_static_bot_arm64_device', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 95 | 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device', |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 96 | 'ios32_sim_dbg': 'ios_gyp_debug_static_bot_x86', |
| 97 | 'ios64_sim_dbg': 'ios_gyp_debug_static_bot_x64', |
| 98 | 'ios64_gn_dbg': 'ios_gn_debug_static_bot_arm64_device', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 99 | 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 100 | |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 101 | # Mac |
| 102 | 'mac_compile_dbg': 'gyp_debug_bot_x64', |
| 103 | 'mac_compile_rel': 'gyp_release_bot_x64', |
| 104 | 'mac_dbg': 'gyp_debug_bot_x64', |
| 105 | 'mac_rel': 'gyp_release_bot_x64', |
| 106 | 'mac_gn_dbg': 'gn_debug_bot_x64', |
| 107 | 'mac_gn_rel': 'gn_release_bot_x64', |
| 108 | 'mac_asan': 'mac_gyp_asan_clang_release_bot_x64', |
| 109 | 'mac_baremetal': 'gyp_release_bot_x64', |
| 110 | 'mac_swarming': 'swarming_gyp_debug_bot_x64', |
| 111 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 112 | # Linux |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 113 | 'linux_compile_dbg': 'gyp_debug_bot_x64', |
| 114 | 'linux_compile_rel': 'gyp_release_bot_x64', |
| 115 | 'linux_dbg': 'gyp_debug_bot_x64', |
| 116 | 'linux_rel': 'gyp_release_bot_x64', |
| 117 | 'linux_gn_dbg': 'gn_debug_bot_x64', |
| 118 | 'linux_gn_rel': 'gn_release_bot_x64', |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 119 | 'linux_arm': 'gyp_crosscompile_release_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 120 | 'linux_asan': 'gyp_asan_lsan_clang_release_bot_x64', |
| 121 | 'linux_memcheck': 'gyp_memcheck_release_bot_x64', |
| 122 | 'linux_msan': 'gyp_msan_clang_release_bot_x64', |
| 123 | 'linux_tsan2': 'gyp_tsan_clang_release_bot_x64', |
| 124 | 'linux_ubsan': 'gyp_ubsan_clang_release_bot_x64', |
| 125 | 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', |
| 126 | 'linux_baremetal': 'gyp_release_bot_x64', |
| 127 | 'linux_swarming': 'swarming_gyp_debug_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 128 | |
| 129 | # Android |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 130 | 'android_compile_dbg': 'android_gyp_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 131 | 'android_compile_rel': 'android_gyp_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 132 | 'android_compile_arm64_dbg': 'android_gyp_debug_static_bot_arm64', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 133 | 'android_compile_arm64_rel': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 134 | 'android_compile_x86_dbg': 'android_gyp_debug_static_bot_x86', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 135 | 'android_compile_x86_rel': 'android_gyp_release_bot_x86', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 136 | 'android_compile_x64_dbg': 'android_gyp_debug_static_bot_x64', |
| 137 | 'android_compile_mips_dbg': 'android_gyp_clang_debug_static_bot_mipsel', |
| 138 | 'android_dbg': 'android_gyp_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 139 | 'android_rel': 'android_gyp_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 140 | 'android_clang_dbg': 'android_gyp_clang_debug_static_bot_arm', |
kjellander | 63cb172 | 2016-08-10 08:28:25 -0700 | [diff] [blame] | 141 | 'android_arm64_rel': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 142 | 'android_n6': 'android_gyp_debug_static_bot_arm', |
| 143 | 'android_gn_dbg': 'android_gn_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 144 | 'android_gn_rel': 'android_gn_release_bot_arm', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 145 | |
| 146 | # Windows |
| 147 | 'win_compile_dbg': 'gyp_debug_bot_x86', |
| 148 | 'win_compile_rel': 'gyp_release_bot_x86', |
| 149 | 'win_compile_x64_dbg': 'gyp_debug_bot_x64', |
| 150 | 'win_compile_x64_rel': 'gyp_release_bot_x64', |
| 151 | 'win_dbg': 'gyp_debug_bot_x86', |
| 152 | 'win_rel': 'gyp_release_bot_x86', |
| 153 | 'win_x64_dbg': 'gyp_debug_bot_x64', |
| 154 | 'win_x64_rel': 'gyp_release_bot_x64', |
| 155 | 'win_x64_gn_dbg': 'gn_debug_bot_x64', |
| 156 | 'win_x64_gn_rel': 'gn_release_bot_x64', |
| 157 | 'win_clang_dbg': 'win_gyp_clang_debug_bot_x86', |
| 158 | 'win_clang_rel': 'win_gyp_clang_release_bot_x86', |
| 159 | 'win_x64_clang_dbg': 'win_gyp_clang_debug_bot_x64', |
| 160 | 'win_x64_clang_rel': 'win_gyp_clang_release_bot_x64', |
| 161 | 'win_asan': 'win_gyp_syzyasan_release_bot_x86', |
| 162 | 'win_drmemory_light': 'win_gyp_drmemory_debug_bot_x86', |
| 163 | 'win_drmemory_full': 'win_gyp_drmemory_debug_bot_x86', |
| 164 | 'win_baremetal': 'gyp_release_bot_x86', |
| 165 | 'win_swarming': 'swarming_gyp_debug_bot_x64', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 166 | }, |
| 167 | }, |
| 168 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 169 | # This is the list of configs that you can pass to mb; each config |
| 170 | # represents a particular combination of GYP_DEFINES/gn args that |
| 171 | # we must support. A given config *may* be platform-specific but |
| 172 | # is not necessarily so (i.e., we might have mac, win, and linux |
| 173 | # bots all using the 'gn_release_bot' config). |
| 174 | 'configs': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 175 | # iOS |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 176 | 'ios_gn_debug_static_bot_arm64_device': [ |
| 177 | 'ios', 'gn', 'debug_static_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 178 | ], |
| 179 | 'ios_gn_release_bot_arm64_device': [ |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 180 | 'ios', 'gn', 'release_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 181 | ], |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 182 | 'ios_gyp_debug_static_bot_arm_device': [ |
| 183 | 'ios', 'gyp', 'debug_static_bot', 'arm', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 184 | ], |
| 185 | 'ios_gyp_release_bot_arm_device': [ |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 186 | 'ios', 'gyp', 'release_bot', 'arm', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 187 | ], |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 188 | 'ios_gyp_debug_static_bot_arm64_device': [ |
| 189 | 'ios', 'gyp', 'debug_static_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 190 | ], |
| 191 | 'ios_gyp_release_bot_arm64_device': [ |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 192 | 'ios', 'gyp', 'release_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 193 | ], |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 194 | 'ios_gyp_debug_static_bot_x86': [ |
| 195 | 'ios', 'gyp', 'debug_static_bot', 'x86' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 196 | ], |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame^] | 197 | 'ios_gyp_debug_static_bot_x64': [ |
| 198 | 'ios', 'gyp', 'release_bot', 'x64' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 199 | ], |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 200 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 201 | # Linux, Mac and Windows |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 202 | 'gyp_crosscompile_release_bot_arm': [ |
| 203 | 'gyp', 'crosscompile', 'openh264_release_bot', 'arm' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 204 | ], |
| 205 | 'gyp_debug_bot_x86': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 206 | 'gyp', 'openh264_debug_bot', 'x86' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 207 | ], |
| 208 | 'gyp_release_bot_x86': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 209 | 'gyp', 'openh264_release_bot', 'x86' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 210 | ], |
| 211 | 'gyp_debug_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 212 | 'gyp', 'openh264_debug_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 213 | ], |
| 214 | 'gyp_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 215 | 'gyp', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 216 | ], |
| 217 | 'gyp_asan_lsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 218 | 'gyp', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 219 | ], |
| 220 | 'gyp_memcheck_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 221 | 'gyp', 'memcheck', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 222 | ], |
| 223 | 'gyp_msan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 224 | 'gyp', 'msan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 225 | ], |
| 226 | 'gyp_tsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 227 | 'gyp', 'tsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 228 | ], |
| 229 | 'gyp_ubsan_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 230 | 'gyp', 'ubsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 231 | ], |
| 232 | 'gyp_ubsan_vptr_clang_release_bot_x64': [ |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 233 | 'gyp', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 234 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 235 | 'gn_debug_bot_x64': [ |
| 236 | 'gn', 'openh264_debug_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 237 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 238 | 'gn_release_bot_x64': [ |
| 239 | 'gn', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 240 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 241 | 'swarming_gyp_debug_bot_x64': [ |
| 242 | 'swarming', 'gyp', 'openh264_debug_bot', 'x64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 243 | ], |
| 244 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 245 | # Windows |
| 246 | 'win_gyp_clang_debug_bot_x86': [ |
| 247 | 'gyp', 'clang', 'openh264_debug_bot', 'x86', |
| 248 | ], |
| 249 | 'win_gyp_clang_release_bot_x86': [ |
| 250 | 'gyp', 'clang', 'openh264_release_bot', 'x86', |
| 251 | ], |
| 252 | 'win_gyp_clang_debug_bot_x64': [ |
| 253 | 'gyp', 'clang', 'openh264_debug_bot', 'x64', |
| 254 | ], |
| 255 | 'win_gyp_clang_release_bot_x64': [ |
| 256 | 'gyp', 'clang', 'openh264_release_bot', 'x64', |
| 257 | ], |
| 258 | 'win_gyp_syzyasan_release_bot_x86': [ |
| 259 | 'gyp', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86', |
| 260 | ], |
| 261 | # TODO(kjellander): Flip DrMemory bots over to Release after GN migration |
| 262 | # (http://crbug.com/636414). |
| 263 | 'win_gyp_drmemory_debug_bot_x86': [ |
| 264 | 'gyp', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86', |
| 265 | ], |
| 266 | |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 267 | # Mac |
| 268 | 'mac_gyp_asan_clang_release_bot_x64': [ |
| 269 | 'gyp', 'asan', 'clang', 'openh264_release_bot', 'x64', |
| 270 | ], |
| 271 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 272 | # Android |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 273 | 'android_gyp_debug_static_bot_arm': [ |
| 274 | 'android', 'gyp', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 275 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 276 | 'android_gyp_release_bot_arm': [ |
| 277 | 'android', 'gyp', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 278 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 279 | 'android_gyp_debug_static_bot_x86': [ |
| 280 | 'android', 'gyp', 'debug_static_bot', 'x86' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 281 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 282 | 'android_gyp_release_bot_x86': [ |
| 283 | 'android', 'gyp', 'release_bot', 'x86' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 284 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 285 | 'android_gyp_clang_debug_static_bot_arm': [ |
| 286 | 'android', 'gyp', 'clang', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 287 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 288 | 'android_gyp_clang_debug_static_bot_mipsel': [ |
| 289 | 'android', 'gyp', 'clang', 'debug_static_bot', 'mipsel' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 290 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 291 | 'android_gyp_debug_static_bot_arm64': [ |
| 292 | 'android', 'gyp', 'debug_static_bot', 'arm64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 293 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 294 | 'android_gyp_release_bot_arm64': [ |
| 295 | 'android', 'gyp', 'release_bot', 'arm64' |
| 296 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 297 | 'android_gyp_debug_static_bot_x64': [ |
| 298 | 'android', 'gyp', 'debug_static_bot', 'x64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 299 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 300 | 'android_gn_debug_static_bot_arm': [ |
| 301 | 'android', 'gn', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 302 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 303 | 'android_gn_release_bot_arm': [ |
| 304 | 'android', 'gn', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 305 | ], |
| 306 | |
| 307 | # This is used for tracking purposes; any bot that uses this config |
| 308 | # should never actually run MB. |
| 309 | 'none': [ |
| 310 | 'error', |
| 311 | ], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 312 | }, |
| 313 | |
| 314 | # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 315 | # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 316 | 'mixins': { |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 317 | 'android': { |
| 318 | 'gn_args': 'target_os="android"', |
| 319 | 'gyp_defines': 'OS=android', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 320 | }, |
| 321 | |
| 322 | 'arm': { |
| 323 | 'gn_args': 'target_cpu="arm"', |
| 324 | 'gyp_defines': 'target_arch=arm', |
| 325 | }, |
| 326 | |
| 327 | 'arm64': { |
| 328 | 'gn_args': 'target_cpu="arm64"', |
| 329 | 'gyp_defines': 'target_arch=arm64', |
| 330 | }, |
| 331 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 332 | 'asan': { |
| 333 | 'gn_args': 'is_asan=true', |
| 334 | 'gyp_defines': 'asan=1', |
| 335 | }, |
| 336 | |
| 337 | 'clang': { |
| 338 | 'gn_args': 'is_clang=true', |
| 339 | 'gyp_defines': 'clang=1', |
| 340 | }, |
| 341 | |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 342 | 'crosscompile': { |
| 343 | # This mixin is only needed on GYP bots that are doing cross-compiles |
| 344 | # but are *not* targetting Android or iOS (where |
| 345 | # webrtc/build/gyp_webrtc.py will set the crosscompile variable |
| 346 | # automatically). It is not need in GN at all. |
| 347 | 'gyp_crosscompile': True, |
| 348 | }, |
| 349 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 350 | 'dcheck_always_on': { |
| 351 | 'gn_args': 'dcheck_always_on=true', |
| 352 | 'gyp_defines': 'dcheck_always_on=1', |
| 353 | }, |
| 354 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 355 | 'debug': { |
| 356 | 'gn_args': 'is_debug=true', |
| 357 | }, |
| 358 | |
| 359 | 'debug_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 360 | 'mixins': ['debug', 'shared', 'goma'], |
| 361 | }, |
| 362 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 363 | 'debug_static_bot': { |
| 364 | 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], |
| 365 | }, |
| 366 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 367 | 'device': { |
kjellander@webrtc.org | 0c74ae1 | 2016-02-25 08:41:10 +0100 | [diff] [blame] | 368 | 'gn_args': 'ios_enable_code_signing=false', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 369 | 'gyp_defines': 'chromium_ios_signing=0', |
| 370 | }, |
| 371 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 372 | 'drmemory': { |
| 373 | 'gn_args': 'is_component_build=true enable_iterator_debugging=false', |
| 374 | 'gyp_defines': 'component=shared_library build_for_tool=drmemory', |
| 375 | }, |
| 376 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 377 | # This mixin is used to force configs that use it to fail. It |
| 378 | # is used in two cases: when we have bots that we haven't looked |
| 379 | # at yet and don't know whether they need MB or not, and for bots |
| 380 | # that are test-only and should never run MB. |
| 381 | 'error': { |
| 382 | 'gn_args': 'error', |
| 383 | 'gyp_defines': 'target_arch=unknown', |
| 384 | }, |
| 385 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 386 | 'gn': {'type': 'gn'}, |
| 387 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 388 | 'goma': { |
| 389 | # The MB code will properly escape goma_dir if necessary in the GYP |
| 390 | # code path; the GN code path needs no escaping. |
| 391 | 'gn_args': 'use_goma=true', |
| 392 | 'gyp_defines': 'use_goma=1', |
| 393 | }, |
| 394 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 395 | 'gyp': {'type': 'gyp'}, |
| 396 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 397 | 'ios': { |
| 398 | 'gn_args': 'target_os="ios"', |
| 399 | 'gyp_defines': 'OS=ios', |
| 400 | }, |
| 401 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 402 | 'lsan': { |
| 403 | 'gn_args': 'is_lsan=true', |
| 404 | 'gyp_defines': 'lsan=1', |
| 405 | }, |
| 406 | |
| 407 | 'memcheck': { |
| 408 | 'gyp_defines': 'build_for_tool=memcheck', |
| 409 | }, |
| 410 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 411 | 'minimal_symbols': { |
| 412 | 'gn_args': 'symbol_level=1', |
| 413 | 'gyp_defines': 'fastbuild=1', |
| 414 | }, |
| 415 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 416 | 'mipsel': { |
| 417 | 'gn_args': 'target_cpu="mipsel"', |
| 418 | 'gyp_defines': 'target_arch=mipsel', |
| 419 | }, |
| 420 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 421 | 'minimal_symbols': { |
| 422 | 'gn_args': 'symbol_level=1', |
| 423 | 'gyp_defines': 'fastbuild=1', |
| 424 | }, |
| 425 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 426 | 'msan': { |
| 427 | 'gn_args': ('is_msan=true msan_track_origins=2 ' |
| 428 | 'use_prebuilt_instrumented_libraries=true'), |
| 429 | 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
| 430 | 'use_prebuilt_instrumented_libraries=1'), |
| 431 | }, |
| 432 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 433 | 'openh264': { |
| 434 | 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true', |
| 435 | 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1', |
| 436 | }, |
| 437 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 438 | 'openh264_debug_bot': { |
| 439 | 'mixins': ['openh264', 'debug_bot'], |
| 440 | }, |
| 441 | |
| 442 | 'openh264_release_bot': { |
| 443 | 'mixins': ['openh264', 'release_bot'], |
| 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': { |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 451 | 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 452 | }, |
| 453 | |
| 454 | 'shared': { |
| 455 | 'gn_args': 'is_component_build=true', |
| 456 | 'gyp_defines': 'component=shared_library', |
| 457 | }, |
| 458 | |
| 459 | 'static': { |
| 460 | 'gn_args': 'is_component_build=false', |
| 461 | 'gyp_defines': 'component=static_library', |
| 462 | }, |
| 463 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 464 | 'swarming': { |
| 465 | 'gn_args': '', |
| 466 | 'gyp_defines': 'test_isolation_mode=prepare', |
| 467 | }, |
| 468 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 469 | 'syzyasan': { |
| 470 | 'gn_args': 'is_syzyasan=true', |
| 471 | 'gyp_defines': 'syzyasan=1' |
| 472 | }, |
| 473 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 474 | 'tsan': { |
| 475 | 'gn_args': 'is_tsan=true', |
| 476 | 'gyp_defines': 'tsan=1', |
| 477 | }, |
| 478 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 479 | 'ubsan': { |
| 480 | 'gn_args': 'is_ubsan=true', |
| 481 | 'gyp_defines': 'ubsan=1', |
| 482 | }, |
| 483 | |
| 484 | 'ubsan_vptr': { |
| 485 | 'gn_args': 'is_ubsan_vptr=true', |
| 486 | 'gyp_defines': 'ubsan_vptr=1', |
| 487 | }, |
| 488 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 489 | 'x64': { |
| 490 | 'gn_args': 'target_cpu="x64"', |
| 491 | 'gyp_defines': 'target_arch=x64', |
| 492 | }, |
| 493 | |
| 494 | 'x86': { |
| 495 | 'gn_args': 'target_cpu="x86"', |
| 496 | 'gyp_defines': 'target_arch=ia32', |
| 497 | }, |
| 498 | }, |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 499 | } |