OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # Sets up all the builders we want this buildbot master to run. | 5 # Sets up all the builders we want this buildbot master to run. |
6 | 6 |
7 from skia_master_scripts import utils | 7 from skia_master_scripts import utils |
8 from skia_master_scripts import factory as skia_factory | 8 from skia_master_scripts import factory as skia_factory |
9 from skia_master_scripts.utils import MakeAndroidBuilderSet | 9 from skia_master_scripts import android_factory |
| 10 from skia_master_scripts.utils import MakeBuilderSet |
10 # Directory where we want to record performance data | 11 # Directory where we want to record performance data |
11 # | 12 # |
12 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url, | 13 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url, |
13 # config.Master.perf_report_url_suffix, etc. | 14 # config.Master.perf_report_url_suffix, etc. |
14 perf_output_basedir_linux = '../../../../perfdata' | 15 perf_output_basedir_linux = '../../../../perfdata' |
15 perf_output_basedir_mac = perf_output_basedir_linux | 16 perf_output_basedir_mac = perf_output_basedir_linux |
16 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata' | 17 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata' |
17 | 18 |
18 defaults = {} | 19 defaults = {} |
19 | 20 |
(...skipping 13 matching lines...) Expand all Loading... |
33 helper.PeriodicScheduler('skia_periodic', branch='trunk', minute=0, hour=2) | 34 helper.PeriodicScheduler('skia_periodic', branch='trunk', minute=0, hour=2) |
34 | 35 |
35 # | 36 # |
36 # Set up all the builders. | 37 # Set up all the builders. |
37 # | 38 # |
38 # Don't put spaces or 'funny characters' within the builder names, so that | 39 # Don't put spaces or 'funny characters' within the builder names, so that |
39 # we can safely use the builder name as part of a filepath. | 40 # we can safely use the builder name as part of a filepath. |
40 # | 41 # |
41 | 42 |
42 ########## LIST ALL PRIVATELY VISIBLE BUILDERS HERE ########## | 43 ########## LIST ALL PRIVATELY VISIBLE BUILDERS HERE ########## |
43 MakeAndroidBuilderSet( | 44 MakeBuilderSet( |
44 helper=helper, | 45 helper=helper, |
| 46 factory_type=android_factory.AndroidFactory, |
45 scheduler='skia_rel', | 47 scheduler='skia_rel', |
46 builder_base_name='Skia_Private_Builder_%s_001', | 48 builder_base_name='Skia_Private_Builder_%s_001', |
47 device='nexus_s', | 49 device='nexus_s', |
48 do_upload_results=False, | 50 do_upload_results=False, |
49 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 51 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
50 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 52 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
51 gm_image_subdir=None, | 53 gm_image_subdir=None, |
52 perf_output_basedir=perf_output_basedir_linux) | 54 perf_output_basedir=perf_output_basedir_linux) |
53 MakeAndroidBuilderSet( | 55 MakeBuilderSet( |
54 helper=helper, | 56 helper=helper, |
| 57 factory_type=android_factory.AndroidFactory, |
55 scheduler='skia_rel', | 58 scheduler='skia_rel', |
56 builder_base_name='Skia_Private_Builder_%s_002', | 59 builder_base_name='Skia_Private_Builder_%s_002', |
57 device='nexus_s', | 60 device='nexus_s', |
58 do_upload_results=False, | 61 do_upload_results=False, |
59 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 62 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
60 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 63 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
61 gm_image_subdir=None, | 64 gm_image_subdir=None, |
62 perf_output_basedir=perf_output_basedir_linux) | 65 perf_output_basedir=perf_output_basedir_linux) |
63 MakeAndroidBuilderSet( | 66 MakeBuilderSet( |
64 helper=helper, | 67 helper=helper, |
| 68 factory_type=android_factory.AndroidFactory, |
65 scheduler='skia_rel', | 69 scheduler='skia_rel', |
66 builder_base_name='Skia_Private_Builder_%s_003', | 70 builder_base_name='Skia_Private_Builder_%s_003', |
67 device='nexus_s', | 71 device='nexus_s', |
68 do_upload_results=False, | 72 do_upload_results=False, |
69 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 73 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
70 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 74 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
71 gm_image_subdir=None, | 75 gm_image_subdir=None, |
72 perf_output_basedir=perf_output_basedir_linux) | 76 perf_output_basedir=perf_output_basedir_linux) |
73 return helper.Update(c) | 77 return helper.Update(c) |
74 | 78 |
OLD | NEW |