OLD | NEW |
1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. 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 """Custom gyp generator that doesn't do much.""" | 5 """Custom gyp generator that doesn't do much.""" |
6 | 6 |
7 import gyp.common | 7 import gyp.common |
8 | 8 |
9 generator_default_variables = {} | 9 generator_default_variables = {} |
10 | 10 |
11 def GenerateOutput(target_list, target_dicts, data, params): | 11 def GenerateOutput(target_list, target_dicts, data, params): |
12 f = open("MyBuildFile", "wb") | 12 f = open("MyBuildFile", "w") |
13 f.write("Testing...\n") | 13 f.write("Testing...\n") |
14 f.close() | 14 f.close() |
OLD | NEW |