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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 'app_list_unittests', | 379 'app_list_unittests', |
380 'ash_unittests', | 380 'ash_unittests', |
381 'aura_unittests', | 381 'aura_unittests', |
382 'cc_unittests', | 382 'cc_unittests', |
383 'chromedriver2_unittests', | 383 'chromedriver2_unittests', |
384 'components_unittests', | 384 'components_unittests', |
385 'compositor_unittests', | 385 'compositor_unittests', |
386 'events_unittests', | 386 'events_unittests', |
387 'installer_util_unittests', | 387 'installer_util_unittests', |
388 'mini_installer_test', | 388 'mini_installer_test', |
389 # http://crbug.com/319558 | 389 'nacl_integration', |
390 #'nacl_integration', | |
391 'remoting_unittests', | 390 'remoting_unittests', |
392 'sync_integration_tests', | 391 'sync_integration_tests', |
393 'telemetry_unittests', | 392 'telemetry_unittests', |
394 'views_unittests', | 393 'views_unittests', |
395 ], | 394 ], |
396 'win_x64_rel': [ | 395 'win_x64_rel': [ |
397 'base_unittests', | 396 'base_unittests', |
398 ], | 397 ], |
399 } | 398 } |
400 | 399 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 """List the projects that can be managed by the commit queue.""" | 742 """List the projects that can be managed by the commit queue.""" |
744 return sorted( | 743 return sorted( |
745 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_')) |
746 | 745 |
747 | 746 |
748 def load_project(project, user, root_dir, rietveld_obj, no_try): | 747 def load_project(project, user, root_dir, rietveld_obj, no_try): |
749 """Loads the specified project.""" | 748 """Loads the specified project.""" |
750 assert os.path.isabs(root_dir) | 749 assert os.path.isabs(root_dir) |
751 return getattr(sys.modules[__name__], '_gen_' + project)( | 750 return getattr(sys.modules[__name__], '_gen_' + project)( |
752 user, root_dir, rietveld_obj, no_try) | 751 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |