| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 'browser_tests', | 309 'browser_tests', |
| 310 'compositor_unittests', | 310 'compositor_unittests', |
| 311 'content_browsertests', | 311 'content_browsertests', |
| 312 'content_unittests', | 312 'content_unittests', |
| 313 'interactive_ui_tests', | 313 'interactive_ui_tests', |
| 314 'unit_tests', | 314 'unit_tests', |
| 315 'views_unittests', | 315 'views_unittests', |
| 316 ] | 316 ] |
| 317 linux_aura_tests = aura_tests[:] | 317 linux_aura_tests = aura_tests[:] |
| 318 linux_aura_tests.remove('views_unittests') | 318 linux_aura_tests.remove('views_unittests') |
| 319 win7_aura_tests = aura_tests[:] |
| 320 win7_aura_tests.remove('app_list_unittests') |
| 319 builders_and_tests = { | 321 builders_and_tests = { |
| 320 # TODO(maruel): Figure out a way to run 'sizes' where people can | 322 # TODO(maruel): Figure out a way to run 'sizes' where people can |
| 321 # effectively update the perf expectation correctly. This requires a | 323 # effectively update the perf expectation correctly. This requires a |
| 322 # clobber=True build running 'sizes'. 'sizes' is not accurate with | 324 # clobber=True build running 'sizes'. 'sizes' is not accurate with |
| 323 # incremental build. Reference: | 325 # incremental build. Reference: |
| 324 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 326 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
| 325 # TODO(maruel): An option would be to run 'sizes' but not count a failure | 327 # TODO(maruel): An option would be to run 'sizes' but not count a failure |
| 326 # of this step as a try job failure. | 328 # of this step as a try job failure. |
| 327 'android_dbg': ['slave_steps'], | 329 'android_dbg': ['slave_steps'], |
| 328 'android_clang_dbg': ['slave_steps'], | 330 'android_clang_dbg': ['slave_steps'], |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 'cc_unittests', | 369 'cc_unittests', |
| 368 'chromedriver2_unittests', | 370 'chromedriver2_unittests', |
| 369 'components_unittests', | 371 'components_unittests', |
| 370 'message_center_unittests', | 372 'message_center_unittests', |
| 371 'nacl_integration', | 373 'nacl_integration', |
| 372 'remoting_unittests', | 374 'remoting_unittests', |
| 373 'sync_integration_tests', | 375 'sync_integration_tests', |
| 374 'telemetry_unittests', | 376 'telemetry_unittests', |
| 375 ], | 377 ], |
| 376 'win': ['compile'], | 378 'win': ['compile'], |
| 377 'win7_aura': aura_tests + [ | 379 'win7_aura': win7_aura_tests + [ |
| 378 'ash_unittests', | 380 'ash_unittests', |
| 379 ], | 381 ], |
| 380 'win_rel': standard_tests + [ | 382 'win_rel': standard_tests + [ |
| 381 'app_list_unittests', | 383 'app_list_unittests', |
| 382 'cc_unittests', | 384 'cc_unittests', |
| 383 'chrome_frame_net_tests', | 385 'chrome_frame_net_tests', |
| 384 'chrome_frame_tests', | 386 'chrome_frame_tests', |
| 385 'chrome_frame_unittests', | 387 'chrome_frame_unittests', |
| 386 'chromedriver2_unittests', | 388 'chromedriver2_unittests', |
| 387 'components_unittests', | 389 'components_unittests', |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 """List the projects that can be managed by the commit queue.""" | 741 """List the projects that can be managed by the commit queue.""" |
| 740 return sorted( | 742 return sorted( |
| 741 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 743 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 742 | 744 |
| 743 | 745 |
| 744 def load_project(project, user, root_dir, rietveld_obj, no_try): | 746 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 745 """Loads the specified project.""" | 747 """Loads the specified project.""" |
| 746 assert os.path.isabs(root_dir) | 748 assert os.path.isabs(root_dir) |
| 747 return getattr(sys.modules[__name__], '_gen_' + project)( | 749 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 748 user, root_dir, rietveld_obj, no_try) | 750 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |