Index: gpu/gpu.gyp |
=================================================================== |
--- gpu/gpu.gyp (revision 71329) |
+++ gpu/gpu.gyp (working copy) |
@@ -216,6 +216,7 @@ |
'command_buffer_client', |
'command_buffer_common', |
'command_buffer_service', |
+ 'gpu_unittest_utils', |
'gles2_lib', |
'gles2_implementation', |
'gles2_cmd_helper', |
@@ -229,8 +230,6 @@ |
'command_buffer/common/bitfield_helpers_test.cc', |
'command_buffer/common/command_buffer_mock.cc', |
'command_buffer/common/command_buffer_mock.h', |
- 'command_buffer/common/gl_mock.h', |
- 'command_buffer/common/gl_mock.cc', |
'command_buffer/common/gles2_cmd_format_test.cc', |
'command_buffer/common/gles2_cmd_format_test_autogen.h', |
'command_buffer/common/gles2_cmd_id_test.cc', |
@@ -273,6 +272,22 @@ |
], |
}, |
{ |
+ 'target_name': 'gpu_unittest_utils', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../app/app.gyp:app_base', |
+ '../testing/gmock.gyp:gmock', |
+ '../testing/gtest.gyp:gtest', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'command_buffer/common/gl_mock.h', |
+ 'command_buffer/common/gl_mock.cc', |
+ ], |
+ }, |
+ { |
'target_name': 'gles2_demo_lib', |
'type': 'static_library', |
'dependencies': [ |