diff options
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/command_buffer/command_buffer.gyp | 26 | ||||
-rw-r--r-- | o3d/tests/tests.gyp | 12 |
2 files changed, 23 insertions, 15 deletions
diff --git a/o3d/command_buffer/command_buffer.gyp b/o3d/command_buffer/command_buffer.gyp index 810ee0f..d6978c3 100644 --- a/o3d/command_buffer/command_buffer.gyp +++ b/o3d/command_buffer/command_buffer.gyp @@ -200,6 +200,20 @@ ], # 'sources' }, ], + ['cb_service != "none"', + { + 'target_name': 'command_buffer_service_test', + 'type': 'none', + 'direct_dependent_settings': { + 'sources': [ + 'service/cross/buffer_rpc_test.cc', + 'service/cross/cmd_buffer_engine_test.cc', + 'service/cross/cmd_parser_test.cc', + 'service/cross/resource_test.cc', + ], + }, + }, + ], ['OS == "linux"', { 'sources': [ @@ -210,18 +224,6 @@ ], ], # 'conditions' }, - { - 'target_name': 'command_buffer_service_test', - 'type': 'none', - 'direct_dependent_settings': { - 'sources': [ - 'service/cross/buffer_rpc_test.cc', - 'service/cross/cmd_buffer_engine_test.cc', - 'service/cross/cmd_parser_test.cc', - 'service/cross/resource_test.cc', - ], - }, - }, ], # 'targets' } diff --git a/o3d/tests/tests.gyp b/o3d/tests/tests.gyp index 890f729..b32dc5d 100644 --- a/o3d/tests/tests.gyp +++ b/o3d/tests/tests.gyp @@ -43,9 +43,6 @@ '../../native_client/src/shared/imc/imc.gyp:google_nacl_imc', '../compiler/technique/technique.gyp:o3dTechnique', '../compiler/technique/technique.gyp:o3dTechniqueTest', - '../command_buffer/command_buffer.gyp:command_buffer_client_test', - '../command_buffer/command_buffer.gyp:command_buffer_common_test', - '../command_buffer/command_buffer.gyp:command_buffer_service_test', '../core/core.gyp:o3dCore', '../core/core.gyp:o3dCorePlatform', '../core/core.gyp:o3dCoreTest', @@ -217,6 +214,15 @@ ], }, ], + ['cb_service != "none"', + { + 'dependencies' : [ + '../command_buffer/command_buffer.gyp:command_buffer_client_test', + '../command_buffer/command_buffer.gyp:command_buffer_common_test', + '../command_buffer/command_buffer.gyp:command_buffer_service_test', + ], + }, + ], ], }, ], |