Removing the last remaining vsprops files (that are hooked in).
Also pulling in a newer nacl version. Switching to use AdditionalOptions in list form. BUG=None TEST=None TBR=mmentovai Review URL: http://codereview.chromium.org/523027 git-svn-id: http://src.chromium.org/svn/trunk/src/build@35449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
60d6d98e5e
Коммит
7a2eabc7e3
27
common.gypi
27
common.gypi
|
@ -387,7 +387,7 @@
|
|||
'VCCLCompilerTool': {
|
||||
# /Z7, not /Zi, so coverage is happyb
|
||||
'DebugInformationFormat': '1',
|
||||
'AdditionalOptions': '/Yd',
|
||||
'AdditionalOptions': ['/Yd'],
|
||||
}
|
||||
}
|
||||
}], # OS==win
|
||||
|
@ -547,7 +547,7 @@
|
|||
'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'],
|
||||
'conditions': [
|
||||
['msvs_use_common_release', {
|
||||
'msvs_props': ['release.vsprops'],
|
||||
'includes': ['release.gypi'],
|
||||
}],
|
||||
]
|
||||
},
|
||||
|
@ -564,7 +564,7 @@
|
|||
'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'],
|
||||
},
|
||||
'Purify_x64': {
|
||||
'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify'],
|
||||
'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify_Base'],
|
||||
},
|
||||
}],
|
||||
],
|
||||
|
@ -977,12 +977,12 @@
|
|||
'DebugInformationFormat': '3',
|
||||
'conditions': [
|
||||
[ 'msvs_multi_core_compile', {
|
||||
'AdditionalOptions': '/MP',
|
||||
'AdditionalOptions': ['/MP'],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'VCLibrarianTool': {
|
||||
'AdditionalOptions': '/ignore:4221',
|
||||
'AdditionalOptions': ['/ignore:4221'],
|
||||
'AdditionalLibraryDirectories':
|
||||
['<(DEPTH)/third_party/platformsdk_win7/files/Lib'],
|
||||
},
|
||||
|
@ -1097,17 +1097,26 @@
|
|||
'x86_Base': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalOptions':
|
||||
'/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat',
|
||||
'AdditionalOptions': [
|
||||
'/safeseh',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/ignore:4221',
|
||||
'/nxcompat',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'x64_Base': {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalOptions':
|
||||
'AdditionalOptions': [
|
||||
# safeseh is not compatible with x64
|
||||
'/dynamicbase /ignore:4199 /ignore:4221 /nxcompat',
|
||||
'/dynamicbase',
|
||||
'/ignore:4199',
|
||||
'/ignore:4221',
|
||||
'/nxcompat',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="common (no-op)"
|
||||
>
|
||||
</VisualStudioPropertySheet>
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="debug"
|
||||
InheritedPropertySheets=".\internal\essential.vsprops;internal\chromium_build$(CHROMIUM_BUILD).vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="external_code"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE"
|
||||
WarnAsError="false"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DisableSpecificWarnings="4800"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="debug_info"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
GenerateDebugInformation="true"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="debug_infofastbuild"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
GenerateDebugInformation="false"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -1,76 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="essential"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj\$(ProjectName)"
|
||||
CharacterSet="1"
|
||||
InheritedPropertySheets=".\debug_info$(FAST_BUILD_TYPE).vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="$(SolutionDir)..;$(SDKIncludes)"
|
||||
PreprocessorDefinitions="_WIN32_WINNT=0x0600;WINVER=0x0600;WIN32;_WINDOWS;_HAS_EXCEPTIONS=0;NOMINMAX;_CRT_RAND_S;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;WIN32_LEAN_AND_MEAN;_SECURE_ATL;_HAS_TR1=0"
|
||||
MinimalRebuild="false"
|
||||
ExceptionHandling="0"
|
||||
BufferSecurityCheck="true"
|
||||
EnableFunctionLevelLinking="true"
|
||||
RuntimeTypeInfo="false"
|
||||
WarningLevel="3"
|
||||
WarnAsError="true"
|
||||
DisableSpecificWarnings="4503; 4819"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalOptions="/ignore:4221"
|
||||
OutputFile="$(OutDir)\lib\$(ProjectName).lib"
|
||||
AdditionalLibraryDirectories="$(SDKLibs)"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat"
|
||||
AdditionalDependencies="wininet.lib version.lib msimg32.lib ws2_32.lib usp10.lib psapi.lib dbghelp.lib"
|
||||
AdditionalLibraryDirectories="$(SDKLibs);$(OutDir)\lib"
|
||||
DelayLoadDLLs="dbghelp.dll,dwmapi.dll,uxtheme.dll"
|
||||
MapFileName="$(OutDir)\$(TargetName).map"
|
||||
ImportLibrary="$(OutDir)\lib\$(TargetName).lib"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
GenerateStublessProxies="true"
|
||||
TypeLibraryName="$(InputName).tlb"
|
||||
OutputDirectory="$(IntDir)"
|
||||
HeaderFileName="$(InputName).h"
|
||||
DLLDataFileName="dlldata.c"
|
||||
InterfaceIdentifierFileName="$(InputName)_i.c"
|
||||
ProxyFileName="$(InputName)_p.c"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
Culture="1033"
|
||||
AdditionalIncludeDirectories="$(SolutionDir).."
|
||||
/>
|
||||
<UserMacro
|
||||
Name="SDK"
|
||||
Value="$(SolutionDir)..\third_party\platformsdk_win2008_6_1\files"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="SDKIncludes"
|
||||
Value="$(SDK)\Include;$(VSInstallDir)\VC\atlmfc\include"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="SDKLibs"
|
||||
Value="$(SDK)\Lib"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="DefaultOutputDirectory"
|
||||
Value="$(SolutionDir)$(ConfigurationName)"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="DefaultIntermediateDirectory"
|
||||
Value="$(SolutionDir)$(ConfigurationName)\obj\$(ProjectName)"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'Optimizations': '2',
|
||||
'StringPooling': 'true',
|
||||
'OmitFramePointers': 'true',
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
'LinkIncremental': '1',
|
||||
'OptimizeReferences': '2',
|
||||
'EnableCOMDATFolding': '2',
|
||||
'OptimizeForWindows98': '1',
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="release_defaults"
|
||||
InheritedPropertySheets=".\essential.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
StringPooling="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
'includes': ['release_defaults.gypi'],
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="release_impl"
|
||||
InheritedPropertySheets=".\release_defaults.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="/Oy-"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
'includes': ['release_defaults.gypi'],
|
||||
'defines': ['OFFICIAL_BUILD'],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'Optimization': '3',
|
||||
'InlineFunctionExpansion': '2',
|
||||
'EnableIntrinsicFunctions': 'true',
|
||||
'FavorSizeOrSpeed': '2',
|
||||
'OmitFramePointers': 'true',
|
||||
'EnableFiberSafeOptimizations': 'true',
|
||||
'WholeProgramOptimization': 'true',
|
||||
},
|
||||
'VCLibrarianTool': {
|
||||
'AdditionalOptions': ['/ltcg'],
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
'LinkTimeCodeGeneration': '1',
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="release_impl_official"
|
||||
InheritedPropertySheets=".\release_defaults.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="OFFICIAL_BUILD"
|
||||
Optimization="3"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="2"
|
||||
OmitFramePointers="true"
|
||||
EnableFiberSafeOptimizations="true"
|
||||
WholeProgramOptimization="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalOptions="/ltcg"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkTimeCodeGeneration="1"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
'conditions': [
|
||||
# Handle build types.
|
||||
['buildtype=="Dev"', {
|
||||
'includes': ['internal/release_impl.gypi'],
|
||||
}],
|
||||
['buildtype=="Official"', {
|
||||
'includes': ['internal/release_impl_official.gypi'],
|
||||
}],
|
||||
# TODO(bradnelson): may also need:
|
||||
# checksenabled
|
||||
# coverage
|
||||
# dom_stats
|
||||
# pgo_instrument
|
||||
# pgo_optimize
|
||||
# purify
|
||||
],
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="release"
|
||||
InheritedPropertySheets="internal\release_impl$(CHROME_BUILD_TYPE).vsprops">
|
||||
</VisualStudioPropertySheet>
|
Загрузка…
Ссылка в новой задаче