Index: testing/gtest.gyp |
diff --git a/testing/gtest.gyp b/testing/gtest.gyp |
index 3c01552c4c49a5478596bbb2266e45f1ce28f733..563f340e996cbf686d21425581af4e255e29ec6f 100644 |
--- a/testing/gtest.gyp |
+++ b/testing/gtest.gyp |
@@ -142,6 +142,16 @@ |
], |
'msvs_disabled_warnings': [4800], |
}, |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # The Mutex constructor initializer list in gtest-port.cc is |
+ # incorrectly ordered. See |
+ # https://groups.google.com/d/msg/googletestframework/S5uSV8L2TX8/U1FaTDa6J6sJ. |
+ '-Wno-reorder', |
+ # Suppress warnings for unused constants. |
+ '-Wno-unused' |
+ ], |
+ }, |
}, |
{ |
'target_name': 'gtest_main', |