OLD | NEW |
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 extra_trybots = [ | 15 extra_trybots = [ |
16 { | 16 { |
17 "mastername": "tryserver.chromium.win", | 17 "mastername": "tryserver.chromium.win", |
18 "buildernames": ["win_optional_gpu_tests_rel"] | 18 "buildernames": ["win_optional_gpu_tests_rel"] |
| 19 }, |
| 20 { |
| 21 "mastername": "tryserver.chromium.mac", |
| 22 "buildernames": ["mac_optional_gpu_tests_rel"] |
19 } | 23 } |
20 ] | 24 ] |
21 | 25 |
22 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) | 26 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) |
23 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) | 27 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) |
24 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) | 28 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) |
25 import find_depot_tools | 29 import find_depot_tools |
26 find_depot_tools.add_depot_tools_to_path() | 30 find_depot_tools.add_depot_tools_to_path() |
27 import roll_dep_svn | 31 import roll_dep_svn |
28 from gclient import GClientKeywords | 32 from gclient import GClientKeywords |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 logging.basicConfig(level=logging.ERROR) | 375 logging.basicConfig(level=logging.ERROR) |
372 | 376 |
373 autoroller = AutoRoller(SRC_DIR) | 377 autoroller = AutoRoller(SRC_DIR) |
374 if args.abort: | 378 if args.abort: |
375 return autoroller.Abort() | 379 return autoroller.Abort() |
376 else: | 380 else: |
377 return autoroller.PrepareRoll(args.ignore_checks) | 381 return autoroller.PrepareRoll(args.ignore_checks) |
378 | 382 |
379 if __name__ == '__main__': | 383 if __name__ == '__main__': |
380 sys.exit(main()) | 384 sys.exit(main()) |
OLD | NEW |