OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 '_HAS_EXCEPTIONS=0', | 1210 '_HAS_EXCEPTIONS=0', |
1211 'NOMINMAX', | 1211 'NOMINMAX', |
1212 '_CRT_RAND_S', | 1212 '_CRT_RAND_S', |
1213 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 1213 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
1214 'WIN32_LEAN_AND_MEAN', | 1214 'WIN32_LEAN_AND_MEAN', |
1215 '_SECURE_ATL', | 1215 '_SECURE_ATL', |
1216 '_HAS_TR1=0', | 1216 '_HAS_TR1=0', |
1217 ], | 1217 ], |
1218 'msvs_system_include_dirs': [ | 1218 'msvs_system_include_dirs': [ |
1219 '<(DEPTH)/third_party/platformsdk_win7/files/Include', | 1219 '<(DEPTH)/third_party/platformsdk_win7/files/Include', |
| 1220 '<(DEPTH)/third_party/directxsdk/files/Include', |
1220 '$(VSInstallDir)/VC/atlmfc/include', | 1221 '$(VSInstallDir)/VC/atlmfc/include', |
1221 ], | 1222 ], |
1222 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 1223 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
1223 'msvs_disabled_warnings': [4396, 4503, 4819], | 1224 'msvs_disabled_warnings': [4396, 4503, 4819], |
1224 'msvs_settings': { | 1225 'msvs_settings': { |
1225 'VCCLCompilerTool': { | 1226 'VCCLCompilerTool': { |
1226 'MinimalRebuild': 'false', | 1227 'MinimalRebuild': 'false', |
1227 'ExceptionHandling': '0', | 1228 'ExceptionHandling': '0', |
1228 'BufferSecurityCheck': 'true', | 1229 'BufferSecurityCheck': 'true', |
1229 'EnableFunctionLevelLinking': 'true', | 1230 'EnableFunctionLevelLinking': 'true', |
1230 'RuntimeTypeInfo': 'false', | 1231 'RuntimeTypeInfo': 'false', |
1231 'WarningLevel': '3', | 1232 'WarningLevel': '3', |
1232 'WarnAsError': 'true', | 1233 'WarnAsError': 'true', |
1233 'DebugInformationFormat': '3', | 1234 'DebugInformationFormat': '3', |
1234 'conditions': [ | 1235 'conditions': [ |
1235 [ 'msvs_multi_core_compile', { | 1236 [ 'msvs_multi_core_compile', { |
1236 'AdditionalOptions': ['/MP'], | 1237 'AdditionalOptions': ['/MP'], |
1237 }], | 1238 }], |
1238 ], | 1239 ], |
1239 }, | 1240 }, |
1240 'VCLibrarianTool': { | 1241 'VCLibrarianTool': { |
1241 'AdditionalOptions': ['/ignore:4221'], | 1242 'AdditionalOptions': ['/ignore:4221'], |
1242 'AdditionalLibraryDirectories': | 1243 'AdditionalLibraryDirectories': [ |
1243 ['<(DEPTH)/third_party/platformsdk_win7/files/Lib'], | 1244 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
| 1245 '<(DEPTH)/third_party/directxsdk/files/Lib', |
| 1246 ], |
1244 }, | 1247 }, |
1245 'VCLinkerTool': { | 1248 'VCLinkerTool': { |
1246 'AdditionalDependencies': [ | 1249 'AdditionalDependencies': [ |
1247 'wininet.lib', | 1250 'wininet.lib', |
1248 'version.lib', | 1251 'version.lib', |
1249 'msimg32.lib', | 1252 'msimg32.lib', |
1250 'ws2_32.lib', | 1253 'ws2_32.lib', |
1251 'usp10.lib', | 1254 'usp10.lib', |
1252 'psapi.lib', | 1255 'psapi.lib', |
1253 'dbghelp.lib', | 1256 'dbghelp.lib', |
1254 ], | 1257 ], |
1255 'AdditionalLibraryDirectories': | 1258 'AdditionalLibraryDirectories': [ |
1256 ['<(DEPTH)/third_party/platformsdk_win7/files/Lib'], | 1259 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
| 1260 '<(DEPTH)/third_party/directxsdk/files/Lib', |
| 1261 ], |
1257 'GenerateDebugInformation': 'true', | 1262 'GenerateDebugInformation': 'true', |
1258 'MapFileName': '$(OutDir)\\$(TargetName).map', | 1263 'MapFileName': '$(OutDir)\\$(TargetName).map', |
1259 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', | 1264 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', |
1260 'FixedBaseAddress': '1', | 1265 'FixedBaseAddress': '1', |
1261 # SubSystem values: | 1266 # SubSystem values: |
1262 # 0 == not set | 1267 # 0 == not set |
1263 # 1 == /SUBSYSTEM:CONSOLE | 1268 # 1 == /SUBSYSTEM:CONSOLE |
1264 # 2 == /SUBSYSTEM:WINDOWS | 1269 # 2 == /SUBSYSTEM:WINDOWS |
1265 # Most of the executables we'll ever create are tests | 1270 # Most of the executables we'll ever create are tests |
1266 # and utilities with console output. | 1271 # and utilities with console output. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 # and therefore SYMROOT, needs to be set at the project level. | 1375 # and therefore SYMROOT, needs to be set at the project level. |
1371 'SYMROOT': '<(DEPTH)/xcodebuild', | 1376 'SYMROOT': '<(DEPTH)/xcodebuild', |
1372 }, | 1377 }, |
1373 } | 1378 } |
1374 | 1379 |
1375 # Local Variables: | 1380 # Local Variables: |
1376 # tab-width:2 | 1381 # tab-width:2 |
1377 # indent-tabs-mode:nil | 1382 # indent-tabs-mode:nil |
1378 # End: | 1383 # End: |
1379 # vim: set expandtab tabstop=2 shiftwidth=2: | 1384 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |