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

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

Issue 2282913002: Delete all references to GIT_MODE=True from build (Closed)
Patch Set: 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 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 for c in bot_config.get('chromium_apply_config', []): 142 for c in bot_config.get('chromium_apply_config', []):
143 self.apply_config(c) 143 self.apply_config(c)
144 144
145 for c in additional_configs: 145 for c in additional_configs:
146 self.apply_config(c) 146 self.apply_config(c)
147 147
148 # Note that we have to call gclient.set_config() and apply_config() *after* 148 # Note that we have to call gclient.set_config() and apply_config() *after*
149 # calling chromium.set_config(), above, because otherwise the chromium 149 # calling chromium.set_config(), above, because otherwise the chromium
150 # call would reset the gclient config to its defaults. 150 # call would reset the gclient config to its defaults.
151 self.m.gclient.set_config( 151 self.m.gclient.set_config(
152 'chromium', GIT_MODE=True, 152 'chromium',
153 PATCH_PROJECT=self.m.properties.get('patch_project')) 153 PATCH_PROJECT=self.m.properties.get('patch_project'))
154 for c in bot_config.get('gclient_apply_config', []): 154 for c in bot_config.get('gclient_apply_config', []):
155 self.m.gclient.apply_config(c) 155 self.m.gclient.apply_config(c)
156 156
157 return (buildername, bot_config) 157 return (buildername, bot_config)
158 158
159 def compile(self, targets=None, name=None, out_dir=None, 159 def compile(self, targets=None, name=None, out_dir=None,
160 target=None, **kwargs): 160 target=None, **kwargs):
161 """Return a compile.py invocation.""" 161 """Return a compile.py invocation."""
162 targets = targets or self.c.compile_py.default_targets.as_jsonish() 162 targets = targets or self.c.compile_py.default_targets.as_jsonish()
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 })) 795 }))
796 796
797 def get_annotate_by_test_name(self, test_name): 797 def get_annotate_by_test_name(self, test_name):
798 return 'graphing' 798 return 'graphing'
799 799
800 def download_lto_plugin(self): 800 def download_lto_plugin(self):
801 return self.m.python( 801 return self.m.python(
802 name='download LTO plugin', 802 name='download LTO plugin',
803 script=self.m.path['checkout'].join( 803 script=self.m.path['checkout'].join(
804 'build', 'download_gold_plugin.py')) 804 'build', 'download_gold_plugin.py'))
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromite/api.py ('k') | scripts/slave/recipe_modules/chromium_android/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698