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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 'client.nacl', | 285 'client.nacl', |
286 'client.nacl.ports', | 286 'client.nacl.ports', |
287 'client.nacl.sdk', | 287 'client.nacl.sdk', |
288 'client.nacl.toolchain', | 288 'client.nacl.toolchain', |
289 'client.pdfium', | 289 'client.pdfium', |
290 'client.skia', | 290 'client.skia', |
291 'client.skia.fyi', | 291 'client.skia.fyi', |
292 'client.v8', | 292 'client.v8', |
293 'client.v8.branches', | 293 'client.v8.branches', |
294 'client.v8.fyi', | 294 'client.v8.fyi', |
| 295 'client.v8.ports', |
295 'client.webrtc', | 296 'client.webrtc', |
296 'client.webrtc.fyi', | 297 'client.webrtc.fyi', |
297 'tryserver.blink', | 298 'tryserver.blink', |
298 'tryserver.client.catapult', | 299 'tryserver.client.catapult', |
299 'tryserver.client.mojo', | 300 'tryserver.client.mojo', |
300 'tryserver.chromium.android', | 301 'tryserver.chromium.android', |
301 'tryserver.chromium.angle', | 302 'tryserver.chromium.angle', |
302 'tryserver.chromium.linux', | 303 'tryserver.chromium.linux', |
303 'tryserver.chromium.mac', | 304 'tryserver.chromium.mac', |
304 'tryserver.chromium.perf', | 305 'tryserver.chromium.perf', |
(...skipping 27 matching lines...) Expand all Loading... |
332 DISABLED_BUILDERS.update(internal_data.get('DISABLED_BUILDERS', {})) | 333 DISABLED_BUILDERS.update(internal_data.get('DISABLED_BUILDERS', {})) |
333 | 334 |
334 DISABLED_SLAVES = {} | 335 DISABLED_SLAVES = {} |
335 DISABLED_SLAVES.update(internal_data.get('DISABLED_SLAVES', {})) | 336 DISABLED_SLAVES.update(internal_data.get('DISABLED_SLAVES', {})) |
336 | 337 |
337 # These masters work only in Git, meaning for got_revision, always output | 338 # These masters work only in Git, meaning for got_revision, always output |
338 # a git hash rather than a SVN rev. | 339 # a git hash rather than a SVN rev. |
339 GIT_MASTERS = [ | 340 GIT_MASTERS = [ |
340 'client.v8', | 341 'client.v8', |
341 'client.v8.branches', | 342 'client.v8.branches', |
| 343 'client.v8.ports', |
342 'tryserver.v8', | 344 'tryserver.v8', |
343 ] | 345 ] |
344 GIT_MASTERS += internal_data.get('GIT_MASTERS', []) | 346 GIT_MASTERS += internal_data.get('GIT_MASTERS', []) |
345 | 347 |
346 | 348 |
347 # How many times to try before giving up. | 349 # How many times to try before giving up. |
348 ATTEMPTS = 5 | 350 ATTEMPTS = 5 |
349 | 351 |
350 # Find deps2git | 352 # Find deps2git |
351 DEPS2GIT_DIR_PATH = path.join(SCRIPTS_DIR, 'tools', 'deps2git') | 353 DEPS2GIT_DIR_PATH = path.join(SCRIPTS_DIR, 'tools', 'deps2git') |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 except Exception: | 1750 except Exception: |
1749 # Unexpected failure. | 1751 # Unexpected failure. |
1750 emit_flag(options.flag_file) | 1752 emit_flag(options.flag_file) |
1751 raise | 1753 raise |
1752 else: | 1754 else: |
1753 emit_flag(options.flag_file) | 1755 emit_flag(options.flag_file) |
1754 | 1756 |
1755 | 1757 |
1756 if __name__ == '__main__': | 1758 if __name__ == '__main__': |
1757 sys.exit(main()) | 1759 sys.exit(main()) |
OLD | NEW |