Index: gpu/config/BUILD.gn |
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn |
index ef64887cc26966c1c937283cf9b1d5a042107fdc..4dab028213cc494d3f17b87774241356e7951aa8 100644 |
--- a/gpu/config/BUILD.gn |
+++ b/gpu/config/BUILD.gn |
@@ -48,6 +48,9 @@ source_set("config") { |
"//ui/gl", |
] |
+ # Prefer mesa GL headers to system headers, which cause problems on Win. |
+ include_dirs = [ "//third_party/mesa/src/include" ] |
+ |
if (is_win) { |
deps += [ "//third_party/libxml" ] |
libs = [ "dxguid.lib", "setupapi.lib" ] |