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

Unified Diff: third_party/gtest/gtest.gyp

Issue 984393002: gtest, gmock: disable incompatible warnings (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Compatibility with pre-3.6 clang Created 5 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 | « third_party/gmock/gmock.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gtest/gtest.gyp
diff --git a/third_party/gtest/gtest.gyp b/third_party/gtest/gtest.gyp
index baab5e1fba76928d496be5fe3112a05d0b8a3e91..022010dd2d53b1e81191ed0057ffd47081d3061a 100644
--- a/third_party/gtest/gtest.gyp
+++ b/third_party/gtest/gtest.gyp
@@ -53,6 +53,17 @@
'sources!': [
'gtest/src/gtest-all.cc',
],
+
+ # gtest relies heavily on objects with static storage duration.
+ 'xcode_settings': {
+ 'WARNING_CFLAGS!': [
+ '-Wexit-time-destructors',
+ ],
+ },
+ 'cflags!': [
+ '-Wexit-time-destructors',
+ ],
+
'direct_dependent_settings': {
'include_dirs': [
'gtest/include',
« no previous file with comments | « third_party/gmock/gmock.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698