Index: third_party/ocmock/BUILD.gn |
diff --git a/third_party/ocmock/BUILD.gn b/third_party/ocmock/BUILD.gn |
index 7d9f70247de63386a17a1ce0d570ea0bccab32ed..22c1a5450bb1b28592ecba842d2cf817c0a0e27b 100644 |
--- a/third_party/ocmock/BUILD.gn |
+++ b/third_party/ocmock/BUILD.gn |
@@ -10,7 +10,10 @@ config("ocmock_config") { |
config("ocmock_warnings") { |
# NSInvocation+OCMAdditions.m has some `- (void) foo; {...` |
- cflags = [ "-Wno-semicolon-before-method-body" ] |
+ cflags = [ |
+ "-Wno-semicolon-before-method-body", |
+ "-Wno-undeclared-selector", |
+ ] |
} |
source_set("ocmock") { |