Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1051)

Side by Side Diff: tools-webrtc/mb/mb_config.pyl

Issue 2688103002: iOS: Use JSON for GN configuration instead of MB + remove symbols (Closed)
Patch Set: Enabling code signing on simulators Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 GN args in tryjob patches. 12 # easy to try different configurations of GN args 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_debug_static_bot_arm_device', 23 'iOS32 Debug': 'ios',
24 'iOS32 Release': 'ios_release_bot_arm_device', 24 'iOS32 Release': 'ios',
25 'iOS64 Debug': 'ios_debug_static_bot_arm64_device', 25 'iOS64 Debug': 'ios',
26 'iOS64 Release': 'ios_release_bot_arm64_device', 26 'iOS64 Release': 'ios',
27 'iOS32 Sim Debug (iOS 9.0)': 'ios_debug_static_bot_x86', 27 'iOS32 Sim Debug (iOS 9.0)': 'ios',
28 'iOS64 Sim Debug (iOS 9.0)': 'ios_debug_static_bot_x64', 28 'iOS64 Sim Debug (iOS 9.0)': 'ios',
29 'iOS64 Sim Debug (iOS 10.0)': 'ios_debug_static_bot_x64', 29 'iOS64 Sim Debug (iOS 10.0)': 'ios',
30 30
31 # Mac 31 # Mac
32 'Mac64 Debug': 'debug_bot_x64', 32 'Mac64 Debug': 'debug_bot_x64',
33 'Mac64 Release': 'release_bot_x64', 33 'Mac64 Release': 'release_bot_x64',
34 'Mac Asan': 'mac_asan_clang_release_bot_x64', 34 'Mac Asan': 'mac_asan_clang_release_bot_x64',
35 'Mac64 Release [large tests]': 'release_bot_x64', 35 'Mac64 Release [large tests]': 'release_bot_x64',
36 36
37 # Linux 37 # Linux
38 'Linux32 Debug': 'debug_bot_x86', 38 'Linux32 Debug': 'debug_bot_x86',
39 'Linux32 Release': 'release_bot_x86', 39 'Linux32 Release': 'release_bot_x86',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'Android (swarming)': 'android_release_bot_arm', 98 'Android (swarming)': 'android_release_bot_arm',
99 'Android ASan (swarming)': 'android_asan_shared_release_bot_arm', 99 'Android ASan (swarming)': 'android_asan_shared_release_bot_arm',
100 # Windows 100 # Windows
101 'Win (swarming)': 'release_bot_x86', 101 'Win (swarming)': 'release_bot_x86',
102 'Win32 ASan (swarming)': 'win_asan_clang_release_bot_x86', 102 'Win32 ASan (swarming)': 'win_asan_clang_release_bot_x86',
103 'Win64 Debug (Win8)': 'debug_bot_x64', 103 'Win64 Debug (Win8)': 'debug_bot_x64',
104 'Win64 Debug (Win10)': 'debug_bot_x64', 104 'Win64 Debug (Win10)': 'debug_bot_x64',
105 }, 105 },
106 'tryserver.webrtc': { 106 'tryserver.webrtc': {
107 # iOS 107 # iOS
108 'ios_dbg': 'ios_debug_static_bot_arm_device', 108 'ios_dbg': 'ios',
109 'ios_rel': 'ios_release_bot_arm_device', 109 'ios_rel': 'ios',
110 'ios_arm64_dbg': 'ios_debug_static_bot_arm64_device', 110 'ios_arm64_dbg': 'ios',
111 'ios_arm64_rel': 'ios_release_bot_arm64_device', 111 'ios_arm64_rel': 'ios',
112 'ios32_sim_ios9_dbg': 'ios_debug_static_bot_x86', 112 'ios32_sim_ios9_dbg': 'ios',
113 'ios64_sim_ios9_dbg': 'ios_debug_static_bot_x64', 113 'ios64_sim_ios9_dbg': 'ios',
114 'ios64_sim_ios10_dbg': 'ios_debug_static_bot_x64', 114 'ios64_sim_ios10_dbg': 'ios',
115 115
116 # Mac 116 # Mac
117 'mac_compile_dbg': 'debug_bot_x64', 117 'mac_compile_dbg': 'debug_bot_x64',
118 'mac_compile_rel': 'release_bot_x64', 118 'mac_compile_rel': 'release_bot_x64',
119 'mac_dbg': 'debug_bot_x64', 119 'mac_dbg': 'debug_bot_x64',
120 'mac_rel': 'release_bot_x64', 120 'mac_rel': 'release_bot_x64',
121 'mac_asan': 'mac_asan_clang_release_bot_x64', 121 'mac_asan': 'mac_asan_clang_release_bot_x64',
122 'mac_baremetal': 'release_bot_x64', 122 'mac_baremetal': 'release_bot_x64',
123 123
124 # Linux 124 # Linux
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'win_x64_win8': 'debug_bot_x64', 171 'win_x64_win8': 'debug_bot_x64',
172 'win_x64_win10': 'debug_bot_x64', 172 'win_x64_win10': 'debug_bot_x64',
173 } 173 }
174 }, 174 },
175 175
176 # This is the list of configs that you can pass to mb; each config 176 # This is the list of configs that you can pass to mb; each config
177 # represents a particular combination of gn args that we must support. 177 # represents a particular combination of gn args that we must support.
178 # A given config *may* be platform-specific but is not necessarily so (i.e., 178 # A given config *may* be platform-specific but is not necessarily so (i.e.,
179 # we might have mac, win, and linux bots all using the 'release_bot' config). 179 # we might have mac, win, and linux bots all using the 'release_bot' config).
180 'configs': { 180 'configs': {
181 # iOS
182 'ios_debug_static_bot_arm64_device': [
183 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
184 ],
185 'ios_release_bot_arm64_device': [
186 'ios', 'gn', 'release_bot', 'arm64', 'device'
187 ],
188 'ios_debug_static_bot_arm_device': [
189 'ios', 'gn', 'debug_static_bot', 'arm', 'device'
190 ],
191 'ios_release_bot_arm_device': [
192 'ios', 'gn', 'release_bot', 'arm', 'device'
193 ],
194 'ios_debug_static_bot_x86': [
195 'ios', 'gn', 'debug_static_bot', 'x86'
196 ],
197 'ios_debug_static_bot_x64': [
198 'ios', 'gn', 'debug_static_bot', 'x64'
199 ],
200
201 # Linux, Mac and Windows 181 # Linux, Mac and Windows
202 'gcc_release_bot_x64': [ 182 'gcc_release_bot_x64': [
203 'gn', 'gcc', 'release_bot', 'x64' 183 'gn', 'gcc', 'release_bot', 'x64'
204 ], 184 ],
205 'release_bot_arm': [ 185 'release_bot_arm': [
206 'gn', 'openh264_release_bot', 'arm' 186 'gn', 'openh264_release_bot', 'arm'
207 ], 187 ],
208 'asan_lsan_clang_release_bot_x64': [ 188 'asan_lsan_clang_release_bot_x64': [
209 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' 189 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
210 ], 190 ],
(...skipping 27 matching lines...) Expand all
238 'perf_release_bot_x64': [ 218 'perf_release_bot_x64': [
239 'gn', 'openh264', 'release', 'static', 'goma', 'x64' 219 'gn', 'openh264', 'release', 'static', 'goma', 'x64'
240 ], 220 ],
241 'libfuzzer_asan_release_bot_x64': [ 221 'libfuzzer_asan_release_bot_x64': [
242 'libfuzzer', 'asan', 'optimize_for_fuzzing', 'openh264_release_bot', 'x64' 222 'libfuzzer', 'asan', 'optimize_for_fuzzing', 'openh264_release_bot', 'x64'
243 ], 223 ],
244 'memcheck_release_bot_x64': [ 224 'memcheck_release_bot_x64': [
245 'memcheck', 'gn', 'openh264_release_bot', 'x64' 225 'memcheck', 'gn', 'openh264_release_bot', 'x64'
246 ], 226 ],
247 227
228 # iOS
229 # The 'ios' config is just used for auditing. iOS bots
230 # use the ios recipes and look up their GN arguments via files checked in
231 # under //tools-webrtc/ios/bots. It is an error to actually use one of these
232 # configs to generate the build files.
233 'ios': [ 'error'],
234
248 # Windows 235 # Windows
249 'win_clang_debug_bot_x86': [ 236 'win_clang_debug_bot_x86': [
250 'gn', 'clang', 'openh264_debug_bot', 'x86', 237 'gn', 'clang', 'openh264_debug_bot', 'x86',
251 ], 238 ],
252 'win_clang_release_bot_x86': [ 239 'win_clang_release_bot_x86': [
253 'gn', 'clang', 'openh264_release_bot', 'x86', 240 'gn', 'clang', 'openh264_release_bot', 'x86',
254 ], 241 ],
255 'win_clang_debug_bot_x64': [ 242 'win_clang_debug_bot_x64': [
256 'gn', 'clang', 'openh264_debug_bot', 'x64', 243 'gn', 'clang', 'openh264_debug_bot', 'x64',
257 ], 244 ],
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 }, 334 },
348 335
349 'debug_bot': { 336 'debug_bot': {
350 'mixins': ['debug', 'shared', 'goma'], 337 'mixins': ['debug', 'shared', 'goma'],
351 }, 338 },
352 339
353 'debug_static_bot': { 340 'debug_static_bot': {
354 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], 341 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
355 }, 342 },
356 343
357 'device': {
358 'gn_args': 'ios_enable_code_signing=false',
359 },
360
361 # This mixin is used to force configs that use it to fail. It 344 # This mixin is used to force configs that use it to fail. It
362 # is used in two cases: when we have bots that we haven't looked 345 # is used in two cases: when we have bots that we haven't looked
363 # at yet and don't know whether they need MB or not, and for bots 346 # at yet and don't know whether they need MB or not, and for bots
364 # that are test-only and should never run MB. 347 # that are test-only and should never run MB.
365 'error': { 348 'error': {
366 'gn_args': 'error', 349 'gn_args': 'error',
367 }, 350 },
368 351
369 'full_symbols': { 352 'full_symbols': {
370 'gn_args': 'symbol_level=2', 353 'gn_args': 'symbol_level=2',
371 }, 354 },
372 355
373 'gcc': { 356 'gcc': {
374 'gn_args': 'is_clang=false use_sysroot=false', 357 'gn_args': 'is_clang=false use_sysroot=false',
375 }, 358 },
376 359
377 'gn': {'type': 'gn'}, 360 'gn': {'type': 'gn'},
378 361
379 'goma': { 362 'goma': {
380 'gn_args': 'use_goma=true', 363 'gn_args': 'use_goma=true',
381 }, 364 },
382 365
383 'ios': {
384 'gn_args': 'target_os="ios"',
385 },
386
387 'libfuzzer': { 366 'libfuzzer': {
388 'gn_args': 'use_libfuzzer=true', 367 'gn_args': 'use_libfuzzer=true',
389 }, 368 },
390 369
391 'lsan': { 370 'lsan': {
392 'gn_args': 'is_lsan=true', 371 'gn_args': 'is_lsan=true',
393 }, 372 },
394 373
395 'memcheck': { 374 'memcheck': {
396 'gn_args': 'rtc_use_memcheck=true', 375 'gn_args': 'rtc_use_memcheck=true',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 442
464 'x64': { 443 'x64': {
465 'gn_args': 'target_cpu="x64"', 444 'gn_args': 'target_cpu="x64"',
466 }, 445 },
467 446
468 'x86': { 447 'x86': {
469 'gn_args': 'target_cpu="x86"', 448 'gn_args': 'target_cpu="x86"',
470 }, 449 },
471 }, 450 },
472 } 451 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698