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

Side by Side Diff: tools/roll_webrtc.py

Issue 1418513007: Move find_depot_tools.py to build/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fixes Created 5 years, 2 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 | « tools/roll_angle.py ('k') | tools/safely-roll-deps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import collections 7 import collections
8 import logging 8 import logging
9 import os 9 import os
10 import re 10 import re
11 import subprocess 11 import subprocess
12 import sys 12 import sys
13 import time 13 import time
14 14
15 15
16 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) 16 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
17 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) 17 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir))
18 sys.path.insert(0, os.path.join(SRC_DIR, 'build'))
18 import find_depot_tools 19 import find_depot_tools
19 find_depot_tools.add_depot_tools_to_path() 20 find_depot_tools.add_depot_tools_to_path()
20 import rietveld 21 import rietveld
21 import roll_dep_svn 22 import roll_dep_svn
22 from gclient import GClientKeywords 23 from gclient import GClientKeywords
23 from third_party import upload 24 from third_party import upload
24 25
25 # Avoid depot_tools/third_party/upload.py print verbose messages. 26 # Avoid depot_tools/third_party/upload.py print verbose messages.
26 upload.verbosity = 0 # Errors only. 27 upload.verbosity = 0 # Errors only.
27 28
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 if args.abort: 433 if args.abort:
433 return autoroller.Abort() 434 return autoroller.Abort()
434 elif args.wait_for_trybots: 435 elif args.wait_for_trybots:
435 return autoroller.WaitForTrybots() 436 return autoroller.WaitForTrybots()
436 else: 437 else:
437 return autoroller.PrepareRoll(args.dry_run, args.ignore_checks, 438 return autoroller.PrepareRoll(args.dry_run, args.ignore_checks,
438 args.no_commit, args.close_previous_roll) 439 args.no_commit, args.close_previous_roll)
439 440
440 if __name__ == '__main__': 441 if __name__ == '__main__':
441 sys.exit(main()) 442 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/roll_angle.py ('k') | tools/safely-roll-deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698