| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 'compile', | 331 'compile', |
| 332 'base_unittests', | 332 'base_unittests', |
| 333 'content_unittests', | 333 'content_unittests', |
| 334 'crypto_unittests', | 334 'crypto_unittests', |
| 335 'url_unittests', | 335 'url_unittests', |
| 336 'net_unittests', | 336 'net_unittests', |
| 337 'sql_unittests', | 337 'sql_unittests', |
| 338 'ui_unittests', | 338 'ui_unittests', |
| 339 ], | 339 ], |
| 340 'ios_rel_device': ['compile'], | 340 'ios_rel_device': ['compile'], |
| 341 'ios_rel_device_ninja': ['compile'], |
| 341 'linux_aura': linux_aura_tests, | 342 'linux_aura': linux_aura_tests, |
| 342 'linux_clang': ['compile'], | 343 'linux_clang': ['compile'], |
| 343 'linux_chromeos_clang': ['compile'], | 344 'linux_chromeos_clang': ['compile'], |
| 344 # Note: It is a Release builder even if its name convey otherwise. | 345 # Note: It is a Release builder even if its name convey otherwise. |
| 345 'linux_chromeos': standard_tests + [ | 346 'linux_chromeos': standard_tests + [ |
| 346 'app_list_unittests', | 347 'app_list_unittests', |
| 347 'aura_unittests', | 348 'aura_unittests', |
| 348 'ash_unittests', | 349 'ash_unittests', |
| 349 'chromeos_unittests', | 350 'chromeos_unittests', |
| 350 'components_unittests', | 351 'components_unittests', |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 """List the projects that can be managed by the commit queue.""" | 768 """List the projects that can be managed by the commit queue.""" |
| 768 return sorted( | 769 return sorted( |
| 769 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 770 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 770 | 771 |
| 771 | 772 |
| 772 def load_project(project, user, root_dir, rietveld_obj, no_try): | 773 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 773 """Loads the specified project.""" | 774 """Loads the specified project.""" |
| 774 assert os.path.isabs(root_dir) | 775 assert os.path.isabs(root_dir) |
| 775 return getattr(sys.modules[__name__], '_gen_' + project)( | 776 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 776 user, root_dir, rietveld_obj, no_try) | 777 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |