| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 step_verifiers = [ | 181 step_verifiers = [ |
| 182 try_job_steps.TryJobSteps(builder_name=prereq_builder, | 182 try_job_steps.TryJobSteps(builder_name=prereq_builder, |
| 183 steps=prereq_tests)] | 183 steps=prereq_tests)] |
| 184 if not no_try: | 184 if not no_try: |
| 185 blink_tests = [ | 185 blink_tests = [ |
| 186 'blink_platform_unittests', | 186 'blink_platform_unittests', |
| 187 'webkit_lint', | 187 'webkit_lint', |
| 188 'webkit_python_tests', | 188 'webkit_python_tests', |
| 189 'webkit_tests', | 189 'webkit_tests', |
| 190 'webkit_unit_tests', | 190 'webkit_unit_tests', |
| 191 'weborigin_unittests', | |
| 192 'wtf_unittests', | 191 'wtf_unittests', |
| 193 ] | 192 ] |
| 194 | 193 |
| 195 # A "compile-only" bot runs the webkit_lint tests (which are fast) | 194 # A "compile-only" bot runs the webkit_lint tests (which are fast) |
| 196 # in order to pick up the default build targets. We don't use the | 195 # in order to pick up the default build targets. We don't use the |
| 197 # "compile" step because that will build all the chromium targets, not | 196 # "compile" step because that will build all the chromium targets, not |
| 198 # just the blink-specific ones. | 197 # just the blink-specific ones. |
| 199 compile_only = [ 'webkit_lint' ] | 198 compile_only = [ 'webkit_lint' ] |
| 200 | 199 |
| 201 builders_and_tests = { | 200 builders_and_tests = { |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 """List the projects that can be managed by the commit queue.""" | 741 """List the projects that can be managed by the commit queue.""" |
| 743 return sorted( | 742 return sorted( |
| 744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 743 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 745 | 744 |
| 746 | 745 |
| 747 def load_project(project, user, root_dir, rietveld_obj, no_try): | 746 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 748 """Loads the specified project.""" | 747 """Loads the specified project.""" |
| 749 assert os.path.isabs(root_dir) | 748 assert os.path.isabs(root_dir) |
| 750 return getattr(sys.modules[__name__], '_gen_' + project)( | 749 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 751 user, root_dir, rietveld_obj, no_try) | 750 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |