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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 'chromeos_unittests', | 347 'chromeos_unittests', |
348 'components_unittests', | 348 'components_unittests', |
349 'dbus_unittests', | 349 'dbus_unittests', |
350 'device_unittests', | 350 'device_unittests', |
351 'events_unittests', | 351 'events_unittests', |
352 'google_apis_unittests', | 352 'google_apis_unittests', |
353 'sandbox_linux_unittests', | 353 'sandbox_linux_unittests', |
354 ], | 354 ], |
355 'linux_rel': standard_tests + [ | 355 'linux_rel': standard_tests + [ |
356 'cc_unittests', | 356 'cc_unittests', |
357 'chromedriver2_unittests', | 357 'chromedriver_unittests', |
358 'components_unittests', | 358 'components_unittests', |
359 'google_apis_unittests', | 359 'google_apis_unittests', |
360 'nacl_integration', | 360 'nacl_integration', |
361 'remoting_unittests', | 361 'remoting_unittests', |
362 'sandbox_linux_unittests', | 362 'sandbox_linux_unittests', |
363 'sync_integration_tests', | 363 'sync_integration_tests', |
364 ], | 364 ], |
365 'mac': ['compile'], | 365 'mac': ['compile'], |
366 'mac_rel': standard_tests + [ | 366 'mac_rel': standard_tests + [ |
367 'app_list_unittests', | 367 'app_list_unittests', |
368 'cc_unittests', | 368 'cc_unittests', |
369 'chromedriver2_unittests', | 369 'chromedriver_unittests', |
370 'components_unittests', | 370 'components_unittests', |
371 'google_apis_unittests', | 371 'google_apis_unittests', |
372 'message_center_unittests', | 372 'message_center_unittests', |
373 'nacl_integration', | 373 'nacl_integration', |
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 'chrome_elf_unittests', |
385 'chromedriver2_unittests', | 385 'chromedriver_unittests', |
386 'components_unittests', | 386 'components_unittests', |
387 'compositor_unittests', | 387 'compositor_unittests', |
388 'events_unittests', | 388 'events_unittests', |
389 'google_apis_unittests', | 389 'google_apis_unittests', |
390 'installer_util_unittests', | 390 'installer_util_unittests', |
391 'mini_installer_test', | 391 'mini_installer_test', |
392 'nacl_integration', | 392 'nacl_integration', |
393 'remoting_unittests', | 393 'remoting_unittests', |
394 'sync_integration_tests', | 394 'sync_integration_tests', |
395 'telemetry_unittests', | 395 'telemetry_unittests', |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 """List the projects that can be managed by the commit queue.""" | 745 """List the projects that can be managed by the commit queue.""" |
746 return sorted( | 746 return sorted( |
747 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_')) |
748 | 748 |
749 | 749 |
750 def load_project(project, user, root_dir, rietveld_obj, no_try): | 750 def load_project(project, user, root_dir, rietveld_obj, no_try): |
751 """Loads the specified project.""" | 751 """Loads the specified project.""" |
752 assert os.path.isabs(root_dir) | 752 assert os.path.isabs(root_dir) |
753 return getattr(sys.modules[__name__], '_gen_' + project)( | 753 return getattr(sys.modules[__name__], '_gen_' + project)( |
754 user, root_dir, rietveld_obj, no_try) | 754 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |