OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 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 the Compile buildbot master to run. | 5 # Sets up all the builders we want the Compile buildbot master to run. |
6 | 6 |
7 | 7 |
8 #pylint: disable=C0301 | 8 #pylint: disable=C0301 |
9 | 9 |
10 | 10 |
11 from master_builders_cfg import CLANG, CompileBuilder | 11 from master_builders_cfg import CLANG, CompileBuilder |
12 from master_builders_cfg import GYP_ANGLE, GYP_DW, GYP_EXC, GYP_IOS | 12 from master_builders_cfg import GYP_ANGLE, GYP_DW, GYP_EXC, GYP_IOS |
13 from master_builders_cfg import GYP_WIN7, GYP_WIN8, LINUX, MAC, NO_GPU | 13 from master_builders_cfg import GYP_WIN7, GYP_WIN8, LINUX, MAC, NO_GPU |
14 from master_builders_cfg import PDFVIEWER, S_PERCOMMIT, VALGRIND, WIN32 | 14 from master_builders_cfg import PDFVIEWER, S_PERCOMMIT, WIN32 |
15 | 15 |
16 from skia_master_scripts.android_factory import AndroidFactory as f_android | 16 from skia_master_scripts.android_factory import AndroidFactory as f_android |
17 from skia_master_scripts.chromeos_factory import ChromeOSFactory as f_cros | 17 from skia_master_scripts.chromeos_factory import ChromeOSFactory as f_cros |
18 from skia_master_scripts.factory import SkiaFactory as f_factory | 18 from skia_master_scripts.factory import SkiaFactory as f_factory |
19 from skia_master_scripts.ios_factory import iOSFactory as f_ios | 19 from skia_master_scripts.ios_factory import iOSFactory as f_ios |
20 from skia_master_scripts.nacl_factory import NaClFactory as f_nacl | 20 from skia_master_scripts.nacl_factory import NaClFactory as f_nacl |
21 from skia_master_scripts.xsan_factory import XsanFactory as f_xsan | |
22 | 21 |
23 import master_builders_cfg | 22 import master_builders_cfg |
24 | 23 |
25 | 24 |
26 def setup_compile_builders(helper, do_upload_render_results, | 25 def setup_compile_builders(helper, do_upload_render_results, |
27 do_upload_bench_results): | 26 do_upload_bench_results): |
28 """Set up the Compile builders. | 27 """Set up the Compile builders. |
29 | 28 |
30 Args: | 29 Args: |
31 helper: instance of utils.SkiaHelper | 30 helper: instance of utils.SkiaHelper |
32 do_upload_render_results: bool; whether the builders should upload their | 31 do_upload_render_results: bool; whether the builders should upload their |
33 render results. | 32 render results. |
34 do_upload_bench_results: bool; whether the builders should upload their | 33 do_upload_bench_results: bool; whether the builders should upload their |
35 bench results. | 34 bench results. |
36 """ | 35 """ |
37 # | 36 # |
38 # COMPILE BUILDERS | 37 # COMPILE BUILDERS |
39 # | 38 # |
40 # OS, Compiler, Config, Arch, Extra Config, GYP_DEFS, W
ERR, Factory, Target, Scheduler, Extra Args | 39 # OS, Compiler, Config, Arch, Extra Config, GYP_DEFS, W
ERR, Factory, Target, Scheduler, Extra Args |
41 # | 40 # |
42 builder_specs = [ | 41 builder_specs = [ |
43 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 42 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
44 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 43 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
45 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86_64', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 44 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86_64', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
46 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86_64', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 45 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86_64', None, None, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
47 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86_64', 'Valgrind', VALGRIND, F
alse, f_factory, LINUX, S_PERCOMMIT, {'flavor': 'valgrind'}), | |
48 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86_64', 'NoGPU', NO_GPU, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 46 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'x86_64', 'NoGPU', NO_GPU, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
49 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86_64', 'NoGPU', NO_GPU, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), | 47 ('Ubuntu13.10', 'GCC4.8', 'Release', 'x86_64', 'NoGPU', NO_GPU, T
rue, f_factory, LINUX, S_PERCOMMIT, {}), |
50 ('Ubuntu13.10', 'Clang', 'Debug', 'x86_64', None, CLANG, T
rue, f_factory, LINUX, S_PERCOMMIT, {'environment_variables': {'CC': '/usr/bin
/clang', 'CXX': '/usr/bin/clang++'}}), | 48 ('Ubuntu13.10', 'Clang', 'Debug', 'x86_64', None, CLANG, T
rue, f_factory, LINUX, S_PERCOMMIT, {'environment_variables': {'CC': '/usr/bin
/clang', 'CXX': '/usr/bin/clang++'}}), |
51 ('Ubuntu13.10', 'Clang', 'Debug', 'x86_64', 'ASAN', None, F
alse, f_xsan, LINUX, S_PERCOMMIT, {'sanitizer': 'address'}), | |
52 ('Ubuntu13.10', 'Clang', 'Debug', 'x86_64', 'TSAN', None, F
alse, f_xsan, LINUX, S_PERCOMMIT, {'sanitizer': 'thread'}), | |
53 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'NaCl', None, None, T
rue, f_nacl, LINUX, S_PERCOMMIT, {}), | 49 ('Ubuntu13.10', 'GCC4.8', 'Debug', 'NaCl', None, None, T
rue, f_nacl, LINUX, S_PERCOMMIT, {}), |
54 ('Ubuntu13.10', 'GCC4.8', 'Release', 'NaCl', None, None, T
rue, f_nacl, LINUX, S_PERCOMMIT, {}), | 50 ('Ubuntu13.10', 'GCC4.8', 'Release', 'NaCl', None, None, T
rue, f_nacl, LINUX, S_PERCOMMIT, {}), |
55 ('Mac10.7', 'Clang', 'Debug', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), | 51 ('Mac10.7', 'Clang', 'Debug', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), |
56 ('Mac10.7', 'Clang', 'Release', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), | 52 ('Mac10.7', 'Clang', 'Release', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), |
57 ('Mac10.7', 'Clang', 'Debug', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), | 53 ('Mac10.7', 'Clang', 'Debug', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), |
58 ('Mac10.7', 'Clang', 'Release', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), | 54 ('Mac10.7', 'Clang', 'Release', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), |
59 ('Mac10.8', 'Clang', 'Debug', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), | 55 ('Mac10.8', 'Clang', 'Debug', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), |
60 ('Mac10.8', 'Clang', 'Release', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), | 56 ('Mac10.8', 'Clang', 'Release', 'x86', None, None, T
rue, f_factory, MAC, S_PERCOMMIT, {}), |
61 ('Mac10.8', 'Clang', 'Debug', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), | 57 ('Mac10.8', 'Clang', 'Debug', 'x86_64', None, None, F
alse, f_factory, MAC, S_PERCOMMIT, {}), |
62 ('Mac10.8', 'Clang', 'Release', 'x86_64', None, PDFVIEWER, F
alse, f_factory, MAC, S_PERCOMMIT, {}), | 58 ('Mac10.8', 'Clang', 'Release', 'x86_64', None, PDFVIEWER, F
alse, f_factory, MAC, S_PERCOMMIT, {}), |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 108 |
113 Args: | 109 Args: |
114 helper: instance of utils.SkiaHelper | 110 helper: instance of utils.SkiaHelper |
115 do_upload_render_results: bool; whether the builders should upload their | 111 do_upload_render_results: bool; whether the builders should upload their |
116 render results. | 112 render results. |
117 do_upload_bench_results: bool; whether the builders should upload their | 113 do_upload_bench_results: bool; whether the builders should upload their |
118 bench results. | 114 bench results. |
119 """ | 115 """ |
120 setup_compile_builders(helper, do_upload_render_results, | 116 setup_compile_builders(helper, do_upload_render_results, |
121 do_upload_bench_results) | 117 do_upload_bench_results) |
OLD | NEW |