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

Unified Diff: BUILD.gn

Issue 2296433003: Adding target to build SwiftShader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed FIXME to TODO and added bug ID Created 4 years, 3 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: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index acc203c143b692ca031da0b66153847e653a366a..ef03db228830918393a0821ee15b9fd9daf938f3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -494,6 +494,11 @@ group("both_gn_and_gyp") {
]
}
+ # TODO(sugoi) bug 644737: Remove the '!is_clang' condition once __nop is supported by clang-cl
+ if (is_linux || (is_win && !is_clang)) {
+ deps += [ "//third_party/swiftshader" ]
+ }
+
# TODO(GYP): Figure out which of these should (and can) build
# for chromeos/ios.
if (!is_chromeos && !is_ios) {
« 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