Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 # TODO(hinoka): Use logging. | 6 # TODO(hinoka): Use logging. |
| 7 | 7 |
| 8 import cStringIO | 8 import cStringIO |
| 9 import codecs | 9 import codecs |
| 10 import collections | 10 import collections |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 'client.nacl', | 264 'client.nacl', |
| 265 'client.nacl.ports', | 265 'client.nacl.ports', |
| 266 'client.nacl.sdk', | 266 'client.nacl.sdk', |
| 267 'client.nacl.toolchain', | 267 'client.nacl.toolchain', |
| 268 'client.pdfium', | 268 'client.pdfium', |
| 269 'client.skia', | 269 'client.skia', |
| 270 'client.skia.fyi', | 270 'client.skia.fyi', |
| 271 'client.v8', | 271 'client.v8', |
| 272 'client.v8.branches', | 272 'client.v8.branches', |
| 273 'client.v8.fyi', | 273 'client.v8.fyi', |
| 274 'client.v8.ports', | |
|
Michael Achenbach
2016/04/05 14:50:03
Wonder what this file is still doing here. The sam
Sergiy Byelozyorov
2016/04/05 15:04:09
Acknowledged.
| |
| 274 'client.webrtc', | 275 'client.webrtc', |
| 275 'client.webrtc.fyi', | 276 'client.webrtc.fyi', |
| 276 'tryserver.blink', | 277 'tryserver.blink', |
| 277 'tryserver.client.catapult', | 278 'tryserver.client.catapult', |
| 278 'tryserver.client.mojo', | 279 'tryserver.client.mojo', |
| 279 'tryserver.chromium.android', | 280 'tryserver.chromium.android', |
| 280 'tryserver.chromium.angle', | 281 'tryserver.chromium.angle', |
| 281 'tryserver.chromium.linux', | 282 'tryserver.chromium.linux', |
| 282 'tryserver.chromium.mac', | 283 'tryserver.chromium.mac', |
| 283 'tryserver.chromium.perf', | 284 'tryserver.chromium.perf', |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 311 DISABLED_BUILDERS.update(internal_data.get('DISABLED_BUILDERS', {})) | 312 DISABLED_BUILDERS.update(internal_data.get('DISABLED_BUILDERS', {})) |
| 312 | 313 |
| 313 DISABLED_SLAVES = {} | 314 DISABLED_SLAVES = {} |
| 314 DISABLED_SLAVES.update(internal_data.get('DISABLED_SLAVES', {})) | 315 DISABLED_SLAVES.update(internal_data.get('DISABLED_SLAVES', {})) |
| 315 | 316 |
| 316 # These masters work only in Git, meaning for got_revision, always output | 317 # These masters work only in Git, meaning for got_revision, always output |
| 317 # a git hash rather than a SVN rev. | 318 # a git hash rather than a SVN rev. |
| 318 GIT_MASTERS = [ | 319 GIT_MASTERS = [ |
| 319 'client.v8', | 320 'client.v8', |
| 320 'client.v8.branches', | 321 'client.v8.branches', |
| 322 'client.v8.ports', | |
| 321 'tryserver.v8', | 323 'tryserver.v8', |
| 322 ] | 324 ] |
| 323 GIT_MASTERS += internal_data.get('GIT_MASTERS', []) | 325 GIT_MASTERS += internal_data.get('GIT_MASTERS', []) |
| 324 | 326 |
| 325 | 327 |
| 326 # How many times to try before giving up. | 328 # How many times to try before giving up. |
| 327 ATTEMPTS = 5 | 329 ATTEMPTS = 5 |
| 328 | 330 |
| 329 # Find deps2git | 331 # Find deps2git |
| 330 DEPS2GIT_DIR_PATH = path.join(SCRIPTS_DIR, 'tools', 'deps2git') | 332 DEPS2GIT_DIR_PATH = path.join(SCRIPTS_DIR, 'tools', 'deps2git') |
| (...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1723 except Exception: | 1725 except Exception: |
| 1724 # Unexpected failure. | 1726 # Unexpected failure. |
| 1725 emit_flag(options.flag_file) | 1727 emit_flag(options.flag_file) |
| 1726 raise | 1728 raise |
| 1727 else: | 1729 else: |
| 1728 emit_flag(options.flag_file) | 1730 emit_flag(options.flag_file) |
| 1729 | 1731 |
| 1730 | 1732 |
| 1731 if __name__ == '__main__': | 1733 if __name__ == '__main__': |
| 1732 sys.exit(main()) | 1734 sys.exit(main()) |
| OLD | NEW |