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

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

Issue 2315653002: Do not start goma in ChromeOS gclient runhook if gomadir is given. (Closed)
Patch Set: fixed mistake not --goma-start but --nostart-goma. 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
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_amd64_generic_Compile.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 self.m.depot_tools.cros_path, 'chrome-sdk', 467 self.m.depot_tools.cros_path, 'chrome-sdk',
468 '--board=%s' % (self.c.TARGET_CROS_BOARD,), 468 '--board=%s' % (self.c.TARGET_CROS_BOARD,),
469 '--nocolor',] 469 '--nocolor',]
470 wrapper += self.c.cros_sdk.args 470 wrapper += self.c.cros_sdk.args
471 if self.c.cros_sdk.external: 471 if self.c.cros_sdk.external:
472 wrapper += ['--use-external-config'] 472 wrapper += ['--use-external-config']
473 if clean: 473 if clean:
474 wrapper += ['--clear-sdk-cache'] 474 wrapper += ['--clear-sdk-cache']
475 if self.c.compile_py.goma_dir: 475 if self.c.compile_py.goma_dir:
476 wrapper += ['--gomadir', self.c.compile_py.goma_dir] 476 wrapper += ['--gomadir', self.c.compile_py.goma_dir]
477 wrapper += ['--nostart-goma']
dnj 2016/09/08 16:14:45 Can you add a comment here detailing why this flag
Yoshisato Yanagisawa 2016/09/12 01:55:11 Wrote a comment. I do not know a situation where
477 if self.c.gyp_env.GYP_DEFINES.get('fastbuild', 0) == 1: 478 if self.c.gyp_env.GYP_DEFINES.get('fastbuild', 0) == 1:
478 wrapper += ['--fastbuild'] 479 wrapper += ['--fastbuild']
479 wrapper += ['--'] 480 wrapper += ['--']
480 return wrapper 481 return wrapper
481 482
482 def ensure_goma(self, canary=False): 483 def ensure_goma(self, canary=False):
483 goma_dir = self.m.goma.ensure_goma(canary=canary) 484 goma_dir = self.m.goma.ensure_goma(canary=canary)
484 if goma_dir: 485 if goma_dir:
485 # TODO(phajdan.jr): goma_dir should always be non-empty. 486 # TODO(phajdan.jr): goma_dir should always be non-empty.
486 self.c.gyp_env.GYP_DEFINES['gomadir'] = goma_dir 487 self.c.gyp_env.GYP_DEFINES['gomadir'] = goma_dir
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 })) 803 }))
803 804
804 def get_annotate_by_test_name(self, test_name): 805 def get_annotate_by_test_name(self, test_name):
805 return 'graphing' 806 return 'graphing'
806 807
807 def download_lto_plugin(self): 808 def download_lto_plugin(self):
808 return self.m.python( 809 return self.m.python(
809 name='download LTO plugin', 810 name='download LTO plugin',
810 script=self.m.path['checkout'].join( 811 script=self.m.path['checkout'].join(
811 'build', 'download_gold_plugin.py')) 812 'build', 'download_gold_plugin.py'))
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium.expected/full_chromium_chromiumos_ChromiumOS_amd64_generic_Compile.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698