Supress warnings about implicit fallthrough in Android.
Change-Id: I3e55c2641b53f284f16658370a18d165b678cc36
Reviewed-on: https://skia-review.googlesource.com/153667
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Chih-hung Hsieh <chh@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Auto-Submit: Derek Sollenberger <djsollen@google.com>
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index b81a17d..027cf9e 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -164,6 +164,7 @@
"libskia",
],
cflags: [
+ "-Wno-implicit-fallthrough",
"-Wno-unused-parameter",
"-Wno-unused-variable",
],
diff --git a/gn/gn_to_bp_utils.py b/gn/gn_to_bp_utils.py
index 91fec4c..f2ce648 100644
--- a/gn/gn_to_bp_utils.py
+++ b/gn/gn_to_bp_utils.py
@@ -50,8 +50,9 @@
# Add additional warning suppressions so we can build
# third_party/vulkanmemoryallocator
cflags = cflags.union([
- "-Wno-thread-safety-analysis",
+ "-Wno-implicit-fallthrough",
"-Wno-missing-field-initializers",
+ "-Wno-thread-safety-analysis",
"-Wno-unused-variable",
])
# Add the rest of the flags we want.