From d435f96682d1318e84da597bd12a8fc1ef1891c9 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 4 Sep 2018 15:16:02 -0700 Subject: Suppress -Wimplicit-fallthrough. -Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I5ab8b090f1bfca4cd952501e3b5b2eb5c708e4eb --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) 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. ], } -- cgit v1.2.3