Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 'depot_tools/infra_paths',
10 'recipe_engine/json', 11 'recipe_engine/json',
11 'recipe_engine/path', 12 'recipe_engine/path',
12 'recipe_engine/platform', 13 'recipe_engine/platform',
13 'recipe_engine/properties', 14 'recipe_engine/properties',
14 'skia', 15 'skia',
15 ] 16 ]
16 17
17 18
18 TEST_BUILDERS = { 19 TEST_BUILDERS = {
19 'client.skia.compile': { 20 'client.skia.compile': {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 for builder in builders_by_slave: 52 for builder in builders_by_slave:
52 test = ( 53 test = (
53 api.test(builder) + 54 api.test(builder) +
54 api.properties(buildername=builder, 55 api.properties(buildername=builder,
55 mastername=mastername, 56 mastername=mastername,
56 slavename=slavename, 57 slavename=slavename,
57 buildnumber=5, 58 buildnumber=5,
58 revision='abc123', 59 revision='abc123',
59 swarm_out_dir='[SWARM_OUT_DIR]') + 60 swarm_out_dir='[SWARM_OUT_DIR]') +
60 api.path.exists( 61 api.path.exists(
61 api.path['slave_build'].join('skia'), 62 api.infra_paths['slave_build'].join('skia'),
62 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 63 api.infra_paths['slave_build'].join('tmp', 'uninteresting_hashes.t xt')
63 ) 64 )
64 ) 65 )
65 if 'Win' in builder: 66 if 'Win' in builder:
66 test += api.platform('win', 64) 67 test += api.platform('win', 64)
67 68
68 if 'Android' in builder: 69 if 'Android' in builder:
69 ccache = '/usr/bin/ccache' if 'Appurify' in builder else None 70 ccache = '/usr/bin/ccache' if 'Appurify' in builder else None
70 test += api.step_data('has ccache?', 71 test += api.step_data('has ccache?',
71 stdout=api.json.output({'ccache':ccache})) 72 stdout=api.json.output({'ccache':ccache}))
72 if 'Trybot' in builder: 73 if 'Trybot' in builder:
73 test += api.properties(issue=500, 74 test += api.properties(issue=500,
74 patchset=1, 75 patchset=1,
75 rietveld='https://codereview.chromium.org') 76 rietveld='https://codereview.chromium.org')
76 77
77 yield test 78 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698