| 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  |     4  | 
|     5 """Utility class to build the chromium master BuildFactory's. |     5 """Utility class to build the chromium master BuildFactory's. | 
|     6  |     6  | 
|     7 Based on gclient_factory.py and adds chromium-specific steps.""" |     7 Based on gclient_factory.py and adds chromium-specific steps.""" | 
|     8  |     8  | 
|     9 import os |     9 import os | 
|    10 import re |    10 import re | 
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   315     if R('base'): |   315     if R('base'): | 
|   316       f.AddBasicGTestTestStep('base_unittests', fp) |   316       f.AddBasicGTestTestStep('base_unittests', fp) | 
|   317     if R('cacheinvalidation'): |   317     if R('cacheinvalidation'): | 
|   318       f.AddBasicGTestTestStep('cacheinvalidation_unittests', fp) |   318       f.AddBasicGTestTestStep('cacheinvalidation_unittests', fp) | 
|   319     if R('courgette'): |   319     if R('courgette'): | 
|   320       f.AddBasicGTestTestStep('courgette_unittests', fp) |   320       f.AddBasicGTestTestStep('courgette_unittests', fp) | 
|   321     if R('crypto'): |   321     if R('crypto'): | 
|   322       f.AddBasicGTestTestStep('crypto_unittests', fp) |   322       f.AddBasicGTestTestStep('crypto_unittests', fp) | 
|   323     if R('dbus'): |   323     if R('dbus'): | 
|   324       f.AddBasicGTestTestStep('dbus_unittests', fp) |   324       f.AddBasicGTestTestStep('dbus_unittests', fp) | 
|   325     # Remove 'gfx' once it is no longer referenced by the masters. |  | 
|   326     if R('gfx'): |  | 
|   327       f.AddBasicGTestTestStep('gfx_unittests', fp) |  | 
|   328     if R('googleurl'): |   325     if R('googleurl'): | 
|   329       f.AddBasicGTestTestStep('googleurl_unittests', fp) |   326       f.AddBasicGTestTestStep('googleurl_unittests', fp) | 
|   330     if R('gpu'): |   327     if R('gpu'): | 
|   331       f.AddBasicGTestTestStep( |   328       f.AddBasicGTestTestStep( | 
|   332           'gpu_unittests', fp, arg_list=['--gmock_verbose=error']) |   329           'gpu_unittests', fp, arg_list=['--gmock_verbose=error']) | 
|   333     if R('jingle'): |   330     if R('jingle'): | 
|   334       f.AddBasicGTestTestStep('jingle_unittests', fp) |   331       f.AddBasicGTestTestStep('jingle_unittests', fp) | 
|   335     if R('content'): |   332     if R('content'): | 
|   336       f.AddBasicGTestTestStep('content_unittests', fp) |   333       f.AddBasicGTestTestStep('content_unittests', fp) | 
|   337     if R('media'): |   334     if R('media'): | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   372       f.AddChromeUnitTests(fp) |   369       f.AddChromeUnitTests(fp) | 
|   373     # A snapshot of the "ChromeUnitTests" available for individual selection |   370     # A snapshot of the "ChromeUnitTests" available for individual selection | 
|   374     if R('unit_ipc'): |   371     if R('unit_ipc'): | 
|   375       f.AddBasicGTestTestStep('ipc_tests', fp) |   372       f.AddBasicGTestTestStep('ipc_tests', fp) | 
|   376     if R('unit_sync'): |   373     if R('unit_sync'): | 
|   377       f.AddBasicGTestTestStep('sync_unit_tests', fp) |   374       f.AddBasicGTestTestStep('sync_unit_tests', fp) | 
|   378     if R('unit_unit'): |   375     if R('unit_unit'): | 
|   379       f.AddBasicGTestTestStep('unit_tests', fp) |   376       f.AddBasicGTestTestStep('unit_tests', fp) | 
|   380     if R('unit_sql'): |   377     if R('unit_sql'): | 
|   381       f.AddBasicGTestTestStep('sql_unittests', fp) |   378       f.AddBasicGTestTestStep('sql_unittests', fp) | 
|   382     # Remove 'unit_gfx' once it is no longer referenced by the masters. |  | 
|   383     if R('unit_gfx'): |  | 
|   384       f.AddBasicGTestTestStep('gfx_unittests', fp) |  | 
|   385     if R('browser_tests'): |   379     if R('browser_tests'): | 
|   386       f.AddBrowserTests(fp) |   380       f.AddBrowserTests(fp) | 
|   387     if R('content_browsertests'): |   381     if R('content_browsertests'): | 
|   388       f.AddBasicGTestTestStep('content_browsertests', fp) |   382       f.AddBasicGTestTestStep('content_browsertests', fp) | 
|   389  |   383  | 
|   390     # Big, UI tests: |   384     # Big, UI tests: | 
|   391     if R('nacl_integration'): |   385     if R('nacl_integration'): | 
|   392       f.AddNaClIntegrationTestStep(fp) |   386       f.AddNaClIntegrationTestStep(fp) | 
|   393     if R('nacl_integration_memcheck'): |   387     if R('nacl_integration_memcheck'): | 
|   394       f.AddNaClIntegrationTestStep(fp, None, 'memcheck-browser-tests') |   388       f.AddNaClIntegrationTestStep(fp, None, 'memcheck-browser-tests') | 
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1051                                                build_dir=web_build_dir) |  1045                                                build_dir=web_build_dir) | 
|  1052       chromium_cmd_obj.AddChromebotServer(factory_properties) |  1046       chromium_cmd_obj.AddChromebotServer(factory_properties) | 
|  1053       chromium_cmd_obj.AddReliabilityTests(client_os) |  1047       chromium_cmd_obj.AddReliabilityTests(client_os) | 
|  1054     elif slave_type == 'ChromebotClient': |  1048     elif slave_type == 'ChromebotClient': | 
|  1055       chromium_cmd_obj.AddGetBuildForChromebot(client_os, |  1049       chromium_cmd_obj.AddGetBuildForChromebot(client_os, | 
|  1056                                                extract=True, |  1050                                                extract=True, | 
|  1057                                                build_url=build_url) |  1051                                                build_url=build_url) | 
|  1058       chromium_cmd_obj.AddChromebotClient(factory_properties) |  1052       chromium_cmd_obj.AddChromebotClient(factory_properties) | 
|  1059  |  1053  | 
|  1060     return factory |  1054     return factory | 
| OLD | NEW |