aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 14:35:22 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 14:35:22 -0700
commite36fd549c69aff46f9eb8c90fbd85d35114d4b79 (patch)
treeb08b5d43821500b102c35bb8ee671ac6001e2f5c
parent68e2ff2e007046ca141a52797bbc7600f2733f92 (diff)
downloadpdfium-master-cuttlefish-testing-release.tar.gz
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: Ie77da5d795217624b7b174985409a6e8c8b72e53
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d11b36ecb..ab7a5981b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,9 @@ cc_defaults {
"-Wno-unused-parameter",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",
+ "-Wno-implicit-fallthrough",
+ // cpdf_renderstatus.cpp:1768, cpdf_variabletext.cpp:320,
+ // and cpwl_edit_impl.cpp:1825 have -Wimplicit-fallthrough.
"-Werror",
"-DOPJ_STATIC",