diff options
Diffstat (limited to 'o3d/core/core.gyp')
-rw-r--r-- | o3d/core/core.gyp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/o3d/core/core.gyp b/o3d/core/core.gyp index fe72c17..cd2a8d9 100644 --- a/o3d/core/core.gyp +++ b/o3d/core/core.gyp @@ -399,12 +399,6 @@ { 'dependencies': [ '../command_buffer/command_buffer.gyp:command_buffer_client', - '../command_buffer/command_buffer.gyp:command_buffer_service', - '../gpu_plugin/gpu_plugin.gyp:np_utils', - - # These dependencies is only needed for RendererCBLocal. They can - # be removed when RendererCBLocal is not needed. - '../gpu_plugin/gpu_plugin.gyp:command_buffer', '../gpu_plugin/gpu_plugin.gyp:np_utils', ], 'sources': [ @@ -433,6 +427,17 @@ ], }, ], + ['renderer == "cb" and cb_service != "remote"', + { + 'dependencies': [ + '../command_buffer/command_buffer.gyp:command_buffer_service', + + # These dependencies are only needed for RendererCBLocal. They can + # be removed when RendererCBLocal is not needed. + '../gpu_plugin/gpu_plugin.gyp:command_buffer', + ], + }, + ], ], }, { |