aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 14:33:39 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 14:33:39 -0700
commitf6dd7be1f9434d0fc86553524f67207d317a2871 (patch)
tree41495f71184dd73917a663712346ff1d643b5d36 /Android.bp
parentdd7a9809cfc623287da2d21d766203972b953649 (diff)
downloadtinyxml2-f6dd7be1f9434d0fc86553524f67207d317a2871.tar.gz
Suppress -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I02e0bda3386cd2e48e4178083f2194a662b66d0f
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index cbd41e6..8c2f9c7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,8 @@ cc_library {
cflags: [
"-Wall",
"-Werror",
+ "-Wno-implicit-fallthrough",
+ // tinyxml2.cpp line 436, 441, 446 have -Wimplicit-fallthrough.
],
shared_libs: ["liblog"],