Index: gpu/command_buffer_service.gypi |
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi |
index 5a7f6fbea8e83eaf9e271e7154ffc3d6c9c7c614..e541999aa65c946fc49fa82a6a77b90a29df0f6b 100644 |
--- a/gpu/command_buffer_service.gypi |
+++ b/gpu/command_buffer_service.gypi |
@@ -18,7 +18,6 @@ |
'../ui/gfx/gfx.gyp:gfx', |
'../ui/gl/gl.gyp:gl', |
'../ui/ui.gyp:ui', |
- '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', |
'../third_party/khronos/khronos.gyp:khronos_headers', |
'../third_party/protobuf/protobuf.gyp:protobuf_lite', |
'../third_party/smhasher/smhasher.gyp:cityhash', |
@@ -141,6 +140,15 @@ |
'../third_party/khronos', |
], |
}], |
+ ['use_angle_translator==1', { |
+ 'dependencies': [ |
+ '../third_party/angle_dx11/src/build_angle.gyp:translator', |
+ ], |
+ }, { |
+ 'dependencies': [ |
+ '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', |
+ ], |
+ }], |
['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', { |
'sources': [ |
'command_buffer/service/async_pixel_transfer_manager_egl.cc', |