OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
2 # Copyright (c) 2013 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 """ Run GYP to generate project files. """ | |
7 | |
8 from build_step import BuildStep | |
9 import sys | |
10 | |
11 | |
12 class RunGYP(BuildStep): | |
13 def __init__(self, timeout=15000, no_output_timeout=10000, | |
14 **kwargs): | |
15 super(RunGYP, self).__init__(timeout=timeout, | |
16 no_output_timeout=no_output_timeout, | |
17 **kwargs) | |
18 | |
19 def _Run(self): | |
20 self._flavor_utils.RunGYP() | |
21 | |
22 | |
23 if '__main__' == __name__: | |
24 sys.exit(BuildStep.RunBuildStep(RunGYP)) | |
OLD | NEW |