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

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

Issue 2224263002: Reland of Make ui/gl/... consistently use on Swiftshader includes on Windows official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gl/BUILD.gn ('k') | 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..55bb9c7782592bf22b267d54c65c67d82b42251b 100644
--- a/ui/gl/init/BUILD.gn
+++ b/ui/gl/init/BUILD.gn
@@ -17,8 +17,6 @@
"gl_initializer.h",
]
defines = [ "GL_INIT_IMPLEMENTATION" ]
-
- include_dirs = [ "//third_party/swiftshader/include" ]
deps = [
"//base",
@@ -42,6 +40,10 @@
libs = [ "dwmapi.lib" ]
ldflags = [ "/DELAYLOAD:dwmapi.dll" ]
+
+ if (is_official_build) {
+ include_dirs = [ "//third_party/swiftshader/include" ]
+ }
} else if (is_mac) {
sources += [
"gl_factory_mac.cc",
« no previous file with comments | « ui/gl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698