aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2018-07-31 16:41:37 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-31 21:27:56 +0000
commitfd10d170eed8b35be84712021c493d90e8db258a (patch)
tree70d697d4e6a8e6b4ded507cd825f7c55fc3fa409
parent0ab5ce151c4507966c135ab3986cf2b28b36d6c6 (diff)
Set `-Wno-implicit-fallthrough` when building for iOSHEADmaster
Change-Id: I281336e4b0639c25ea98402b5dd194aa21bf560f Reviewed-on: https://skia-review.googlesource.com/144611 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
-rw-r--r--public.bzl4
1 files changed, 3 insertions, 1 deletions
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.
+ ],
],
)