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

Side by Side Diff: tools/auto_bisect/bisect_utils.py

Issue 502863002: Drop obsolete --git-deps parameter to gclient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 """Utility functions used by the bisect tool. 5 """Utility functions used by the bisect tool.
6 6
7 This includes functions related to checking out the depot and outputting 7 This includes functions related to checking out the depot and outputting
8 annotations for the Buildbot waterfall. 8 annotations for the Buildbot waterfall.
9 """ 9 """
10 10
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 spec[0]['custom_deps'][k] = v 274 spec[0]['custom_deps'][k] = v
275 275
276 # Cannot have newlines in string on windows 276 # Cannot have newlines in string on windows
277 spec = 'solutions =' + str(spec) 277 spec = 'solutions =' + str(spec)
278 spec = ''.join([l for l in spec.splitlines()]) 278 spec = ''.join([l for l in spec.splitlines()])
279 279
280 if 'android' in opts.target_platform: 280 if 'android' in opts.target_platform:
281 spec += GCLIENT_SPEC_ANDROID 281 spec += GCLIENT_SPEC_ANDROID
282 282
283 return_code = RunGClient( 283 return_code = RunGClient(
284 ['config', '--spec=%s' % spec, '--git-deps'], cwd=cwd) 284 ['config', '--spec=%s' % spec], cwd=cwd)
285 return return_code 285 return return_code
286 286
287 287
288 def IsDepsFileBlink(): 288 def IsDepsFileBlink():
289 """Reads .DEPS.git and returns whether or not we're using blink. 289 """Reads .DEPS.git and returns whether or not we're using blink.
290 290
291 Returns: 291 Returns:
292 True if blink, false if webkit. 292 True if blink, false if webkit.
293 """ 293 """
294 locals = { 294 locals = {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 return sys.platform.startswith('linux') 590 return sys.platform.startswith('linux')
591 591
592 592
593 def IsMacHost(): 593 def IsMacHost():
594 """Checks whether or not the script is running on Mac. 594 """Checks whether or not the script is running on Mac.
595 595
596 Returns: 596 Returns:
597 True if running on Mac. 597 True if running on Mac.
598 """ 598 """
599 return sys.platform.startswith('darwin') 599 return sys.platform.startswith('darwin')
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698