Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: gpu/command_buffer/service/BUILD.gn

Issue 603143002: gn: Fix more build issues on Win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: += instead of = Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/vs_toolchain.py ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/BUILD.gn
diff --git a/gpu/command_buffer/service/BUILD.gn b/gpu/command_buffer/service/BUILD.gn
index 780431d388ee2732c7b981f8c5cd2e2df0af6d86..e6c58b66b3d688b00b9cc013d9fbf9a4d7b31b60 100644
--- a/gpu/command_buffer/service/BUILD.gn
+++ b/gpu/command_buffer/service/BUILD.gn
@@ -116,6 +116,9 @@ source_set("service") {
"//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 @@ source_set("service") {
]
if (ui_compositor_image_transport) {
- include_dirs = [ "//third_party/khronos" ]
+ include_dirs += [ "//third_party/khronos" ]
}
if (is_win || is_android || (is_linux && use_x11)) {
« no previous file with comments | « build/vs_toolchain.py ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698