Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Utility class to build the chromium master BuildFactory's. | 6 """Utility class to build the chromium master BuildFactory's. |
| 7 | 7 |
| 8 Based on gclient_factory.py and adds chromium-specific steps.""" | 8 Based on gclient_factory.py and adds chromium-specific steps.""" |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 496 # lines (e.g. everything from here on other than | 496 # lines (e.g. everything from here on other than |
| 497 # AddDownloadAndExtractOfficialBuild()). | 497 # AddDownloadAndExtractOfficialBuild()). |
| 498 factory = self.BuildFactory(identifier, target, clobber, tests, mode, | 498 factory = self.BuildFactory(identifier, target, clobber, tests, mode, |
| 499 slave_type, options, compile_timeout, build_url, | 499 slave_type, options, compile_timeout, build_url, |
| 500 project, factory_properties) | 500 project, factory_properties) |
| 501 chromium_cmd_obj = chromium_commands.ChromiumCommands(factory, identifier, | 501 chromium_cmd_obj = chromium_commands.ChromiumCommands(factory, identifier, |
| 502 target, | 502 target, |
| 503 self._build_dir, | 503 self._build_dir, |
| 504 self._target_platform) | 504 self._target_platform) |
| 505 chromium_cmd_obj.AddDownloadAndExtractOfficialBuild(identifier) | 505 chromium_cmd_obj.AddDownloadAndExtractOfficialBuild(identifier) |
| 506 | |
| 507 if self._target_platform == 'win32': | |
|
John Grabowski
2010/08/25 00:56:55
Add comment explaining why you are doing this.
| |
| 508 chromium_cmd_obj.AddRunCrashHandler(build_dir='chrome-win32', target='.') | |
| 506 self._AddTests(chromium_cmd_obj, tests, mode, factory_properties) | 509 self._AddTests(chromium_cmd_obj, tests, mode, factory_properties) |
| 507 return factory | 510 return factory |
| OLD | NEW |