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

Unified Diff: build/common.gypi

Issue 10456020: Added release_extra_cflags only to the target compiles. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed paste error Created 8 years, 7 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
diff --git a/build/common.gypi b/build/common.gypi
index 62dad1474f80678c40b4d948b3e9da0ca15c164b..62329b3458a8f1fad4853164aaee9de706985917 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1757,8 +1757,12 @@
},
'conditions': [
['OS=="linux"', {
- 'cflags': [
- '<@(debug_extra_cflags)',
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags': [
+ '<@(debug_extra_cflags)',
+ ],
+ }],
],
}],
['release_valgrind_build==0', {
@@ -1849,8 +1853,12 @@
'defines': ['NO_TCMALLOC'],
}],
['OS=="linux"', {
- 'cflags': [
- '<@(release_extra_cflags)',
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags': [
+ '<@(release_extra_cflags)',
+ ],
+ }],
],
}],
],
« 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