summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-06 14:21:33 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-06 14:21:33 -0700
commit3427787b742c5a752be992ceefcd14759d02b9fa (patch)
treed2bf0105a58e8c5df8dc42b8f89d7380b7bc2b6d
parent05f166415c6b13500e9ea249cc89f2cd511e468a (diff)
parenta5a2dc0f6a321af198bf65a15e97026e5099286a (diff)
downloadlibchrome-3427787b742c5a752be992ceefcd14759d02b9fa.tar.gz
Suppress more -Wimplicit-fallthrough.
am: a5a2dc0f6a Change-Id: Ie30d86265d884dab62946582247737fae8f84f87
-rw-r--r--Android.bp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index bfa63b0750..051e18eca7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -54,6 +54,10 @@ cc_defaults {
"-Wall",
"-Werror",
"-Wno-deprecated-declarations",
+ "-Wno-implicit-fallthrough",
+ // memory_mapped_file.cc:80, json_parser.cc:264,
+ // sys_string_conversions_posix.cc:122, and
+ // icu_utf.cc:161,165 have -Wno-implicit-fallthrough.
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",
],
@@ -87,10 +91,6 @@ cc_defaults {
clang_cflags: [
// Temporarily suppress the warnings http://b/38232827
"-Wno-error=unused-lambda-capture",
- "-Wno-implicit-fallthrough",
- // memory_mapped_file.cc:80, json_parser.cc:264,
- // sys_string_conversions_posix.cc:122, and
- // icu_utf.cc:161,165 have -Wno-implicit-fallthrough.
],
}