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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1439 'target_defaults': { | 1439 'target_defaults': { |
1440 'defines': [ | 1440 'defines': [ |
1441 '_WIN32_WINNT=0x0600', | 1441 '_WIN32_WINNT=0x0600', |
1442 'WINVER=0x0600', | 1442 'WINVER=0x0600', |
1443 'WIN32', | 1443 'WIN32', |
1444 '_WINDOWS', | 1444 '_WINDOWS', |
1445 'NOMINMAX', | 1445 'NOMINMAX', |
1446 '_CRT_RAND_S', | 1446 '_CRT_RAND_S', |
1447 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', | 1447 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', |
1448 'WIN32_LEAN_AND_MEAN', | 1448 'WIN32_LEAN_AND_MEAN', |
1449 '_SECURE_ATL', | |
1450 '_ATL_NO_OPENGL', | 1449 '_ATL_NO_OPENGL', |
1451 '_HAS_TR1=0', | 1450 '_HAS_TR1=0', |
1452 ], | 1451 ], |
1453 'conditions': [ | 1452 'conditions': [ |
1454 ['component=="static_library"', { | 1453 ['component=="static_library"', { |
1455 'defines': [ | 1454 'defines': [ |
1456 '_HAS_EXCEPTIONS=0', | 1455 '_HAS_EXCEPTIONS=0', |
1457 ], | 1456 ], |
1458 }], | 1457 }], |
1459 ], | 1458 ], |
(...skipping 10 matching lines...) Expand all Loading... | |
1470 'BufferSecurityCheck': 'true', | 1469 'BufferSecurityCheck': 'true', |
1471 'EnableFunctionLevelLinking': 'true', | 1470 'EnableFunctionLevelLinking': 'true', |
1472 'RuntimeTypeInfo': 'false', | 1471 'RuntimeTypeInfo': 'false', |
1473 'WarningLevel': '3', | 1472 'WarningLevel': '3', |
1474 'WarnAsError': 'true', | 1473 'WarnAsError': 'true', |
1475 'DebugInformationFormat': '3', | 1474 'DebugInformationFormat': '3', |
1476 'conditions': [ | 1475 'conditions': [ |
1477 [ 'msvs_multi_core_compile', { | 1476 [ 'msvs_multi_core_compile', { |
1478 'AdditionalOptions': ['/MP'], | 1477 'AdditionalOptions': ['/MP'], |
1479 }], | 1478 }], |
1479 [ 'MSVS_VERSION=="2010e" or MSVS_VERSION=="2008e" or MSVS_VERSION= ="2005e"', { | |
1480 'AdditionalOptions': ['/DCOMPILER_MSVCEXPRESS'], | |
Mark Mentovai
2011/03/16 16:25:20
All of the other COMPILER_* macros are set in buil
RN
2011/03/17 06:33:25
I do not think there is a way to get a macro for e
| |
1481 },{ | |
Mark Mentovai
2011/03/16 16:25:20
Most of the “else” blocks in this file put a space
RN
2011/03/17 06:33:25
I thought I was changing to the norm of the rest o
| |
1482 'AdditionalOptions': ['/D_SECURE_ATL'], #WinDDKATL + _SECURE_ATL = error | |
Mark Mentovai
2011/03/16 16:25:20
The general style would be two spaces before the #
RN
2011/03/17 06:33:25
Right, that was a bit terse. I changed that area a
| |
1483 }], | |
1480 ['component=="shared_library"', { | 1484 ['component=="shared_library"', { |
1481 'ExceptionHandling': '1', # /EHsc | 1485 'ExceptionHandling': '1', # /EHsc |
1482 }, { | 1486 },{ |
1483 'ExceptionHandling': '0', | 1487 'ExceptionHandling': '0', |
Mark Mentovai
2011/03/16 16:25:20
Adding unnecessary whitespace here?
RN
2011/03/17 06:33:25
Ug. It seems something keeps adding extra whitespa
| |
1484 }], | 1488 }], |
1485 ], | 1489 ], |
1486 }, | 1490 }, |
1487 'VCLibrarianTool': { | 1491 'VCLibrarianTool': { |
1488 'AdditionalOptions': ['/ignore:4221'], | 1492 'AdditionalOptions': ['/ignore:4221'], |
1489 'AdditionalLibraryDirectories': [ | 1493 'AdditionalLibraryDirectories': [ |
1490 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', | 1494 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
1491 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', | 1495 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', |
1492 ], | 1496 ], |
1493 }, | 1497 }, |
1494 'VCLinkerTool': { | 1498 'VCLinkerTool': { |
1495 'AdditionalDependencies': [ | 1499 'AdditionalDependencies': [ |
1496 'wininet.lib', | 1500 'wininet.lib', |
1497 'dnsapi.lib', | 1501 'dnsapi.lib', |
1498 'version.lib', | 1502 'version.lib', |
1499 'msimg32.lib', | 1503 'msimg32.lib', |
1500 'ws2_32.lib', | 1504 'ws2_32.lib', |
1501 'usp10.lib', | 1505 'usp10.lib', |
1502 'psapi.lib', | 1506 'psapi.lib', |
1503 'dbghelp.lib', | 1507 'dbghelp.lib', |
1504 ], | 1508 ], |
1509 'conditions': [ #Required by WinDDK ATL and explicitly in express | |
1510 ['MSVS_VERSION=="2010e" or MSVS_VERSION=="2008e" or MSVS_VERSION== "2005e"', { | |
Mark Mentovai
2011/03/16 16:25:20
Perhaps it would make sense to have some sort of “
RN
2011/03/17 06:33:25
Done.
| |
1511 'AdditionalDependencies': [ | |
1512 'atlthunk.lib', | |
1513 ], | |
1514 }], | |
1515 ], | |
1505 'AdditionalLibraryDirectories': [ | 1516 'AdditionalLibraryDirectories': [ |
1506 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', | 1517 '<(DEPTH)/third_party/platformsdk_win7/files/Lib', |
1507 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', | 1518 '<(DEPTH)/third_party/directxsdk/files/Lib/x86', |
1508 ], | 1519 ], |
1509 'GenerateDebugInformation': 'true', | 1520 'GenerateDebugInformation': 'true', |
1510 'MapFileName': '$(OutDir)\\$(TargetName).map', | 1521 'MapFileName': '$(OutDir)\\$(TargetName).map', |
1511 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', | 1522 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', |
1512 'FixedBaseAddress': '1', | 1523 'FixedBaseAddress': '1', |
1513 # SubSystem values: | 1524 # SubSystem values: |
1514 # 0 == not set | 1525 # 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. | 1629 # and therefore SYMROOT, needs to be set at the project level. |
1619 'SYMROOT': '<(DEPTH)/xcodebuild', | 1630 'SYMROOT': '<(DEPTH)/xcodebuild', |
1620 }, | 1631 }, |
1621 } | 1632 } |
1622 | 1633 |
1623 # Local Variables: | 1634 # Local Variables: |
1624 # tab-width:2 | 1635 # tab-width:2 |
1625 # indent-tabs-mode:nil | 1636 # indent-tabs-mode:nil |
1626 # End: | 1637 # End: |
1627 # vim: set expandtab tabstop=2 shiftwidth=2: | 1638 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |