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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_webrtc.py

Issue 1968293004: WebRTC: Enable MB on our remaining Chromium builders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_tests/chromium_webrtc_fyi.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import collections 5 import collections
6 from . import steps 6 from . import steps
7 7
8 8
9 _builders = collections.defaultdict(dict) 9 _builders = collections.defaultdict(dict)
10 10
(...skipping 27 matching lines...) Expand all
38 if platform == 'android': 38 if platform == 'android':
39 spec['android_config'] = 'base_config' 39 spec['android_config'] = 'base_config'
40 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm' 40 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm'
41 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android' 41 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android'
42 spec['chromium_apply_config'].append('android') 42 spec['chromium_apply_config'].append('android')
43 spec['gclient_apply_config'].append('android') 43 spec['gclient_apply_config'].append('android')
44 return spec 44 return spec
45 45
46 46
47 def BuildSpec(platform, target_bits, build_config='Release', 47 def BuildSpec(platform, target_bits, build_config='Release',
48 gclient_config='chromium_webrtc', mb=False): 48 gclient_config='chromium_webrtc'):
49 spec = BaseSpec( 49 spec = BaseSpec(
50 bot_type='builder', 50 bot_type='builder',
51 chromium_apply_config=['dcheck', 'blink_logging_on'], 51 chromium_apply_config=['dcheck', 'blink_logging_on', 'mb'],
52 gclient_config=gclient_config, 52 gclient_config=gclient_config,
53 platform=platform, 53 platform=platform,
54 target_bits=target_bits, 54 target_bits=target_bits,
55 build_config=build_config) 55 build_config=build_config)
56
57 if platform == 'android':
58 spec['compile_targets'] = []
59 else:
60 spec['compile_targets'] = ['chromium_builder_webrtc']
61
62 if mb:
63 spec['chromium_apply_config'].append('mb')
64
65 return spec 56 return spec
66 57
67 58
68 class WebRTCTest(steps.GTestTest): 59 class WebRTCTest(steps.GTestTest):
69 """A GTestTest with the ability to turn on perf reporting. 60 """A GTestTest with the ability to turn on perf reporting.
70 61
71 WebRTC is the only project that runs correctness tests with perf reporting 62 WebRTC is the only project that runs correctness tests with perf reporting
72 enabled at the same time, which differs from the chromium.perf bots. 63 enabled at the same time, which differs from the chromium.perf bots.
73 """ 64 """
74 def __init__(self, name, args=None, perf_id=None, **runtest_kwargs): 65 def __init__(self, name, args=None, perf_id=None, **runtest_kwargs):
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 150
160 AddBuildSpec('Win Builder', 'win', target_bits=32) 151 AddBuildSpec('Win Builder', 'win', target_bits=32)
161 AddBuildSpec('Mac Builder', 'mac') 152 AddBuildSpec('Mac Builder', 'mac')
162 AddBuildSpec('Linux Builder', 'linux') 153 AddBuildSpec('Linux Builder', 'linux')
163 154
164 AddTestSpec('Win7 Tester', 'chromium-webrtc-rel-7', 'win', target_bits=32) 155 AddTestSpec('Win7 Tester', 'chromium-webrtc-rel-7', 'win', target_bits=32)
165 AddTestSpec('Win8 Tester', 'chromium-webrtc-rel-win8', 'win', target_bits=32) 156 AddTestSpec('Win8 Tester', 'chromium-webrtc-rel-win8', 'win', target_bits=32)
166 AddTestSpec('Win10 Tester', 'chromium-webrtc-rel-win10', 'win', target_bits=32) 157 AddTestSpec('Win10 Tester', 'chromium-webrtc-rel-win10', 'win', target_bits=32)
167 AddTestSpec('Mac Tester', 'chromium-webrtc-rel-mac', 'mac') 158 AddTestSpec('Mac Tester', 'chromium-webrtc-rel-mac', 'mac')
168 AddTestSpec('Linux Tester', 'chromium-webrtc-rel-linux', 'linux') 159 AddTestSpec('Linux Tester', 'chromium-webrtc-rel-linux', 'linux')
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_tests/chromium_webrtc_fyi.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698