| 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 copy | 5 import copy |
| 6 import hashlib | 6 import hashlib |
| 7 import os.path | 7 import os.path |
| 8 import re | 8 import re |
| 9 import subprocess | 9 import subprocess |
| 10 import sys | 10 import sys |
| 11 import gyp | 11 import gyp |
| 12 import gyp.common | 12 import gyp.common |
| 13 import gyp.msvs_emulation | 13 import gyp.msvs_emulation |
| 14 import gyp.MSVSVersion | 14 import gyp.MSVSVersion |
| 15 import gyp.system_test | |
| 16 import gyp.xcode_emulation | 15 import gyp.xcode_emulation |
| 17 | 16 |
| 18 from gyp.common import GetEnvironFallback | 17 from gyp.common import GetEnvironFallback |
| 19 import gyp.ninja_syntax as ninja_syntax | 18 import gyp.ninja_syntax as ninja_syntax |
| 20 | 19 |
| 21 generator_default_variables = { | 20 generator_default_variables = { |
| 22 'EXECUTABLE_PREFIX': '', | 21 'EXECUTABLE_PREFIX': '', |
| 23 'EXECUTABLE_SUFFIX': '', | 22 'EXECUTABLE_SUFFIX': '', |
| 24 'STATIC_LIB_PREFIX': 'lib', | 23 'STATIC_LIB_PREFIX': 'lib', |
| 25 'STATIC_LIB_SUFFIX': '.a', | 24 'STATIC_LIB_SUFFIX': '.a', |
| (...skipping 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 | 1734 |
| 1736 user_config = params.get('generator_flags', {}).get('config', None) | 1735 user_config = params.get('generator_flags', {}).get('config', None) |
| 1737 if user_config: | 1736 if user_config: |
| 1738 GenerateOutputForConfig(target_list, target_dicts, data, params, | 1737 GenerateOutputForConfig(target_list, target_dicts, data, params, |
| 1739 user_config) | 1738 user_config) |
| 1740 else: | 1739 else: |
| 1741 config_names = target_dicts[target_list[0]]['configurations'].keys() | 1740 config_names = target_dicts[target_list[0]]['configurations'].keys() |
| 1742 for config_name in config_names: | 1741 for config_name in config_names: |
| 1743 GenerateOutputForConfig(target_list, target_dicts, data, params, | 1742 GenerateOutputForConfig(target_list, target_dicts, data, params, |
| 1744 config_name) | 1743 config_name) |
| OLD | NEW |