diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-02 15:34:09 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-02 15:34:09 +0000 |
commit | 3aacaf955aa4a3c505ff45a4498fa2efcca9160c (patch) | |
tree | 0e7f75140eac1f304d197ca81a8f1c0b4346f529 /build | |
parent | bbb455eb793c9a3e76b2f6db4917afe04272583e (diff) | |
download | chromium_src-3aacaf955aa4a3c505ff45a4498fa2efcca9160c.zip chromium_src-3aacaf955aa4a3c505ff45a4498fa2efcca9160c.tar.gz chromium_src-3aacaf955aa4a3c505ff45a4498fa2efcca9160c.tar.bz2 |
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
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 5ff11c5..db85641 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"', { |