OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 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 |
| 16 |
| 17 def android(): |
| 18 return chromium_factory.ChromiumFactory('', 'linux2', nohooks_on_update=True, |
| 19 target_os='android') |
| 20 |
| 21 defaults['category'] = 'android' |
| 22 |
| 23 android_dbg_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 24 'android_dbg') |
| 25 android_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 26 'android_rel') |
| 27 |
| 28 scheduler = 'webrtc_android_scheduler' |
| 29 S(scheduler, branch='trunk', treeStableTimer=0) |
| 30 |
| 31 T('android_trigger_dbg') |
| 32 T('android_trigger_rel') |
| 33 |
| 34 B('Android Builder (dbg)', 'f_android_dbg', scheduler=scheduler, |
| 35 notify_on_missing=True) |
| 36 F('f_android_dbg', android().ChromiumWebRTCAndroidFactory( |
| 37 target='Debug', |
| 38 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 39 factory_properties={ |
| 40 'android_bot_id': 'webrtc-builder-dbg', |
| 41 'build_url': android_dbg_archive, |
| 42 'trigger': 'android_trigger_dbg', |
| 43 })) |
| 44 |
| 45 B('Android Tests (dbg)', 'f_android_dbg_tests', scheduler='android_trigger_dbg', |
| 46 notify_on_missing=True) |
| 47 F('f_android_dbg_tests', android().ChromiumWebRTCAndroidFactory( |
| 48 target='Debug', |
| 49 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 50 factory_properties={ |
| 51 'android_bot_id': 'webrtc-tests-dbg', |
| 52 'build_url': android_dbg_archive, |
| 53 })) |
| 54 |
| 55 B('Android Builder', 'f_android_rel', scheduler=scheduler, |
| 56 notify_on_missing=True) |
| 57 F('f_android_rel', android().ChromiumWebRTCAndroidFactory( |
| 58 target='Release', |
| 59 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 60 factory_properties={ |
| 61 'android_bot_id': 'webrtc-builder-rel', |
| 62 'build_url': android_rel_archive, |
| 63 'trigger': 'android_trigger_rel', |
| 64 })) |
| 65 |
| 66 B('Android Tests', 'f_android_rel_tests', scheduler='android_trigger_rel', |
| 67 notify_on_missing=True) |
| 68 F('f_android_rel_tests', android().ChromiumWebRTCAndroidFactory( |
| 69 target='Release', |
| 70 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 71 factory_properties={ |
| 72 'android_bot_id': 'webrtc-tests-rel', |
| 73 'build_url': android_rel_archive, |
| 74 })) |
| 75 |
| 76 |
| 77 def Update(c): |
| 78 return helper.Update(c) |
OLD | NEW |