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

Unified Diff: content/browser/BUILD.gn

Issue 2777193002: Enable SwiftShader fallback on desktop Linux. (Closed)
Patch Set: Info collected successfully. Created 3 years, 8 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
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 4f01a125b4729010f0ad94f5f5e0baf83e2880bb..cca8909793b9d3dd38837aa92e861049b492f907 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -1763,6 +1763,11 @@ source_set("browser") {
deps += [ "//ui/gfx/x" ]
}
+ if (is_linux && !is_chromeos && use_x11 &&
+ (target_cpu == "x86" || target_cpu == "x64")) {
+ deps += [ "//third_party/swiftshader" ]
+ }
+
if (use_pango) {
configs += [ "//build/config/linux/pangocairo" ]
}

Powered by Google App Engine
This is Rietveld 408576698