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 android_factory | 8 from skia_master_scripts import android_factory |
9 from skia_master_scripts import factory as skia_factory | 9 from skia_master_scripts import factory as skia_factory |
| 10 from skia_master_scripts import android_factory |
10 | 11 |
11 # Directory where we want to record performance data | 12 # Directory where we want to record performance data |
12 # | 13 # |
13 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url, | 14 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url, |
14 # config.Master.perf_report_url_suffix, etc. | 15 # config.Master.perf_report_url_suffix, etc. |
15 perf_output_basedir_linux = '../../../../perfdata' | 16 perf_output_basedir_linux = '../../../../perfdata' |
16 perf_output_basedir_mac = perf_output_basedir_linux | 17 perf_output_basedir_mac = perf_output_basedir_linux |
17 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata' | 18 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata' |
18 | 19 |
19 defaults = {} | 20 defaults = {} |
(...skipping 25 matching lines...) Expand all Loading... |
45 helper=helper, | 46 helper=helper, |
46 factory_type=android_factory.AndroidFactory, | 47 factory_type=android_factory.AndroidFactory, |
47 scheduler='skia_rel', | 48 scheduler='skia_rel', |
48 builder_base_name='Skia_Private_Builder_%s_001', | 49 builder_base_name='Skia_Private_Builder_%s_001', |
49 device='nexus_s', | 50 device='nexus_s', |
50 do_upload_results=False, | 51 do_upload_results=False, |
51 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 52 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
52 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 53 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
53 gm_image_subdir=None, | 54 gm_image_subdir=None, |
54 perf_output_basedir=perf_output_basedir_linux) | 55 perf_output_basedir=perf_output_basedir_linux) |
| 56 |
55 utils.MakeBuilderSet( | 57 utils.MakeBuilderSet( |
56 helper=helper, | 58 helper=helper, |
57 factory_type=android_factory.AndroidFactory, | 59 factory_type=android_factory.AndroidFactory, |
58 scheduler='skia_rel', | 60 scheduler='skia_rel', |
59 builder_base_name='Skia_Private_Builder_%s_002', | 61 builder_base_name='Skia_Private_Builder_%s_002', |
60 device='nexus_s', | 62 device='nexus_s', |
61 do_upload_results=False, | 63 do_upload_results=False, |
62 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 64 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
63 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 65 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
64 gm_image_subdir=None, | 66 gm_image_subdir=None, |
65 perf_output_basedir=perf_output_basedir_linux) | 67 perf_output_basedir=perf_output_basedir_linux) |
| 68 |
66 utils.MakeBuilderSet( | 69 utils.MakeBuilderSet( |
67 helper=helper, | 70 helper=helper, |
68 factory_type=android_factory.AndroidFactory, | 71 factory_type=android_factory.AndroidFactory, |
69 scheduler='skia_rel', | 72 scheduler='skia_rel', |
70 builder_base_name='Skia_Private_Builder_%s_003', | 73 builder_base_name='Skia_Private_Builder_%s_003', |
71 device='nexus_s', | 74 device='nexus_s', |
72 do_upload_results=False, | 75 do_upload_results=False, |
73 target_platform=skia_factory.TARGET_PLATFORM_LINUX, | 76 target_platform=skia_factory.TARGET_PLATFORM_LINUX, |
74 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, | 77 environment_variables={'GYP_DEFINES': 'skia_scalar=float'}, |
75 gm_image_subdir=None, | 78 gm_image_subdir=None, |
76 perf_output_basedir=perf_output_basedir_linux) | 79 perf_output_basedir=perf_output_basedir_linux) |
77 return helper.Update(c) | 80 return helper.Update(c) |
78 | 81 |
OLD | NEW |