diff options
author | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:11:48 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:11:48 -0800 |
commit | 2f4232d5b7e0c99b809b67d9ee30aaff3a7d84a5 (patch) | |
tree | 95ec8b1a0f113ce4acd90672093de61748c98a09 /testing | |
parent | f089d470558fe70075478d497799aa8a617b9479 (diff) | |
download | pdfium-2f4232d5b7e0c99b809b67d9ee30aaff3a7d84a5.tar.xz |
Support clang-cl build on Windows.
R=thakis@chromium.org, tsepez@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1774123005 .
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gtest.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp index 3c01552c4c..563f340e99 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', |