diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 22:10:17 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 22:10:17 +0000 |
commit | 94558e636ae78dfaaa996fe5b02416aad67992ca (patch) | |
tree | 26d7d1bbda6f197581e664c89b3a45939bf05bd1 /build/internal | |
parent | e9673155ebe385215c1479125eadba5d7ab111ad (diff) | |
download | chromium_src-94558e636ae78dfaaa996fe5b02416aad67992ca.zip chromium_src-94558e636ae78dfaaa996fe5b02416aad67992ca.tar.gz chromium_src-94558e636ae78dfaaa996fe5b02416aad67992ca.tar.bz2 |
Remove DCHECKS from official builds.
We keep the current behavior for regular builds:
- debug: DCHECKS enabled.
- release: DCHECKS present but inactive; can be activated through the command line.
Now we add a new behavior for official builds:
- dchecks optimized away.
B=4555
Review URL: http://codereview.chromium.org/13231
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/internal')
-rw-r--r-- | build/internal/release_impl_official.scons | 3 | ||||
-rw-r--r-- | build/internal/release_impl_official.vsprops | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/build/internal/release_impl_official.scons b/build/internal/release_impl_official.scons index b64ab91..94e9670 100644 --- a/build/internal/release_impl_official.scons +++ b/build/internal/release_impl_official.scons @@ -28,6 +28,9 @@ if env.Bit('windows'): '/GT', # VCCLCompilerTool.EnableFiberSafeOptimizations="true" '/GL', # VCCLCompilerTool.WholeProgramOptimization="true" ], + CPPDEFINES = [ + 'OFFICIAL_BUILD', + ], LINKFLAGS = [ '/LTCG', # VCLinkerTool.LinkTimeCodeGeneration="1" ], diff --git a/build/internal/release_impl_official.vsprops b/build/internal/release_impl_official.vsprops index c9a4401..12899c7 100644 --- a/build/internal/release_impl_official.vsprops +++ b/build/internal/release_impl_official.vsprops @@ -7,6 +7,7 @@ > <Tool Name="VCCLCompilerTool" + PreprocessorDefinitions="OFFICIAL_BUILD" Optimization="3" InlineFunctionExpansion="2" EnableIntrinsicFunctions="true" |