| 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": "master.tryserver.chromium.win", | 17 "mastername": "master.tryserver.chromium.win", |
| 18 "buildernames": ["win_optional_gpu_tests_rel"] | 18 "buildernames": ["win_optional_gpu_tests_rel"] |
| 19 }, | 19 }, |
| 20 { | 20 { |
| 21 "mastername": "master.tryserver.chromium.mac", | 21 "mastername": "master.tryserver.chromium.mac", |
| 22 "buildernames": ["mac_optional_gpu_tests_rel"] | 22 "buildernames": ["mac_optional_gpu_tests_rel"] |
| 23 }, | 23 }, |
| 24 { | 24 { |
| 25 "mastername": "master.tryserver.chromium.linux", | 25 "mastername": "master.tryserver.chromium.linux", |
| 26 "buildernames": ["linux_optional_gpu_tests_rel"] | 26 "buildernames": ["linux_optional_gpu_tests_rel"] |
| 27 }, | 27 }, |
| 28 { |
| 29 "mastername": "master.tryserver.chromium.android", |
| 30 "buildernames": ["android_optional_gpu_tests_rel"] |
| 31 }, |
| 28 ] | 32 ] |
| 29 | 33 |
| 30 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) | 34 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) |
| 31 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) | 35 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) |
| 32 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) | 36 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) |
| 33 import find_depot_tools | 37 import find_depot_tools |
| 34 find_depot_tools.add_depot_tools_to_path() | 38 find_depot_tools.add_depot_tools_to_path() |
| 35 import roll_dep_svn | 39 import roll_dep_svn |
| 36 from gclient import GClientKeywords | 40 from gclient import GClientKeywords |
| 37 from third_party import upload | 41 from third_party import upload |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 logging.basicConfig(level=logging.ERROR) | 387 logging.basicConfig(level=logging.ERROR) |
| 384 | 388 |
| 385 autoroller = AutoRoller(SRC_DIR) | 389 autoroller = AutoRoller(SRC_DIR) |
| 386 if args.abort: | 390 if args.abort: |
| 387 return autoroller.Abort() | 391 return autoroller.Abort() |
| 388 else: | 392 else: |
| 389 return autoroller.PrepareRoll(args.ignore_checks, args.run_tryjobs) | 393 return autoroller.PrepareRoll(args.ignore_checks, args.run_tryjobs) |
| 390 | 394 |
| 391 if __name__ == '__main__': | 395 if __name__ == '__main__': |
| 392 sys.exit(main()) | 396 sys.exit(main()) |
| OLD | NEW |