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

Side by Side Diff: gpu/gpu.gyp

Issue 6862002: Merge gpu_trace_event back into base/debug/trace_event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to 84062 Created 9 years, 7 months 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
OLDNEW
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 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
33 ],
34 'include_dirs': [
35 '..',
36 ],
37 'sources': [
38 'common/gpu_trace_event.cc',
39 'common/gpu_trace_event.h',
40 ],
41 },
42 {
43 'target_name': 'command_buffer_common', 28 'target_name': 'command_buffer_common',
44 'type': 'static_library', 29 'type': 'static_library',
45 'include_dirs': [ 30 'include_dirs': [
46 '.', 31 '.',
47 ], 32 ],
48 'all_dependent_settings': { 33 'all_dependent_settings': {
49 'include_dirs': [ 34 'include_dirs': [
50 '.', 35 '.',
51 ], 36 ],
52 }, 37 },
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 'include_dirs': [ 145 'include_dirs': [
161 '..', 146 '..',
162 ], 147 ],
163 'all_dependent_settings': { 148 'all_dependent_settings': {
164 'include_dirs': [ 149 'include_dirs': [
165 '..', 150 '..',
166 ], 151 ],
167 }, 152 },
168 'dependencies': [ 153 'dependencies': [
169 'command_buffer_common', 154 'command_buffer_common',
170 'gpu_common',
171 ], 155 ],
172 'sources': [ 156 'sources': [
173 'command_buffer/client/cmd_buffer_helper.cc', 157 'command_buffer/client/cmd_buffer_helper.cc',
174 'command_buffer/client/cmd_buffer_helper.h', 158 'command_buffer/client/cmd_buffer_helper.h',
175 'command_buffer/client/fenced_allocator.cc', 159 'command_buffer/client/fenced_allocator.cc',
176 'command_buffer/client/fenced_allocator.h', 160 'command_buffer/client/fenced_allocator.h',
177 'command_buffer/client/mapped_memory.cc', 161 'command_buffer/client/mapped_memory.cc',
178 'command_buffer/client/mapped_memory.h', 162 'command_buffer/client/mapped_memory.h',
179 'command_buffer/client/ring_buffer.cc', 163 'command_buffer/client/ring_buffer.cc',
180 'command_buffer/client/ring_buffer.h', 164 'command_buffer/client/ring_buffer.h',
181 ], 165 ],
182 }, 166 },
183 { 167 {
184 'target_name': 'command_buffer_service', 168 'target_name': 'command_buffer_service',
185 'type': 'static_library', 169 'type': 'static_library',
186 'include_dirs': [ 170 'include_dirs': [
187 '..', 171 '..',
188 ], 172 ],
189 'all_dependent_settings': { 173 'all_dependent_settings': {
190 'include_dirs': [ 174 'include_dirs': [
191 '..', 175 '..',
192 ], 176 ],
193 }, 177 },
194 'dependencies': [ 178 'dependencies': [
195 'command_buffer_common', 179 'command_buffer_common',
196 'gpu_common',
197 '../base/base.gyp:base', 180 '../base/base.gyp:base',
198 '../ui/gfx/gl/gl.gyp:gl', 181 '../ui/gfx/gl/gl.gyp:gl',
199 '../ui/gfx/surface/surface.gyp:surface', 182 '../ui/gfx/surface/surface.gyp:surface',
200 '../ui/ui.gyp:ui_gfx', 183 '../ui/ui.gyp:ui_gfx',
201 '../third_party/angle/src/build_angle.gyp:translator_glsl', 184 '../third_party/angle/src/build_angle.gyp:translator_glsl',
202 ], 185 ],
203 'sources': [ 186 'sources': [
204 'command_buffer/service/buffer_manager.h', 187 'command_buffer/service/buffer_manager.h',
205 'command_buffer/service/buffer_manager.cc', 188 'command_buffer/service/buffer_manager.cc',
206 'command_buffer/service/framebuffer_manager.h', 189 'command_buffer/service/framebuffer_manager.h',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 'type': 'executable', 240 'type': 'executable',
258 'dependencies': [ 241 'dependencies': [
259 '../app/app.gyp:app_base', 242 '../app/app.gyp:app_base',
260 '../testing/gmock.gyp:gmock', 243 '../testing/gmock.gyp:gmock',
261 '../testing/gmock.gyp:gmock_main', 244 '../testing/gmock.gyp:gmock_main',
262 '../testing/gtest.gyp:gtest', 245 '../testing/gtest.gyp:gtest',
263 '../ui/gfx/gl/gl.gyp:gl', 246 '../ui/gfx/gl/gl.gyp:gl',
264 'command_buffer_client', 247 'command_buffer_client',
265 'command_buffer_common', 248 'command_buffer_common',
266 'command_buffer_service', 249 'command_buffer_service',
267 'gpu_common',
268 'gpu_unittest_utils', 250 'gpu_unittest_utils',
269 'gles2_implementation_client_side_arrays', 251 'gles2_implementation_client_side_arrays',
270 'gles2_cmd_helper', 252 'gles2_cmd_helper',
271 ], 253 ],
272 'sources': [ 254 'sources': [
273 '<@(gles2_c_lib_source_files)', 255 '<@(gles2_c_lib_source_files)',
274 'command_buffer/client/cmd_buffer_helper_test.cc', 256 'command_buffer/client/cmd_buffer_helper_test.cc',
275 'command_buffer/client/fenced_allocator_test.cc', 257 'command_buffer/client/fenced_allocator_test.cc',
276 'command_buffer/client/gles2_implementation_unittest.cc', 258 'command_buffer/client/gles2_implementation_unittest.cc',
277 'command_buffer/client/mapped_memory_unittest.cc', 259 'command_buffer/client/mapped_memory_unittest.cc',
278 'command_buffer/client/ring_buffer_test.cc', 260 'command_buffer/client/ring_buffer_test.cc',
279 'command_buffer/common/bitfield_helpers_test.cc', 261 'command_buffer/common/bitfield_helpers_test.cc',
280 'command_buffer/common/command_buffer_mock.cc', 262 'command_buffer/common/command_buffer_mock.cc',
281 'command_buffer/common/command_buffer_mock.h', 263 'command_buffer/common/command_buffer_mock.h',
282 'command_buffer/common/gles2_cmd_format_test.cc', 264 'command_buffer/common/gles2_cmd_format_test.cc',
283 'command_buffer/common/gles2_cmd_format_test_autogen.h', 265 'command_buffer/common/gles2_cmd_format_test_autogen.h',
284 'command_buffer/common/gles2_cmd_id_test.cc', 266 'command_buffer/common/gles2_cmd_id_test.cc',
285 'command_buffer/common/gles2_cmd_id_test_autogen.h', 267 'command_buffer/common/gles2_cmd_id_test_autogen.h',
286 'command_buffer/common/gles2_cmd_format_test.cc',
287 'command_buffer/common/gles2_cmd_format_test_autogen.h',
288 'command_buffer/common/gles2_cmd_id_test.cc',
289 'command_buffer/common/gles2_cmd_id_test_autogen.h',
290 'command_buffer/common/gles2_cmd_format_test.cc',
291 'command_buffer/common/gles2_cmd_format_test_autogen.h',
292 'command_buffer/common/gles2_cmd_id_test.cc',
293 'command_buffer/common/gles2_cmd_id_test_autogen.h',
294 'command_buffer/common/id_allocator_test.cc', 268 'command_buffer/common/id_allocator_test.cc',
269 'command_buffer/common/trace_event.h',
295 'command_buffer/common/unittest_main.cc', 270 'command_buffer/common/unittest_main.cc',
296 'command_buffer/service/buffer_manager_unittest.cc', 271 'command_buffer/service/buffer_manager_unittest.cc',
297 'command_buffer/service/context_group_unittest.cc',
298 'command_buffer/service/cmd_parser_test.cc',
299 'command_buffer/service/cmd_parser_test.cc', 272 'command_buffer/service/cmd_parser_test.cc',
300 'command_buffer/service/common_decoder_unittest.cc', 273 'command_buffer/service/common_decoder_unittest.cc',
274 'command_buffer/service/context_group_unittest.cc',
301 'command_buffer/service/feature_info_unittest.cc', 275 'command_buffer/service/feature_info_unittest.cc',
302 'command_buffer/service/framebuffer_manager_unittest.cc', 276 'command_buffer/service/framebuffer_manager_unittest.cc',
303 'command_buffer/service/gpu_scheduler_unittest.cc',
304 'command_buffer/service/gles2_cmd_decoder_unittest_base.h',
305 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc',
306 'command_buffer/service/gles2_cmd_decoder_unittest.cc', 277 'command_buffer/service/gles2_cmd_decoder_unittest.cc',
307 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc', 278 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc',
308 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h', 279 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h',
309 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc', 280 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc',
310 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h', 281 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h',
311 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc', 282 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc',
312 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h', 283 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h',
284 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc',
285 'command_buffer/service/gles2_cmd_decoder_unittest_base.h',
286 'command_buffer/service/gpu_scheduler_unittest.cc',
313 'command_buffer/service/id_manager_unittest.cc', 287 'command_buffer/service/id_manager_unittest.cc',
314 'command_buffer/service/mocks.cc', 288 'command_buffer/service/mocks.cc',
315 'command_buffer/service/mocks.h', 289 'command_buffer/service/mocks.h',
316 'command_buffer/service/program_manager_unittest.cc', 290 'command_buffer/service/program_manager_unittest.cc',
317 'command_buffer/service/renderbuffer_manager_unittest.cc', 291 'command_buffer/service/renderbuffer_manager_unittest.cc',
318 'command_buffer/service/shader_manager_unittest.cc', 292 'command_buffer/service/shader_manager_unittest.cc',
319 'command_buffer/service/shader_translator_unittest.cc', 293 'command_buffer/service/shader_translator_unittest.cc',
294 'command_buffer/service/test_helper.cc',
320 'command_buffer/service/test_helper.h', 295 'command_buffer/service/test_helper.h',
321 'command_buffer/service/test_helper.cc',
322 'command_buffer/service/texture_manager_unittest.cc', 296 'command_buffer/service/texture_manager_unittest.cc',
323 ], 297 ],
324 }, 298 },
325 { 299 {
326 'target_name': 'gpu_unittest_utils', 300 'target_name': 'gpu_unittest_utils',
327 'type': 'static_library', 301 'type': 'static_library',
328 'dependencies': [ 302 'dependencies': [
329 '../testing/gmock.gyp:gmock', 303 '../testing/gmock.gyp:gmock',
330 '../testing/gtest.gyp:gtest', 304 '../testing/gtest.gyp:gtest',
331 '../ui/gfx/gl/gl.gyp:gl', 305 '../ui/gfx/gl/gl.gyp:gl',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 }, 372 },
399 ], 373 ],
400 ], 374 ],
401 } 375 }
402 376
403 # Local Variables: 377 # Local Variables:
404 # tab-width:2 378 # tab-width:2
405 # indent-tabs-mode:nil 379 # indent-tabs-mode:nil
406 # End: 380 # End:
407 # vim: set expandtab tabstop=2 shiftwidth=2: 381 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698