summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer_service.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer_service.gypi')
-rw-r--r--gpu/command_buffer_service.gypi10
1 files changed, 9 insertions, 1 deletions
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi
index 5a7f6fb..e541999 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',