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 | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 23 | 'iOS32 Debug': 'ios_gn_debug_static_bot_arm_device', |
| 24 | 'iOS32 Release': 'ios_gn_release_bot_arm_device', |
| 25 | 'iOS64 Debug': 'ios_gn_debug_static_bot_arm64_device', |
| 26 | 'iOS64 Release': 'ios_gn_release_bot_arm64_device', |
| 27 | 'iOS32 Simulator Debug': 'ios_gn_debug_static_bot_x86', |
| 28 | 'iOS64 Simulator Debug': 'ios_gn_debug_static_bot_x64', |
kjellander | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 29 | 'iOS64 Debug (GYP)': 'ios_gyp_debug_static_bot_arm64_device', |
| 30 | 'iOS64 Release (GYP)': 'ios_gyp_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 |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 33 | 'Mac64 Debug': 'gn_debug_bot_x64', |
| 34 | 'Mac64 Release': 'gn_release_bot_x64', |
| 35 | 'Mac Asan': 'mac_gn_asan_clang_release_bot_x64', |
| 36 | 'Mac64 Release [large tests]': 'gn_release_bot_x64', |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 37 | 'Mac64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests', |
| 38 | 'Mac64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 39 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 40 | # Linux |
ehmaldonado | 76cd281 | 2016-09-08 04:25:22 -0700 | [diff] [blame] | 41 | 'Linux32 Debug': 'gn_debug_bot_x86', |
| 42 | 'Linux32 Release': 'gn_release_bot_x86', |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 43 | 'Linux32 ARM': 'gn_crosscompile_release_bot_arm', |
| 44 | 'Linux64 Debug': 'gn_debug_bot_x64', |
| 45 | 'Linux64 Release': 'gn_release_bot_x64', |
| 46 | 'Linux Asan': 'gn_asan_lsan_clang_release_bot_x64', |
| 47 | 'Linux Memcheck': 'gn_memcheck_release_bot_x64', |
| 48 | 'Linux MSan': 'gn_msan_clang_release_bot_x64', |
| 49 | 'Linux Tsan v2': 'gn_tsan_clang_release_bot_x64', |
| 50 | 'Linux UBSan': 'gn_ubsan_clang_release_bot_x64', |
| 51 | 'Linux UBSan vptr': 'gn_ubsan_vptr_clang_release_bot_x64', |
| 52 | 'Linux64 Release [large tests]': 'gn_release_bot_x64', |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 53 | 'Linux64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests', |
| 54 | 'Linux64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 55 | |
| 56 | # Android |
Henrik Kjellander | cbfb033 | 2016-10-09 06:28:58 +0200 | [diff] [blame^] | 57 | 'Android32 (M Nexus5X)': 'android_gn_release_bot_arm', |
| 58 | 'Android32 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm', |
| 59 | 'Android64 (M Nexus5X)': 'android_gn_release_bot_arm64', |
| 60 | 'Android64 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm64', |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 61 | 'Android32 Builder x86': 'android_gn_release_bot_x86', |
| 62 | 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86', |
Henrik Kjellander | cbfb033 | 2016-10-09 06:28:58 +0200 | [diff] [blame^] | 63 | 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64', |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 64 | 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel', |
kjellander | 70d0124 | 2016-09-15 03:42:29 -0700 | [diff] [blame] | 65 | 'Android32 Clang (dbg)': 'android_gn_clang_debug_bot_arm', |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 66 | 'Android32 GYP': 'android_gyp_release_bot_arm', |
| 67 | 'Android32 GYP (dbg)': 'android_gyp_debug_static_bot_arm', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 68 | |
| 69 | # Windows |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 70 | 'Win32 Debug': 'gn_debug_bot_x86', |
| 71 | 'Win32 Release': 'gn_release_bot_x86', |
| 72 | 'Win64 Debug': 'gn_debug_bot_x64', |
| 73 | 'Win64 Release': 'gn_release_bot_x64', |
| 74 | 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86', |
| 75 | 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86', |
| 76 | 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64', |
| 77 | 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64', |
| 78 | 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86', |
| 79 | 'Win DrMemory Full': 'win_gn_drmemory_debug_bot_x86', |
| 80 | 'Win DrMemory Light': 'win_gn_drmemory_debug_bot_x86', |
| 81 | 'Win32 Release [large tests]': 'gn_release_bot_x86', |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 82 | 'Win64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests', |
| 83 | 'Win64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 84 | }, |
Henrik Kjellander | cbfb033 | 2016-10-09 06:28:58 +0200 | [diff] [blame^] | 85 | 'client.webrtc.perf': { |
| 86 | # Android |
| 87 | 'Android32 Builder': 'android_gn_release_bot_arm', |
| 88 | 'Android64 Builder': 'android_gn_release_bot_arm64', |
| 89 | 'Android32 Tests (L Nexus5)': 'none', |
| 90 | 'Android32 Tests (L Nexus7.2)': 'none', |
| 91 | 'Android64 Tests (L Nexus9)': 'none', |
| 92 | }, |
| 93 | 'client.webrtc.fyi': { |
| 94 | # Mac |
| 95 | 'Mac64 Release (swarming)': 'swarming_gn_release_bot_x64', |
| 96 | |
| 97 | # Linux |
| 98 | 'Linux64 GCC': 'gn_gcc_release_bot_x64', |
| 99 | 'Linux64 Release (swarming)': 'swarming_gn_release_bot_x64', |
| 100 | |
| 101 | # Android |
| 102 | 'Android32 Release (swarming)': 'swarming_android_gn_release_bot_arm', |
| 103 | 'Android32 ASan (L Nexus6)': 'android_gn_asan_shared_release_bot_arm', |
| 104 | 'Android32 Builder': 'android_gn_release_bot_arm', |
| 105 | 'Android32 Tests (J Nexus4)': 'none', |
| 106 | 'Android32 Tests (K Nexus5)': 'none', |
| 107 | 'Android32 Tests (L Nexus6)': 'none', |
| 108 | |
| 109 | # Windows |
| 110 | 'Win32 Release (swarming)': 'swarming_gn_release_bot_x86', |
| 111 | }, |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 112 | 'tryserver.webrtc': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 113 | # iOS |
kjellander | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 114 | 'ios_dbg': 'ios_gn_debug_static_bot_arm_device', |
| 115 | 'ios_rel': 'ios_gn_release_bot_arm_device', |
| 116 | 'ios_arm64_dbg': 'ios_gn_debug_static_bot_arm64_device', |
| 117 | 'ios_arm64_rel': 'ios_gn_release_bot_arm64_device', |
| 118 | 'ios32_sim_dbg': 'ios_gn_debug_static_bot_x86', |
| 119 | 'ios64_sim_dbg': 'ios_gn_debug_static_bot_x64', |
kjellander | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 120 | 'ios64_gyp_dbg': 'ios_gyp_debug_static_bot_arm64_device', |
| 121 | 'ios64_gyp_rel': 'ios_gyp_release_bot_arm64_device', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 122 | |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 123 | # Mac |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 124 | 'mac_compile_dbg': 'gn_debug_bot_x64', |
| 125 | 'mac_compile_rel': 'gn_release_bot_x64', |
| 126 | 'mac_dbg': 'gn_debug_bot_x64', |
| 127 | 'mac_rel': 'gn_release_bot_x64', |
| 128 | 'mac_asan': 'mac_gn_asan_clang_release_bot_x64', |
| 129 | 'mac_baremetal': 'gn_release_bot_x64', |
| 130 | 'mac_swarming': 'swarming_gn_debug_bot_x64', |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 131 | 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests', |
| 132 | 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 133 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 134 | # Linux |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 135 | 'linux_compile_dbg': 'gn_debug_bot_x64', |
| 136 | 'linux_compile_rel': 'gn_release_bot_x64', |
| 137 | 'linux_dbg': 'gn_debug_bot_x64', |
| 138 | 'linux_rel': 'gn_release_bot_x64', |
Henrik Kjellander | 891eaac | 2016-09-06 09:52:45 +0200 | [diff] [blame] | 139 | 'linux32_dbg': 'gn_debug_bot_x86', |
| 140 | 'linux32_rel': 'gn_release_bot_x86', |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 141 | 'linux_arm': 'gn_crosscompile_release_bot_arm', |
| 142 | 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64', |
| 143 | 'linux_memcheck': 'gn_memcheck_release_bot_x64', |
| 144 | 'linux_msan': 'gn_msan_clang_release_bot_x64', |
| 145 | 'linux_tsan2': 'gn_tsan_clang_release_bot_x64', |
| 146 | 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64', |
| 147 | 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64', |
| 148 | 'linux_baremetal': 'gn_release_bot_x64', |
| 149 | 'linux_swarming': 'swarming_gn_debug_bot_x64', |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 150 | 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests', |
| 151 | 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 152 | |
| 153 | # Android |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 154 | 'android_compile_dbg': 'android_gn_debug_static_bot_arm', |
| 155 | 'android_compile_rel': 'android_gn_release_bot_arm', |
| 156 | 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64', |
| 157 | 'android_compile_arm64_rel': 'android_gn_release_bot_arm64', |
| 158 | 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86', |
| 159 | 'android_compile_x86_rel': 'android_gn_release_bot_x86', |
| 160 | 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64', |
| 161 | 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel', |
| 162 | 'android_dbg': 'android_gn_debug_static_bot_arm', |
| 163 | 'android_rel': 'android_gn_release_bot_arm', |
kjellander | 70d0124 | 2016-09-15 03:42:29 -0700 | [diff] [blame] | 164 | 'android_clang_dbg': 'android_gn_clang_debug_bot_arm', |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 165 | 'android_arm64_rel': 'android_gn_release_bot_arm64', |
| 166 | 'android_n6': 'android_gn_debug_static_bot_arm', |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 167 | 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm', |
| 168 | 'android_gyp_rel': 'android_gyp_release_bot_arm', |
ehmaldonado | 936405b | 2016-09-19 13:30:04 -0700 | [diff] [blame] | 169 | 'android_swarming': 'swarming_android_gn_release_bot_arm', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 170 | |
| 171 | # Windows |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 172 | 'win_compile_dbg': 'gn_debug_bot_x86', |
| 173 | 'win_compile_rel': 'gn_release_bot_x86', |
| 174 | 'win_compile_x64_dbg': 'gn_debug_bot_x64', |
| 175 | 'win_compile_x64_rel': 'gn_release_bot_x64', |
| 176 | 'win_dbg': 'gn_debug_bot_x86', |
| 177 | 'win_rel': 'gn_release_bot_x86', |
| 178 | 'win_x64_dbg': 'gn_debug_bot_x64', |
| 179 | 'win_x64_rel': 'gn_release_bot_x64', |
| 180 | 'win_clang_dbg': 'win_gn_clang_debug_bot_x86', |
| 181 | 'win_clang_rel': 'win_gn_clang_release_bot_x86', |
| 182 | 'win_x64_clang_dbg': 'win_gn_clang_debug_bot_x64', |
| 183 | 'win_x64_clang_rel': 'win_gn_clang_release_bot_x64', |
| 184 | 'win_asan': 'win_gn_syzyasan_release_bot_x86', |
| 185 | 'win_drmemory_light': 'win_gn_drmemory_debug_bot_x86', |
| 186 | 'win_drmemory_full': 'win_gn_drmemory_debug_bot_x86', |
| 187 | 'win_baremetal': 'gn_release_bot_x86', |
| 188 | 'win_swarming': 'swarming_gn_debug_bot_x64', |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 189 | 'win_x64_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests', |
| 190 | 'win_x64_gyp_rel': 'gyp_release_bot_x64_exclude_tests', |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 191 | } |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 192 | }, |
| 193 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 194 | # This is the list of configs that you can pass to mb; each config |
| 195 | # represents a particular combination of GYP_DEFINES/gn args that |
| 196 | # we must support. A given config *may* be platform-specific but |
| 197 | # is not necessarily so (i.e., we might have mac, win, and linux |
| 198 | # bots all using the 'gn_release_bot' config). |
| 199 | 'configs': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 200 | # iOS |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame] | 201 | 'ios_gn_debug_static_bot_arm64_device': [ |
| 202 | 'ios', 'gn', 'debug_static_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 203 | ], |
| 204 | 'ios_gn_release_bot_arm64_device': [ |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame] | 205 | 'ios', 'gn', 'release_bot', 'arm64', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 206 | ], |
kjellander | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 207 | 'ios_gn_debug_static_bot_arm_device': [ |
| 208 | 'ios', 'gn', 'debug_static_bot', 'arm', 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 209 | ], |
kjellander | 6e5b0d7 | 2016-08-30 14:05:44 -0700 | [diff] [blame] | 210 | 'ios_gn_release_bot_arm_device': [ |
| 211 | 'ios', 'gn', 'release_bot', 'arm', 'device' |
| 212 | ], |
| 213 | 'ios_gn_debug_static_bot_x86': [ |
| 214 | 'ios', 'gn', 'debug_static_bot', 'x86' |
| 215 | ], |
| 216 | 'ios_gn_debug_static_bot_x64': [ |
| 217 | 'ios', 'gn', 'debug_static_bot', 'x64' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 218 | ], |
kjellander | 1c814e7 | 2016-08-16 02:42:02 -0700 | [diff] [blame] | 219 | 'ios_gyp_debug_static_bot_arm64_device': [ |
kjellander | 7b11c65 | 2016-09-12 05:33:54 -0700 | [diff] [blame] | 220 | 'ios', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm64', |
| 221 | 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 222 | ], |
| 223 | 'ios_gyp_release_bot_arm64_device': [ |
kjellander | 7b11c65 | 2016-09-12 05:33:54 -0700 | [diff] [blame] | 224 | 'ios', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm64', |
| 225 | 'device' |
ehmaldonado | d046d98 | 2016-08-08 06:59:14 -0700 | [diff] [blame] | 226 | ], |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 227 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 228 | # Linux, Mac and Windows |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 229 | 'gn_gcc_release_bot_x64': [ |
| 230 | 'gn', 'gcc', 'release_bot', 'x64' |
| 231 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 232 | 'gn_crosscompile_release_bot_arm': [ |
| 233 | 'gn', 'crosscompile', 'openh264_release_bot', 'arm' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 234 | ], |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 235 | 'gyp_debug_bot_x64_exclude_tests': [ |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 236 | 'gyp', 'gyp_limited_support_build', 'debug_bot', 'x64' |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 237 | ], |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 238 | 'gyp_release_bot_x64_exclude_tests': [ |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 239 | 'gyp', 'gyp_limited_support_build', 'release_bot', 'x64' |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 240 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 241 | 'gn_asan_lsan_clang_release_bot_x64': [ |
| 242 | 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 243 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 244 | 'gn_memcheck_release_bot_x64': [ |
| 245 | 'gn', 'memcheck', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 246 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 247 | 'gn_msan_clang_release_bot_x64': [ |
| 248 | 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 249 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 250 | 'gn_tsan_clang_release_bot_x64': [ |
| 251 | 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 252 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 253 | 'gn_ubsan_clang_release_bot_x64': [ |
| 254 | 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 255 | ], |
kjellander | fe1d191 | 2016-08-26 06:10:30 -0700 | [diff] [blame] | 256 | 'gn_ubsan_vptr_clang_release_bot_x64': [ |
| 257 | 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 258 | ], |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 259 | 'gn_debug_bot_x86': [ |
| 260 | 'gn', 'openh264_debug_bot', 'x86' |
| 261 | ], |
| 262 | 'gn_release_bot_x86': [ |
| 263 | 'gn', 'openh264_release_bot', 'x86' |
| 264 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 265 | 'gn_debug_bot_x64': [ |
| 266 | 'gn', 'openh264_debug_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 267 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 268 | 'gn_release_bot_x64': [ |
| 269 | 'gn', 'openh264_release_bot', 'x64' |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 270 | ], |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 271 | 'swarming_gn_release_bot_x86': [ |
| 272 | 'swarming', 'gn', 'openh264_release_bot', 'x86' |
| 273 | ], |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 274 | 'swarming_gn_debug_bot_x64': [ |
| 275 | 'swarming', 'gn', 'openh264_debug_bot', 'x64' |
| 276 | ], |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 277 | 'swarming_gn_release_bot_x64': [ |
| 278 | 'swarming', 'gn', 'openh264_release_bot', 'x64' |
| 279 | ], |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 280 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 281 | # Windows |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 282 | 'win_gn_clang_debug_bot_x86': [ |
| 283 | 'gn', 'clang', 'openh264_debug_bot', 'x86', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 284 | ], |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 285 | 'win_gn_clang_release_bot_x86': [ |
| 286 | 'gn', 'clang', 'openh264_release_bot', 'x86', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 287 | ], |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 288 | 'win_gn_clang_debug_bot_x64': [ |
| 289 | 'gn', 'clang', 'openh264_debug_bot', 'x64', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 290 | ], |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 291 | 'win_gn_clang_release_bot_x64': [ |
| 292 | 'gn', 'clang', 'openh264_release_bot', 'x64', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 293 | ], |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 294 | 'win_gn_syzyasan_release_bot_x86': [ |
| 295 | 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 296 | ], |
| 297 | # TODO(kjellander): Flip DrMemory bots over to Release after GN migration |
| 298 | # (http://crbug.com/636414). |
kjellander | 133edb2 | 2016-08-28 20:35:55 -0700 | [diff] [blame] | 299 | 'win_gn_drmemory_debug_bot_x86': [ |
| 300 | 'gn', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86', |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 301 | ], |
| 302 | |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 303 | # Mac |
kjellander | f02207d | 2016-08-24 09:40:00 -0700 | [diff] [blame] | 304 | 'mac_gn_asan_clang_release_bot_x64': [ |
| 305 | 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64', |
ehmaldonado | a3a1fde | 2016-08-11 01:04:35 -0700 | [diff] [blame] | 306 | ], |
| 307 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 308 | # Android |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 309 | 'android_gyp_debug_static_bot_arm': [ |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 310 | 'android', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 311 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 312 | 'android_gyp_release_bot_arm': [ |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 313 | 'android', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 314 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 315 | 'android_gn_debug_static_bot_arm': [ |
| 316 | 'android', 'gn', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 317 | ], |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 318 | 'android_gn_release_bot_arm': [ |
| 319 | 'android', 'gn', 'release_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 320 | ], |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 321 | 'android_gn_debug_static_bot_x86': [ |
| 322 | 'android', 'gn', 'debug_static_bot', 'x86' |
| 323 | ], |
| 324 | 'android_gn_release_bot_x86': [ |
| 325 | 'android', 'gn', 'release_bot', 'x86' |
| 326 | ], |
kjellander | 70d0124 | 2016-09-15 03:42:29 -0700 | [diff] [blame] | 327 | 'android_gn_clang_debug_bot_arm': [ |
| 328 | 'android', 'gn', 'clang', 'debug_bot', 'arm' |
kjellander | 4c8adb1 | 2016-08-24 00:34:40 -0700 | [diff] [blame] | 329 | ], |
| 330 | 'android_gn_clang_debug_static_bot_mipsel': [ |
| 331 | 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel' |
| 332 | ], |
| 333 | 'android_gn_debug_static_bot_arm64': [ |
| 334 | 'android', 'gn', 'debug_static_bot', 'arm64' |
| 335 | ], |
| 336 | 'android_gn_release_bot_arm64': [ |
| 337 | 'android', 'gn', 'release_bot', 'arm64' |
| 338 | ], |
| 339 | 'android_gn_debug_static_bot_x64': [ |
| 340 | 'android', 'gn', 'debug_static_bot', 'x64' |
| 341 | ], |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 342 | 'android_gn_asan_shared_release_bot_arm': [ |
| 343 | 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot', 'arm' |
| 344 | ], |
ehmaldonado | 936405b | 2016-09-19 13:30:04 -0700 | [diff] [blame] | 345 | 'swarming_android_gn_release_bot_arm': [ |
| 346 | 'swarming', 'android', 'gn', 'release_bot', 'arm' |
| 347 | ], |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 348 | |
| 349 | # This is used for tracking purposes; any bot that uses this config |
| 350 | # should never actually run MB. |
| 351 | 'none': [ |
| 352 | 'error', |
| 353 | ], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 354 | }, |
| 355 | |
| 356 | # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 357 | # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 358 | 'mixins': { |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 359 | 'android': { |
| 360 | 'gn_args': 'target_os="android"', |
| 361 | 'gyp_defines': 'OS=android', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 362 | }, |
| 363 | |
| 364 | 'arm': { |
| 365 | 'gn_args': 'target_cpu="arm"', |
| 366 | 'gyp_defines': 'target_arch=arm', |
| 367 | }, |
| 368 | |
| 369 | 'arm64': { |
| 370 | 'gn_args': 'target_cpu="arm64"', |
| 371 | 'gyp_defines': 'target_arch=arm64', |
| 372 | }, |
| 373 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 374 | 'asan': { |
| 375 | 'gn_args': 'is_asan=true', |
| 376 | 'gyp_defines': 'asan=1', |
| 377 | }, |
| 378 | |
| 379 | 'clang': { |
| 380 | 'gn_args': 'is_clang=true', |
| 381 | 'gyp_defines': 'clang=1', |
| 382 | }, |
| 383 | |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 384 | 'crosscompile': { |
| 385 | # This mixin is only needed on GYP bots that are doing cross-compiles |
| 386 | # but are *not* targetting Android or iOS (where |
| 387 | # webrtc/build/gyp_webrtc.py will set the crosscompile variable |
| 388 | # automatically). It is not need in GN at all. |
| 389 | 'gyp_crosscompile': True, |
| 390 | }, |
| 391 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 392 | 'dcheck_always_on': { |
| 393 | 'gn_args': 'dcheck_always_on=true', |
| 394 | 'gyp_defines': 'dcheck_always_on=1', |
| 395 | }, |
| 396 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 397 | 'debug': { |
| 398 | 'gn_args': 'is_debug=true', |
| 399 | }, |
| 400 | |
| 401 | 'debug_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 402 | 'mixins': ['debug', 'shared', 'goma'], |
| 403 | }, |
| 404 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 405 | 'debug_static_bot': { |
| 406 | 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], |
| 407 | }, |
| 408 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 409 | 'device': { |
kjellander@webrtc.org | 0c74ae1 | 2016-02-25 08:41:10 +0100 | [diff] [blame] | 410 | 'gn_args': 'ios_enable_code_signing=false', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 411 | 'gyp_defines': 'chromium_ios_signing=0', |
| 412 | }, |
| 413 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 414 | 'drmemory': { |
| 415 | 'gn_args': 'is_component_build=true enable_iterator_debugging=false', |
| 416 | 'gyp_defines': 'component=shared_library build_for_tool=drmemory', |
| 417 | }, |
| 418 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 419 | # This mixin is used to force configs that use it to fail. It |
| 420 | # is used in two cases: when we have bots that we haven't looked |
| 421 | # at yet and don't know whether they need MB or not, and for bots |
| 422 | # that are test-only and should never run MB. |
| 423 | 'error': { |
| 424 | 'gn_args': 'error', |
| 425 | 'gyp_defines': 'target_arch=unknown', |
| 426 | }, |
| 427 | |
ehmaldonado | d6e65b3 | 2016-09-05 06:43:56 -0700 | [diff] [blame] | 428 | 'gcc': { |
| 429 | 'gn_args': 'is_clang=false use_sysroot=false', |
| 430 | 'gyp_defines': 'clang=0', |
| 431 | }, |
| 432 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 433 | 'gn': {'type': 'gn'}, |
| 434 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 435 | 'goma': { |
| 436 | # The MB code will properly escape goma_dir if necessary in the GYP |
| 437 | # code path; the GN code path needs no escaping. |
| 438 | 'gn_args': 'use_goma=true', |
| 439 | 'gyp_defines': 'use_goma=1', |
| 440 | }, |
| 441 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 442 | 'gyp': {'type': 'gyp'}, |
| 443 | |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 444 | 'gyp_limited_support_build': { |
kjellander | 9c8c586 | 2016-09-09 01:42:06 -0700 | [diff] [blame] | 445 | 'gyp_defines': ( |
| 446 | 'include_examples=0 include_tests=0 include_ilbc=0 ' |
| 447 | 'build_expat=0 build_json=0 build_libevent=0 build_libjpeg=0 ' |
| 448 | 'build_libsrtp=0 build_libvpx=0 build_libyuv=0 build_openmax_dl=0 ' |
| 449 | 'build_opus=0 build_protobuf=0 build_ssl=0 build_usrsctp=0 ' |
| 450 | 'enable_video=0 linux_use_bundled_binutils=0 rtc_use_openmax_dl=1 ' |
| 451 | 'use_openssl=1 use_x11=0 use_gtk=0'), |
ehmaldonado | 6b74865 | 2016-08-31 01:53:42 -0700 | [diff] [blame] | 452 | }, |
| 453 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 454 | 'ios': { |
| 455 | 'gn_args': 'target_os="ios"', |
| 456 | 'gyp_defines': 'OS=ios', |
| 457 | }, |
| 458 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 459 | 'lsan': { |
| 460 | 'gn_args': 'is_lsan=true', |
| 461 | 'gyp_defines': 'lsan=1', |
| 462 | }, |
| 463 | |
| 464 | 'memcheck': { |
| 465 | 'gyp_defines': 'build_for_tool=memcheck', |
| 466 | }, |
| 467 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame] | 468 | 'minimal_symbols': { |
| 469 | 'gn_args': 'symbol_level=1', |
| 470 | 'gyp_defines': 'fastbuild=1', |
| 471 | }, |
| 472 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 473 | 'mipsel': { |
| 474 | 'gn_args': 'target_cpu="mipsel"', |
| 475 | 'gyp_defines': 'target_arch=mipsel', |
| 476 | }, |
| 477 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 478 | 'minimal_symbols': { |
| 479 | 'gn_args': 'symbol_level=1', |
| 480 | 'gyp_defines': 'fastbuild=1', |
| 481 | }, |
| 482 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 483 | 'msan': { |
| 484 | 'gn_args': ('is_msan=true msan_track_origins=2 ' |
| 485 | 'use_prebuilt_instrumented_libraries=true'), |
| 486 | 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
| 487 | 'use_prebuilt_instrumented_libraries=1'), |
| 488 | }, |
| 489 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 490 | 'openh264': { |
| 491 | 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true', |
| 492 | 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1', |
| 493 | }, |
| 494 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 495 | 'openh264_debug_bot': { |
| 496 | 'mixins': ['openh264', 'debug_bot'], |
| 497 | }, |
| 498 | |
| 499 | 'openh264_release_bot': { |
| 500 | 'mixins': ['openh264', 'release_bot'], |
| 501 | }, |
| 502 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 503 | 'release': { |
| 504 | 'gn_args': 'is_debug=false', |
| 505 | }, |
| 506 | |
| 507 | 'release_bot': { |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 508 | 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 509 | }, |
| 510 | |
| 511 | 'shared': { |
| 512 | 'gn_args': 'is_component_build=true', |
| 513 | 'gyp_defines': 'component=shared_library', |
| 514 | }, |
| 515 | |
| 516 | 'static': { |
| 517 | 'gn_args': 'is_component_build=false', |
| 518 | 'gyp_defines': 'component=static_library', |
| 519 | }, |
| 520 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 521 | 'swarming': { |
| 522 | 'gn_args': '', |
| 523 | 'gyp_defines': 'test_isolation_mode=prepare', |
| 524 | }, |
| 525 | |
kjellander | 0ae7878 | 2016-08-11 00:49:47 -0700 | [diff] [blame] | 526 | 'syzyasan': { |
| 527 | 'gn_args': 'is_syzyasan=true', |
| 528 | 'gyp_defines': 'syzyasan=1' |
| 529 | }, |
| 530 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 531 | 'tsan': { |
| 532 | 'gn_args': 'is_tsan=true', |
| 533 | 'gyp_defines': 'tsan=1', |
| 534 | }, |
| 535 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 536 | 'ubsan': { |
| 537 | 'gn_args': 'is_ubsan=true', |
| 538 | 'gyp_defines': 'ubsan=1', |
| 539 | }, |
| 540 | |
| 541 | 'ubsan_vptr': { |
| 542 | 'gn_args': 'is_ubsan_vptr=true', |
| 543 | 'gyp_defines': 'ubsan_vptr=1', |
| 544 | }, |
| 545 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 546 | 'x64': { |
| 547 | 'gn_args': 'target_cpu="x64"', |
| 548 | 'gyp_defines': 'target_arch=x64', |
| 549 | }, |
| 550 | |
| 551 | 'x86': { |
| 552 | 'gn_args': 'target_cpu="x86"', |
| 553 | 'gyp_defines': 'target_arch=ia32', |
| 554 | }, |
| 555 | }, |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 556 | } |