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 |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 33 | 'Linux32 ARM': 'gyp_crosscompile_release_bot_arm', |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 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', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 50 | 'Android32 Builder (dbg)': 'android_gyp_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 51 | 'Android32 Builder x86': 'android_gyp_release_bot_x86', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 52 | 'Android32 Builder x86 (dbg)': 'android_gyp_debug_static_bot_x86', |
| 53 | 'Android32 Builder MIPS (dbg)': 'android_gyp_clang_debug_static_bot_mipsel', |
| 54 | 'Android32 Clang (dbg)': 'android_gyp_clang_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 55 | 'Android64 Builder': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 56 | 'Android64 Builder (dbg)': 'android_gyp_debug_static_bot_arm64', |
| 57 | 'Android64 Builder x64 (dbg)': 'android_gyp_debug_static_bot_x64', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 58 | 'Android32 GN': 'android_gn_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 59 | 'Android32 GN (dbg)': 'android_gn_debug_static_bot_arm', |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 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', |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 84 | 'linux_arm': 'gyp_crosscompile_release_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 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 | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 95 | 'android_compile_dbg': 'android_gyp_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 96 | 'android_compile_rel': 'android_gyp_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 97 | 'android_compile_arm64_dbg': 'android_gyp_debug_static_bot_arm64', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 98 | 'android_compile_arm64_rel': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 99 | 'android_compile_x86_dbg': 'android_gyp_debug_static_bot_x86', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 100 | 'android_compile_x86_rel': 'android_gyp_release_bot_x86', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 101 | 'android_compile_x64_dbg': 'android_gyp_debug_static_bot_x64', |
| 102 | 'android_compile_mips_dbg': 'android_gyp_clang_debug_static_bot_mipsel', |
| 103 | 'android_dbg': 'android_gyp_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 104 | 'android_rel': 'android_gyp_release_bot_arm', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 105 | 'android_clang_dbg': 'android_gyp_clang_debug_static_bot_arm', |
kjellander | 63cb172 | 2016-08-10 08:28:25 -0700 | [diff] [blame] | 106 | 'android_arm64_rel': 'android_gyp_release_bot_arm64', |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 107 | 'android_n6': 'android_gyp_debug_static_bot_arm', |
| 108 | 'android_gn_dbg': 'android_gn_debug_static_bot_arm', |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 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 |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 146 | 'gyp_crosscompile_release_bot_arm': [ |
| 147 | 'gyp', 'crosscompile', '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 |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 190 | 'android_gyp_debug_static_bot_arm': [ |
| 191 | 'android', 'gyp', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 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 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 196 | 'android_gyp_debug_static_bot_x86': [ |
| 197 | 'android', 'gyp', 'debug_static_bot', 'x86' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 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 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 202 | 'android_gyp_clang_debug_static_bot_arm': [ |
| 203 | 'android', 'gyp', 'clang', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 204 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 205 | 'android_gyp_clang_debug_static_bot_mipsel': [ |
| 206 | 'android', 'gyp', 'clang', 'debug_static_bot', 'mipsel' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 207 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 208 | 'android_gyp_debug_static_bot_arm64': [ |
| 209 | 'android', 'gyp', 'debug_static_bot', 'arm64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 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 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 214 | 'android_gyp_debug_static_bot_x64': [ |
| 215 | 'android', 'gyp', 'debug_static_bot', 'x64' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 216 | ], |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 217 | 'android_gn_debug_static_bot_arm': [ |
| 218 | 'android', 'gn', 'debug_static_bot', 'arm' |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 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 | |
kjellander | 5d6b84c | 2016-08-09 13:17:40 -0700 | [diff] [blame] | 259 | 'crosscompile': { |
| 260 | # This mixin is only needed on GYP bots that are doing cross-compiles |
| 261 | # but are *not* targetting Android or iOS (where |
| 262 | # webrtc/build/gyp_webrtc.py will set the crosscompile variable |
| 263 | # automatically). It is not need in GN at all. |
| 264 | 'gyp_crosscompile': True, |
| 265 | }, |
| 266 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 267 | 'dcheck_always_on': { |
| 268 | 'gn_args': 'dcheck_always_on=true', |
| 269 | 'gyp_defines': 'dcheck_always_on=1', |
| 270 | }, |
| 271 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 272 | 'debug': { |
| 273 | 'gn_args': 'is_debug=true', |
| 274 | }, |
| 275 | |
| 276 | 'debug_bot': { |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 277 | 'mixins': ['debug', 'shared', 'goma'], |
| 278 | }, |
| 279 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 280 | 'debug_static_bot': { |
| 281 | 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], |
| 282 | }, |
| 283 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 284 | 'device': { |
kjellander@webrtc.org | 0c74ae1 | 2016-02-25 08:41:10 +0100 | [diff] [blame] | 285 | 'gn_args': 'ios_enable_code_signing=false', |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 286 | 'gyp_defines': 'chromium_ios_signing=0', |
| 287 | }, |
| 288 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 289 | # This mixin is used to force configs that use it to fail. It |
| 290 | # is used in two cases: when we have bots that we haven't looked |
| 291 | # at yet and don't know whether they need MB or not, and for bots |
| 292 | # that are test-only and should never run MB. |
| 293 | 'error': { |
| 294 | 'gn_args': 'error', |
| 295 | 'gyp_defines': 'target_arch=unknown', |
| 296 | }, |
| 297 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 298 | 'gn': {'type': 'gn'}, |
| 299 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 300 | 'goma': { |
| 301 | # The MB code will properly escape goma_dir if necessary in the GYP |
| 302 | # code path; the GN code path needs no escaping. |
| 303 | 'gn_args': 'use_goma=true', |
| 304 | 'gyp_defines': 'use_goma=1', |
| 305 | }, |
| 306 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 307 | 'gyp': {'type': 'gyp'}, |
| 308 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 309 | 'ios': { |
| 310 | 'gn_args': 'target_os="ios"', |
| 311 | 'gyp_defines': 'OS=ios', |
| 312 | }, |
| 313 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 314 | 'ios_debug_bot': { |
| 315 | 'mixins': ['debug', 'shared'] |
| 316 | }, |
| 317 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 318 | 'ios_release_bot': { |
| 319 | 'mixins': ['release', 'static'] |
| 320 | }, |
| 321 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 322 | 'lsan': { |
| 323 | 'gn_args': 'is_lsan=true', |
| 324 | 'gyp_defines': 'lsan=1', |
| 325 | }, |
| 326 | |
| 327 | 'memcheck': { |
| 328 | 'gyp_defines': 'build_for_tool=memcheck', |
| 329 | }, |
| 330 | |
kjellander | 68815bf | 2016-08-10 09:49:37 -0700 | [diff] [blame^] | 331 | 'minimal_symbols': { |
| 332 | 'gn_args': 'symbol_level=1', |
| 333 | 'gyp_defines': 'fastbuild=1', |
| 334 | }, |
| 335 | |
ehmaldonado | 89b0ca8 | 2016-08-09 08:15:03 -0700 | [diff] [blame] | 336 | 'mipsel': { |
| 337 | 'gn_args': 'target_cpu="mipsel"', |
| 338 | 'gyp_defines': 'target_arch=mipsel', |
| 339 | }, |
| 340 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 341 | 'msan': { |
| 342 | 'gn_args': ('is_msan=true msan_track_origins=2 ' |
| 343 | 'use_prebuilt_instrumented_libraries=true'), |
| 344 | 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
| 345 | 'use_prebuilt_instrumented_libraries=1'), |
| 346 | }, |
| 347 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 348 | 'openh264': { |
| 349 | 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true', |
| 350 | 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1', |
| 351 | }, |
| 352 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 353 | 'openh264_debug_bot': { |
| 354 | 'mixins': ['openh264', 'debug_bot'], |
| 355 | }, |
| 356 | |
| 357 | 'openh264_release_bot': { |
| 358 | 'mixins': ['openh264', 'release_bot'], |
| 359 | }, |
| 360 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 361 | 'release': { |
| 362 | 'gn_args': 'is_debug=false', |
| 363 | }, |
| 364 | |
| 365 | 'release_bot': { |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 366 | 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'], |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 367 | }, |
| 368 | |
| 369 | 'shared': { |
| 370 | 'gn_args': 'is_component_build=true', |
| 371 | 'gyp_defines': 'component=shared_library', |
| 372 | }, |
| 373 | |
| 374 | 'static': { |
| 375 | 'gn_args': 'is_component_build=false', |
| 376 | 'gyp_defines': 'component=static_library', |
| 377 | }, |
| 378 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 379 | 'swarming': { |
| 380 | 'gn_args': '', |
| 381 | 'gyp_defines': 'test_isolation_mode=prepare', |
| 382 | }, |
| 383 | |
kjellander | 3cb0c57 | 2016-08-09 13:00:57 -0700 | [diff] [blame] | 384 | 'tsan': { |
| 385 | 'gn_args': 'is_tsan=true', |
| 386 | 'gyp_defines': 'tsan=1', |
| 387 | }, |
| 388 | |
ehmaldonado | 09abaa0 | 2016-08-09 02:26:16 -0700 | [diff] [blame] | 389 | 'ubsan': { |
| 390 | 'gn_args': 'is_ubsan=true', |
| 391 | 'gyp_defines': 'ubsan=1', |
| 392 | }, |
| 393 | |
| 394 | 'ubsan_vptr': { |
| 395 | 'gn_args': 'is_ubsan_vptr=true', |
| 396 | 'gyp_defines': 'ubsan_vptr=1', |
| 397 | }, |
| 398 | |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 399 | 'x64': { |
| 400 | 'gn_args': 'target_cpu="x64"', |
| 401 | 'gyp_defines': 'target_arch=x64', |
| 402 | }, |
| 403 | |
| 404 | 'x86': { |
| 405 | 'gn_args': 'target_cpu="x86"', |
| 406 | 'gyp_defines': 'target_arch=ia32', |
| 407 | }, |
| 408 | }, |
kjellander@webrtc.org | 861dcb7 | 2016-02-24 21:36:40 +0100 | [diff] [blame] | 409 | } |