| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 'remoting_unittests', | 374 'remoting_unittests', |
| 375 'sync_integration_tests', | 375 'sync_integration_tests', |
| 376 'telemetry_unittests', | 376 'telemetry_unittests', |
| 377 ], | 377 ], |
| 378 'win': ['compile'], | 378 'win': ['compile'], |
| 379 'win_rel': standard_tests + [ | 379 'win_rel': standard_tests + [ |
| 380 'app_list_unittests', | 380 'app_list_unittests', |
| 381 'ash_unittests', | 381 'ash_unittests', |
| 382 'aura_unittests', | 382 'aura_unittests', |
| 383 'cc_unittests', | 383 'cc_unittests', |
| 384 'chrome_elf_unittests', |
| 384 'chromedriver2_unittests', | 385 'chromedriver2_unittests', |
| 385 'components_unittests', | 386 'components_unittests', |
| 386 'compositor_unittests', | 387 'compositor_unittests', |
| 387 'events_unittests', | 388 'events_unittests', |
| 388 'google_apis_unittests', | 389 'google_apis_unittests', |
| 389 'installer_util_unittests', | 390 'installer_util_unittests', |
| 390 'mini_installer_test', | 391 'mini_installer_test', |
| 391 'nacl_integration', | 392 'nacl_integration', |
| 392 'remoting_unittests', | 393 'remoting_unittests', |
| 393 'sync_integration_tests', | 394 'sync_integration_tests', |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 """List the projects that can be managed by the commit queue.""" | 745 """List the projects that can be managed by the commit queue.""" |
| 745 return sorted( | 746 return sorted( |
| 746 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 747 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 747 | 748 |
| 748 | 749 |
| 749 def load_project(project, user, root_dir, rietveld_obj, no_try): | 750 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 750 """Loads the specified project.""" | 751 """Loads the specified project.""" |
| 751 assert os.path.isabs(root_dir) | 752 assert os.path.isabs(root_dir) |
| 752 return getattr(sys.modules[__name__], '_gen_' + project)( | 753 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 753 user, root_dir, rietveld_obj, no_try) | 754 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |