| 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 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 'msvs_multi_core_compile%': 0, | 445 'msvs_multi_core_compile%': 0, |
| 446 },{ | 446 },{ |
| 447 'msvs_multi_core_compile%': 1, | 447 'msvs_multi_core_compile%': 1, |
| 448 }], | 448 }], |
| 449 # Don't do incremental linking for large modules on 32-bit. | 449 # Don't do incremental linking for large modules on 32-bit. |
| 450 ['MSVS_OS_BITS==32', { | 450 ['MSVS_OS_BITS==32', { |
| 451 'msvs_large_module_debug_link_mode%': '1', # No | 451 'msvs_large_module_debug_link_mode%': '1', # No |
| 452 },{ | 452 },{ |
| 453 'msvs_large_module_debug_link_mode%': '2', # Yes | 453 'msvs_large_module_debug_link_mode%': '2', # Yes |
| 454 }], | 454 }], |
| 455 ['MSVS_VERSION=="2010e" or MSVS_VERSION=="2008e" or MSVS_VERSION=="200
5e"', { |
| 456 'msvs_express%': 1, |
| 457 'secure_atl%': 0, |
| 458 },{ |
| 459 'msvs_express%': 0, |
| 460 'secure_atl%': 1, |
| 461 }], |
| 455 ], | 462 ], |
| 456 'nacl_win64_defines': [ | 463 'nacl_win64_defines': [ |
| 457 # This flag is used to minimize dependencies when building | 464 # This flag is used to minimize dependencies when building |
| 458 # Native Client loader for 64-bit Windows. | 465 # Native Client loader for 64-bit Windows. |
| 459 'NACL_WIN64', | 466 'NACL_WIN64', |
| 460 ], | 467 ], |
| 461 }], | 468 }], |
| 462 | 469 |
| 463 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', { | 470 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', { |
| 464 'use_cups%': 1, | 471 'use_cups%': 1, |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1439 'target_defaults': { | 1446 'target_defaults': { |
| 1440 'defines': [ | 1447 'defines': [ |
| 1441 '_WIN32_WINNT=0x0600', | 1448 '_WIN32_WINNT=0x0600', |
| 1442 'WINVER=0x0600', | 1449 'WINVER=0x0600', |
| 1443 'WIN32', | 1450 'WIN32', |
| 1444 '_WINDOWS', | 1451 '_WINDOWS', |
| 1445 'NOMINMAX', | 1452 'NOMINMAX', |
| 1446 '_CRT_RAND_S', | 1453 '_CRT_RAND_S', |
| 1447 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 1454 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
| 1448 'WIN32_LEAN_AND_MEAN', | 1455 'WIN32_LEAN_AND_MEAN', |
| 1449 '_SECURE_ATL', | |
| 1450 '_ATL_NO_OPENGL', | 1456 '_ATL_NO_OPENGL', |
| 1451 '_HAS_TR1=0', | 1457 '_HAS_TR1=0', |
| 1452 ], | 1458 ], |
| 1453 'conditions': [ | 1459 'conditions': [ |
| 1454 ['component=="static_library"', { | 1460 ['component=="static_library"', { |
| 1455 'defines': [ | 1461 'defines': [ |
| 1456 '_HAS_EXCEPTIONS=0', | 1462 '_HAS_EXCEPTIONS=0', |
| 1457 ], | 1463 ], |
| 1458 }], | 1464 }], |
| 1465 ['secure_atl', { |
| 1466 'defines': [ |
| 1467 '_SECURE_ATL', |
| 1468 ], |
| 1469 }], |
| 1459 ], | 1470 ], |
| 1460 'msvs_system_include_dirs': [ | 1471 'msvs_system_include_dirs': [ |
| 1461 '<(DEPTH)/third_party/platformsdk_win7/files/Include', | 1472 '<(DEPTH)/third_party/platformsdk_win7/files/Include', |
| 1462 '<(DEPTH)/third_party/directxsdk/files/Include', | 1473 '<(DEPTH)/third_party/directxsdk/files/Include', |
| 1463 '$(VSInstallDir)/VC/atlmfc/include', | 1474 '$(VSInstallDir)/VC/atlmfc/include', |
| 1464 ], | 1475 ], |
| 1465 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 1476 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
| 1466 'msvs_disabled_warnings': [4351, 4396, 4503, 4819], | 1477 'msvs_disabled_warnings': [4351, 4396, 4503, 4819], |
| 1467 'msvs_settings': { | 1478 'msvs_settings': { |
| 1468 'VCCLCompilerTool': { | 1479 'VCCLCompilerTool': { |
| 1469 'MinimalRebuild': 'false', | 1480 'MinimalRebuild': 'false', |
| 1470 'BufferSecurityCheck': 'true', | 1481 'BufferSecurityCheck': 'true', |
| 1471 'EnableFunctionLevelLinking': 'true', | 1482 'EnableFunctionLevelLinking': 'true', |
| 1472 'RuntimeTypeInfo': 'false', | 1483 'RuntimeTypeInfo': 'false', |
| 1473 'WarningLevel': '3', | 1484 'WarningLevel': '3', |
| 1474 'WarnAsError': 'true', | 1485 'WarnAsError': 'true', |
| 1475 'DebugInformationFormat': '3', | 1486 'DebugInformationFormat': '3', |
| 1476 'conditions': [ | 1487 'conditions': [ |
| 1477 [ 'msvs_multi_core_compile', { | 1488 ['msvs_multi_core_compile', { |
| 1478 'AdditionalOptions': ['/MP'], | 1489 'AdditionalOptions': ['/MP'], |
| 1479 }], | 1490 }], |
| 1480 ['component=="shared_library"', { | 1491 ['component=="shared_library"', { |
| 1481 'ExceptionHandling': '1', # /EHsc | 1492 'ExceptionHandling': '1', # /EHsc |
| 1482 }, { | 1493 }, { |
| 1483 'ExceptionHandling': '0', | 1494 'ExceptionHandling': '0', |
| 1484 }], | 1495 }], |
| 1485 ], | 1496 ], |
| 1486 }, | 1497 }, |
| 1487 'VCLibrarianTool': { | 1498 'VCLibrarianTool': { |
| 1488 'AdditionalOptions': ['/ignore:4221'], | 1499 'AdditionalOptions': ['/ignore:4221'], |
| 1489 'AdditionalLibraryDirectories': [ | 1500 'AdditionalLibraryDirectories': [ |
| 1490 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', | 1501 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
| 1491 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', | 1502 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', |
| 1492 ], | 1503 ], |
| 1493 }, | 1504 }, |
| 1494 'VCLinkerTool': { | 1505 'VCLinkerTool': { |
| 1495 'AdditionalDependencies': [ | 1506 'AdditionalDependencies': [ |
| 1496 'wininet.lib', | 1507 'wininet.lib', |
| 1497 'dnsapi.lib', | 1508 'dnsapi.lib', |
| 1498 'version.lib', | 1509 'version.lib', |
| 1499 'msimg32.lib', | 1510 'msimg32.lib', |
| 1500 'ws2_32.lib', | 1511 'ws2_32.lib', |
| 1501 'usp10.lib', | 1512 'usp10.lib', |
| 1502 'psapi.lib', | 1513 'psapi.lib', |
| 1503 'dbghelp.lib', | 1514 'dbghelp.lib', |
| 1504 ], | 1515 ], |
| 1516 'conditions': [ |
| 1517 ['msvs_express', { |
| 1518 # Explicitly required when using the ATL with express |
| 1519 'AdditionalDependencies': [ |
| 1520 'atlthunk.lib', |
| 1521 ], |
| 1522 }], |
| 1523 ], |
| 1505 'AdditionalLibraryDirectories': [ | 1524 'AdditionalLibraryDirectories': [ |
| 1506 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', | 1525 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
| 1507 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', | 1526 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', |
| 1508 ], | 1527 ], |
| 1509 'GenerateDebugInformation': 'true', | 1528 'GenerateDebugInformation': 'true', |
| 1510 'MapFileName': '$(OutDir)\\$(TargetName).map', | 1529 'MapFileName': '$(OutDir)\\$(TargetName).map', |
| 1511 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', | 1530 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', |
| 1512 'FixedBaseAddress': '1', | 1531 'FixedBaseAddress': '1', |
| 1513 # SubSystem values: | 1532 # SubSystem values: |
| 1514 # 0 == not set | 1533 # 0 == not set |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1618 # and therefore SYMROOT, needs to be set at the project level. | 1637 # and therefore SYMROOT, needs to be set at the project level. |
| 1619 'SYMROOT': '<(DEPTH)/xcodebuild', | 1638 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1620 }, | 1639 }, |
| 1621 } | 1640 } |
| 1622 | 1641 |
| 1623 # Local Variables: | 1642 # Local Variables: |
| 1624 # tab-width:2 | 1643 # tab-width:2 |
| 1625 # indent-tabs-mode:nil | 1644 # indent-tabs-mode:nil |
| 1626 # End: | 1645 # End: |
| 1627 # vim: set expandtab tabstop=2 shiftwidth=2: | 1646 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |