diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-09-04 14:35:22 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-09-04 14:35:22 -0700 |
commit | e36fd549c69aff46f9eb8c90fbd85d35114d4b79 (patch) | |
tree | b08b5d43821500b102c35bb8ee671ac6001e2f5c | |
parent | 68e2ff2e007046ca141a52797bbc7600f2733f92 (diff) | |
download | pdfium-android-o-mr1-iot-release-1.0.5.tar.gz |
Suppress -Wimplicit-fallthrough.android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-release
-Wimplicit-fallthrough will be enabled globally.
Test: build with global -Wimplicit-fallthrough.
Change-Id: Ie77da5d795217624b7b174985409a6e8c8b72e53
-rw-r--r-- | Android.bp | 3 |
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", |