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

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

Issue 1415923010: Several Tick counter improvements. (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
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 17 matching lines...) Expand all
28 # Run these CQ trybots in addition to the default ones in infra/config/cq.cfg. 28 # Run these CQ trybots in addition to the default ones in infra/config/cq.cfg.
29 EXTRA_TRYBOTS = 'tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal' 29 EXTRA_TRYBOTS = 'tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal'
30 30
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 logging.error('Root Dir: %s', CHECKOUT_ROOT_DIR)
38 sys.path.append(CHECKOUT_ROOT_DIR) 39 sys.path.append(CHECKOUT_ROOT_DIR)
39 import setup_links 40 import setup_links
40 41
41 sys.path.append(os.path.join(CHECKOUT_ROOT_DIR, 'tools')) 42 sys.path.append(os.path.join(CHECKOUT_ROOT_DIR, 'build'))
42 import find_depot_tools 43 import find_depot_tools
43 find_depot_tools.add_depot_tools_to_path() 44 find_depot_tools.add_depot_tools_to_path()
44 from gclient import GClientKeywords 45 from gclient import GClientKeywords
45 46
46 CLANG_UPDATE_SCRIPT_URL_PATH = 'tools/clang/scripts/update.sh' 47 CLANG_UPDATE_SCRIPT_URL_PATH = 'tools/clang/scripts/update.sh'
47 CLANG_UPDATE_SCRIPT_LOCAL_PATH = os.path.join('tools', 'clang', 'scripts', 48 CLANG_UPDATE_SCRIPT_LOCAL_PATH = os.path.join('tools', 'clang', 'scripts',
48 'update.sh') 49 'update.sh')
49 50
50 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision') 51 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision')
51 ChangedDep = collections.namedtuple('ChangedDep', 52 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) 448 UpdateDeps(deps_filename, current_cr_rev, new_cr_rev)
448 _LocalCommit(commit_msg, opts.dry_run) 449 _LocalCommit(commit_msg, opts.dry_run)
449 _UploadCL(opts.dry_run, opts.rietveld_email) 450 _UploadCL(opts.dry_run, opts.rietveld_email)
450 _LaunchTrybots(opts.dry_run, opts.skip_try) 451 _LaunchTrybots(opts.dry_run, opts.skip_try)
451 _SendToCQ(opts.dry_run, opts.skip_cq) 452 _SendToCQ(opts.dry_run, opts.skip_cq)
452 return 0 453 return 0
453 454
454 455
455 if __name__ == '__main__': 456 if __name__ == '__main__':
456 sys.exit(main()) 457 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | webrtc/system_wrappers/include/tick_util.h » ('j') | webrtc/system_wrappers/source/tick_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698