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

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

Issue 1493683003: autoroll: Update Clang script path. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 #!/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 25 matching lines...) Expand all
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, 'build')) 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.py'
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.py')
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',
52 'path url current_rev new_rev') 52 'path url current_rev new_rev')
53 53
54 54
55 def ParseDepsDict(deps_content): 55 def ParseDepsDict(deps_content):
56 local_scope = {} 56 local_scope = {}
57 var = GClientKeywords.VarImpl({}, local_scope) 57 var = GClientKeywords.VarImpl({}, local_scope)
58 global_scope = { 58 global_scope = {
(...skipping 388 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698