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

Unified Diff: third_party/ocmock/BUILD.gn

Issue 2595213003: Enable -Wundeclared-selector on ios. (Closed)
Patch Set: Fix more warnings. Created 4 years 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
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") {
« build/config/compiler/BUILD.gn ('K') | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698