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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 if R('cacheinvalidation_br'): | 330 if R('cacheinvalidation_br'): |
331 f.AddBuildrunnerGTest('cacheinvalidation_unittests', fp) | 331 f.AddBuildrunnerGTest('cacheinvalidation_unittests', fp) |
332 if R('cc_unittests'): | 332 if R('cc_unittests'): |
333 f.AddAnnotatedGTestTestStep('cc_unittests', fp) | 333 f.AddAnnotatedGTestTestStep('cc_unittests', fp) |
334 if R('cc_unittests_br'): | 334 if R('cc_unittests_br'): |
335 f.AddBuildrunnerGTest('cc_unittests', fp) | 335 f.AddBuildrunnerGTest('cc_unittests', fp) |
336 if R('chromedriver2_unittests'): | 336 if R('chromedriver2_unittests'): |
337 f.AddAnnotatedGTestTestStep('chromedriver2_unittests', fp) | 337 f.AddAnnotatedGTestTestStep('chromedriver2_unittests', fp) |
338 if R('chromeos_unittests'): | 338 if R('chromeos_unittests'): |
339 f.AddAnnotatedGTestTestStep('chromeos_unittests', fp) | 339 f.AddAnnotatedGTestTestStep('chromeos_unittests', fp) |
| 340 if R('components_unittests'): |
| 341 f.AddAnnotatedGTestTestStep('components_unittests', fp) |
| 342 if R('components_unittests_br'): |
| 343 f.AddBuildrunnerGTest('components_unittests', fp) |
340 if R('courgette'): | 344 if R('courgette'): |
341 f.AddAnnotatedGTestTestStep('courgette_unittests', fp) | 345 f.AddAnnotatedGTestTestStep('courgette_unittests', fp) |
342 if R('courgette_br'): | 346 if R('courgette_br'): |
343 f.AddBuildrunnerGTest('courgette_unittests', fp) | 347 f.AddBuildrunnerGTest('courgette_unittests', fp) |
344 if R('crypto', 'crypto_unittests'): | 348 if R('crypto', 'crypto_unittests'): |
345 f.AddAnnotatedGTestTestStep('crypto_unittests', fp) | 349 f.AddAnnotatedGTestTestStep('crypto_unittests', fp) |
346 if R('crypto_br'): | 350 if R('crypto_br'): |
347 f.AddBuildrunnerGTest('crypto_unittests', fp) | 351 f.AddBuildrunnerGTest('crypto_unittests', fp) |
348 if R('dbus'): | 352 if R('dbus'): |
349 f.AddAnnotatedGTestTestStep('dbus_unittests', fp) | 353 f.AddAnnotatedGTestTestStep('dbus_unittests', fp) |
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 build_dir=web_build_dir) | 1304 build_dir=web_build_dir) |
1301 chromium_cmd_obj.AddChromebotServer(factory_properties) | 1305 chromium_cmd_obj.AddChromebotServer(factory_properties) |
1302 chromium_cmd_obj.AddReliabilityTests(client_os) | 1306 chromium_cmd_obj.AddReliabilityTests(client_os) |
1303 elif slave_type == 'ChromebotClient': | 1307 elif slave_type == 'ChromebotClient': |
1304 chromium_cmd_obj.AddGetBuildForChromebot(client_os, | 1308 chromium_cmd_obj.AddGetBuildForChromebot(client_os, |
1305 extract=True, | 1309 extract=True, |
1306 build_url=build_url) | 1310 build_url=build_url) |
1307 chromium_cmd_obj.AddChromebotClient(factory_properties) | 1311 chromium_cmd_obj.AddChromebotClient(factory_properties) |
1308 | 1312 |
1309 return factory | 1313 return factory |
OLD | NEW |