OLD | NEW |
(Empty) | |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from master import master_config |
| 6 from master.factory import chromium_factory |
| 7 |
| 8 defaults = {} |
| 9 |
| 10 helper = master_config.Helper(defaults) |
| 11 B = helper.Builder |
| 12 F = helper.Factory |
| 13 S = helper.Scheduler |
| 14 T = helper.Triggerable |
| 15 P = helper.Periodic |
| 16 |
| 17 |
| 18 def android(): |
| 19 return chromium_factory.ChromiumFactory('', 'linux2', nohooks_on_update=True, |
| 20 target_os='android') |
| 21 |
| 22 S('android_webrtc_trunk_scheduler', branch='trunk', treeStableTimer=0) |
| 23 S('android_webrtc_stable_scheduler', branch='stable', treeStableTimer=0) |
| 24 P('android_periodic_scheduler', periodicBuildTimer=30*60) |
| 25 T('android_trigger_trunk') |
| 26 T('android_trigger_stable') |
| 27 |
| 28 defaults['category'] = 'android' |
| 29 |
| 30 android_trunk_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 31 'android_chromium_trunk') |
| 32 android_stable_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 33 'android_chromium_stable') |
| 34 |
| 35 |
| 36 B('Android Builder [latest WebRTC trunk]', 'android_builder_trunk_factory', |
| 37 scheduler='android_webrtc_trunk_scheduler|android_periodic_scheduler', |
| 38 notify_on_missing=True) |
| 39 F('android_builder_trunk_factory', android().ChromiumWebRTCAndroidFactory( |
| 40 target='Release', |
| 41 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 42 factory_properties={ |
| 43 'android_bot_id': 'webrtc-chromium-builder-rel', |
| 44 'build_url': android_trunk_archive, |
| 45 'trigger': 'android_trigger_trunk', |
| 46 })) |
| 47 |
| 48 B('Android Tests (JB Nexus7.2) [latest WebRTC trunk]', |
| 49 'android_tests_trunk_factory', scheduler='android_trigger_trunk', |
| 50 notify_on_missing=True) |
| 51 F('android_tests_trunk_factory', android().ChromiumWebRTCAndroidFactory( |
| 52 target='Release', |
| 53 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 54 factory_properties={ |
| 55 'android_bot_id': 'webrtc-chromium-tests-rel', |
| 56 'build_url': android_trunk_archive, |
| 57 })) |
| 58 |
| 59 B('Android Builder [latest WebRTC stable]', 'android_builder_stable_factory', |
| 60 scheduler='android_webrtc_stable_scheduler|android_periodic_scheduler', |
| 61 notify_on_missing=True) |
| 62 F('android_builder_stable_factory', android().ChromiumWebRTCAndroidFactory( |
| 63 target='Release', |
| 64 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 65 factory_properties={ |
| 66 'android_bot_id': 'webrtc-chromium-builder-rel', |
| 67 'build_url': android_stable_archive, |
| 68 'trigger': 'android_trigger_stable', |
| 69 })) |
| 70 |
| 71 B('Android Tests (JB Nexus7.2) [latest WebRTC stable]', |
| 72 'android_tests_stable_factory', scheduler='android_trigger_stable', |
| 73 notify_on_missing=True) |
| 74 F('android_tests_stable_factory', android().ChromiumWebRTCAndroidFactory( |
| 75 target='Release', |
| 76 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 77 factory_properties={ |
| 78 'android_bot_id': 'webrtc-chromium-tests-rel', |
| 79 'build_url': android_stable_archive, |
| 80 })) |
| 81 |
| 82 |
| 83 def Update(config, active_master, c): |
| 84 helper.Update(c) |
| 85 |
OLD | NEW |