gn: Fix more build issues on Win
BUG=354261
R=brettw
TBR=piman,wtc
NOTRY=true
Review URL: https://codereview.chromium.org/603143002
Cr-Commit-Position: refs/heads/master@{#297481}
diff --git a/gpu/command_buffer/service/BUILD.gn b/gpu/command_buffer/service/BUILD.gn
index 780431d..e6c58b6 100644
--- a/gpu/command_buffer/service/BUILD.gn
+++ b/gpu/command_buffer/service/BUILD.gn
@@ -116,6 +116,9 @@
"//third_party/khronos:khronos_headers",
]
+ # Prefer mesa GL headers to system headers, which cause problems on Win.
+ include_dirs = [ "//third_party/mesa/src/include" ]
+
public_deps = [
"//gpu/command_buffer/common",
]
@@ -134,7 +137,7 @@
]
if (ui_compositor_image_transport) {
- include_dirs = [ "//third_party/khronos" ]
+ include_dirs += [ "//third_party/khronos" ]
}
if (is_win || is_android || (is_linux && use_x11)) {