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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 # incremental build. Reference: | 323 # incremental build. Reference: |
324 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 324 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
325 # TODO(maruel): An option would be to run 'sizes' but not count a failure | 325 # TODO(maruel): An option would be to run 'sizes' but not count a failure |
326 # of this step as a try job failure. | 326 # of this step as a try job failure. |
327 'android_dbg': ['slave_steps'], | 327 'android_dbg': ['slave_steps'], |
328 'android_clang_dbg': ['slave_steps'], | 328 'android_clang_dbg': ['slave_steps'], |
329 'android_aosp': ['compile'], | 329 'android_aosp': ['compile'], |
330 'ios_dbg_simulator': [ | 330 'ios_dbg_simulator': [ |
331 'compile', | 331 'compile', |
332 'base_unittests', | 332 'base_unittests', |
| 333 'components_unittests', |
333 'content_unittests', | 334 'content_unittests', |
334 'crypto_unittests', | 335 'crypto_unittests', |
335 'url_unittests', | 336 'url_unittests', |
336 'net_unittests', | 337 'net_unittests', |
337 'sql_unittests', | 338 'sql_unittests', |
338 'ui_unittests', | 339 'ui_unittests', |
339 ], | 340 ], |
340 'ios_rel_device': ['compile'], | 341 'ios_rel_device': ['compile'], |
341 'linux_aura': linux_aura_tests, | 342 'linux_aura': linux_aura_tests, |
342 'linux_clang': ['compile'], | 343 'linux_clang': ['compile'], |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 """List the projects that can be managed by the commit queue.""" | 768 """List the projects that can be managed by the commit queue.""" |
768 return sorted( | 769 return sorted( |
769 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 770 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
770 | 771 |
771 | 772 |
772 def load_project(project, user, root_dir, rietveld_obj, no_try): | 773 def load_project(project, user, root_dir, rietveld_obj, no_try): |
773 """Loads the specified project.""" | 774 """Loads the specified project.""" |
774 assert os.path.isabs(root_dir) | 775 assert os.path.isabs(root_dir) |
775 return getattr(sys.modules[__name__], '_gen_' + project)( | 776 return getattr(sys.modules[__name__], '_gen_' + project)( |
776 user, root_dir, rietveld_obj, no_try) | 777 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |