OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 from master import master_config | 5 from master import master_config |
6 from master.factory import chromium_factory | |
7 from master.factory import webrtc_factory | 6 from master.factory import webrtc_factory |
8 | 7 |
9 defaults = {} | 8 defaults = {} |
10 | 9 |
11 | 10 |
12 def linux(): | 11 def linux(): |
13 return webrtc_factory.WebRTCFactory('src/out', 'linux2') | 12 return webrtc_factory.WebRTCFactory('src/out', 'linux2') |
14 def android(): | |
15 return webrtc_factory.WebRTCFactory('', 'linux2', nohooks_on_update=True, | |
16 target_os='android') | |
17 | 13 |
18 helper = master_config.Helper(defaults) | 14 helper = master_config.Helper(defaults) |
19 B = helper.Builder | 15 B = helper.Builder |
20 F = helper.Factory | 16 F = helper.Factory |
21 S = helper.Scheduler | 17 S = helper.Scheduler |
22 | 18 |
23 scheduler = 'webrtc_linux_scheduler' | 19 scheduler = 'webrtc_linux_scheduler' |
24 S(scheduler, branch='trunk', treeStableTimer=0) | 20 S(scheduler, branch='trunk', treeStableTimer=0) |
25 | 21 |
26 tests = [ | 22 tests = [ |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 'isac_fixed_perf', | 136 'isac_fixed_perf', |
141 'vie_auto_test', | 137 'vie_auto_test', |
142 'video_engine_tests'], | 138 'video_engine_tests'], |
143 'custom_cmd_line_tests': ['audio_e2e_test', | 139 'custom_cmd_line_tests': ['audio_e2e_test', |
144 'audioproc_perf', | 140 'audioproc_perf', |
145 'isac_fixed_perf', | 141 'isac_fixed_perf', |
146 'vie_auto_test', | 142 'vie_auto_test', |
147 'voe_auto_test'], | 143 'voe_auto_test'], |
148 })) | 144 })) |
149 | 145 |
150 # Android. | |
151 B('Android NDK', 'android_ndk_factory', scheduler=scheduler, auto_reboot=False) | |
152 F('android_ndk_factory', android().ChromiumAnnotationFactory( | |
153 target='Debug', | |
154 slave_type='AnnotatedBuilderTester', | |
155 annotation_script='src/build/android/buildbot/bb_run_bot.py', | |
156 factory_properties={ | |
157 'android_bot_id': 'webrtc-builder-dbg', | |
158 })) | |
159 | |
160 # ChromeOS. | 146 # ChromeOS. |
161 B('Chrome OS', 'chromeos_factory', scheduler=scheduler, auto_reboot=False) | 147 B('Chrome OS', 'chromeos_factory', scheduler=scheduler, auto_reboot=False) |
162 F('chromeos_factory', linux().WebRTCFactory( | 148 F('chromeos_factory', linux().WebRTCFactory( |
163 target='Debug', | 149 target='Debug', |
164 options=ninja_options, | 150 options=ninja_options, |
165 tests=tests, | 151 tests=tests, |
166 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) | 152 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) |
167 | 153 |
168 | 154 |
169 def Update(c): | 155 def Update(c): |
170 helper.Update(c) | 156 helper.Update(c) |
OLD | NEW |