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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 api.path.exists( | 238 api.path.exists( |
239 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 239 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
240 ) | 240 ) |
241 ) | 241 ) |
242 if 'Win' in builder: | 242 if 'Win' in builder: |
243 test += api.platform('win', 64) | 243 test += api.platform('win', 64) |
244 elif 'Mac' in builder: | 244 elif 'Mac' in builder: |
245 test += api.platform('mac', 64) | 245 test += api.platform('mac', 64) |
246 else: | 246 else: |
247 test += api.platform('linux', 64) | 247 test += api.platform('linux', 64) |
248 if 'Android' in builder or ('GN' in builder and 'Win' not in builder): | 248 if 'Android' in builder and 'GN' not in builder: |
249 ccache = '/usr/bin/ccache' | 249 ccache = '/usr/bin/ccache' |
250 test += api.step_data('has ccache?', | 250 test += api.step_data('has ccache?', |
251 stdout=api.json.output({'ccache':ccache})) | 251 stdout=api.json.output({'ccache':ccache})) |
252 if 'Android' in builder and 'GN_Android' not in builder: | 252 if 'Android' in builder and 'GN_Android' not in builder: |
253 test += api.step_data( | 253 test += api.step_data( |
254 'which adb', | 254 'which adb', |
255 retcode=1) | 255 retcode=1) |
256 if 'Trybot' in builder: | 256 if 'Trybot' in builder: |
257 test += api.properties(issue=500, | 257 test += api.properties(issue=500, |
258 patchset=1, | 258 patchset=1, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 buildername=buildername + '-Trybot', | 325 buildername=buildername + '-Trybot', |
326 mastername=mastername, | 326 mastername=mastername, |
327 slavename=slavename, | 327 slavename=slavename, |
328 buildnumber=5, | 328 buildnumber=5, |
329 path_config='kitchen', | 329 path_config='kitchen', |
330 swarm_out_dir='[SWARM_OUT_DIR]', | 330 swarm_out_dir='[SWARM_OUT_DIR]', |
331 revision='abc123', | 331 revision='abc123', |
332 **gerrit_kwargs) + | 332 **gerrit_kwargs) + |
333 api.platform('win', 64) | 333 api.platform('win', 64) |
334 ) | 334 ) |
OLD | NEW |