OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 # This is the buildmaster config file for the 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' bot. It must |
9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 m_mac = chromium_factory.ChromiumFactory('src/xcodebuild', 'darwin') | 197 m_mac = chromium_factory.ChromiumFactory('src/xcodebuild', 'darwin') |
198 m_android = chromium_factory.ChromiumFactory( | 198 m_android = chromium_factory.ChromiumFactory( |
199 'src/out', 'linux2', nohooks_on_update=True, target_os='android') | 199 'src/out', 'linux2', nohooks_on_update=True, target_os='android') |
200 | 200 |
201 # Some shortcut to simplify the code below. | 201 # Some shortcut to simplify the code below. |
202 F_WIN = m_win.ChromiumFactory | 202 F_WIN = m_win.ChromiumFactory |
203 F_LINUX = m_linux.ChromiumFactory | 203 F_LINUX = m_linux.ChromiumFactory |
204 F_MAC = m_mac.ChromiumFactory | 204 F_MAC = m_mac.ChromiumFactory |
205 F_ANDROID = m_android.ChromiumAnnotationFactory | 205 F_ANDROID = m_android.ChromiumAnnotationFactory |
206 | 206 |
| 207 # --- IMPORTANT ---------------------------------------------------------------- |
| 208 # chromium.perf produces official builds which should not be publicly available. |
| 209 # Never archive to a publicly readable bucket. |
207 chromium_rel_archive = 'gs://chrome-perf/Win Builder/full-build-win32.zip' | 210 chromium_rel_archive = 'gs://chrome-perf/Win Builder/full-build-win32.zip' |
208 # In chromium_utils.PlatformName(), x64 is still win32. | 211 # In chromium_utils.PlatformName(), x64 is still win32. |
209 chromium_rel_x64_archive = ('gs://chrome-perf/Win x64 Builder/' | 212 chromium_rel_x64_archive = ('gs://chrome-perf/Win x64 Builder/' |
210 'full-build-win32.zip') | 213 'full-build-win32.zip') |
211 chromium_rel_linux_archive = ('gs://chrome-perf/Linux Builder/' | 214 chromium_rel_linux_archive = ('gs://chrome-perf/Linux Builder/' |
212 'full-build-linux.zip') | 215 'full-build-linux.zip') |
213 | |
214 chromium_rel_mac_archive = ('gs://chrome-perf/Mac Builder/full-build-mac.zip') | 216 chromium_rel_mac_archive = ('gs://chrome-perf/Mac Builder/full-build-mac.zip') |
| 217 # ------------------------------------------------------------------------------ |
215 | 218 |
216 android_rel_archive = master_config.GetGSUtilUrl( | 219 android_rel_archive = master_config.GetGSUtilUrl( |
217 'chromium-android', 'android_perf_rel') | 220 'chromium-android', 'android_perf_rel') |
218 | 221 |
219 chromium_perf_archive = master_config.GetGSUtilUrl('chrome-perf', 'Win Builder') | 222 chromium_perf_archive = master_config.GetGSUtilUrl('chrome-perf', 'Win Builder') |
220 | 223 |
221 chromium_perf_x64_archive = master_config.GetGSUtilUrl('chrome-perf', | 224 chromium_perf_x64_archive = master_config.GetGSUtilUrl('chrome-perf', |
222 'Win x64 Builder') | 225 'Win x64 Builder') |
223 | 226 |
224 chromium_perf_linux_archive = master_config.GetGSUtilUrl('chrome-perf', | 227 chromium_perf_linux_archive = master_config.GetGSUtilUrl('chrome-perf', |
225 'Linux Builder') | 228 'Linux Builder') |
226 | 229 |
227 chromium_perf_mac_archive = master_config.GetGSUtilUrl('chrome-perf', | 230 chromium_perf_mac_archive = master_config.GetGSUtilUrl('chrome-perf', |
228 'Mac Builder') | 231 'Mac Builder') |
229 | 232 |
230 # The identifier of the factory is the build configuration. If two factories | 233 # The identifier of the factory is the build configuration. If two factories |
231 # are using the same build configuration, they should have the same identifier. | 234 # are using the same build configuration, they should have the same identifier. |
232 | 235 |
233 FFMPEG_GYP_DEFINES_WIN = ( | 236 # BuilderTesters using a custom build configuration. |
234 'fastbuild=1 ' | 237 f_cr_rel_builder = F_WIN( |
235 'ffmpeg_branding=Chrome ' | 238 slave_type='Builder', |
236 'proprietary_codecs=1 ' | 239 mode='google_chrome', |
237 ) | 240 compile_timeout=4800, |
| 241 project='all.sln;chromium_builder_perf', |
| 242 factory_properties={ |
| 243 'create_profiles': True, |
| 244 'trigger': 'winrel', |
| 245 'gclient_env': { |
| 246 'GYP_DEFINES': 'branding=Chrome buildtype=Official ' |
| 247 'component=static_library', |
| 248 'GYP_MSVS_VERSION': '2010',}, |
| 249 'build_url': chromium_perf_archive,}, |
| 250 ) |
238 | 251 |
239 # BuilderTesters using a custom build configuration. | 252 f_cr_rel_x64_builder = F_WIN( |
240 f_cr_rel_builder = F_WIN(slave_type='Builder', | 253 slave_type='Builder', |
241 options=[ | 254 mode='google_chrome', |
242 '--build-tool=ninja', 'chromium_builder_perf'], | 255 compile_timeout=4800, |
243 factory_properties={ | 256 project='all.sln;chromium_builder_perf', |
244 'create_profiles': True, | 257 target='Release_x64', |
245 'trigger': 'winrel', | 258 factory_properties={ |
246 'gclient_env': { | 259 'create_profiles': True, |
247 'GYP_DEFINES': FFMPEG_GYP_DEFINES_WIN, | 260 'trigger': 'winrel_x64', |
248 'GYP_GENERATORS': 'ninja'}, | 261 'gclient_env': { |
249 'build_url': chromium_perf_archive,}, | 262 'GYP_DEFINES': 'branding=Chrome buildtype=Official ' |
250 ) | 263 'component=static_library target_arch=x64', |
251 | 264 'GYP_MSVS_VERSION': '2012',}, |
252 f_cr_rel_x64_builder = F_WIN(slave_type='Builder', | 265 'build_url': chromium_perf_x64_archive,}, |
253 options=[ | 266 ) |
254 '--build-tool=ninja', 'chromium_builder_perf'], | |
255 target='Release_x64', | |
256 factory_properties={ | |
257 'create_profiles': True, | |
258 'trigger': 'winrel_x64', | |
259 'gclient_env': { | |
260 'GYP_DEFINES': (FFMPEG_GYP_DEFINES_WIN + | |
261 'component=shared_library ' | |
262 'target_arch=x64'), | |
263 'GYP_GENERATORS': 'ninja'}, | |
264 'GYP_MSVS_VERSION': '2012', | |
265 'build_url': chromium_perf_x64_archive,}, | |
266 ) | |
267 | 267 |
268 f_cr_rel_perf_xp_1 = F_WIN(slave_type='Tester', | 268 f_cr_rel_perf_xp_1 = F_WIN(slave_type='Tester', |
269 build_url=chromium_rel_archive, | 269 build_url=chromium_rel_archive, |
270 tests=['page_cycler_bloat', | 270 tests=['page_cycler_bloat', |
271 'page_cycler_morejs', | 271 'page_cycler_morejs', |
272 'page_cycler_intl_ar_fa_he', | 272 'page_cycler_intl_ar_fa_he', |
273 'page_cycler_intl_es_fr_pt-BR', | 273 'page_cycler_intl_es_fr_pt-BR', |
274 'page_cycler_intl_hi_ru', | 274 'page_cycler_intl_hi_ru', |
275 'page_cycler_intl_ja_zh', | 275 'page_cycler_intl_ja_zh', |
276 'dom_perf', | 276 'dom_perf', |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 c['projectName'] = ActiveMaster.project_name | 1394 c['projectName'] = ActiveMaster.project_name |
1395 c['projectURL'] = config.Master.project_url | 1395 c['projectURL'] = config.Master.project_url |
1396 | 1396 |
1397 # the 'buildbotURL' string should point to the location where the buildbot's | 1397 # the 'buildbotURL' string should point to the location where the buildbot's |
1398 # internal web server (usually the html.Waterfall page) is visible. This | 1398 # internal web server (usually the html.Waterfall page) is visible. This |
1399 # typically uses the port number set in the Waterfall 'status' entry, but | 1399 # typically uses the port number set in the Waterfall 'status' entry, but |
1400 # with an externally-visible host name which the buildbot cannot figure out | 1400 # with an externally-visible host name which the buildbot cannot figure out |
1401 # without some help. | 1401 # without some help. |
1402 | 1402 |
1403 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' | 1403 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' |
OLD | NEW |