OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # These are defined here because we need to build this library twice. Once | 8 # These are defined here because we need to build this library twice. Once |
9 # with extra parameter checking. Once with no parameter checking to be 100% | 9 # with extra parameter checking. Once with no parameter checking to be 100% |
10 # OpenGL ES 2.0 compliant for the conformance tests. | 10 # OpenGL ES 2.0 compliant for the conformance tests. |
11 'gles2_c_lib_source_files': [ | 11 'gles2_c_lib_source_files': [ |
12 'command_buffer/client/gles2_c_lib.cc', | 12 'command_buffer/client/gles2_c_lib.cc', |
13 'command_buffer/client/gles2_c_lib_autogen.h', | 13 'command_buffer/client/gles2_c_lib_autogen.h', |
14 'command_buffer/client/gles2_lib.h', | 14 'command_buffer/client/gles2_lib.h', |
15 'command_buffer/client/gles2_lib.cc', | 15 'command_buffer/client/gles2_lib.cc', |
16 ], | 16 ], |
17 # These are defined here because we need to build this library twice. Once | 17 # These are defined here because we need to build this library twice. Once |
18 # with without support for client side arrays and once with for pepper and | 18 # with without support for client side arrays and once with for pepper and |
19 # the OpenGL ES 2.0 compliant for the conformance tests. | 19 # the OpenGL ES 2.0 compliant for the conformance tests. |
20 'gles2_implementation_source_files': [ | 20 'gles2_implementation_source_files': [ |
21 'command_buffer/client/gles2_implementation_autogen.h', | 21 'command_buffer/client/gles2_implementation_autogen.h', |
22 'command_buffer/client/gles2_implementation.cc', | 22 'command_buffer/client/gles2_implementation.cc', |
23 'command_buffer/client/gles2_implementation.h', | 23 'command_buffer/client/gles2_implementation.h', |
24 ] | 24 ] |
25 }, | 25 }, |
26 'targets': [ | 26 'targets': [ |
27 { | 27 { |
28 'target_name': 'gpu_common', | |
29 'type': 'static_library', | |
30 'dependencies': [ | |
31 '../base/base.gyp:base', | |
32 ], | |
33 'include_dirs': [ | |
34 '..', | |
35 ], | |
36 'sources': [ | |
37 'common/gpu_trace_event.cc', | |
38 'common/gpu_trace_event.h', | |
39 ], | |
40 }, | |
41 { | |
42 'target_name': 'command_buffer_common', | 28 'target_name': 'command_buffer_common', |
43 'type': 'static_library', | 29 'type': 'static_library', |
44 'include_dirs': [ | 30 'include_dirs': [ |
45 '.', | 31 '.', |
46 ], | 32 ], |
47 'all_dependent_settings': { | 33 'all_dependent_settings': { |
48 'include_dirs': [ | 34 'include_dirs': [ |
49 '.', | 35 '.', |
50 ], | 36 ], |
51 }, | 37 }, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 'include_dirs': [ | 139 'include_dirs': [ |
154 '..', | 140 '..', |
155 ], | 141 ], |
156 'all_dependent_settings': { | 142 'all_dependent_settings': { |
157 'include_dirs': [ | 143 'include_dirs': [ |
158 '..', | 144 '..', |
159 ], | 145 ], |
160 }, | 146 }, |
161 'dependencies': [ | 147 'dependencies': [ |
162 'command_buffer_common', | 148 'command_buffer_common', |
163 'gpu_common', | |
164 ], | 149 ], |
165 'sources': [ | 150 'sources': [ |
166 'command_buffer/client/cmd_buffer_helper.cc', | 151 'command_buffer/client/cmd_buffer_helper.cc', |
167 'command_buffer/client/cmd_buffer_helper.h', | 152 'command_buffer/client/cmd_buffer_helper.h', |
168 'command_buffer/client/fenced_allocator.cc', | 153 'command_buffer/client/fenced_allocator.cc', |
169 'command_buffer/client/fenced_allocator.h', | 154 'command_buffer/client/fenced_allocator.h', |
170 'command_buffer/client/mapped_memory.cc', | 155 'command_buffer/client/mapped_memory.cc', |
171 'command_buffer/client/mapped_memory.h', | 156 'command_buffer/client/mapped_memory.h', |
172 'command_buffer/client/ring_buffer.cc', | 157 'command_buffer/client/ring_buffer.cc', |
173 'command_buffer/client/ring_buffer.h', | 158 'command_buffer/client/ring_buffer.h', |
174 ], | 159 ], |
175 }, | 160 }, |
176 { | 161 { |
177 'target_name': 'command_buffer_service', | 162 'target_name': 'command_buffer_service', |
178 'type': 'static_library', | 163 'type': 'static_library', |
179 'include_dirs': [ | 164 'include_dirs': [ |
180 '..', | 165 '..', |
181 ], | 166 ], |
182 'all_dependent_settings': { | 167 'all_dependent_settings': { |
183 'include_dirs': [ | 168 'include_dirs': [ |
184 '..', | 169 '..', |
185 ], | 170 ], |
186 }, | 171 }, |
187 'dependencies': [ | 172 'dependencies': [ |
188 'command_buffer_common', | 173 'command_buffer_common', |
189 'gpu_common', | |
190 '../base/base.gyp:base', | 174 '../base/base.gyp:base', |
191 '../ui/gfx/gl/gl.gyp:gl', | 175 '../ui/gfx/gl/gl.gyp:gl', |
192 '../ui/gfx/surface/surface.gyp:surface', | 176 '../ui/gfx/surface/surface.gyp:surface', |
193 '../ui/ui.gyp:ui_gfx', | 177 '../ui/ui.gyp:ui_gfx', |
194 '../third_party/angle/src/build_angle.gyp:translator_glsl', | 178 '../third_party/angle/src/build_angle.gyp:translator_glsl', |
195 ], | 179 ], |
196 'sources': [ | 180 'sources': [ |
197 'command_buffer/service/buffer_manager.h', | 181 'command_buffer/service/buffer_manager.h', |
198 'command_buffer/service/buffer_manager.cc', | 182 'command_buffer/service/buffer_manager.cc', |
199 'command_buffer/service/framebuffer_manager.h', | 183 'command_buffer/service/framebuffer_manager.h', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 'type': 'executable', | 234 'type': 'executable', |
251 'dependencies': [ | 235 'dependencies': [ |
252 '../app/app.gyp:app_base', | 236 '../app/app.gyp:app_base', |
253 '../testing/gmock.gyp:gmock', | 237 '../testing/gmock.gyp:gmock', |
254 '../testing/gmock.gyp:gmock_main', | 238 '../testing/gmock.gyp:gmock_main', |
255 '../testing/gtest.gyp:gtest', | 239 '../testing/gtest.gyp:gtest', |
256 '../ui/gfx/gl/gl.gyp:gl', | 240 '../ui/gfx/gl/gl.gyp:gl', |
257 'command_buffer_client', | 241 'command_buffer_client', |
258 'command_buffer_common', | 242 'command_buffer_common', |
259 'command_buffer_service', | 243 'command_buffer_service', |
260 'gpu_common', | |
261 'gpu_unittest_utils', | 244 'gpu_unittest_utils', |
262 'gles2_implementation_client_side_arrays', | 245 'gles2_implementation_client_side_arrays', |
263 'gles2_cmd_helper', | 246 'gles2_cmd_helper', |
264 ], | 247 ], |
265 'sources': [ | 248 'sources': [ |
266 '<@(gles2_c_lib_source_files)', | 249 '<@(gles2_c_lib_source_files)', |
267 'command_buffer/client/cmd_buffer_helper_test.cc', | 250 'command_buffer/client/cmd_buffer_helper_test.cc', |
268 'command_buffer/client/fenced_allocator_test.cc', | 251 'command_buffer/client/fenced_allocator_test.cc', |
269 'command_buffer/client/gles2_implementation_unittest.cc', | 252 'command_buffer/client/gles2_implementation_unittest.cc', |
270 'command_buffer/client/mapped_memory_unittest.cc', | 253 'command_buffer/client/mapped_memory_unittest.cc', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 }, | 395 }, |
413 ], | 396 ], |
414 ], | 397 ], |
415 } | 398 } |
416 | 399 |
417 # Local Variables: | 400 # Local Variables: |
418 # tab-width:2 | 401 # tab-width:2 |
419 # indent-tabs-mode:nil | 402 # indent-tabs-mode:nil |
420 # End: | 403 # End: |
421 # vim: set expandtab tabstop=2 shiftwidth=2: | 404 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |