| 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 'chromedriver2_unittests', | 381 'chromedriver2_unittests', |
| 382 'components_unittests', | 382 'components_unittests', |
| 383 'installer_util_unittests', | 383 'installer_util_unittests', |
| 384 'mini_installer_test', | 384 'mini_installer_test', |
| 385 'nacl_integration', | 385 'nacl_integration', |
| 386 'remoting_unittests', | 386 'remoting_unittests', |
| 387 'sync_integration_tests', | 387 'sync_integration_tests', |
| 388 'telemetry_unittests', | 388 'telemetry_unittests', |
| 389 ], | 389 ], |
| 390 'win_x64_rel': [ | 390 'win_x64_rel': [ |
| 391 'compile', | 391 'base_unittests', |
| 392 ], | 392 ], |
| 393 } | 393 } |
| 394 | 394 |
| 395 swarm_enabled_tests = ( | 395 swarm_enabled_tests = ( |
| 396 'base_unittests', | 396 'base_unittests', |
| 397 'browser_tests', | 397 'browser_tests', |
| 398 'interactive_ui_tests', | 398 'interactive_ui_tests', |
| 399 'net_unittests', | 399 'net_unittests', |
| 400 'unit_tests', | 400 'unit_tests', |
| 401 ) | 401 ) |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 """List the projects that can be managed by the commit queue.""" | 731 """List the projects that can be managed by the commit queue.""" |
| 732 return sorted( | 732 return sorted( |
| 733 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 733 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 734 | 734 |
| 735 | 735 |
| 736 def load_project(project, user, root_dir, rietveld_obj, no_try): | 736 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 737 """Loads the specified project.""" | 737 """Loads the specified project.""" |
| 738 assert os.path.isabs(root_dir) | 738 assert os.path.isabs(root_dir) |
| 739 return getattr(sys.modules[__name__], '_gen_' + project)( | 739 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 740 user, root_dir, rietveld_obj, no_try) | 740 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |