Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: ui/gl/gl.gyp

Issue 11444028: Make more GL stuff auto-generated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'targets': [ 10 'targets': [
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 'gpu_switching_manager.h', 97 'gpu_switching_manager.h',
98 'scoped_make_current.cc', 98 'scoped_make_current.cc',
99 'scoped_make_current.h', 99 'scoped_make_current.h',
100 'gl_state_restorer.cc', 100 'gl_state_restorer.cc',
101 'gl_state_restorer.h', 101 'gl_state_restorer.h',
102 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', 102 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc',
103 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', 103 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h',
104 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', 104 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc',
105 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', 105 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc',
106 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', 106 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h',
107 '<(gl_binding_output_dir)/gl_interface_autogen_gl.h',
107 ], 108 ],
108 # hard_dependency is necessary for this target because it has actions 109 # hard_dependency is necessary for this target because it has actions
109 # that generate header files included by dependent targets. The header 110 # that generate header files included by dependent targets. The header
110 # files must be generated before the dependents are compiled. The usual 111 # files must be generated before the dependents are compiled. The usual
111 # semantics are to allow the two targets to build concurrently. 112 # semantics are to allow the two targets to build concurrently.
112 'hard_dependency': 1, 113 'hard_dependency': 1,
113 'actions': [ 114 'actions': [
114 { 115 {
115 'action_name': 'generate_gl_bindings', 116 'action_name': 'generate_gl_bindings',
116 'inputs': [ 117 'inputs': [
(...skipping 15 matching lines...) Expand all
132 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', 133 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc',
133 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', 134 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h',
134 '<(gl_binding_output_dir)/gl_bindings_api_autogen_glx.h', 135 '<(gl_binding_output_dir)/gl_bindings_api_autogen_glx.h',
135 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', 136 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc',
136 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', 137 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc',
137 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', 138 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h',
138 '<(gl_binding_output_dir)/gl_bindings_api_autogen_osmesa.h', 139 '<(gl_binding_output_dir)/gl_bindings_api_autogen_osmesa.h',
139 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', 140 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc',
140 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', 141 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h',
141 '<(gl_binding_output_dir)/gl_bindings_api_autogen_wgl.h', 142 '<(gl_binding_output_dir)/gl_bindings_api_autogen_wgl.h',
143 '<(gl_binding_output_dir)/gl_interface_autogen_egl.h',
144 '<(gl_binding_output_dir)/gl_interface_autogen_gl.h',
145 '<(gl_binding_output_dir)/gl_interface_autogen_glx.h',
146 '<(gl_binding_output_dir)/gl_interface_autogen_osmesa.h',
147 '<(gl_binding_output_dir)/gl_interface_autogen_wgl.h',
148 '<(gl_binding_output_dir)/gl_mock_autogen_egl.h',
149 '<(gl_binding_output_dir)/gl_mock_autogen_gl.h',
150 '<(gl_binding_output_dir)/gl_mock_autogen_glx.h',
151 '<(gl_binding_output_dir)/gl_mock_autogen_osmesa.h',
152 '<(gl_binding_output_dir)/gl_mock_autogen_wgl.h',
142 ], 153 ],
143 'action': [ 154 'action': [
144 'python', 155 'python',
145 'generate_bindings.py', 156 'generate_bindings.py',
146 '<(gl_binding_output_dir)', 157 '<(gl_binding_output_dir)',
147 ], 158 ],
148 }, 159 },
149 ], 160 ],
150 'conditions': [ 161 'conditions': [
151 ['OS != "mac"', { 162 ['OS != "mac"', {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 'gl_context_osmesa.cc', 247 'gl_context_osmesa.cc',
237 'system_monitor_posix.cc', 248 'system_monitor_posix.cc',
238 ], 249 ],
239 'defines': [ 250 'defines': [
240 'GL_GLEXT_PROTOTYPES', 251 'GL_GLEXT_PROTOTYPES',
241 'EGL_EGLEXT_PROTOTYPES', 252 'EGL_EGLEXT_PROTOTYPES',
242 ], 253 ],
243 }], 254 }],
244 ], 255 ],
245 }, 256 },
257 {
258 'target_name': 'gl_unittest_utils',
259 'type': 'static_library',
260 'variables': {
261 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl',
262 },
263 'dependencies': [
264 '../../testing/gmock.gyp:gmock',
265 '../../third_party/khronos/khronos.gyp:khronos_headers',
266 'gl',
267 ],
268 'include_dirs': [
269 '<(gl_binding_output_dir)',
270 '../..',
271 ],
272 'direct_dependent_settings': {
273 'include_dirs': [
274 '<(gl_binding_output_dir)',
275 ],
276 },
277 'sources': [
278 'gl_mock.h',
279 'gl_mock.cc',
280 '<(gl_binding_output_dir)/gl_mock_autogen_gl.h',
281 ],
282 },
246 ], 283 ],
247 } 284 }
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698