| 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 T = helper.Triggerable | 15 T = helper.Triggerable |
| 16 | 16 |
| 17 | 17 |
| 18 def linux(): | 18 def linux(): |
| 19 return chromium_factory.ChromiumFactory('src/out', 'linux2') | 19 return chromium_factory.ChromiumFactory('src/out', 'linux2') |
| 20 def linux_tester(): | 20 def linux_tester(): |
| 21 return chromium_factory.ChromiumFactory('src/out', 'linux2', | 21 return chromium_factory.ChromiumFactory('src/out', 'linux2', |
| 22 nohooks_on_update=True) | 22 nohooks_on_update=True) |
| 23 | 23 |
| 24 S('linux_rel_scheduler', branch='src', treeStableTimer=60) | 24 S('linux_rel_scheduler', branch='src', treeStableTimer=60) |
| 25 P('linux_daily_scheduler', periodicBuildTimer=24*60*60) | 25 P('linux_daily_scheduler', periodicBuildTimer=24*60*60) |
| 26 T('linux_rel_trigger') | 26 T('linux_rel_trigger') |
| 27 | 27 |
| 28 chromium_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc', | 28 chromium_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 29 'Linux Builder') | 29 'Linux Builder') |
| 30 tests = ['pyauto_webrtc_tests', 'webrtc_perf_content_unittests'] | 30 tests = [ |
| 31 'pyauto_webrtc_tests', |
| 32 'pyauto_webrtc_apprtc_test', |
| 33 'pyauto_webrtc_quality_tests', |
| 34 'webrtc_manual_browser_tests', |
| 35 'webrtc_manual_content_browsertests', |
| 36 'webrtc_content_unittests', |
| 37 'webrtc_perf_content_unittests', |
| 38 ] |
| 31 | 39 |
| 32 defaults['category'] = 'linux' | 40 defaults['category'] = 'linux' |
| 33 | 41 |
| 34 B('Linux Builder', 'linux_rel_factory', scheduler='linux_rel_scheduler', | 42 B('Linux Builder', 'linux_rel_factory', scheduler='linux_rel_scheduler', |
| 35 notify_on_missing=True) | 43 notify_on_missing=True) |
| 36 F('linux_rel_factory', linux().ChromiumFactory( | 44 F('linux_rel_factory', linux().ChromiumFactory( |
| 37 slave_type='Builder', | 45 slave_type='Builder', |
| 38 target='Release', | 46 target='Release', |
| 39 options=['--compiler=goma', '--build-tool=ninja', '--', | 47 options=['--compiler=goma', '--build-tool=ninja', '--', |
| 40 'chromium_builder_webrtc'], | 48 'chromium_builder_webrtc'], |
| (...skipping 21 matching lines...) Expand all Loading... |
| 62 scheduler='linux_daily_scheduler') | 70 scheduler='linux_daily_scheduler') |
| 63 F('linux_webrtc_disabled_factory', linux().ChromiumFactory( | 71 F('linux_webrtc_disabled_factory', linux().ChromiumFactory( |
| 64 slave_type='BuilderTester', | 72 slave_type='BuilderTester', |
| 65 factory_properties={ | 73 factory_properties={ |
| 66 'gclient_env': {'GYP_DEFINES': ('enable_webrtc=0 ' | 74 'gclient_env': {'GYP_DEFINES': ('enable_webrtc=0 ' |
| 67 'component=static_library')}, | 75 'component=static_library')}, |
| 68 })) | 76 })) |
| 69 | 77 |
| 70 def Update(config, active_master, c): | 78 def Update(config, active_master, c): |
| 71 helper.Update(c) | 79 helper.Update(c) |
| OLD | NEW |