summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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") {