diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 19:59:54 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-02 19:59:54 +0000 |
commit | 9c1949e18f28d32516364feb5c000ea83fe37805 (patch) | |
tree | f6233a4f94f7d7b4a75520e9644c743ec0695836 /build/common.gypi | |
parent | 18cd6f4ee7a73b4ce04353d3c7d965c1de37b2a6 (diff) | |
download | chromium_src-9c1949e18f28d32516364feb5c000ea83fe37805.zip chromium_src-9c1949e18f28d32516364feb5c000ea83fe37805.tar.gz chromium_src-9c1949e18f28d32516364feb5c000ea83fe37805.tar.bz2 |
Reenable fastbuild (for windows only).
This will be enabled on the windows try slaves.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/256042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index d1dfc65..fd29d5e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -57,6 +57,10 @@ # are built under a chromium full build (1) or a webkit.org chromium # build (0). 'inside_chromium_build%': 1, + + # Set to 1 to enable fast builds. It disables debug info for fastest + # compilation. + 'fastbuild%': 0, }, # Define branding and buildtype on the basis of their settings within the @@ -67,6 +71,7 @@ 'toolkit_views%': '<(toolkit_views)', 'chromeos%': '<(chromeos)', 'inside_chromium_build%': '<(inside_chromium_build)', + 'fastbuild%': '<(fastbuild)', # Override chromium_mac_pch and set it to 0 to suppress the use of # precompiled headers on the Mac. Prefix header injection may still be @@ -264,6 +269,21 @@ ['chromeos==1', { 'defines': ['OS_CHROMEOS=1'], }], + ['fastbuild!=0', { + 'conditions': [ + # Finally, for Windows, we simply turn on profiling. + ['OS=="win"', { + 'msvs_settings': { + 'VCLinkerTool': { + 'GenerateDebugInformation': 'false', + }, + 'VCCLCompilerTool': { + 'DebugInformationFormat': '0', + } + } + }], # OS==win + ], # conditions for fastbuild. + }], # fastbuild!=0 ['selinux==1', { 'defines': ['CHROMIUM_SELINUX=1'], }], |