| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 from master.factory import webrtc_factory | 7 from master.factory import webrtc_factory |
| 8 | 8 |
| 9 defaults = {} | 9 defaults = {} |
| 10 | 10 |
| 11 helper = master_config.Helper(defaults) | 11 helper = master_config.Helper(defaults) |
| 12 B = helper.Builder | 12 B = helper.Builder |
| 13 F = helper.Factory | 13 F = helper.Factory |
| 14 S = helper.Scheduler | 14 S = helper.Scheduler |
| 15 T = helper.Triggerable | 15 T = helper.Triggerable |
| 16 | 16 |
| 17 | 17 |
| 18 def android_apk(): | 18 def android_apk(): |
| 19 return chromium_factory.ChromiumFactory('', 'linux2', nohooks_on_update=True, | 19 return chromium_factory.ChromiumFactory('', 'linux2', target_os='android') |
| 20 target_os='android') | |
| 21 def android_webrtc(): | 20 def android_webrtc(): |
| 22 return webrtc_factory.WebRTCFactory('', 'linux2', nohooks_on_update=True, | 21 return webrtc_factory.WebRTCFactory('', 'linux2', nohooks_on_update=True, |
| 23 target_os='android') | 22 target_os='android') |
| 24 | 23 |
| 25 defaults['category'] = 'android' | 24 defaults['category'] = 'android' |
| 26 | 25 |
| 27 android_dbg_archive = master_config.GetGSUtilUrl('chromium-webrtc', | 26 android_dbg_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 28 'android_dbg') | 27 'android_dbg') |
| 29 android_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc', | 28 android_rel_archive = master_config.GetGSUtilUrl('chromium-webrtc', |
| 30 'android_rel') | 29 'android_rel') |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 F('f_android_ics_galaxynexus_rel_tests', f_rel_android_tests('ics-gn')) | 113 F('f_android_ics_galaxynexus_rel_tests', f_rel_android_tests('ics-gn')) |
| 115 | 114 |
| 116 B('Android Chromium-APK Tests (JB Nexus7.2)', | 115 B('Android Chromium-APK Tests (JB Nexus7.2)', |
| 117 'f_android_jb_nexus7.2_rel_tests', scheduler='android_trigger_rel', | 116 'f_android_jb_nexus7.2_rel_tests', scheduler='android_trigger_rel', |
| 118 notify_on_missing=True) | 117 notify_on_missing=True) |
| 119 F('f_android_jb_nexus7.2_rel_tests', f_rel_android_tests('jb-n72')) | 118 F('f_android_jb_nexus7.2_rel_tests', f_rel_android_tests('jb-n72')) |
| 120 | 119 |
| 121 | 120 |
| 122 def Update(c): | 121 def Update(c): |
| 123 return helper.Update(c) | 122 return helper.Update(c) |
| OLD | NEW |