| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 'remoting_unittests', | 362 'remoting_unittests', |
| 363 'sandbox_linux_unittests', | 363 'sandbox_linux_unittests', |
| 364 'sync_integration_tests', | 364 'sync_integration_tests', |
| 365 ], | 365 ], |
| 366 'mac': ['compile'], | 366 'mac': ['compile'], |
| 367 'mac_rel': standard_tests + [ | 367 'mac_rel': standard_tests + [ |
| 368 'app_list_unittests', | 368 'app_list_unittests', |
| 369 'cc_unittests', | 369 'cc_unittests', |
| 370 'chromedriver2_unittests', | 370 'chromedriver2_unittests', |
| 371 'components_unittests', | 371 'components_unittests', |
| 372 'google_apis_unittests', |
| 372 'message_center_unittests', | 373 'message_center_unittests', |
| 373 'nacl_integration', | 374 'nacl_integration', |
| 374 'remoting_unittests', | 375 'remoting_unittests', |
| 375 'sync_integration_tests', | 376 'sync_integration_tests', |
| 376 'telemetry_unittests', | 377 'telemetry_unittests', |
| 377 ], | 378 ], |
| 378 'win': ['compile'], | 379 'win': ['compile'], |
| 379 'win7_aura': win7_aura_tests + [ | 380 'win7_aura': win7_aura_tests + [ |
| 380 'ash_unittests', | 381 'ash_unittests', |
| 381 ], | 382 ], |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 """List the projects that can be managed by the commit queue.""" | 742 """List the projects that can be managed by the commit queue.""" |
| 742 return sorted( | 743 return sorted( |
| 743 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 744 | 745 |
| 745 | 746 |
| 746 def load_project(project, user, root_dir, rietveld_obj, no_try): | 747 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 747 """Loads the specified project.""" | 748 """Loads the specified project.""" |
| 748 assert os.path.isabs(root_dir) | 749 assert os.path.isabs(root_dir) |
| 749 return getattr(sys.modules[__name__], '_gen_' + project)( | 750 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 750 user, root_dir, rietveld_obj, no_try) | 751 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |