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

Unified Diff: build/secondary/testing/gmock/BUILD.gn

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 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 | « build/sanitizers/tsan_suppressions.cc ('k') | build/secondary/testing/gtest/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/testing/gmock/BUILD.gn
diff --git a/build/secondary/testing/gmock/BUILD.gn b/build/secondary/testing/gmock/BUILD.gn
index 4ec62245e6b2ddaa11a0ac41de839f109d410021..a243b338bd130d9281e1a82df92bd9a6bb4bbf0a 100644
--- a/build/secondary/testing/gmock/BUILD.gn
+++ b/build/secondary/testing/gmock/BUILD.gn
@@ -5,6 +5,13 @@
config("gmock_config") {
# Gmock headers need to be able to find themselves.
include_dirs = [ "include" ]
+
+ if (is_clang) {
+ # The |MOCK_METHODn()| macros do not specify "override", which triggers this
+ # warning: "error: 'Method' overrides a member function but is not marked
+ # 'override'".
+ cflags = [ "-Wno-inconsistent-missing-override" ]
+ }
}
static_library("gmock") {
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | build/secondary/testing/gtest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698