| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 """Define the supported projects.""" | 4 """Define the supported projects.""" |
| 5 | 5 |
| 6 import json | 6 import json |
| 7 import logging | 7 import logging |
| 8 import os | 8 import os |
| 9 import re | 9 import re |
| 10 import sys | 10 import sys |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 [re.escape(user)]), | 494 [re.escape(user)]), |
| 495 ] | 495 ] |
| 496 verifiers = [ | 496 verifiers = [ |
| 497 presubmit_check.PresubmitCheckVerifier(context_obj), | 497 presubmit_check.PresubmitCheckVerifier(context_obj), |
| 498 tree_status.TreeStatusVerifier( | 498 tree_status.TreeStatusVerifier( |
| 499 'https://skia-tree-status.appspot.com') | 499 'https://skia-tree-status.appspot.com') |
| 500 ] | 500 ] |
| 501 | 501 |
| 502 if not no_try: | 502 if not no_try: |
| 503 # TODO(rmistry): This should instead be a URL that does not change. | 503 # TODO(rmistry): This should instead be a URL that does not change. |
| 504 try_server_url = 'http://108.170.217.252:10117/' | 504 try_server_url = 'http://173.255.115.253:10117/' |
| 505 compile_required_build_steps = [ | 505 compile_required_build_steps = [ |
| 506 'BuildBench', | 506 'BuildBench', |
| 507 'BuildGm', | 507 'BuildGm', |
| 508 'BuildMost', | 508 'BuildMost', |
| 509 'BuildSkiaLib', | 509 'BuildSkiaLib', |
| 510 'BuildTests', | 510 'BuildTests', |
| 511 'BuildTools', | 511 'BuildTools', |
| 512 ] | 512 ] |
| 513 | 513 |
| 514 # Get the required build steps and builder names from the try server. | 514 # Get the required build steps and builder names from the try server. |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 """List the projects that can be managed by the commit queue.""" | 735 """List the projects that can be managed by the commit queue.""" |
| 736 return sorted( | 736 return sorted( |
| 737 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 737 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 738 | 738 |
| 739 | 739 |
| 740 def load_project(project, user, root_dir, rietveld_obj, no_try): | 740 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 741 """Loads the specified project.""" | 741 """Loads the specified project.""" |
| 742 assert os.path.isabs(root_dir) | 742 assert os.path.isabs(root_dir) |
| 743 return getattr(sys.modules[__name__], '_gen_' + project)( | 743 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 744 user, root_dir, rietveld_obj, no_try) | 744 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |