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