OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 'include_dirs': [ | 73 'include_dirs': [ |
74 'command_buffer/common', | 74 'command_buffer/common', |
75 '..', | 75 '..', |
76 ], | 76 ], |
77 'all_dependent_settings': { | 77 'all_dependent_settings': { |
78 'include_dirs': [ | 78 'include_dirs': [ |
79 'command_buffer/common', | 79 'command_buffer/common', |
80 '..', | 80 '..', |
81 ], | 81 ], |
82 }, | 82 }, |
| 83 'dependencies': [ |
| 84 '../base/base.gyp:base', |
| 85 ], |
83 'sources': [ | 86 'sources': [ |
84 'command_buffer/common/bitfield_helpers.h', | 87 'command_buffer/common/bitfield_helpers.h', |
85 'command_buffer/common/cmd_buffer_common.h', | 88 'command_buffer/common/cmd_buffer_common.h', |
86 'command_buffer/common/cmd_buffer_common.cc', | 89 'command_buffer/common/cmd_buffer_common.cc', |
87 'command_buffer/common/command_buffer.h', | 90 'command_buffer/common/command_buffer.h', |
88 'command_buffer/common/command_buffer_mock.h', | 91 'command_buffer/common/command_buffer_mock.h', |
89 'command_buffer/common/constants.h', | 92 'command_buffer/common/constants.h', |
90 'command_buffer/common/gles2_cmd_ids_autogen.h', | 93 'command_buffer/common/gles2_cmd_ids_autogen.h', |
91 'command_buffer/common/gles2_cmd_ids.h', | 94 'command_buffer/common/gles2_cmd_ids.h', |
92 'command_buffer/common/gles2_cmd_format_autogen.h', | 95 'command_buffer/common/gles2_cmd_format_autogen.h', |
93 'command_buffer/common/gles2_cmd_format.cc', | 96 'command_buffer/common/gles2_cmd_format.cc', |
94 'command_buffer/common/gles2_cmd_format.h', | 97 'command_buffer/common/gles2_cmd_format.h', |
95 'command_buffer/common/gles2_cmd_utils.cc', | 98 'command_buffer/common/gles2_cmd_utils.cc', |
96 'command_buffer/common/gles2_cmd_utils.h', | 99 'command_buffer/common/gles2_cmd_utils.h', |
97 'command_buffer/common/logging.h', | 100 'command_buffer/common/logging.h', |
98 'command_buffer/common/mocks.h', | 101 'command_buffer/common/mocks.h', |
99 'command_buffer/common/resource.cc', | 102 'command_buffer/common/resource.cc', |
100 'command_buffer/common/resource.h', | 103 'command_buffer/common/resource.h', |
101 'command_buffer/common/types.h', | 104 'command_buffer/common/types.h', |
102 ], | 105 ], |
103 }, | 106 }, |
104 { | 107 { |
105 # Library helps make GLES2 command buffers. | 108 # Library helps make GLES2 command buffers. |
106 'target_name': 'gles2_cmd_helper', | 109 'target_name': 'gles2_cmd_helper', |
107 'type': 'static_library', | 110 'type': 'static_library', |
108 'dependencies': [ | 111 'dependencies': [ |
109 'command_buffer_common', | 112 'command_buffer_common', |
110 'np_utils', | |
111 ], | 113 ], |
112 'sources': [ | 114 'sources': [ |
113 'command_buffer/client/gles2_cmd_helper.cc', | 115 'command_buffer/client/gles2_cmd_helper.cc', |
114 'command_buffer/client/gles2_cmd_helper.h', | 116 'command_buffer/client/gles2_cmd_helper.h', |
115 'command_buffer/client/gles2_cmd_helper_autogen.h', | 117 'command_buffer/client/gles2_cmd_helper_autogen.h', |
116 ], | 118 ], |
117 }, | 119 }, |
118 { | 120 { |
119 # Library emulates GLES2 using command_buffers. | 121 # Library emulates GLES2 using command_buffers. |
120 'target_name': 'gles2_implementation', | 122 'target_name': 'gles2_implementation', |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 'sources': [ | 266 'sources': [ |
265 'command_buffer/service/cmd_parser_test.cc', | 267 'command_buffer/service/cmd_parser_test.cc', |
266 'command_buffer/service/command_buffer_service_unittest.cc', | 268 'command_buffer/service/command_buffer_service_unittest.cc', |
267 'command_buffer/service/common_decoder_unittest.cc', | 269 'command_buffer/service/common_decoder_unittest.cc', |
268 'command_buffer/service/gpu_processor_unittest.cc', | 270 'command_buffer/service/gpu_processor_unittest.cc', |
269 'command_buffer/service/resource_test.cc', | 271 'command_buffer/service/resource_test.cc', |
270 ], | 272 ], |
271 }, | 273 }, |
272 }, | 274 }, |
273 { | 275 { |
274 'target_name': 'np_utils', | |
275 'type': '<(library)', | |
276 'dependencies': [ | |
277 '../base/base.gyp:base', | |
278 ], | |
279 'include_dirs': [ | |
280 '..', | |
281 ], | |
282 'all_dependent_settings': { | |
283 'include_dirs': [ | |
284 '..', | |
285 ], | |
286 }, | |
287 'sources': [ | |
288 'np_utils/default_np_object.h', | |
289 'np_utils/dynamic_np_object.cc', | |
290 'np_utils/dynamic_np_object.h', | |
291 'np_utils/np_browser.cc', | |
292 'np_utils/np_browser.h', | |
293 'np_utils/np_browser_mock.h', | |
294 'np_utils/np_browser_stub.cc', | |
295 'np_utils/np_browser_stub.h', | |
296 'np_utils/np_class.h', | |
297 'np_utils/np_dispatcher.cc', | |
298 'np_utils/np_dispatcher.h', | |
299 'np_utils/np_dispatcher_specializations.h', | |
300 'np_utils/np_headers.h', | |
301 'np_utils/np_object_mock.h', | |
302 'np_utils/np_object_pointer.h', | |
303 'np_utils/np_plugin_object.h', | |
304 'np_utils/np_plugin_object_mock.h', | |
305 'np_utils/np_plugin_object_factory.cc', | |
306 'np_utils/np_plugin_object_factory.h', | |
307 'np_utils/np_plugin_object_factory_mock.h', | |
308 'np_utils/np_utils.cc', | |
309 'np_utils/np_utils.h', | |
310 'np_utils/webkit_browser.h', | |
311 ], | |
312 }, | |
313 { | |
314 'target_name': 'np_utils_unittests', | |
315 'type': 'none', | |
316 'direct_dependent_settings': { | |
317 'include_dirs': [ | |
318 '..', | |
319 ], | |
320 'sources': [ | |
321 'np_utils/dispatched_np_object_unittest.cc', | |
322 'np_utils/dynamic_np_object_unittest.cc', | |
323 'np_utils/np_class_unittest.cc', | |
324 'np_utils/np_object_pointer_unittest.cc', | |
325 'np_utils/np_utils_unittest.cc', | |
326 ], | |
327 }, | |
328 }, | |
329 { | |
330 'target_name': 'gpu_plugin', | 276 'target_name': 'gpu_plugin', |
331 'type': '<(library)', | 277 'type': '<(library)', |
332 'dependencies': [ | 278 'dependencies': [ |
333 '../base/base.gyp:base', | 279 '../base/base.gyp:base', |
| 280 '../chrome/chrome.gyp:plugin', |
334 'command_buffer_service', | 281 'command_buffer_service', |
335 'np_utils', | |
336 ], | 282 ], |
337 'include_dirs': [ | 283 'include_dirs': [ |
338 '..', | 284 '..', |
339 ], | 285 ], |
340 'all_dependent_settings': { | 286 'all_dependent_settings': { |
341 'include_dirs': [ | 287 'include_dirs': [ |
342 '..', | 288 '..', |
343 ], | 289 ], |
344 }, | 290 }, |
345 'sources': [ | 291 'sources': [ |
346 'gpu_plugin/gpu_plugin.cc', | 292 'gpu_plugin/gpu_plugin.cc', |
347 'gpu_plugin/gpu_plugin.h', | 293 'gpu_plugin/gpu_plugin.h', |
348 'gpu_plugin/gpu_plugin_object.cc', | |
349 'gpu_plugin/gpu_plugin_object.h', | |
350 'gpu_plugin/gpu_plugin_object_win.cc', | |
351 'gpu_plugin/gpu_plugin_object_factory.cc', | |
352 'gpu_plugin/gpu_plugin_object_factory.h', | |
353 ], | 294 ], |
354 }, | 295 }, |
355 { | 296 { |
356 'target_name': 'gpu_plugin_unittests', | |
357 'type': 'none', | |
358 'direct_dependent_settings': { | |
359 'include_dirs': [ | |
360 '..', | |
361 ], | |
362 'sources': [ | |
363 'gpu_plugin/gpu_plugin_unittest.cc', | |
364 'gpu_plugin/gpu_plugin_object_unittest.cc', | |
365 'gpu_plugin/gpu_plugin_object_factory_unittest.cc', | |
366 ], | |
367 }, | |
368 }, | |
369 { | |
370 'target_name': 'gpu_all_unittests', | 297 'target_name': 'gpu_all_unittests', |
371 'type': 'executable', | 298 'type': 'executable', |
372 'dependencies': [ | 299 'dependencies': [ |
373 '../testing/gmock.gyp:gmock', | 300 '../testing/gmock.gyp:gmock', |
374 '../testing/gmock.gyp:gmockmain', | 301 '../testing/gmock.gyp:gmockmain', |
375 '../testing/gtest.gyp:gtest', | 302 '../testing/gtest.gyp:gtest', |
376 'command_buffer_client', | 303 'command_buffer_client', |
377 'command_buffer_client_unittests', | 304 'command_buffer_client_unittests', |
378 'command_buffer_common', | 305 'command_buffer_common', |
379 'command_buffer_common_unittests', | 306 'command_buffer_common_unittests', |
380 'command_buffer_service', | 307 'command_buffer_service', |
381 'command_buffer_service_unittests', | 308 'command_buffer_service_unittests', |
382 'gpu_plugin', | |
383 'gpu_plugin_unittests', | |
384 'np_utils', | |
385 'np_utils_unittests', | |
386 ], | 309 ], |
387 }, | 310 }, |
388 { | 311 { |
389 'target_name': 'gles2_demo', | 312 'target_name': 'gles2_demo', |
390 'type': 'executable', | 313 'type': 'executable', |
391 'dependencies': [ | 314 'dependencies': [ |
392 'command_buffer_client', | 315 'command_buffer_client', |
393 'command_buffer_service', | 316 'command_buffer_service', |
394 'gles2_lib', | 317 'gles2_lib', |
395 'gles2_c_lib', | 318 'gles2_c_lib', |
396 'gpu_plugin', | 319 'gpu_plugin', |
397 'np_utils', | |
398 ], | 320 ], |
399 'sources': [ | 321 'sources': [ |
400 'command_buffer/client/gles2_demo.cc', | 322 'command_buffer/client/gles2_demo.cc', |
401 'command_buffer/client/gles2_demo_c.h', | 323 'command_buffer/client/gles2_demo_c.h', |
402 'command_buffer/client/gles2_demo_c.c', | 324 'command_buffer/client/gles2_demo_c.c', |
403 'command_buffer/client/gles2_demo_cc.h', | 325 'command_buffer/client/gles2_demo_cc.h', |
404 'command_buffer/client/gles2_demo_cc.cc', | 326 'command_buffer/client/gles2_demo_cc.cc', |
405 ], | 327 ], |
406 }, | 328 }, |
407 ] | 329 ] |
408 } | 330 } |
409 | 331 |
410 # Local Variables: | 332 # Local Variables: |
411 # tab-width:2 | 333 # tab-width:2 |
412 # indent-tabs-mode:nil | 334 # indent-tabs-mode:nil |
413 # End: | 335 # End: |
414 # vim: set expandtab tabstop=2 shiftwidth=2: | 336 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |