diff --git a/src/common/BUILD.gn b/src/common/BUILD.gn index afaa18f2d5..b4ae07731d 100644 --- a/src/common/BUILD.gn +++ b/src/common/BUILD.gn @@ -94,6 +94,9 @@ config("dawn_internal") { visibility = [ "../*" ] cflags = [] + if (is_clang) { + cflags += [ "-Wno-shadow" ] + } # Enable more warnings that were found when using Dawn in other projects. # Add them only when building in standalone because we control which clang