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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 'include_dirs': [ | 78 'include_dirs': [ |
79 'command_buffer/common', | 79 'command_buffer/common', |
80 '..', | 80 '..', |
81 ], | 81 ], |
82 }, | 82 }, |
83 'dependencies': [ | 83 'dependencies': [ |
84 '../base/base.gyp:base', | 84 '../base/base.gyp:base', |
85 ], | 85 ], |
86 'sources': [ | 86 'sources': [ |
87 'command_buffer/common/bitfield_helpers.h', | 87 'command_buffer/common/bitfield_helpers.h', |
| 88 'command_buffer/common/buffer.h', |
88 'command_buffer/common/cmd_buffer_common.h', | 89 'command_buffer/common/cmd_buffer_common.h', |
89 'command_buffer/common/cmd_buffer_common.cc', | 90 'command_buffer/common/cmd_buffer_common.cc', |
90 'command_buffer/common/command_buffer.h', | 91 'command_buffer/common/command_buffer.h', |
91 'command_buffer/common/command_buffer_mock.h', | 92 'command_buffer/common/command_buffer_mock.h', |
92 'command_buffer/common/constants.h', | 93 'command_buffer/common/constants.h', |
93 'command_buffer/common/gles2_cmd_ids_autogen.h', | 94 'command_buffer/common/gles2_cmd_ids_autogen.h', |
94 'command_buffer/common/gles2_cmd_ids.h', | 95 'command_buffer/common/gles2_cmd_ids.h', |
95 'command_buffer/common/gles2_cmd_format_autogen.h', | 96 'command_buffer/common/gles2_cmd_format_autogen.h', |
96 'command_buffer/common/gles2_cmd_format.cc', | 97 'command_buffer/common/gles2_cmd_format.cc', |
97 'command_buffer/common/gles2_cmd_format.h', | 98 'command_buffer/common/gles2_cmd_format.h', |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 'command_buffer/service/cmd_parser_test.cc', | 272 'command_buffer/service/cmd_parser_test.cc', |
272 'command_buffer/service/command_buffer_service_unittest.cc', | 273 'command_buffer/service/command_buffer_service_unittest.cc', |
273 'command_buffer/service/common_decoder_unittest.cc', | 274 'command_buffer/service/common_decoder_unittest.cc', |
274 'command_buffer/service/gpu_processor_unittest.cc', | 275 'command_buffer/service/gpu_processor_unittest.cc', |
275 'command_buffer/service/resource_test.cc', | 276 'command_buffer/service/resource_test.cc', |
276 ], | 277 ], |
277 }, | 278 }, |
278 }, | 279 }, |
279 { | 280 { |
280 'target_name': 'gpu_plugin', | 281 'target_name': 'gpu_plugin', |
281 'type': '<(library)', | 282 'type': 'static_library', |
282 'dependencies': [ | 283 'dependencies': [ |
283 '../base/base.gyp:base', | 284 '../base/base.gyp:base', |
284 'command_buffer_service', | 285 'command_buffer_service', |
285 ], | 286 ], |
286 'include_dirs': [ | 287 'include_dirs': [ |
287 '..', | 288 '..', |
288 ], | 289 ], |
289 'all_dependent_settings': { | 290 'all_dependent_settings': { |
290 'include_dirs': [ | 291 'include_dirs': [ |
291 '..', | 292 '..', |
(...skipping 13 matching lines...) Expand all Loading... |
305 '../testing/gtest.gyp:gtest', | 306 '../testing/gtest.gyp:gtest', |
306 'command_buffer_client', | 307 'command_buffer_client', |
307 'command_buffer_client_unittests', | 308 'command_buffer_client_unittests', |
308 'command_buffer_common', | 309 'command_buffer_common', |
309 'command_buffer_common_unittests', | 310 'command_buffer_common_unittests', |
310 'command_buffer_service', | 311 'command_buffer_service', |
311 'command_buffer_service_unittests', | 312 'command_buffer_service_unittests', |
312 ], | 313 ], |
313 }, | 314 }, |
314 { | 315 { |
315 'target_name': 'gles2_demo', | 316 'target_name': 'gles2_demo_lib', |
316 'type': 'executable', | 317 'type': 'static_library', |
317 'dependencies': [ | 318 'dependencies': [ |
318 'command_buffer_client', | 319 'command_buffer_client', |
319 'command_buffer_service', | |
320 'gles2_lib', | 320 'gles2_lib', |
321 'gles2_c_lib', | 321 'gles2_c_lib', |
322 'gpu_plugin', | |
323 ], | 322 ], |
324 'sources': [ | 323 'sources': [ |
325 'command_buffer/client/gles2_demo.cc', | |
326 'command_buffer/client/gles2_demo_c.h', | 324 'command_buffer/client/gles2_demo_c.h', |
327 'command_buffer/client/gles2_demo_c.c', | 325 'command_buffer/client/gles2_demo_c.c', |
328 'command_buffer/client/gles2_demo_cc.h', | 326 'command_buffer/client/gles2_demo_cc.h', |
329 'command_buffer/client/gles2_demo_cc.cc', | 327 'command_buffer/client/gles2_demo_cc.cc', |
330 ], | 328 ], |
331 }, | 329 }, |
332 ] | 330 ], |
| 331 'conditions': [ |
| 332 ['OS == "win"', |
| 333 { |
| 334 'targets': [ |
| 335 { |
| 336 'target_name': 'gles2_demo', |
| 337 'type': 'executable', |
| 338 'dependencies': [ |
| 339 'command_buffer_service', |
| 340 'gles2_demo_lib', |
| 341 ], |
| 342 'sources': [ |
| 343 'command_buffer/client/gles2_demo.cc', |
| 344 ], |
| 345 }, |
| 346 ], |
| 347 }, |
| 348 ], |
| 349 ], |
333 } | 350 } |
334 | 351 |
335 # Local Variables: | 352 # Local Variables: |
336 # tab-width:2 | 353 # tab-width:2 |
337 # indent-tabs-mode:nil | 354 # indent-tabs-mode:nil |
338 # End: | 355 # End: |
339 # vim: set expandtab tabstop=2 shiftwidth=2: | 356 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |