Index: webkit/common/gpu/webkit_gpu.gyp |
diff --git a/webkit/common/gpu/webkit_gpu.gyp b/webkit/common/gpu/webkit_gpu.gyp |
index 460d486bdb67c69ca488ddf9c113184f708eaa9f..d85e4781aaf493983708c345231a407f0eb3ef08 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, ], |
}, |