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

Unified Diff: third_party/ocmock/BUILD.gn

Issue 1551753002: Build third-party code with -Wall, build chromium_code with -Wextra on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig Created 5 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
« no previous file with comments | « third_party/mach_override/mach_override.gyp ('k') | third_party/ocmock/ocmock.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ocmock/BUILD.gn
diff --git a/third_party/ocmock/BUILD.gn b/third_party/ocmock/BUILD.gn
index de51636c9ef9615eacf849343d13a5b7941a928f..7d9f70247de63386a17a1ce0d570ea0bccab32ed 100644
--- a/third_party/ocmock/BUILD.gn
+++ b/third_party/ocmock/BUILD.gn
@@ -8,6 +8,11 @@ config("ocmock_config") {
include_dirs = [ "//third_party/ocmock" ]
}
+config("ocmock_warnings") {
+ # NSInvocation+OCMAdditions.m has some `- (void) foo; {...`
+ cflags = [ "-Wno-semicolon-before-method-body" ]
+}
+
source_set("ocmock") {
testonly = true
@@ -70,4 +75,5 @@ source_set("ocmock") {
"//testing/gtest",
]
public_configs = [ ":ocmock_config" ]
+ configs += [ ":ocmock_warnings" ]
}
« no previous file with comments | « third_party/mach_override/mach_override.gyp ('k') | third_party/ocmock/ocmock.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698