summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 15:16:02 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 15:24:09 -0700
commitd435f96682d1318e84da597bd12a8fc1ef1891c9 (patch)
treef38e7cd6bc18328b138018298f820f27cee5c1f3
parent1c89c68e61486efbf0007ad2f83861a112e12538 (diff)
downloadlibchrome-d435f96682d1318e84da597bd12a8fc1ef1891c9.tar.gz
Suppress -Wimplicit-fallthrough.android-o-mr1-iot-release-1.0.4
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I5ab8b090f1bfca4cd952501e3b5b2eb5c708e4eb
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d5059fb901..bfa63b0750 100644
--- a/Android.bp
+++ b/Android.bp
@@ -87,6 +87,10 @@ 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.
],
}