From: Matthew Leibowitz Date: Sat, 8 Sep 2018 20:55:09 +0000 (+0200) Subject: Only show warnings as errors in debug builds X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=821ee3f4c91bda9c3cdc8f2ff02f80c8c8b78a69;p=platform%2Fupstream%2FlibSkiaSharp.git Only show warnings as errors in debug builds --- diff --git a/gn/BUILD.gn b/gn/BUILD.gn index d7eaf23846..c206c5529e 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -48,7 +48,6 @@ config("default") { if (is_win) { cflags += [ "/bigobj", # Some of our files are bigger than the regular limits. - "/WX", # Treat warnings as errors. "/utf-8", # Set Source and Executable character sets to UTF-8. ] if (is_clang) { @@ -337,6 +336,7 @@ config("warnings") { cflags_objcc = [] if (is_win) { cflags += [ + "/WX", # Treat warnings as errors. "/W3", # Turn on lots of warnings. # Disable a bunch of warnings: