From 1cc2fa76b572c4f1545dae76a386a3bdcce4f102 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Sat, 3 Jul 2010 08:49:24 +0000 Subject: 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 --- build/common.gypi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build/common.gypi') 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 -- cgit v1.1