aboutsummaryrefslogtreecommitdiff
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorMike Klein <mtklein@google.com>2018-09-04 10:15:58 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-09-04 15:46:42 +0000
commitd84c1e65a67530bd595f7c4f4d6f1b7016b2fca2 (patch)
treee4c1f1ff47bb97c22ee347b01d0a483977362b7a /gn/BUILD.gn
parent434b80f82fee3c21ae330363354ae2669ed137f5 (diff)
downloadskqp-d84c1e65a67530bd595f7c4f4d6f1b7016b2fca2.tar.gz
drop warnings and -Werror from is_official_builds
People using is_official_build don't really want to see warnings. They're for devs, not users. The somewhat odd update to gn/BUILDCONFIG.gn keeps command line flag precedence (later == more important) unchanged. Change-Id: I1a04a35f066b7408021d474535f0dbf4928e21d3 Reviewed-on: https://skia-review.googlesource.com/151380 Commit-Queue: Brian Salomon <bsalomon@google.com> Auto-Submit: Mike Klein <mtklein@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index d6fd5c2964..3dcdbed0b7 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -94,7 +94,6 @@ config("default") {
cflags += [
"-fstrict-aliasing",
"-fPIC",
- "-Werror",
]
cflags_cc += [ "-std=c++14" ]
@@ -308,6 +307,7 @@ config("warnings") {
]
} else {
cflags += [
+ "-Werror",
"-Wall",
"-Wextra",
"-Winit-self",