summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index fd18f13953..bdadebd400 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -71,6 +71,10 @@ config("pdfium_common_config") {
# Assume UTF-8 by default to avoid code page dependencies.
cflags += [ "/utf-8" ]
}
+ if (is_clang) {
+ # TODO(thakis): Consider enabling this, https://crbug.com/807632
+ cflags += [ "-Wno-implicit-fallthrough" ]
+ }
}
config("pdfium_core_config") {