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 perf. | 6 # Recipe module for Skia Swarming perf. |
7 | 7 |
8 | 8 |
9 DEPS = [ | 9 DEPS = [ |
10 'build/file', | 10 'build/file', |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ]) | 176 ]) |
177 | 177 |
178 target = 'nanobench' | 178 target = 'nanobench' |
179 if 'VisualBench' in api.vars.builder_name: | 179 if 'VisualBench' in api.vars.builder_name: |
180 target = 'visualbench' | 180 target = 'visualbench' |
181 args = [ | 181 args = [ |
182 target, | 182 target, |
183 '--undefok', # This helps branches that may not know new flags. | 183 '--undefok', # This helps branches that may not know new flags. |
184 '-i', api.flavor.device_dirs.resource_dir, | 184 '-i', api.flavor.device_dirs.resource_dir, |
185 '--skps', api.flavor.device_dirs.skp_dir, | 185 '--skps', api.flavor.device_dirs.skp_dir, |
| 186 '--svgs', api.flavor.device_dirs.svg_dir, |
186 '--images', api.flavor.device_path_join( | 187 '--images', api.flavor.device_path_join( |
187 api.flavor.device_dirs.images_dir, 'nanobench'), | 188 api.flavor.device_dirs.images_dir, 'nanobench'), |
188 ] | 189 ] |
189 | 190 |
190 skip_flag = None | 191 skip_flag = None |
191 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': | 192 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': |
192 skip_flag = '--nogpu' | 193 skip_flag = '--nogpu' |
193 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': | 194 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': |
194 skip_flag = '--nocpu' | 195 skip_flag = '--nocpu' |
195 if skip_flag: | 196 if skip_flag: |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' + | 311 buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' + |
311 'Valgrind-Trybot', | 312 'Valgrind-Trybot', |
312 mastername='client.skia', | 313 mastername='client.skia', |
313 slavename='skiabot-linux-swarm-000', | 314 slavename='skiabot-linux-swarm-000', |
314 buildnumber=5, | 315 buildnumber=5, |
315 path_config='kitchen', | 316 path_config='kitchen', |
316 swarm_out_dir='[SWARM_OUT_DIR]', | 317 swarm_out_dir='[SWARM_OUT_DIR]', |
317 revision='abc123', | 318 revision='abc123', |
318 **gerrit_kwargs) | 319 **gerrit_kwargs) |
319 ) | 320 ) |
OLD | NEW |