OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
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 | |
4 # found in the LICENSE file. | |
5 | |
6 """ Compile step """ | |
7 | |
8 from build_step import BuildStep | |
9 import sys | |
10 | |
11 | |
12 class Compile(BuildStep): | |
13 def __init__(self, timeout=16800, no_output_timeout=16800, **kwargs): | |
14 super (Compile, self).__init__( | |
15 timeout=timeout, | |
16 no_output_timeout=no_output_timeout, | |
17 **kwargs) | |
18 | |
19 def _Run(self): | |
20 self._flavor_utils.Compile(self._args['target']) | |
21 | |
22 | |
23 if '__main__' == __name__: | |
24 sys.exit(BuildStep.RunBuildStep(Compile)) | |
OLD | NEW |