Add per-configuration flags that were previously being set by the
Hammer infrastructure.
Review URL: http://codereview.chromium.org/56179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13012 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 5ff11c5..db85641c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -169,6 +169,22 @@
'HOME',
'LINK',
],
+ 'configurations': {
+ 'Debug': {
+ 'defines': [
+ '_DEBUG',
+ ],
+ 'cflags': [
+ '-O0',
+ '-g',
+ ],
+ },
+ 'Release': {
+ 'cflags': [
+ '-O2',
+ ],
+ },
+ },
},
}],
['OS=="mac"', {