OLD | NEW |
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 automatically roll dependencies in the WebRTC DEPS file.""" |
11 | 11 |
12 import argparse | 12 import argparse |
13 import base64 | 13 import base64 |
14 import collections | 14 import collections |
15 import logging | 15 import logging |
16 import os | 16 import os |
17 import re | 17 import re |
18 import subprocess | 18 import subprocess |
19 import sys | 19 import sys |
20 import urllib | 20 import urllib |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 _CreateRollBranch(opts.dry_run) | 501 _CreateRollBranch(opts.dry_run) |
502 UpdateDepsFile(deps_filename, current_cr_rev, new_cr_rev, changed_deps) | 502 UpdateDepsFile(deps_filename, current_cr_rev, new_cr_rev, changed_deps) |
503 _LocalCommit(commit_msg, opts.dry_run) | 503 _LocalCommit(commit_msg, opts.dry_run) |
504 _UploadCL(opts.dry_run, opts.rietveld_email) | 504 _UploadCL(opts.dry_run, opts.rietveld_email) |
505 _SendToCQ(opts.dry_run, opts.skip_cq) | 505 _SendToCQ(opts.dry_run, opts.skip_cq) |
506 return 0 | 506 return 0 |
507 | 507 |
508 | 508 |
509 if __name__ == '__main__': | 509 if __name__ == '__main__': |
510 sys.exit(main()) | 510 sys.exit(main()) |
OLD | NEW |