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

Unified Diff: BUILD.gn

Issue 2568283002: Limiting SwiftShader compilation to x64 and x86 architectures (Closed)
Patch Set: Created 4 years 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: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 53e23724942529b479b33fd50ed97b35cc833dca..39441d4bb63f6363ed5e8ee78a1a5434fabb800b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -527,7 +527,8 @@ group("both_gn_and_gyp") {
]
}
- if (is_win || is_mac || is_linux) {
+ if ((is_win || is_mac || is_linux) &&
+ (target_cpu == "x86" || target_cpu == "x64")) {
deps += [ "//third_party/swiftshader" ]
}
« 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