OLD | NEW |
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 'nacl_win64_target': 0, | 7 'nacl_win64_target': 0, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'gpu_common.gypi', | 10 'gpu_common.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 # Library emulates GLES2 using command_buffers. | 14 # Library emulates GLES2 using command_buffers. |
15 'target_name': 'gles2_implementation', | 15 'target_name': 'gles2_implementation', |
16 'type': '<(component)', | 16 'type': '<(component)', |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
| 19 '../testing/gmock.gyp:gmock', |
19 '../third_party/khronos/khronos.gyp:khronos_headers', | 20 '../third_party/khronos/khronos.gyp:khronos_headers', |
20 '../ui/gl/gl.gyp:gl', | 21 '../ui/gl/gl.gyp:gl', |
21 'command_buffer/command_buffer.gyp:gles2_utils', | 22 'command_buffer/command_buffer.gyp:gles2_utils', |
22 'gles2_cmd_helper', | 23 'gles2_cmd_helper', |
23 ], | 24 ], |
24 'defines': [ | 25 'defines': [ |
25 'GLES2_IMPL_IMPLEMENTATION', | 26 'GLES2_IMPL_IMPLEMENTATION', |
26 ], | 27 ], |
27 'sources': [ | 28 'sources': [ |
28 '<@(gles2_implementation_source_files)', | 29 '<@(gles2_implementation_source_files)', |
29 ], | 30 ], |
30 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 31 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
31 'msvs_disabled_warnings': [4267, ], | 32 'msvs_disabled_warnings': [4267, ], |
32 }, | 33 }, |
33 { | 34 { |
34 # Library emulates GLES2 using command_buffers. | 35 # Library emulates GLES2 using command_buffers. |
35 'target_name': 'gles2_implementation_client_side_arrays', | 36 'target_name': 'gles2_implementation_client_side_arrays', |
36 'type': '<(component)', | 37 'type': '<(component)', |
37 'defines': [ | 38 'defines': [ |
38 'GLES2_IMPL_IMPLEMENTATION', | 39 'GLES2_IMPL_IMPLEMENTATION', |
39 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 40 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
40 ], | 41 ], |
41 'dependencies': [ | 42 'dependencies': [ |
42 '../base/base.gyp:base', | 43 '../base/base.gyp:base', |
| 44 '../testing/gmock.gyp:gmock', |
43 '../third_party/khronos/khronos.gyp:khronos_headers', | 45 '../third_party/khronos/khronos.gyp:khronos_headers', |
44 '../ui/gl/gl.gyp:gl', | 46 '../ui/gl/gl.gyp:gl', |
45 'command_buffer/command_buffer.gyp:gles2_utils', | 47 'command_buffer/command_buffer.gyp:gles2_utils', |
46 'gles2_cmd_helper', | 48 'gles2_cmd_helper', |
47 ], | 49 ], |
48 'sources': [ | 50 'sources': [ |
49 '<@(gles2_implementation_source_files)', | 51 '<@(gles2_implementation_source_files)', |
50 ], | 52 ], |
51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
52 'msvs_disabled_warnings': [ 4267, ], | 54 'msvs_disabled_warnings': [ 4267, ], |
53 }, | 55 }, |
54 { | 56 { |
55 # Library emulates GLES2 using command_buffers. | 57 # Library emulates GLES2 using command_buffers. |
56 'target_name': 'gles2_implementation_client_side_arrays_no_check', | 58 'target_name': 'gles2_implementation_client_side_arrays_no_check', |
57 'type': '<(component)', | 59 'type': '<(component)', |
58 'defines': [ | 60 'defines': [ |
59 'GLES2_IMPL_IMPLEMENTATION', | 61 'GLES2_IMPL_IMPLEMENTATION', |
60 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 62 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
61 'GLES2_CONFORMANCE_TESTS=1', | 63 'GLES2_CONFORMANCE_TESTS=1', |
62 ], | 64 ], |
63 'dependencies': [ | 65 'dependencies': [ |
64 '../base/base.gyp:base', | 66 '../base/base.gyp:base', |
| 67 '../testing/gmock.gyp:gmock', |
65 '../third_party/khronos/khronos.gyp:khronos_headers', | 68 '../third_party/khronos/khronos.gyp:khronos_headers', |
66 'command_buffer/command_buffer.gyp:gles2_utils', | 69 'command_buffer/command_buffer.gyp:gles2_utils', |
67 'gles2_cmd_helper', | 70 'gles2_cmd_helper', |
68 ], | 71 ], |
69 'sources': [ | 72 'sources': [ |
70 '<@(gles2_implementation_source_files)', | 73 '<@(gles2_implementation_source_files)', |
71 ], | 74 ], |
72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
73 'msvs_disabled_warnings': [ 4267, ], | 76 'msvs_disabled_warnings': [ 4267, ], |
74 }, | 77 }, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 'defines': [ | 243 'defines': [ |
241 'GLES2_C_LIB_IMPLEMENTATION', | 244 'GLES2_C_LIB_IMPLEMENTATION', |
242 'GL_GLEXT_PROTOTYPES', | 245 'GL_GLEXT_PROTOTYPES', |
243 ], | 246 ], |
244 'sources': [ | 247 'sources': [ |
245 '<@(gles2_c_lib_source_files)', | 248 '<@(gles2_c_lib_source_files)', |
246 'command_buffer/tests/gl_bind_uniform_location_unittest.cc', | 249 'command_buffer/tests/gl_bind_uniform_location_unittest.cc', |
247 'command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc', | 250 'command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc', |
248 'command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc', | 251 'command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc', |
249 'command_buffer/tests/gl_depth_texture_unittest.cc', | 252 'command_buffer/tests/gl_depth_texture_unittest.cc', |
| 253 'command_buffer/tests/gl_gpu_memory_buffer_unittests.cc', |
250 'command_buffer/tests/gl_lose_context_chromium_unittests.cc', | 254 'command_buffer/tests/gl_lose_context_chromium_unittests.cc', |
251 'command_buffer/tests/gl_manager.cc', | 255 'command_buffer/tests/gl_manager.cc', |
252 'command_buffer/tests/gl_manager.h', | 256 'command_buffer/tests/gl_manager.h', |
253 'command_buffer/tests/gl_pointcoord_unittest.cc', | 257 'command_buffer/tests/gl_pointcoord_unittest.cc', |
254 'command_buffer/tests/gl_program_unittests.cc', | 258 'command_buffer/tests/gl_program_unittests.cc', |
255 'command_buffer/tests/gl_query_unittests.cc', | 259 'command_buffer/tests/gl_query_unittests.cc', |
256 'command_buffer/tests/gl_readback_unittests.cc', | 260 'command_buffer/tests/gl_readback_unittests.cc', |
257 'command_buffer/tests/gl_shared_resources_unittests.cc', | 261 'command_buffer/tests/gl_shared_resources_unittests.cc', |
258 'command_buffer/tests/gl_stream_draw_unittests.cc', | 262 'command_buffer/tests/gl_stream_draw_unittests.cc', |
259 'command_buffer/tests/gl_test_utils.cc', | 263 'command_buffer/tests/gl_test_utils.cc', |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', | 507 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', |
504 }, | 508 }, |
505 'includes': [ | 509 'includes': [ |
506 '../build/apk_test.gypi', | 510 '../build/apk_test.gypi', |
507 ], | 511 ], |
508 }, | 512 }, |
509 ], | 513 ], |
510 }], | 514 }], |
511 ], | 515 ], |
512 } | 516 } |
OLD | NEW |