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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 'remoting_unittests', | 371 'remoting_unittests', |
372 'sync_integration_tests', | 372 'sync_integration_tests', |
373 'telemetry_unittests', | 373 'telemetry_unittests', |
374 ], | 374 ], |
375 'win': ['compile'], | 375 'win': ['compile'], |
376 'win_rel': standard_tests + [ | 376 'win_rel': standard_tests + [ |
377 'app_list_unittests', | 377 'app_list_unittests', |
378 'ash_unittests', | 378 'ash_unittests', |
379 'aura_unittests', | 379 'aura_unittests', |
380 'cc_unittests', | 380 'cc_unittests', |
381 'chrome_frame_net_tests', | |
382 'chrome_frame_tests', | |
383 'chrome_frame_unittests', | |
384 'chromedriver2_unittests', | 381 'chromedriver2_unittests', |
385 'components_unittests', | 382 'components_unittests', |
386 'compositor_unittests', | 383 'compositor_unittests', |
387 'installer_util_unittests', | 384 'installer_util_unittests', |
388 'mini_installer_test', | 385 'mini_installer_test', |
389 # http://crbug.com/319558 | 386 # http://crbug.com/319558 |
390 #'nacl_integration', | 387 #'nacl_integration', |
391 'remoting_unittests', | 388 'remoting_unittests', |
392 'sync_integration_tests', | 389 'sync_integration_tests', |
393 'telemetry_unittests', | 390 'telemetry_unittests', |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 """List the projects that can be managed by the commit queue.""" | 737 """List the projects that can be managed by the commit queue.""" |
741 return sorted( | 738 return sorted( |
742 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 739 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
743 | 740 |
744 | 741 |
745 def load_project(project, user, root_dir, rietveld_obj, no_try): | 742 def load_project(project, user, root_dir, rietveld_obj, no_try): |
746 """Loads the specified project.""" | 743 """Loads the specified project.""" |
747 assert os.path.isabs(root_dir) | 744 assert os.path.isabs(root_dir) |
748 return getattr(sys.modules[__name__], '_gen_' + project)( | 745 return getattr(sys.modules[__name__], '_gen_' + project)( |
749 user, root_dir, rietveld_obj, no_try) | 746 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |