summaryrefslogtreecommitdiffstats
path: root/gpu/gpu_common.gypi
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 23:17:34 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 23:17:34 +0000
commita34b0679cb670ce40d480af2be02c7a47a7e9fa8 (patch)
tree2dfdc48817d979d85d97c0675bac70e70818d5e9 /gpu/gpu_common.gypi
parentb999372d7f8941e61bbb577d41c98929eb2987d8 (diff)
downloadchromium_src-a34b0679cb670ce40d480af2be02c7a47a7e9fa8.zip
chromium_src-a34b0679cb670ce40d480af2be02c7a47a7e9fa8.tar.gz
chromium_src-a34b0679cb670ce40d480af2be02c7a47a7e9fa8.tar.bz2
Add gl_tests target as place to put GL tests for the command buffer.
TEST=unit tests BUG=123086 Review URL: http://codereview.chromium.org/10053033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu_common.gypi')
-rw-r--r--gpu/gpu_common.gypi31
1 files changed, 31 insertions, 0 deletions
diff --git a/gpu/gpu_common.gypi b/gpu/gpu_common.gypi
index 104b29d..43646c8 100644
--- a/gpu/gpu_common.gypi
+++ b/gpu/gpu_common.gypi
@@ -196,6 +196,37 @@
],
},
{
+ 'target_name': 'gl_tests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ '../third_party/angle/src/build_angle.gyp:translator_glsl',
+ '../ui/gfx/gl/gl.gyp:gl',
+ '../ui/ui.gyp:ui',
+ 'command_buffer/command_buffer.gyp:gles2_utils',
+ 'command_buffer_client',
+ 'command_buffer_common',
+ 'command_buffer_service',
+ 'gpu',
+ 'gpu_unittest_utils',
+ 'gles2_implementation_client_side_arrays',
+ 'gles2_cmd_helper',
+ ],
+ 'defines': [
+ 'GLES2_C_LIB_IMPLEMENTATION',
+ ],
+ 'sources': [
+ '<@(gles2_c_lib_source_files)',
+ 'command_buffer/tests/gl_tests_main.cc',
+ 'command_buffer/tests/gl_manager.cc',
+ 'command_buffer/tests/gl_manager.h',
+ 'command_buffer/tests/gl_unittests.cc',
+ ],
+ },
+ {
'target_name': 'gpu_unittest_utils',
'type': 'static_library',
'dependencies': [