OLD | NEW |
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 DEPS = [ | 8 DEPS = [ |
9 'core', | 9 'core', |
10 'recipe_engine/path', | 10 'recipe_engine/path', |
(...skipping 29 matching lines...) Expand all Loading... |
40 cwd=cwd, | 40 cwd=cwd, |
41 abort_on_failure=False) | 41 abort_on_failure=False) |
42 | 42 |
43 # TODO(borenet): Detect static initializers? | 43 # TODO(borenet): Detect static initializers? |
44 | 44 |
45 gsutil_path = api.path['depot_tools'].join('gsutil.py') | 45 gsutil_path = api.path['depot_tools'].join('gsutil.py') |
46 if not api.vars.is_trybot: | 46 if not api.vars.is_trybot: |
47 api.run( | 47 api.run( |
48 api.step, | 48 api.step, |
49 'generate and upload doxygen', | 49 'generate and upload doxygen', |
50 cmd=['python', api.core.resource('generate_and_upload_doxygen.py'), | 50 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')], |
51 gsutil_path], | |
52 cwd=cwd, | 51 cwd=cwd, |
53 abort_on_failure=False) | 52 abort_on_failure=False) |
54 | 53 |
55 cmd = ['python', api.core.resource('run_binary_size_analysis.py'), | 54 cmd = ['python', api.core.resource('run_binary_size_analysis.py'), |
56 '--library', api.vars.skia_out.join( | 55 '--library', api.vars.skia_out.join( |
57 'Release', 'lib', 'libskia.so'), | 56 'Release', 'lib', 'libskia.so'), |
58 '--githash', api.properties['revision'], | 57 '--githash', api.properties['revision'], |
59 '--gsutil_path', gsutil_path] | 58 '--gsutil_path', gsutil_path] |
60 if api.vars.is_trybot: | 59 if api.vars.is_trybot: |
61 cmd.extend(['--issue_number', str(api.properties['issue'])]) | 60 cmd.extend(['--issue_number', str(api.properties['issue'])]) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 revision='abc123', | 102 revision='abc123', |
104 path_config='kitchen', | 103 path_config='kitchen', |
105 swarm_out_dir='[SWARM_OUT_DIR]') + | 104 swarm_out_dir='[SWARM_OUT_DIR]') + |
106 api.path.exists(api.path['slave_build']) | 105 api.path.exists(api.path['slave_build']) |
107 ) | 106 ) |
108 if 'Trybot' in buildername: | 107 if 'Trybot' in buildername: |
109 test.properties['issue'] = '500' | 108 test.properties['issue'] = '500' |
110 test.properties['patchset'] = '1' | 109 test.properties['patchset'] = '1' |
111 test.properties['rietveld'] = 'https://codereview.chromium.org' | 110 test.properties['rietveld'] = 'https://codereview.chromium.org' |
112 yield test | 111 yield test |
OLD | NEW |