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

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

Issue 2284973002: Skia recipe: Use [depot_tools]/gsutil.py instead of [depot_tools]/third_party/gsutil/gsutil (Closed)
Patch Set: Rebase Created 4 years, 3 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 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 5
6 # Recipe for the Skia PerCommit Housekeeper. 6 # Recipe for the Skia PerCommit Housekeeper.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'recipe_engine/path', 10 'recipe_engine/path',
(...skipping 23 matching lines...) Expand all
34 api.skia.run( 34 api.skia.run(
35 api.step, 35 api.step,
36 'android platform self-tests', 36 'android platform self-tests',
37 cmd=['python', 37 cmd=['python',
38 cwd.join('platform_tools', 'android', 'tests', 'run_all.py')], 38 cwd.join('platform_tools', 'android', 'tests', 'run_all.py')],
39 cwd=cwd, 39 cwd=cwd,
40 abort_on_failure=False) 40 abort_on_failure=False)
41 41
42 # TODO(borenet): Detect static initializers? 42 # TODO(borenet): Detect static initializers?
43 43
44 gsutil_path = api.path['depot_tools'].join('third_party', 'gsutil', 44 gsutil_path = api.path['depot_tools'].join('gsutil.py')
45 'gsutil')
46 if not api.skia.is_trybot: 45 if not api.skia.is_trybot:
47 api.skia.run( 46 api.skia.run(
48 api.step, 47 api.step,
49 'generate and upload doxygen', 48 'generate and upload doxygen',
50 cmd=['python', api.skia.resource('generate_and_upload_doxygen.py'), 49 cmd=['python', api.skia.resource('generate_and_upload_doxygen.py'),
51 gsutil_path], 50 gsutil_path],
52 cwd=cwd, 51 cwd=cwd,
53 abort_on_failure=False) 52 abort_on_failure=False)
54 53
55 cmd = ['python', api.skia.resource('run_binary_size_analysis.py'), 54 cmd = ['python', api.skia.resource('run_binary_size_analysis.py'),
(...skipping 20 matching lines...) Expand all
76 slavename=slavename, 75 slavename=slavename,
77 buildnumber=5, 76 buildnumber=5,
78 revision='abc123', 77 revision='abc123',
79 path_config='kitchen', 78 path_config='kitchen',
80 swarm_out_dir='[SWARM_OUT_DIR]') + 79 swarm_out_dir='[SWARM_OUT_DIR]') +
81 api.path.exists(api.path['slave_build']) 80 api.path.exists(api.path['slave_build'])
82 ) 81 )
83 if 'Trybot' in buildername: 82 if 'Trybot' in buildername:
84 test.properties['issue'] = '500' 83 test.properties['issue'] = '500'
85 yield test 84 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698