| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """ Compile step """ | 6 """ Compile step """ |
| 7 | 7 |
| 8 from build_step import BuildStep | 8 from build_step import BuildStep |
| 9 import sys | 9 import sys |
| 10 | 10 |
| 11 | 11 |
| 12 class Compile(BuildStep): | 12 class Compile(BuildStep): |
| 13 def __init__(self, timeout=9600, no_output_timeout=9600, **kwargs): |
| 14 super (Compile, self).__init__( |
| 15 timeout=timeout, |
| 16 no_output_timeout=no_output_timeout, |
| 17 **kwargs) |
| 18 |
| 13 def _Run(self): | 19 def _Run(self): |
| 14 self._flavor_utils.Compile(self._args['target']) | 20 self._flavor_utils.Compile(self._args['target']) |
| 15 | 21 |
| 16 | 22 |
| 17 if '__main__' == __name__: | 23 if '__main__' == __name__: |
| 18 sys.exit(BuildStep.RunBuildStep(Compile)) | 24 sys.exit(BuildStep.RunBuildStep(Compile)) |
| OLD | NEW |