diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-03 08:49:24 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-03 08:49:24 +0000 |
commit | 1cc2fa76b572c4f1545dae76a386a3bdcce4f102 (patch) | |
tree | 9f4acab3a9fd68521002551fc67ca33a170b49ef /build/common.gypi | |
parent | 4f7932d12b718e60ca791fed84b0bd4639b2f69b (diff) | |
download | chromium_src-1cc2fa76b572c4f1545dae76a386a3bdcce4f102.zip chromium_src-1cc2fa76b572c4f1545dae76a386a3bdcce4f102.tar.gz chromium_src-1cc2fa76b572c4f1545dae76a386a3bdcce4f102.tar.bz2 |
Mac: Enable fastbuild.
BUG=none
TEST=xcode passes -g1 to g++.
TBR=mark
Review URL: http://codereview.chromium.org/2853028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi index fcb61db..6a95c4f 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -437,7 +437,7 @@ }], ['fastbuild!=0', { 'conditions': [ - # Finally, for Windows, we simply turn on profiling. + # For Windows, we don't genererate debug information. ['OS=="win"', { 'msvs_settings': { 'VCLinkerTool': { @@ -447,8 +447,10 @@ 'DebugInformationFormat': '0', } } - }, { # else: OS != "win" - 'cflags': [ '-g1' ], + }, { # else: OS != "win", generate less debug information. + 'variables': { + 'debug_extra_cflags': '-g1', + }, }], ], # conditions for fastbuild. }], # fastbuild!=0 |