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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 T('android_trigger_dbg') | 35 T('android_trigger_dbg') |
36 T('android_trigger_rel') | 36 T('android_trigger_rel') |
37 | 37 |
38 | 38 |
39 def f_dbg_android_tests(bot_id_suffix): | 39 def f_dbg_android_tests(bot_id_suffix): |
40 return android_apk().ChromiumWebRTCAndroidFactory( | 40 return android_apk().ChromiumWebRTCAndroidFactory( |
41 target='Debug', | 41 target='Debug', |
42 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 42 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
43 factory_properties={ | 43 factory_properties={ |
44 'android_bot_id': 'webrtc-tests-dbg-%s' % bot_id_suffix, | 44 'android_bot_id': 'webrtc-native-tests-dbg-%s' % bot_id_suffix, |
45 'build_url': android_dbg_archive, | 45 'build_url': android_dbg_archive, |
46 }) | 46 }) |
47 | 47 |
48 | 48 |
49 def f_rel_android_tests(bot_id_suffix): | 49 def f_rel_android_tests(bot_id_suffix): |
50 return android_apk().ChromiumWebRTCAndroidFactory( | 50 return android_apk().ChromiumWebRTCAndroidFactory( |
51 target='Release', | 51 target='Release', |
52 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 52 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
53 factory_properties={ | 53 factory_properties={ |
54 'android_bot_id': 'webrtc-tests-rel-%s' % bot_id_suffix, | 54 'android_bot_id': 'webrtc-native-tests-rel-%s' % bot_id_suffix, |
55 'build_url': android_rel_archive, | 55 'build_url': android_rel_archive, |
56 }) | 56 }) |
57 | 57 |
58 # WebRTC standalone builders (no tests). | 58 # WebRTC standalone builders (no tests). |
59 B('Android (dbg)', 'f_android_dbg', scheduler=scheduler, | 59 B('Android (dbg)', 'f_android_dbg', scheduler=scheduler, |
60 notify_on_missing=True) | 60 notify_on_missing=True) |
61 F('f_android_dbg', android_webrtc().ChromiumAnnotationFactory( | 61 F('f_android_dbg', android_webrtc().ChromiumAnnotationFactory( |
62 target='Debug', | 62 target='Debug', |
63 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 63 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
64 factory_properties={ | 64 factory_properties={ |
65 'android_bot_id': 'webrtc-main-clobber', | 65 'android_bot_id': 'webrtc-main-clobber', |
66 })) | 66 })) |
67 | 67 |
68 B('Android', 'f_android_rel', scheduler=scheduler, | 68 B('Android', 'f_android_rel', scheduler=scheduler, |
69 notify_on_missing=True) | 69 notify_on_missing=True) |
70 F('f_android_rel', android_webrtc().ChromiumAnnotationFactory( | 70 F('f_android_rel', android_webrtc().ChromiumAnnotationFactory( |
71 target='Release', | 71 target='Release', |
72 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 72 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
73 factory_properties={ | 73 factory_properties={ |
74 'android_bot_id': 'webrtc-main-clobber', | 74 'android_bot_id': 'webrtc-main-clobber', |
75 })) | 75 })) |
76 | 76 |
77 # WebRTC native test APKs: builders. | 77 # WebRTC native test APKs: builders. |
78 B('Android Chromium-APK Builder (dbg)', 'f_android_apk_dbg', | 78 B('Android Chromium-APK Builder (dbg)', 'f_android_apk_dbg', |
79 scheduler=scheduler, notify_on_missing=True) | 79 scheduler=scheduler, notify_on_missing=True) |
80 F('f_android_apk_dbg', android_apk().ChromiumWebRTCAndroidFactory( | 80 F('f_android_apk_dbg', android_apk().ChromiumWebRTCAndroidFactory( |
81 target='Debug', | 81 target='Debug', |
82 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 82 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
83 factory_properties={ | 83 factory_properties={ |
84 'android_bot_id': 'webrtc-builder-dbg', | 84 'android_bot_id': 'webrtc-native-builder-dbg', |
85 'build_url': android_dbg_archive, | 85 'build_url': android_dbg_archive, |
86 'trigger': 'android_trigger_dbg', | 86 'trigger': 'android_trigger_dbg', |
87 })) | 87 })) |
88 | 88 |
89 B('Android Chromium-APK Builder', 'f_android_apk_rel', scheduler=scheduler, | 89 B('Android Chromium-APK Builder', 'f_android_apk_rel', scheduler=scheduler, |
90 notify_on_missing=True) | 90 notify_on_missing=True) |
91 F('f_android_apk_rel', android_apk().ChromiumWebRTCAndroidFactory( | 91 F('f_android_apk_rel', android_apk().ChromiumWebRTCAndroidFactory( |
92 target='Release', | 92 target='Release', |
93 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 93 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
94 factory_properties={ | 94 factory_properties={ |
95 'android_bot_id': 'webrtc-builder-rel', | 95 'android_bot_id': 'webrtc-native-builder-rel', |
96 'build_url': android_rel_archive, | 96 'build_url': android_rel_archive, |
97 'trigger': 'android_trigger_rel', | 97 'trigger': 'android_trigger_rel', |
98 })) | 98 })) |
99 | 99 |
100 # WebRTC native test APKs: device testers. | 100 # WebRTC native test APKs: device testers. |
101 B('Android Chromium-APK Tests (ICS GalaxyNexus)(dbg)', | 101 B('Android Chromium-APK Tests (ICS GalaxyNexus)(dbg)', |
102 'f_android_ics_galaxynexus_dbg_tests', scheduler='android_trigger_dbg', | 102 'f_android_ics_galaxynexus_dbg_tests', scheduler='android_trigger_dbg', |
103 notify_on_missing=True) | 103 notify_on_missing=True) |
104 F('f_android_ics_galaxynexus_dbg_tests', f_dbg_android_tests('ics-gn')) | 104 F('f_android_ics_galaxynexus_dbg_tests', f_dbg_android_tests('ics-gn')) |
105 | 105 |
106 B('Android Chromium-APK Tests (JB Nexus7.2)(dbg)', | 106 B('Android Chromium-APK Tests (JB Nexus7.2)(dbg)', |
107 'f_android_jb_nexus7.2_dbg_tests', scheduler='android_trigger_dbg', | 107 'f_android_jb_nexus7.2_dbg_tests', scheduler='android_trigger_dbg', |
108 notify_on_missing=True) | 108 notify_on_missing=True) |
109 F('f_android_jb_nexus7.2_dbg_tests', f_dbg_android_tests('jb-n72')) | 109 F('f_android_jb_nexus7.2_dbg_tests', f_dbg_android_tests('jb-n72')) |
110 | 110 |
111 B('Android Chromium-APK Tests (ICS GalaxyNexus)', | 111 B('Android Chromium-APK Tests (ICS GalaxyNexus)', |
112 'f_android_ics_galaxynexus_rel_tests', scheduler='android_trigger_rel', | 112 'f_android_ics_galaxynexus_rel_tests', scheduler='android_trigger_rel', |
113 notify_on_missing=True) | 113 notify_on_missing=True) |
114 F('f_android_ics_galaxynexus_rel_tests', f_rel_android_tests('ics-gn')) | 114 F('f_android_ics_galaxynexus_rel_tests', f_rel_android_tests('ics-gn')) |
115 | 115 |
116 B('Android Chromium-APK Tests (JB Nexus7.2)', | 116 B('Android Chromium-APK Tests (JB Nexus7.2)', |
117 'f_android_jb_nexus7.2_rel_tests', scheduler='android_trigger_rel', | 117 'f_android_jb_nexus7.2_rel_tests', scheduler='android_trigger_rel', |
118 notify_on_missing=True) | 118 notify_on_missing=True) |
119 F('f_android_jb_nexus7.2_rel_tests', f_rel_android_tests('jb-n72')) | 119 F('f_android_jb_nexus7.2_rel_tests', f_rel_android_tests('jb-n72')) |
120 | 120 |
121 | 121 |
122 def Update(c): | 122 def Update(c): |
123 return helper.Update(c) | 123 return helper.Update(c) |
OLD | NEW |