Commit e2c87b4f by Shahbaz Youssefi Committed by Commit Bot

Fix Vulkan-only build

The translator_gl_d3d_only target cannot build if neither of the gl or d3d backends are built. This target is used by Chrome's validating command decoder only. Bug: angleproject:5922 Change-Id: Ibebae6d6aa78ad88498a727d3b0e1695bb110535 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2871969Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent adc9033b
...@@ -595,8 +595,10 @@ translator_lib("translator") { ...@@ -595,8 +595,10 @@ translator_lib("translator") {
gl_d3d_only = false gl_d3d_only = false
} }
translator_lib("translator_gl_d3d_only") { if (angle_enable_essl || angle_enable_glsl || angle_enable_hlsl) {
gl_d3d_only = true translator_lib("translator_gl_d3d_only") {
gl_d3d_only = true
}
} }
angle_source_set("translator_fuzzer") { angle_source_set("translator_fuzzer") {
......
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