Index: third_party/mesa/BUILD.gn |
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn |
index ab2dc10e6d30e3cd9839b905680a3b07d4e1cacf..0c4f61d5fcace67c2bf13bc4eb5b7ab3d83a0a23 100644 |
--- a/third_party/mesa/BUILD.gn |
+++ b/third_party/mesa/BUILD.gn |
@@ -234,6 +234,11 @@ static_library("mesa_libglslcommon") { |
"//build/config/compiler:no_chromium_code", |
] |
+ if (is_clang) { |
+ # Mesa triggers some of these Clang warnings. |
+ configs -= [ "//build/config/clang:extra_warnings" ] |
+ } |
+ |
deps = [ |
":mesa_headers", |
] |