| 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") {
|
|
|