| 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 mac(): | 17 def mac(): |
| 18 return chromium_factory.ChromiumFactory('src/xcodebuild', 'darwin') | 18 return chromium_factory.ChromiumFactory('src/xcodebuild', 'darwin') |
| 19 | 19 |
| 20 S('mac_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) | 20 S('mac_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) |
| 21 S('mac_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) | 21 S('mac_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) |
| 22 P('mac_every_4_hours_scheduler', periodicBuildTimer=4*60*60) | 22 P('mac_every_4_hours_scheduler', periodicBuildTimer=4*60*60) |
| 23 | 23 |
| 24 options = ['--compiler=goma-clang', '--', '-target', 'chromium_builder_webrtc'] | 24 options = ['--compiler=goma-clang', '--', '-target', 'chromium_builder_webrtc'] |
| 25 tests = ['pyauto_webrtc_tests'] | 25 tests = [ |
| 26 'pyauto_webrtc_tests', |
| 27 'pyauto_webrtc_apprtc_test', |
| 28 'pyauto_webrtc_quality_tests', |
| 29 'webrtc_manual_browser_tests', |
| 30 'webrtc_manual_content_browsertests', |
| 31 'webrtc_content_unittests', |
| 32 'webrtc_perf_content_unittests', |
| 33 ] |
| 26 | 34 |
| 27 defaults['category'] = 'mac' | 35 defaults['category'] = 'mac' |
| 28 | 36 |
| 29 B('Mac [latest WebRTC trunk]', 'mac_webrtc_trunk_factory', | 37 B('Mac [latest WebRTC trunk]', 'mac_webrtc_trunk_factory', |
| 30 scheduler='mac_webrtc_trunk_scheduler|mac_every_4_hours_scheduler', | 38 scheduler='mac_webrtc_trunk_scheduler|mac_every_4_hours_scheduler', |
| 31 notify_on_missing=True) | 39 notify_on_missing=True) |
| 32 F('mac_webrtc_trunk_factory', mac().ChromiumWebRTCLatestTrunkFactory( | 40 F('mac_webrtc_trunk_factory', mac().ChromiumWebRTCLatestTrunkFactory( |
| 33 slave_type='BuilderTester', | 41 slave_type='BuilderTester', |
| 34 target='Release', | 42 target='Release', |
| 35 options=options, | 43 options=options, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 48 options=options, | 56 options=options, |
| 49 tests=tests, | 57 tests=tests, |
| 50 factory_properties={ | 58 factory_properties={ |
| 51 'show_perf_results': True, | 59 'show_perf_results': True, |
| 52 'perf_id': 'chromium-webrtc-stable-tot-rel-mac', | 60 'perf_id': 'chromium-webrtc-stable-tot-rel-mac', |
| 53 })) | 61 })) |
| 54 | 62 |
| 55 | 63 |
| 56 def Update(config, active_master, c): | 64 def Update(config, active_master, c): |
| 57 return helper.Update(c) | 65 return helper.Update(c) |
| OLD | NEW |