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 | 6 from master.factory import chromium_factory |
7 | 7 |
8 defaults = {} | 8 defaults = {} |
9 | 9 |
10 helper = master_config.Helper(defaults) | 10 helper = master_config.Helper(defaults) |
11 B = helper.Builder | 11 B = helper.Builder |
12 F = helper.Factory | 12 F = helper.Factory |
13 S = helper.Scheduler | 13 S = helper.Scheduler |
14 P = helper.Periodic | 14 P = helper.Periodic |
15 | 15 |
16 | 16 |
17 def win(): | 17 def win(): |
18 return chromium_factory.ChromiumFactory('src/build', 'win32') | 18 return chromium_factory.ChromiumFactory('src/build', 'win32') |
19 | 19 |
20 S('win_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) | 20 S('win_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) |
21 S('win_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) | 21 S('win_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) |
22 P('win_every_4_hours_scheduler', periodicBuildTimer=4*60*60) | 22 P('win_periodic_scheduler', periodicBuildTimer=4*60*60) |
23 | 23 |
24 project = 'all.sln;chromium_builder_webrtc' | 24 project = 'all.sln;chromium_builder_webrtc' |
25 tests = [ | 25 tests = [ |
26 'webrtc_manual_browser_tests', | 26 'webrtc_manual_browser_tests', |
27 'webrtc_manual_content_browsertests', | 27 'webrtc_manual_content_browsertests', |
28 'webrtc_content_unittests', | 28 'webrtc_content_unittests', |
29 'webrtc_perf_content_unittests', | 29 'webrtc_perf_content_unittests', |
30 'sizes', | 30 'sizes', |
31 ] | 31 ] |
32 | 32 |
33 defaults['category'] = 'win' | 33 defaults['category'] = 'win' |
34 | 34 |
35 B('Win [latest WebRTC trunk]', 'win_webrtc_trunk_factory', | 35 B('Win [latest WebRTC trunk]', 'win_webrtc_trunk_factory', |
36 scheduler='win_webrtc_trunk_scheduler|win_every_4_hours_scheduler', | 36 scheduler='win_webrtc_trunk_scheduler|win_periodic_scheduler', |
37 notify_on_missing=True) | 37 notify_on_missing=True) |
38 F('win_webrtc_trunk_factory', win().ChromiumWebRTCLatestTrunkFactory( | 38 F('win_webrtc_trunk_factory', win().ChromiumWebRTCLatestTrunkFactory( |
39 slave_type='BuilderTester', | 39 slave_type='BuilderTester', |
40 target='Release', | 40 target='Release', |
41 project=project, | 41 project=project, |
42 tests=tests, | 42 tests=tests, |
43 factory_properties={ | 43 factory_properties={ |
44 'virtual_webcam': True, | 44 'virtual_webcam': True, |
45 'show_perf_results': True, | 45 'show_perf_results': True, |
46 'perf_id': 'chromium-webrtc-trunk-tot-rel-win', | 46 'perf_id': 'chromium-webrtc-trunk-tot-rel-win', |
47 'process_dumps': True, | 47 'process_dumps': True, |
48 'start_crash_handler': True, | 48 'start_crash_handler': True, |
49 })) | 49 })) |
50 | 50 |
51 B('Win [latest WebRTC stable]', 'win_webrtc_stable_factory', | 51 B('Win [latest WebRTC stable]', 'win_webrtc_stable_factory', |
52 scheduler='win_webrtc_stable_scheduler|win_every_4_hours_scheduler', | 52 scheduler='win_webrtc_stable_scheduler|win_periodic_scheduler', |
53 notify_on_missing=True) | 53 notify_on_missing=True) |
54 F('win_webrtc_stable_factory', win().ChromiumWebRTCLatestStableFactory( | 54 F('win_webrtc_stable_factory', win().ChromiumWebRTCLatestStableFactory( |
55 slave_type='BuilderTester', | 55 slave_type='BuilderTester', |
56 target='Release', | 56 target='Release', |
57 project=project, | 57 project=project, |
58 tests=tests, | 58 tests=tests, |
59 factory_properties={ | 59 factory_properties={ |
60 'virtual_webcam': True, | 60 'virtual_webcam': True, |
61 'show_perf_results': True, | 61 'show_perf_results': True, |
62 'perf_id': 'chromium-webrtc-stable-tot-rel-win', | 62 'perf_id': 'chromium-webrtc-stable-tot-rel-win', |
63 'process_dumps': True, | 63 'process_dumps': True, |
64 'start_crash_handler': True, | 64 'start_crash_handler': True, |
65 })) | 65 })) |
66 | 66 |
67 | 67 |
68 def Update(config, active_master, c): | 68 def Update(config, active_master, c): |
69 return helper.Update(c) | 69 return helper.Update(c) |
OLD | NEW |