OSDN Git Service

Enable Subzero on ChromeOS
authorAlexis Hetu <sugoi@google.com>
Fri, 4 Aug 2017 17:29:28 +0000 (13:29 -0400)
committerAlexis Hétu <sugoi@google.com>
Fri, 4 Aug 2017 17:37:14 +0000 (17:37 +0000)
Switching SwiftShader on ChromeOS from LLVM to Subzero.

Change-Id: Ica9ac278272f99b94d365f03fbd7a4860ad3503d
Reviewed-on: https://swiftshader-review.googlesource.com/11309
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/Reactor/BUILD.gn

index 4bc15c5..aac9de5 100644 (file)
@@ -17,7 +17,7 @@ import("../swiftshader.gni")
 declare_args() {
   # Currently, Subzero is not used by default
   # LLVM is still the default backend
-  use_swiftshader_with_subzero = is_win || is_linux
+  use_swiftshader_with_subzero = is_win || is_linux || is_chromeos
 }
 
 # Need a separate config to ensure the warnings are added to the end.