summaryrefslogtreecommitdiffstats
path: root/build/internal
diff options
context:
space:
mode:
authorinitial.commit <initial.commit@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-26 20:52:30 +0000
committerinitial.commit <initial.commit@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-26 20:52:30 +0000
commitee2815e28d408216cf94e874825b6bcf76c69083 (patch)
tree307f3af4beabc0ab8d8633489846806b2df41f5e /build/internal
parent7e5ba5d125a2dc95132e765e949e53e1e779caaf (diff)
downloadchromium_src-ee2815e28d408216cf94e874825b6bcf76c69083.zip
chromium_src-ee2815e28d408216cf94e874825b6bcf76c69083.tar.gz
chromium_src-ee2815e28d408216cf94e874825b6bcf76c69083.tar.bz2
Add the build directory to the repository.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/internal')
-rw-r--r--build/internal/README.google24
-rw-r--r--build/internal/essential.vsprops77
-rw-r--r--build/internal/release_defaults.vsprops24
-rw-r--r--build/internal/release_impl.vsprops8
-rw-r--r--build/internal/release_impl_checksenabled.vsprops24
-rw-r--r--build/internal/release_impl_dom_stats.vsprops23
-rw-r--r--build/internal/release_impl_official.vsprops26
-rw-r--r--build/internal/release_impl_pgo_instrument.vsprops32
-rw-r--r--build/internal/release_impl_pgo_optimize.vsprops28
-rw-r--r--build/internal/release_impl_purify.vsprops19
10 files changed, 285 insertions, 0 deletions
diff --git a/build/internal/README.google b/build/internal/README.google
new file mode 100644
index 0000000..4624830
--- /dev/null
+++ b/build/internal/README.google
@@ -0,0 +1,24 @@
+Internal property sheets:
+ essential.vsprops
+ Contains the common settings used throughout the projects. Is included by either ..\debug.vsprops or ..\release.vsprops, so in general, it is not included directly.
+
+ release_defaults.vsprops
+ Included by ..\release.vsprops. Its settings are overriden by release_impl$(CHROME_BUILD_TYPE).vsprops. Uses the default VS setting which is "Maximize Speed". Results in relatively fast build with reasonable optimization level but without whole program optimization to reduce build time.
+
+ release_impl.vsprops
+ Included by ..\release.vsprops by default when CHROME_BUILD_TYPE is undefined. Includes release_defaults.vsprops.
+
+ release_impl_checksenabled.vsprops
+ Included by ..\release.vsprops when CHROME_BUILD_TYPE=_checksenabled. Matches what release_defaults.vsprops does, but doesn't actually inherit from it as we couldn't quite get that working. The only difference is that _DEBUG is set instead of NDEBUG. Used for keeping debug checks enabled with a build that is fast enough to dogfood with.
+
+ release_impl_official.vsprops
+ Included by ..\release.vsprops when CHROME_BUILD_TYPE=_official. Includes release_defaults.vsprops. Enables Whole Program Optimizations (WPO), which doubles the build time. Results in much more optimized build. Uses "Full Optimization" and "Flavor small code".
+
+ release_impl_pgo_instrument.vsprops
+ Included by ..\release.vsprops when CHROME_BUILD_TYPE=_pgo_instrument. Includes release_defaults.vsprops. Enables Profile Guided Optimization (PGO) instrumentation (first pass). Uses "Full Optimization" and "Flavor small code".
+
+ release_impl_pgo_optimize.vsprops
+ Included by ..\release.vsprops when CHROME_BUILD_TYPE=_pgo_optimize. Includes release_defaults.vsprops. Enables Profile Guided Optimization (PGO) optimization (second pass). Uses "Full Optimization" and "Flavor small code".
+
+ release_impl_purify.vsprops
+ Included by ..\release.vsprops when CHROME_BUILD_TYPE=_purify. Includes release_defaults.vsprops. Disables optimizations. Used with Purify to test without debug tools and without optimization; i.e. NDEBUG is defined but the compiler doesn't optimize the binary.
diff --git a/build/internal/essential.vsprops b/build/internal/essential.vsprops
new file mode 100644
index 0000000..f64145e
--- /dev/null
+++ b/build/internal/essential.vsprops
@@ -0,0 +1,77 @@
+<?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"
+ >
+ <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"
+ MinimalRebuild="false"
+ ExceptionHandling="0"
+ RuntimeTypeInfo="false"
+ WarningLevel="3"
+ WarnAsError="true"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ DisableSpecificWarnings="4503; 4819"
+ BufferSecurityCheck="true"
+ EnableFunctionLevelLinking="true"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\lib\$(ProjectName).lib"
+ AdditionalLibraryDirectories="$(SDKLibs)"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalLibraryDirectories="$(SDKLibs)"
+ GenerateDebugInformation="true"
+ MapFileName="$(OutDir)\$(TargetName).map"
+ ImportLibrary="$(OutDir)\lib\$(TargetName).lib"
+ TargetMachine="1"
+ FixedBaseAddress="1"
+ AdditionalOptions="/safeseh /dynamicbase /ignore:4199 /nxcompat"
+ AdditionalDependencies="wininet.lib version.lib msimg32.lib ws2_32.lib usp10.lib psapi.lib"
+ DelayLoadDLLs="dwmapi.dll,uxtheme.dll"
+ />
+ <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_vista_6_0\files"
+ />
+ <UserMacro
+ Name="SDKIncludes"
+ Value="$(SDK)\Include;$(SDK)\VC\INCLUDE;$(VSInstallDir)\VC\atlmfc\include"
+ />
+ <UserMacro
+ Name="SDKLibs"
+ Value="$(SDK)\Lib;$(SDK)\VC\LIB"
+ />
+ <UserMacro
+ Name="DefaultOutputDirectory"
+ Value="$(SolutionDir)$(ConfigurationName)"
+ />
+ <UserMacro
+ Name="DefaultIntermediateDirectory"
+ Value="$(SolutionDir)$(ConfigurationName)\obj\$(ProjectName)"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_defaults.vsprops b/build/internal/release_defaults.vsprops
new file mode 100644
index 0000000..3a795b5
--- /dev/null
+++ b/build/internal/release_defaults.vsprops
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release"
+ InheritedPropertySheets=".\essential.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ StringPooling="true"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ OptimizeForWindows98="1"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl.vsprops b/build/internal/release_impl.vsprops
new file mode 100644
index 0000000..04e490d
--- /dev/null
+++ b/build/internal/release_impl.vsprops
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl"
+ InheritedPropertySheets=".\release_defaults.vsprops"
+ >
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl_checksenabled.vsprops b/build/internal/release_impl_checksenabled.vsprops
new file mode 100644
index 0000000..cd33e26
--- /dev/null
+++ b/build/internal/release_impl_checksenabled.vsprops
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl_checksenabled"
+ InheritedPropertySheets=".\essential.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="_DEBUG;_HAS_ITERATOR_DEBUGGING=0;_SECURE_SCL=0"
+ RuntimeLibrary="1"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ OptimizeReferences="2"
+ OptimizeForWindows98="1"
+ EnableCOMDATFolding="2"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG;_HAS_ITERATOR_DEBUGGING=0;_SECURE_SCL=0"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl_dom_stats.vsprops b/build/internal/release_impl_dom_stats.vsprops
new file mode 100644
index 0000000..cd41bff
--- /dev/null
+++ b/build/internal/release_impl_dom_stats.vsprops
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl_dom_stats"
+ InheritedPropertySheets=".\essential.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="NDEBUG;ENABLE_DOM_STATS_COUNTERS"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ OptimizeReferences="2"
+ OptimizeForWindows98="1"
+ EnableCOMDATFolding="2"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG;ENABLE_DOM_STATS_COUNTERS"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl_official.vsprops b/build/internal/release_impl_official.vsprops
new file mode 100644
index 0000000..c9a4401
--- /dev/null
+++ b/build/internal/release_impl_official.vsprops
@@ -0,0 +1,26 @@
+<?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"
+ 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>
diff --git a/build/internal/release_impl_pgo_instrument.vsprops b/build/internal/release_impl_pgo_instrument.vsprops
new file mode 100644
index 0000000..613ac2d
--- /dev/null
+++ b/build/internal/release_impl_pgo_instrument.vsprops
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl_pgo_instrument"
+ OutputDirectory="$(DefaultOutputDirectory)_pgo"
+ IntermediateDirectory="$(DefaultOutputDirectory)_pgo\obj\$(ProjectName)"
+ InheritedPropertySheets=".\release_defaults.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="3"
+ InlineFunctionExpansion="2"
+ EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="2"
+ OmitFramePointers="true"
+ EnableFiberSafeOptimizations="true"
+ WholeProgramOptimization="true"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ AdditionalOptions="/ltcg"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkTimeCodeGeneration="2"
+ />
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine="xcopy /D /Y &quot;$(DevEnvDir)..\..\VC\bin\pgort80.dll&quot; &quot;$(OutDir)&quot;"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl_pgo_optimize.vsprops b/build/internal/release_impl_pgo_optimize.vsprops
new file mode 100644
index 0000000..60233f4
--- /dev/null
+++ b/build/internal/release_impl_pgo_optimize.vsprops
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl_pgo_optimize"
+ OutputDirectory="$(DefaultOutputDirectory)_pgo"
+ IntermediateDirectory="$(DefaultOutputDirectory)_pgo\obj\$(ProjectName)"
+ InheritedPropertySheets=".\release_defaults.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="3"
+ InlineFunctionExpansion="2"
+ EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="2"
+ OmitFramePointers="true"
+ EnableFiberSafeOptimizations="true"
+ WholeProgramOptimization="true"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ AdditionalOptions="/ltcg"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkTimeCodeGeneration="3"
+ />
+</VisualStudioPropertySheet>
diff --git a/build/internal/release_impl_purify.vsprops b/build/internal/release_impl_purify.vsprops
new file mode 100644
index 0000000..497251c
--- /dev/null
+++ b/build/internal/release_impl_purify.vsprops
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="release_impl_purify"
+ InheritedPropertySheets=".\release_defaults.vsprops"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="PURIFY"
+ RuntimeLibrary="0"
+ BufferSecurityCheck="false"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ EnableCOMDATFolding="1"
+ />
+</VisualStudioPropertySheet>