| 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 linux(): | 17 def linux(): |
| 18 return chromium_factory.ChromiumFactory('src/out', 'linux2') | 18 return chromium_factory.ChromiumFactory('src/out', 'linux2') |
| 19 | 19 |
| 20 S('linux_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) | 20 S('linux_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) |
| 21 S('linux_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) | 21 S('linux_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) |
| 22 P('linux_every_4_hours_scheduler', periodicBuildTimer=4*60*60) | 22 P('linux_periodic_scheduler', periodicBuildTimer=60*60) |
| 23 | 23 |
| 24 options = ['--compiler=goma', '--build-tool=ninja', '--', | 24 options = ['--compiler=goma', '--build-tool=ninja', '--', |
| 25 'chromium_builder_webrtc'] | 25 'chromium_builder_webrtc'] |
| 26 tests = [ | 26 tests = [ |
| 27 'webrtc_manual_browser_tests', | 27 'webrtc_manual_browser_tests', |
| 28 'webrtc_manual_content_browsertests', | 28 'webrtc_manual_content_browsertests', |
| 29 'webrtc_content_unittests', | 29 'webrtc_content_unittests', |
| 30 'webrtc_perf_content_unittests', | 30 'webrtc_perf_content_unittests', |
| 31 'sizes', | 31 'sizes', |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 defaults['category'] = 'linux' | 34 defaults['category'] = 'linux' |
| 35 | 35 |
| 36 B('Linux [latest WebRTC trunk]', 'linux_webrtc_trunk_factory', | 36 B('Linux [latest WebRTC trunk]', 'linux_webrtc_trunk_factory', |
| 37 scheduler='linux_webrtc_trunk_scheduler|linux_every_4_hours_scheduler', | 37 scheduler='linux_webrtc_trunk_scheduler|linux_periodic_scheduler', |
| 38 notify_on_missing=True) | 38 notify_on_missing=True) |
| 39 F('linux_webrtc_trunk_factory', linux().ChromiumWebRTCLatestTrunkFactory( | 39 F('linux_webrtc_trunk_factory', linux().ChromiumWebRTCLatestTrunkFactory( |
| 40 slave_type='BuilderTester', | 40 slave_type='BuilderTester', |
| 41 target='Release', | 41 target='Release', |
| 42 options=options, | 42 options=options, |
| 43 tests=tests, | 43 tests=tests, |
| 44 factory_properties={ | 44 factory_properties={ |
| 45 'virtual_webcam': True, | 45 'virtual_webcam': True, |
| 46 'use_xvfb_on_linux': True, | 46 'use_xvfb_on_linux': True, |
| 47 'show_perf_results': True, | 47 'show_perf_results': True, |
| 48 'perf_id': 'chromium-webrtc-trunk-tot-rel-linux', | 48 'perf_id': 'chromium-webrtc-trunk-tot-rel-linux', |
| 49 })) | 49 })) |
| 50 | 50 |
| 51 B('Linux [latest WebRTC stable]', 'linux_webrtc_stable_factory', | 51 B('Linux [latest WebRTC stable]', 'linux_webrtc_stable_factory', |
| 52 scheduler='linux_webrtc_stable_scheduler|linux_every_4_hours_scheduler', | 52 scheduler='linux_webrtc_stable_scheduler|linux_periodic_scheduler', |
| 53 notify_on_missing=True) | 53 notify_on_missing=True) |
| 54 F('linux_webrtc_stable_factory', linux().ChromiumWebRTCLatestStableFactory( | 54 F('linux_webrtc_stable_factory', linux().ChromiumWebRTCLatestStableFactory( |
| 55 slave_type='BuilderTester', | 55 slave_type='BuilderTester', |
| 56 target='Release', | 56 target='Release', |
| 57 options=options, | 57 options=options, |
| 58 tests=tests, | 58 tests=tests, |
| 59 factory_properties={ | 59 factory_properties={ |
| 60 'virtual_webcam': True, | 60 'virtual_webcam': True, |
| 61 'use_xvfb_on_linux': True, | 61 'use_xvfb_on_linux': True, |
| 62 'show_perf_results': True, | 62 'show_perf_results': True, |
| 63 'perf_id': 'chromium-webrtc-stable-tot-rel-linux', | 63 'perf_id': 'chromium-webrtc-stable-tot-rel-linux', |
| 64 })) | 64 })) |
| 65 | 65 |
| 66 | 66 |
| 67 def Update(config, active_master, c): | 67 def Update(config, active_master, c): |
| 68 helper.Update(c) | 68 helper.Update(c) |
| OLD | NEW |