summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-06 11:32:24 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-06 11:32:24 -0700
commita5a2dc0f6a321af198bf65a15e97026e5099286a (patch)
treed2bf0105a58e8c5df8dc42b8f89d7380b7bc2b6d
parentd435f96682d1318e84da597bd12a8fc1ef1891c9 (diff)
downloadlibchrome-a5a2dc0f6a321af198bf65a15e97026e5099286a.tar.gz
Suppress more -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I445f9cd14a0b13ab603f269cf734e306b26c3dfb
-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.
],
}