diff options
Diffstat (limited to 'webkit/common/gpu/webkit_gpu.gyp')
-rw-r--r-- | webkit/common/gpu/webkit_gpu.gyp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/webkit/common/gpu/webkit_gpu.gyp b/webkit/common/gpu/webkit_gpu.gyp index 460d486..d85e478 100644 --- a/webkit/common/gpu/webkit_gpu.gyp +++ b/webkit/common/gpu/webkit_gpu.gyp @@ -23,7 +23,6 @@ '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', - '<(DEPTH)/third_party/angle_dx11/src/build_angle.gyp:translator_glsl', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', @@ -48,6 +47,17 @@ 'defines': [ 'WEBKIT_GPU_IMPLEMENTATION', ], + 'conditions': [ + ['use_angle_translator==1', { + 'dependencies': [ + '<(DEPTH)/third_party/angle_dx11/src/build_angle.gyp:translator', + ], + }, { + 'dependencies': [ + '<(DEPTH)/third_party/angle_dx11/src/build_angle.gyp:translator_glsl', + ], + }], + ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, |