Commit 3e887665 by Shahbaz Youssefi Committed by Commit Bot

Don't link with SPIR-V repos if !vulkan && !metal

Bug: angleproject:5803 Change-Id: Ic2c940a725886dcd7ca46f99975251f7fef38757 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2791922Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent cee0bfd6
......@@ -526,6 +526,7 @@ angle_static_library("translator") {
if (angle_enable_vulkan || use_fuzzing_engine || angle_enable_metal) {
_needs_glsl_base = true
_needs_glsl_and_vulkan_base = true
_uses_spirv = true
# This translator is needed by metal backend also.
sources += angle_translator_lib_vulkan_sources
......@@ -536,7 +537,6 @@ angle_static_library("translator") {
}
if (_needs_glsl_and_vulkan_base) {
sources += angle_translator_glsl_and_vulkan_base_sources
_uses_spirv = true
}
if (angle_enable_vulkan || use_fuzzing_engine) {
......
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