From fd10d170eed8b35be84712021c493d90e8db258a Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Tue, 31 Jul 2018 16:41:37 -0400 Subject: Set `-Wno-implicit-fallthrough` when building for iOS Change-Id: I281336e4b0639c25ea98402b5dd194aa21bf560f Reviewed-on: https://skia-review.googlesource.com/144611 Reviewed-by: Mike Klein Commit-Queue: Mike Klein --- public.bzl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public.bzl b/public.bzl index 64a1d2f386..d0b1c102fe 100644 --- a/public.bzl +++ b/public.bzl @@ -592,7 +592,9 @@ def base_copts(os_conditions): "-Wno-error=attributes", ], # IOS - [], + [ + "-Wno-implicit-fallthrough", # Some intentional fallthrough. + ], ], ) -- cgit v1.2.3