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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 ], | 356 ], |
357 'linux_rel': standard_tests + [ | 357 'linux_rel': standard_tests + [ |
358 'cc_unittests', | 358 'cc_unittests', |
359 'chromedriver_unittests', | 359 'chromedriver_unittests', |
360 'components_unittests', | 360 'components_unittests', |
361 'google_apis_unittests', | 361 'google_apis_unittests', |
362 'nacl_integration', | 362 'nacl_integration', |
363 'remoting_unittests', | 363 'remoting_unittests', |
364 'sandbox_linux_unittests', | 364 'sandbox_linux_unittests', |
365 'sync_integration_tests', | 365 'sync_integration_tests', |
| 366 'telemetry_perf_unittests', |
| 367 'telemetry_unittests', |
366 ], | 368 ], |
367 'mac': ['compile'], | 369 'mac': ['compile'], |
368 'mac_rel': standard_tests + [ | 370 'mac_rel': standard_tests + [ |
369 'app_list_unittests', | 371 'app_list_unittests', |
370 'cc_unittests', | 372 'cc_unittests', |
371 'chromedriver_unittests', | 373 'chromedriver_unittests', |
372 'components_unittests', | 374 'components_unittests', |
373 'google_apis_unittests', | 375 'google_apis_unittests', |
374 'message_center_unittests', | 376 'message_center_unittests', |
375 'nacl_integration', | 377 'nacl_integration', |
376 'remoting_unittests', | 378 'remoting_unittests', |
377 'sync_integration_tests', | 379 'sync_integration_tests', |
| 380 'telemetry_perf_unittests', |
378 'telemetry_unittests', | 381 'telemetry_unittests', |
379 ], | 382 ], |
380 'win': ['compile'], | 383 'win': ['compile'], |
381 'win_rel': standard_tests + [ | 384 'win_rel': standard_tests + [ |
382 'app_list_unittests', | 385 'app_list_unittests', |
383 'ash_unittests', | 386 'ash_unittests', |
384 'aura_unittests', | 387 'aura_unittests', |
385 'cc_unittests', | 388 'cc_unittests', |
386 'chrome_elf_unittests', | 389 'chrome_elf_unittests', |
387 'chromedriver_unittests', | 390 'chromedriver_unittests', |
388 'components_unittests', | 391 'components_unittests', |
389 'compositor_unittests', | 392 'compositor_unittests', |
390 'events_unittests', | 393 'events_unittests', |
391 'google_apis_unittests', | 394 'google_apis_unittests', |
392 'installer_util_unittests', | 395 'installer_util_unittests', |
393 'mini_installer_test', | 396 'mini_installer_test', |
394 'nacl_integration', | 397 'nacl_integration', |
395 'remoting_unittests', | 398 'remoting_unittests', |
396 'sync_integration_tests', | 399 'sync_integration_tests', |
| 400 'telemetry_perf_unittests', |
397 'telemetry_unittests', | 401 'telemetry_unittests', |
398 'views_unittests', | 402 'views_unittests', |
399 ], | 403 ], |
400 'win_x64_rel': [ | 404 'win_x64_rel': [ |
401 'base_unittests', | 405 'base_unittests', |
402 ], | 406 ], |
403 } | 407 } |
404 | 408 |
405 swarm_enabled_tests = ( | 409 swarm_enabled_tests = ( |
406 'base_unittests', | 410 'base_unittests', |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 """List the projects that can be managed by the commit queue.""" | 763 """List the projects that can be managed by the commit queue.""" |
760 return sorted( | 764 return sorted( |
761 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 765 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
762 | 766 |
763 | 767 |
764 def load_project(project, user, root_dir, rietveld_obj, no_try): | 768 def load_project(project, user, root_dir, rietveld_obj, no_try): |
765 """Loads the specified project.""" | 769 """Loads the specified project.""" |
766 assert os.path.isabs(root_dir) | 770 assert os.path.isabs(root_dir) |
767 return getattr(sys.modules[__name__], '_gen_' + project)( | 771 return getattr(sys.modules[__name__], '_gen_' + project)( |
768 user, root_dir, rietveld_obj, no_try) | 772 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |