Commit c6a61c27 by Corentin Wallez

Fix standalone compilation on Linux

BUG=angleproject:892 Change-Id: Iceae30f5bc12546b2486e8aac0346eab1f09ded3 Reviewed-on: https://chromium-review.googlesource.com/276200Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 08332634
...@@ -26,7 +26,10 @@ ...@@ -26,7 +26,10 @@
'angle_enable_d3d11%': 1, 'angle_enable_d3d11%': 1,
'angle_enable_hlsl%': 1, 'angle_enable_hlsl%': 1,
}], }],
['OS=="linux" and use_x11==1', # Gyp provides no way to make conditions depend on variables defined in the same
# variable block. In a standalone build, use_x11 is defined in this variable block
# (merged from an include) so we cannot test it, instead we enable GL unconditionnally.
['OS=="linux" and (angle_standalone==1 or use_x11==1)',
{ {
'angle_enable_gl%': 1, 'angle_enable_gl%': 1,
}], }],
......
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