OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # Sets up all the builders we want the FYI buildbot master to run. | |
6 | |
7 | |
8 #pylint: disable=C0301 | |
9 | |
10 | |
11 from skia_master_scripts.android_factory import AndroidFactory as f_android | |
12 from master_builders_cfg import LINUX, S_PERCOMMIT | |
13 | |
14 import master_builders_cfg | |
15 | |
16 | |
17 def setup_test_and_perf_builders(helper, do_upload_render_results, | |
18 do_upload_bench_results): | |
19 """Set up all Test and Perf builders for the private master. | |
20 | |
21 Args: | |
22 helper: instance of utils.SkiaHelper | |
23 do_upload_render_results: bool; whether the builders should upload their | |
24 render results. | |
25 do_upload_bench_results: bool; whether the builders should upload their | |
26 bench results. | |
27 """ | |
28 # | |
29 # TEST AND PERF BUILDERS | |
30 # | |
31 # Role, OS, Model, GPU, Arch, Config, Ext
ra Config, GYP_DEFS, Factory, Target, Scheduler, Extra Args | |
32 # | |
33 builder_specs = [ | |
34 ('Test', 'Android', 'Nexus5', 'Adreno330', 'Arm7', 'Debug', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_5'}), | |
35 ('Test', 'Android', 'Nexus5', 'Adreno330', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_5'}), | |
36 ('Perf', 'Android', 'Nexus5', 'Adreno330', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_5'}), | |
37 ('Test', 'Android', 'Nexus7', 'Tegra3', 'Arm7', 'Debug', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_7'}), | |
38 ('Test', 'Android', 'Nexus7', 'Tegra3', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_7'}), | |
39 ('Perf', 'Android', 'Nexus7', 'Tegra3', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_7'}), | |
40 ('Test', 'Android', 'Nexus10', 'MaliT604', 'Arm7', 'Debug', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_10'}), | |
41 ('Test', 'Android', 'Nexus10', 'MaliT604', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_10'}), | |
42 ('Perf', 'Android', 'Nexus10', 'MaliT604', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'nexus_10'}), | |
43 ('Test', 'Android', 'Xoom', 'Tegra2', 'Arm7', 'Debug', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'xoom'}), | |
44 ('Test', 'Android', 'Xoom', 'Tegra2', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'xoom'}), | |
45 ('Perf', 'Android', 'Xoom', 'Tegra2', 'Arm7', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'xoom'}), | |
46 ('Test', 'Android', 'Venue8', 'PowerVR', 'x86', 'Debug', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'x86'}), | |
47 ('Test', 'Android', 'Venue8', 'PowerVR', 'x86', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'x86'}), | |
48 ('Perf', 'Android', 'Venue8', 'PowerVR', 'x86', 'Release', Non
e, None, f_android, LINUX, S_PERCOMMIT, {'device': 'x86'}), | |
49 ] | |
50 | |
51 master_builders_cfg.setup_builders_from_config_list( | |
52 builder_specs, | |
53 helper, | |
54 do_upload_render_results, | |
55 do_upload_bench_results, | |
56 master_builders_cfg.Builder) | |
57 | |
58 | |
59 def setup_all_builders(helper, do_upload_render_results, | |
60 do_upload_bench_results): | |
61 """Set up all builders for the FYI master. | |
62 | |
63 Args: | |
64 helper: instance of utils.SkiaHelper | |
65 do_upload_render_results: bool; whether the builders should upload their | |
66 render results. | |
67 do_upload_bench_results: bool; whether the builders should upload their | |
68 bench results. | |
69 """ | |
70 setup_test_and_perf_builders(helper, do_upload_render_results, | |
71 do_upload_bench_results) | |
OLD | NEW |