| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. 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 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 5122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5133 '_WIN32_WINNT=0x0602', | 5133 '_WIN32_WINNT=0x0602', |
| 5134 'WINVER=0x0602', | 5134 'WINVER=0x0602', |
| 5135 'WIN32', | 5135 'WIN32', |
| 5136 '_WINDOWS', | 5136 '_WINDOWS', |
| 5137 'NOMINMAX', | 5137 'NOMINMAX', |
| 5138 'PSAPI_VERSION=1', | 5138 'PSAPI_VERSION=1', |
| 5139 '_CRT_RAND_S', | 5139 '_CRT_RAND_S', |
| 5140 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 5140 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
| 5141 'WIN32_LEAN_AND_MEAN', | 5141 'WIN32_LEAN_AND_MEAN', |
| 5142 '_ATL_NO_OPENGL', | 5142 '_ATL_NO_OPENGL', |
| 5143 # _HAS_EXCEPTIONS must match ExceptionHandling in msvs_settings. | |
| 5144 '_HAS_EXCEPTIONS=0', | |
| 5145 ], | 5143 ], |
| 5146 'conditions': [ | 5144 'conditions': [ |
| 5147 ['buildtype=="Official"', { | 5145 ['buildtype=="Official"', { |
| 5148 # In official builds, targets can self-select an optimization | 5146 # In official builds, targets can self-select an optimization |
| 5149 # level by defining a variable named 'optimize', and setting it | 5147 # level by defining a variable named 'optimize', and setting it |
| 5150 # to one of | 5148 # to one of |
| 5151 # - "size", optimizes for minimal code size - the default. | 5149 # - "size", optimizes for minimal code size - the default. |
| 5152 # - "speed", optimizes for speed over code size. | 5150 # - "speed", optimizes for speed over code size. |
| 5153 # - "max", whole program optimization and link-time code | 5151 # - "max", whole program optimization and link-time code |
| 5154 # generation. This is very expensive and should be used | 5152 # generation. This is very expensive and should be used |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5202 'FavorSizeOrSpeed': '1', | 5200 'FavorSizeOrSpeed': '1', |
| 5203 # This implies link time code generation. | 5201 # This implies link time code generation. |
| 5204 'WholeProgramOptimization': 'true', | 5202 'WholeProgramOptimization': 'true', |
| 5205 }, | 5203 }, |
| 5206 }, | 5204 }, |
| 5207 }, | 5205 }, |
| 5208 ], | 5206 ], |
| 5209 ], | 5207 ], |
| 5210 }, | 5208 }, |
| 5211 ], | 5209 ], |
| 5210 ['component=="static_library"', { |
| 5211 'defines': [ |
| 5212 '_HAS_EXCEPTIONS=0', |
| 5213 ], |
| 5214 }], |
| 5212 ['secure_atl', { | 5215 ['secure_atl', { |
| 5213 'defines': [ | 5216 'defines': [ |
| 5214 '_SECURE_ATL', | 5217 '_SECURE_ATL', |
| 5215 ], | 5218 ], |
| 5216 }], | 5219 }], |
| 5217 ['msvs_express', { | 5220 ['msvs_express', { |
| 5218 'configurations': { | 5221 'configurations': { |
| 5219 'x86_Base': { | 5222 'x86_Base': { |
| 5220 'msvs_settings': { | 5223 'msvs_settings': { |
| 5221 'VCLinkerTool': { | 5224 'VCLinkerTool': { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5284 'msvs_settings': { | 5287 'msvs_settings': { |
| 5285 'VCCLCompilerTool': { | 5288 'VCCLCompilerTool': { |
| 5286 'AdditionalOptions': ['/MP'], | 5289 'AdditionalOptions': ['/MP'], |
| 5287 'MinimalRebuild': 'false', | 5290 'MinimalRebuild': 'false', |
| 5288 'BufferSecurityCheck': 'true', | 5291 'BufferSecurityCheck': 'true', |
| 5289 'EnableFunctionLevelLinking': 'true', | 5292 'EnableFunctionLevelLinking': 'true', |
| 5290 'RuntimeTypeInfo': 'false', | 5293 'RuntimeTypeInfo': 'false', |
| 5291 'WarningLevel': '4', | 5294 'WarningLevel': '4', |
| 5292 'WarnAsError': 'true', | 5295 'WarnAsError': 'true', |
| 5293 'DebugInformationFormat': '3', | 5296 'DebugInformationFormat': '3', |
| 5294 # ExceptionHandling must match _HAS_EXCEPTIONS above. | 5297 'conditions': [ |
| 5295 'ExceptionHandling': '0', | 5298 ['component=="shared_library"', { |
| 5299 'ExceptionHandling': '1', # /EHsc |
| 5300 }, { |
| 5301 'ExceptionHandling': '0', |
| 5302 }], |
| 5303 ], |
| 5296 }, | 5304 }, |
| 5297 'VCLibrarianTool': { | 5305 'VCLibrarianTool': { |
| 5298 'AdditionalOptions': ['/ignore:4221'], | 5306 'AdditionalOptions': ['/ignore:4221'], |
| 5299 'AdditionalLibraryDirectories': [ | 5307 'AdditionalLibraryDirectories': [ |
| 5300 '<(windows_sdk_path)/Lib/win8/um/x86', | 5308 '<(windows_sdk_path)/Lib/win8/um/x86', |
| 5301 ], | 5309 ], |
| 5302 }, | 5310 }, |
| 5303 'VCLinkerTool': { | 5311 'VCLinkerTool': { |
| 5304 'AdditionalDependencies': [ | 5312 'AdditionalDependencies': [ |
| 5305 'wininet.lib', | 5313 'wininet.lib', |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5646 # settings in target dicts. SYMROOT is a special case, because many other | 5654 # settings in target dicts. SYMROOT is a special case, because many other |
| 5647 # Xcode variables depend on it, including variables such as | 5655 # Xcode variables depend on it, including variables such as |
| 5648 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5656 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5649 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5657 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5650 # files to appear (when present) in the UI as actual files and not red | 5658 # files to appear (when present) in the UI as actual files and not red |
| 5651 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5659 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5652 # and therefore SYMROOT, needs to be set at the project level. | 5660 # and therefore SYMROOT, needs to be set at the project level. |
| 5653 'SYMROOT': '<(DEPTH)/xcodebuild', | 5661 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5654 }, | 5662 }, |
| 5655 } | 5663 } |
| OLD | NEW |