| Index: ui/gl/gl.gyp
|
| diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp
|
| index bbaa55011aaa7b8f57d9849eb5c2ddfb79a590a4..ce6c93a6ae615783be5037474a2882b29c2b5d14 100644
|
| --- a/ui/gl/gl.gyp
|
| +++ b/ui/gl/gl.gyp
|
| @@ -104,6 +104,7 @@
|
| '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc',
|
| '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc',
|
| '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_gl.h',
|
| ],
|
| # hard_dependency is necessary for this target because it has actions
|
| # that generate header files included by dependent targets. The header
|
| @@ -139,6 +140,16 @@
|
| '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc',
|
| '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h',
|
| '<(gl_binding_output_dir)/gl_bindings_api_autogen_wgl.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_egl.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_gl.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_glx.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_osmesa.h',
|
| + '<(gl_binding_output_dir)/gl_interface_autogen_wgl.h',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_egl.h',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_gl.h',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_glx.h',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_osmesa.h',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_wgl.h',
|
| ],
|
| 'action': [
|
| 'python',
|
| @@ -243,5 +254,31 @@
|
| }],
|
| ],
|
| },
|
| + {
|
| + 'target_name': 'gl_unittest_utils',
|
| + 'type': 'static_library',
|
| + 'variables': {
|
| + 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl',
|
| + },
|
| + 'dependencies': [
|
| + '../../testing/gmock.gyp:gmock',
|
| + '../../third_party/khronos/khronos.gyp:khronos_headers',
|
| + 'gl',
|
| + ],
|
| + 'include_dirs': [
|
| + '<(gl_binding_output_dir)',
|
| + '../..',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '<(gl_binding_output_dir)',
|
| + ],
|
| + },
|
| + 'sources': [
|
| + 'gl_mock.h',
|
| + 'gl_mock.cc',
|
| + '<(gl_binding_output_dir)/gl_mock_autogen_gl.h',
|
| + ],
|
| + },
|
| ],
|
| }
|
|
|