summaryrefslogtreecommitdiff
path: root/tools/incident_section_gen
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-22 09:56:12 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-22 09:56:12 -0700
commite8abd0677674aab095aa192f2a85b1632a962791 (patch)
treea1561a64a462aa2764852ee75be1a06bb45bf754 /tools/incident_section_gen
parentfccdf46adf096e9ba200ce79e00f6df379b5c649 (diff)
Allow implicit-fallthrough warnings locally.
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: I26616fd50ccf3639fa7c01d850a14d079273ede7 Exempt-From-Owner-Approval: do not block on new warnings
Diffstat (limited to 'tools/incident_section_gen')
-rw-r--r--tools/incident_section_gen/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/incident_section_gen/Android.bp b/tools/incident_section_gen/Android.bp
index f07445a17781..0c7797eacf09 100644
--- a/tools/incident_section_gen/Android.bp
+++ b/tools/incident_section_gen/Android.bp
@@ -24,6 +24,8 @@ cc_binary_host {
"-O0",
"-Wall",
"-Werror",
+ // Allow implicit fallthroughs in main.cpp until they are fixed.
+ "-Wno-error=implicit-fallthrough",
],
srcs: ["main.cpp"],
shared_libs: [