Adding target to build SwiftShader
Added the swiftshader target to BUILD.gn's deps in order to enable building SwiftShader using 'ninja -C out/Default swiftshader' or similar command. The 'swiftshader' target already existed in third_party/swiftshader/BUILD.gn, but was unaccessible due to not being referenced in any other BUILD.gn files. Note that SwiftShader does not automatically build with Chromium.
BUG=630728
Review-Url: https://codereview.chromium.org/2347823003
Cr-Commit-Position: refs/heads/master@{#419731}
diff --git a/BUILD.gn b/BUILD.gn
index c5fc659..bf9083b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -500,6 +500,10 @@
]
}
+ if (is_win) {
+ deps += [ "//third_party/swiftshader" ]
+ }
+
# TODO(GYP): Figure out which of these should (and can) build
# for chromeos/ios.
if (!is_chromeos && !is_ios) {