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

Side by Side Diff: scripts/slave/recipe_modules/chromium/api.py

Issue 1896113002: compile.py: explicitly pass gsutil.py path for uploading goma logs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import re 5 import re
6 6
7 from recipe_engine import recipe_api 7 from recipe_engine import recipe_api
8 from recipe_engine import util as recipe_util 8 from recipe_engine import util as recipe_util
9 9
10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder): 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder):
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 assert isinstance(targets, (list, tuple)) 149 assert isinstance(targets, (list, tuple))
150 150
151 if self.c.gyp_env.GYP_DEFINES.get('clang', 0) == 1: 151 if self.c.gyp_env.GYP_DEFINES.get('clang', 0) == 1:
152 # Get the Clang revision before compiling. 152 # Get the Clang revision before compiling.
153 self._clang_version = self.get_clang_version() 153 self._clang_version = self.get_clang_version()
154 154
155 args = [ 155 args = [
156 '--show-path', 156 '--show-path',
157 'python', 157 'python',
158 self.package_repo_resource('scripts', 'slave', 'compile.py'), 158 self.package_repo_resource('scripts', 'slave', 'compile.py'),
159 '--gsutil-py-path', self.m.depot_tools.gsutil_py_path,
159 '--ninja-path', self.m.depot_tools.ninja_path, 160 '--ninja-path', self.m.depot_tools.ninja_path,
160 '--target', target or self.c.build_config_fs, 161 '--target', target or self.c.build_config_fs,
161 '--src-dir', self.m.path['checkout'], 162 '--src-dir', self.m.path['checkout'],
162 '--goma-cache-dir', self.m.path['goma_cache'], 163 '--goma-cache-dir', self.m.path['goma_cache'],
163 ] 164 ]
164 if self.c.compile_py.build_args: 165 if self.c.compile_py.build_args:
165 args += ['--build-args', self.c.compile_py.build_args] 166 args += ['--build-args', self.c.compile_py.build_args]
166 if self.c.compile_py.build_tool: 167 if self.c.compile_py.build_tool:
167 args += ['--build-tool', self.c.compile_py.build_tool] 168 args += ['--build-tool', self.c.compile_py.build_tool]
168 if self.m.properties.get('build_data_dir'): 169 if self.m.properties.get('build_data_dir'):
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 })) 711 }))
711 712
712 def get_annotate_by_test_name(self, test_name): 713 def get_annotate_by_test_name(self, test_name):
713 return 'graphing' 714 return 'graphing'
714 715
715 def download_lto_plugin(self): 716 def download_lto_plugin(self):
716 return self.m.python( 717 return self.m.python(
717 name='download LTO plugin', 718 name='download LTO plugin',
718 script=self.m.path['checkout'].join( 719 script=self.m.path['checkout'].join(
719 'build', 'download_gold_plugin.py')) 720 'build', 'download_gold_plugin.py'))
OLDNEW
« no previous file with comments | « scripts/slave/goma_utils.py ('k') | scripts/slave/recipe_modules/chromium/example.expected/basic_out_dir.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698