Commit cf6037f4 by Sean Risser

Fix Mac builds when using llvm.

supports_llvm needs to include is_mac. Bug chromium:966543 Change-Id: Ieedf1bba3948de8c75d8bd07473fa2cb0a1e4299 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32032Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Presubmit-Ready: Sean Risser <srisser@google.com> Tested-by: 's avatarSean Risser <srisser@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 4e61a3c6
......@@ -18,7 +18,7 @@ declare_args() {
# Subzero produces smaller binaries, but doesn't support ARM64 and MIPS64.
use_swiftshader_with_subzero =
target_cpu != "arm64" && target_cpu != "mips64el"
supports_llvm = is_linux || is_fuchsia || is_win || is_android
supports_llvm = is_linux || is_fuchsia || is_win || is_android || is_mac
}
config("swiftshader_reactor_private_config") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment