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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2092133002: [Mac/GN] Add missing -Wobjc-missing-property-synthesis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to chromium_code. Created 4 years, 6 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 | « no previous file | build/config/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index afedebc8591906544b5cabfea6bcdab0ed15925c..2554042ef4156170fea2480ecf60922a12b7742e 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1061,6 +1061,13 @@ config("chromium_code") {
# disabled, so only do that for Release build.
defines += [ "_FORTIFY_SOURCE=2" ]
}
+
+ if (is_mac) {
+ # Warn if automatic synthesis is triggered. This triggers numerous
+ # warnings for internal iOS directories.
+ cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
+ cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
+ }
}
configs = [ ":default_warnings" ]
« no previous file with comments | « no previous file | build/config/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698