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

Unified Diff: ui/gl/BUILD.gn

Issue 2221063003: 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: Make swiftshader build on official builds only 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 | ui/gl/init/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index d2a6c3c3c37ec4bf38198dba62cddeed2647727d..609ad3ba26097bcce30b1b8e6f55d80264e81529 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -231,6 +231,10 @@ component("gl") {
"//third_party/angle:libGLESv2",
"//third_party/mesa:osmesa",
]
+
+ if (is_official_build) {
+ include_dirs = [ "//third_party/swiftshader/include" ]
+ }
}
if (is_mac) {
sources += [
« no previous file with comments | « no previous file | ui/gl/init/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698