OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 5 |
6 # Recipe module for Skia Swarming compile. | 6 # Recipe module for Skia Swarming compile. |
7 | 7 |
8 | 8 |
9 DEPS = [ | 9 DEPS = [ |
10 'core', | 10 'core', |
(...skipping 22 matching lines...) Expand all Loading... |
33 'Build-Ubuntu-Clang-x86_64-Debug-ASAN', | 33 'Build-Ubuntu-Clang-x86_64-Debug-ASAN', |
34 'Build-Ubuntu-Clang-x86_64-Debug-GN', | 34 'Build-Ubuntu-Clang-x86_64-Debug-GN', |
35 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot', | 35 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot', |
36 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs', | 36 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs', |
37 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon', | 37 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon', |
38 'Build-Ubuntu-GCC-Arm7-Release-Android', | 38 'Build-Ubuntu-GCC-Arm7-Release-Android', |
39 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan', | 39 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan', |
40 'Build-Ubuntu-GCC-x86-Debug', | 40 'Build-Ubuntu-GCC-x86-Debug', |
41 'Build-Ubuntu-GCC-x86_64-Debug-GN', | 41 'Build-Ubuntu-GCC-x86_64-Debug-GN', |
42 'Build-Ubuntu-GCC-x86_64-Debug-MSAN', | 42 'Build-Ubuntu-GCC-x86_64-Debug-MSAN', |
| 43 'Build-Ubuntu-GCC-x86_64-Debug-NoGPU', |
43 'Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE', | 44 'Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE', |
44 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', | 45 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', |
45 'Build-Ubuntu-GCC-x86_64-Release-CMake', | 46 'Build-Ubuntu-GCC-x86_64-Release-CMake', |
46 'Build-Ubuntu-GCC-x86_64-Release-Fast', | 47 'Build-Ubuntu-GCC-x86_64-Release-Fast', |
47 'Build-Ubuntu-GCC-x86_64-Release-Mesa', | 48 'Build-Ubuntu-GCC-x86_64-Release-Mesa', |
48 'Build-Ubuntu-GCC-x86_64-Release-PDFium', | 49 'Build-Ubuntu-GCC-x86_64-Release-PDFium', |
49 'Build-Ubuntu-GCC-x86_64-Release-Shared', | 50 'Build-Ubuntu-GCC-x86_64-Release-Shared', |
50 'Build-Ubuntu-GCC-x86_64-Release-Valgrind', | 51 'Build-Ubuntu-GCC-x86_64-Release-Valgrind', |
51 'Build-Win-MSVC-x86-Debug', | 52 'Build-Win-MSVC-x86-Debug', |
52 'Build-Win-MSVC-x86-Debug-Exceptions', | 53 'Build-Win-MSVC-x86-Debug-Exceptions', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 174 |
174 # CommandBuffer. | 175 # CommandBuffer. |
175 if builder_dict.get('extra_config') == 'CommandBuffer': | 176 if builder_dict.get('extra_config') == 'CommandBuffer': |
176 gyp_defs['skia_command_buffer'] = '1' | 177 gyp_defs['skia_command_buffer'] = '1' |
177 | 178 |
178 # Vulkan. | 179 # Vulkan. |
179 if builder_dict.get('extra_config') == 'Vulkan': | 180 if builder_dict.get('extra_config') == 'Vulkan': |
180 gyp_defs['skia_vulkan'] = '1' | 181 gyp_defs['skia_vulkan'] = '1' |
181 gyp_defs['skia_vulkan_debug_layers'] = '0' | 182 gyp_defs['skia_vulkan_debug_layers'] = '0' |
182 | 183 |
| 184 # NoGPU. |
| 185 if 'NoGPU' in builder_dict.get('extra_config', ''): |
| 186 gyp_defs['skia_gpu'] = 0 |
| 187 |
183 return gyp_defs | 188 return gyp_defs |
184 | 189 |
185 | 190 |
186 def RunSteps(api): | 191 def RunSteps(api): |
187 api.core.setup() | 192 api.core.setup() |
188 | 193 |
189 env = get_extra_env_vars(api.vars.builder_cfg) | 194 env = get_extra_env_vars(api.vars.builder_cfg) |
190 gyp_defs = get_gyp_defines(api.vars.builder_cfg) | 195 gyp_defs = get_gyp_defines(api.vars.builder_cfg) |
191 gyp_defs_list = ['%s=%s' % (k, v) for k, v in gyp_defs.iteritems()] | 196 gyp_defs_list = ['%s=%s' % (k, v) for k, v in gyp_defs.iteritems()] |
192 gyp_defs_list.sort() | 197 gyp_defs_list.sort() |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 buildername=buildername + '-Trybot', | 328 buildername=buildername + '-Trybot', |
324 mastername=mastername, | 329 mastername=mastername, |
325 slavename=slavename, | 330 slavename=slavename, |
326 buildnumber=5, | 331 buildnumber=5, |
327 path_config='kitchen', | 332 path_config='kitchen', |
328 swarm_out_dir='[SWARM_OUT_DIR]', | 333 swarm_out_dir='[SWARM_OUT_DIR]', |
329 revision='abc123', | 334 revision='abc123', |
330 **gerrit_kwargs) + | 335 **gerrit_kwargs) + |
331 api.platform('win', 64) | 336 api.platform('win', 64) |
332 ) | 337 ) |
OLD | NEW |