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

Unified Diff: test/base-unittests/base-unittests.gyp

Issue 457553002: Skip -pedantic for GTest as long as we -std=gnu++0x. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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: test/base-unittests/base-unittests.gyp
diff --git a/test/base-unittests/base-unittests.gyp b/test/base-unittests/base-unittests.gyp
index e88f606c7408555830fc3a4ea4b98689a6fd687d..339269db1bc798f96eddd5f29d0ef7ebd5a6b253 100644
--- a/test/base-unittests/base-unittests.gyp
+++ b/test/base-unittests/base-unittests.gyp
@@ -27,6 +27,15 @@
'platform/time-unittest.cc',
'utils/random-number-generator-unittest.cc',
],
+ 'conditions': [
+ ['os_posix == 1', {
+ # TODO(svenpanne): This is a temporary work-around to fix the warnings
+ # that show up because we use -std=gnu++0x instead of -std=c++11.
+ 'cflags!': [
+ '-pedantic',
+ ],
+ }],
+ ],
},
],
}
« 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