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

Side by Side Diff: scripts/slave/recipe_modules/skia/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 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 import json 6 import json
7 import os 7 import os
8 import re 8 import re
9 import sys 9 import sys
10 10
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 cwd=repo_path, 289 cwd=repo_path,
290 infra_step=True) 290 infra_step=True)
291 self.m.step('git clean', 291 self.m.step('git clean',
292 cmd=[git, 'clean', '-d', '-f'], 292 cmd=[git, 'clean', '-d', '-f'],
293 cwd=repo_path, 293 cwd=repo_path,
294 infra_step=True) 294 infra_step=True)
295 295
296 def checkout_steps(self): 296 def checkout_steps(self):
297 """Run the steps to obtain a checkout of Skia.""" 297 """Run the steps to obtain a checkout of Skia."""
298 cfg_kwargs = {} 298 cfg_kwargs = {}
299 cfg_kwargs['GIT_MODE'] = True
300 if not self.persistent_checkout: 299 if not self.persistent_checkout:
301 # We should've obtained the Skia checkout through isolates, so we don't 300 # We should've obtained the Skia checkout through isolates, so we don't
302 # need to perform the checkout ourselves. 301 # need to perform the checkout ourselves.
303 self.m.path['checkout'] = self.skia_dir 302 self.m.path['checkout'] = self.skia_dir
304 self.got_revision = self.m.properties['revision'] 303 self.got_revision = self.m.properties['revision']
305 return 304 return
306 305
307 # Use a persistent gclient cache for Swarming. 306 # Use a persistent gclient cache for Swarming.
308 cfg_kwargs['CACHE_DIR'] = self.gclient_cache 307 cfg_kwargs['CACHE_DIR'] = self.gclient_cache
309 308
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 # Don't bother to include role, which is always Test. 883 # Don't bother to include role, which is always Test.
885 # TryBots are uploaded elsewhere so they can use the same key. 884 # TryBots are uploaded elsewhere so they can use the same key.
886 blacklist = ['role', 'is_trybot'] 885 blacklist = ['role', 'is_trybot']
887 886
888 flat = [] 887 flat = []
889 for k in sorted(self.builder_cfg.keys()): 888 for k in sorted(self.builder_cfg.keys()):
890 if k not in blacklist: 889 if k not in blacklist:
891 flat.append(k) 890 flat.append(k)
892 flat.append(self.builder_cfg[k]) 891 flat.append(self.builder_cfg[k])
893 return flat 892 return flat
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/recipe_tryjob/api.py ('k') | scripts/slave/recipe_modules/syzygy/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698