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

Side by Side Diff: tools/autoroller/roll_chromium_revision.py

Issue 1409353014: Update moved find_depot_tools.py script location (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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 | « setup_links.py ('k') | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """Script to roll chromium_revision in the WebRTC DEPS file.""" 10 """Script to roll chromium_revision in the WebRTC DEPS file."""
(...skipping 20 matching lines...) Expand all
31 COMMIT_POSITION_RE = re.compile('^Cr-Commit-Position: .*#([0-9]+).*$') 31 COMMIT_POSITION_RE = re.compile('^Cr-Commit-Position: .*#([0-9]+).*$')
32 CLANG_REVISION_RE = re.compile(r'^CLANG_REVISION=(\d+)$') 32 CLANG_REVISION_RE = re.compile(r'^CLANG_REVISION=(\d+)$')
33 ROLL_BRANCH_NAME = 'roll_chromium_revision' 33 ROLL_BRANCH_NAME = 'roll_chromium_revision'
34 34
35 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 35 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
36 CHECKOUT_ROOT_DIR = os.path.realpath(os.path.join(SCRIPT_DIR, os.pardir, 36 CHECKOUT_ROOT_DIR = os.path.realpath(os.path.join(SCRIPT_DIR, os.pardir,
37 os.pardir)) 37 os.pardir))
38 sys.path.append(CHECKOUT_ROOT_DIR) 38 sys.path.append(CHECKOUT_ROOT_DIR)
39 import setup_links 39 import setup_links
40 40
41 sys.path.append(os.path.join(CHECKOUT_ROOT_DIR, 'tools')) 41 sys.path.append(os.path.join(CHECKOUT_ROOT_DIR, 'build'))
42 import find_depot_tools 42 import find_depot_tools
43 find_depot_tools.add_depot_tools_to_path() 43 find_depot_tools.add_depot_tools_to_path()
44 from gclient import GClientKeywords 44 from gclient import GClientKeywords
45 45
46 CLANG_UPDATE_SCRIPT_URL_PATH = 'tools/clang/scripts/update.sh' 46 CLANG_UPDATE_SCRIPT_URL_PATH = 'tools/clang/scripts/update.sh'
47 CLANG_UPDATE_SCRIPT_LOCAL_PATH = os.path.join('tools', 'clang', 'scripts', 47 CLANG_UPDATE_SCRIPT_LOCAL_PATH = os.path.join('tools', 'clang', 'scripts',
48 'update.sh') 48 'update.sh')
49 49
50 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision') 50 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision')
51 ChangedDep = collections.namedtuple('ChangedDep', 51 ChangedDep = collections.namedtuple('ChangedDep',
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 UpdateDeps(deps_filename, current_cr_rev, new_cr_rev) 447 UpdateDeps(deps_filename, current_cr_rev, new_cr_rev)
448 _LocalCommit(commit_msg, opts.dry_run) 448 _LocalCommit(commit_msg, opts.dry_run)
449 _UploadCL(opts.dry_run, opts.rietveld_email) 449 _UploadCL(opts.dry_run, opts.rietveld_email)
450 _LaunchTrybots(opts.dry_run, opts.skip_try) 450 _LaunchTrybots(opts.dry_run, opts.skip_try)
451 _SendToCQ(opts.dry_run, opts.skip_cq) 451 _SendToCQ(opts.dry_run, opts.skip_cq)
452 return 0 452 return 0
453 453
454 454
455 if __name__ == '__main__': 455 if __name__ == '__main__':
456 sys.exit(main()) 456 sys.exit(main())
OLDNEW
« no previous file with comments | « setup_links.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698