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 import gyp | 5 import gyp |
6 import gyp.common | 6 import gyp.common |
7 import gyp.system_test | |
8 import gyp.xcode_emulation | 7 import gyp.xcode_emulation |
9 import os.path | 8 import os.path |
10 import re | 9 import re |
11 import subprocess | 10 import subprocess |
12 import sys | 11 import sys |
13 | 12 |
14 import gyp.ninja_syntax as ninja_syntax | 13 import gyp.ninja_syntax as ninja_syntax |
15 | 14 |
16 generator_default_variables = { | 15 generator_default_variables = { |
17 'EXECUTABLE_PREFIX': '', | 16 'EXECUTABLE_PREFIX': '', |
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 | 1254 |
1256 user_config = params.get('generator_flags', {}).get('config', None) | 1255 user_config = params.get('generator_flags', {}).get('config', None) |
1257 if user_config: | 1256 if user_config: |
1258 GenerateOutputForConfig(target_list, target_dicts, data, params, | 1257 GenerateOutputForConfig(target_list, target_dicts, data, params, |
1259 user_config) | 1258 user_config) |
1260 else: | 1259 else: |
1261 config_names = target_dicts[target_list[0]]['configurations'].keys() | 1260 config_names = target_dicts[target_list[0]]['configurations'].keys() |
1262 for config_name in config_names: | 1261 for config_name in config_names: |
1263 GenerateOutputForConfig(target_list, target_dicts, data, params, | 1262 GenerateOutputForConfig(target_list, target_dicts, data, params, |
1264 config_name) | 1263 config_name) |
OLD | NEW |