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

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

Issue 1903503007: goma: use GOMA_SERVICE_ACCOUNT_JSON_FILE (reland #1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 args += ['--build-args', self.c.compile_py.build_args] 166 args += ['--build-args', self.c.compile_py.build_args]
167 if self.c.compile_py.build_tool: 167 if self.c.compile_py.build_tool:
168 args += ['--build-tool', self.c.compile_py.build_tool] 168 args += ['--build-tool', self.c.compile_py.build_tool]
169 if self.m.properties.get('build_data_dir'): 169 if self.m.properties.get('build_data_dir'):
170 args += ['--build-data-dir', self.m.properties.get('build_data_dir')] 170 args += ['--build-data-dir', self.m.properties.get('build_data_dir')]
171 if self.c.compile_py.cross_tool: 171 if self.c.compile_py.cross_tool:
172 args += ['--crosstool', self.c.compile_py.cross_tool] 172 args += ['--crosstool', self.c.compile_py.cross_tool]
173 if self.c.compile_py.compiler: 173 if self.c.compile_py.compiler:
174 args += ['--compiler', self.c.compile_py.compiler] 174 args += ['--compiler', self.c.compile_py.compiler]
175 if 'goma' in self.c.compile_py.compiler: 175 if 'goma' in self.c.compile_py.compiler:
176 args += ['--goma-jsonstatus', self.m.json.output()] 176 args += [
177 '--goma-jsonstatus', self.m.json.output(),
178 '--goma-service-account-json-file',
179 self.m.goma.service_account_json_path,
180 ]
177 if out_dir: 181 if out_dir:
178 args += ['--out-dir', out_dir] 182 args += ['--out-dir', out_dir]
179 if self.c.compile_py.mode: 183 if self.c.compile_py.mode:
180 args += ['--mode', self.c.compile_py.mode] 184 args += ['--mode', self.c.compile_py.mode]
181 if self.c.compile_py.goma_dir: 185 if self.c.compile_py.goma_dir:
182 args += ['--goma-dir', self.c.compile_py.goma_dir] 186 args += ['--goma-dir', self.c.compile_py.goma_dir]
183 if self.c.compile_py.goma_hermetic: 187 if self.c.compile_py.goma_hermetic:
184 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic] 188 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic]
185 if self.c.compile_py.goma_enable_remote_link: 189 if self.c.compile_py.goma_enable_remote_link:
186 args += ['--goma-enable-remote-link'] 190 args += ['--goma-enable-remote-link']
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 })) 712 }))
709 713
710 def get_annotate_by_test_name(self, test_name): 714 def get_annotate_by_test_name(self, test_name):
711 return 'graphing' 715 return 'graphing'
712 716
713 def download_lto_plugin(self): 717 def download_lto_plugin(self):
714 return self.m.python( 718 return self.m.python(
715 name='download LTO plugin', 719 name='download LTO plugin',
716 script=self.m.path['checkout'].join( 720 script=self.m.path['checkout'].join(
717 'build', 'download_gold_plugin.py')) 721 'build', 'download_gold_plugin.py'))
OLDNEW
« no previous file with comments | « scripts/slave/compile.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