| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 builders_and_tests = { | 324 builders_and_tests = { |
| 325 # TODO(maruel): Figure out a way to run 'sizes' where people can | 325 # TODO(maruel): Figure out a way to run 'sizes' where people can |
| 326 # effectively update the perf expectation correctly. This requires a | 326 # effectively update the perf expectation correctly. This requires a |
| 327 # clobber=True build running 'sizes'. 'sizes' is not accurate with | 327 # clobber=True build running 'sizes'. 'sizes' is not accurate with |
| 328 # incremental build. Reference: | 328 # incremental build. Reference: |
| 329 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 329 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
| 330 # TODO(maruel): An option would be to run 'sizes' but not count a failure | 330 # TODO(maruel): An option would be to run 'sizes' but not count a failure |
| 331 # of this step as a try job failure. | 331 # of this step as a try job failure. |
| 332 'android_dbg': ['slave_steps'], | 332 'android_dbg': ['slave_steps'], |
| 333 'android_clang_dbg': ['slave_steps'], | 333 'android_clang_dbg': ['slave_steps'], |
| 334 'android_aosp': ['compile'], |
| 334 'ios_dbg_simulator': [ | 335 'ios_dbg_simulator': [ |
| 335 'compile', | 336 'compile', |
| 336 'base_unittests', | 337 'base_unittests', |
| 337 'content_unittests', | 338 'content_unittests', |
| 338 'crypto_unittests', | 339 'crypto_unittests', |
| 339 'url_unittests', | 340 'url_unittests', |
| 340 'media_unittests', | 341 'media_unittests', |
| 341 'net_unittests', | 342 'net_unittests', |
| 342 'sql_unittests', | 343 'sql_unittests', |
| 343 'ui_unittests', | 344 'ui_unittests', |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 """List the projects that can be managed by the commit queue.""" | 743 """List the projects that can be managed by the commit queue.""" |
| 743 return sorted( | 744 return sorted( |
| 744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 745 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 745 | 746 |
| 746 | 747 |
| 747 def load_project(project, user, root_dir, rietveld_obj, no_try): | 748 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 748 """Loads the specified project.""" | 749 """Loads the specified project.""" |
| 749 assert os.path.isabs(root_dir) | 750 assert os.path.isabs(root_dir) |
| 750 return getattr(sys.modules[__name__], '_gen_' + project)( | 751 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 751 user, root_dir, rietveld_obj, no_try) | 752 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |