Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3269)

Unified Diff: build/common.gypi

Issue 56179: Add per-configuration flags that were previously being set by the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 13003)
+++ build/common.gypi (working copy)
@@ -169,6 +169,22 @@
'HOME',
'LINK',
],
+ 'configurations': {
+ 'Debug': {
+ 'defines': [
+ '_DEBUG',
+ ],
+ 'cflags': [
+ '-O0',
+ '-g',
+ ],
+ },
+ 'Release': {
+ 'cflags': [
TVL 2009/04/02 15:44:30 drive by: do you need NDEBUG to be defined?
+ '-O2',
+ ],
+ },
+ },
},
}],
['OS=="mac"', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698