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

Unified Diff: ui/gl/init/BUILD.gn

Issue 2225273002: Only add swiftshader/include to include_dirs on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failure on win_* bots. Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/BUILD.gn
diff --git a/ui/gl/init/BUILD.gn b/ui/gl/init/BUILD.gn
index baec674031088729bae8e37946b7023683546664..f010ed0d4830431f4662437d073055f9383b6c31 100644
--- a/ui/gl/init/BUILD.gn
+++ b/ui/gl/init/BUILD.gn
@@ -18,8 +18,6 @@ component("init") {
]
defines = [ "GL_INIT_IMPLEMENTATION" ]
- include_dirs = [ "//third_party/swiftshader/include" ]
-
deps = [
"//base",
"//ui/gfx",
@@ -35,6 +33,8 @@ component("init") {
"gl_initializer_android.cc",
]
} else if (is_win) {
+ include_dirs = [ "//third_party/swiftshader/include" ]
+
sources += [
"gl_factory_win.cc",
"gl_initializer_win.cc",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698