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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # Library emulates GLES2 using command_buffers. | 8 # Library emulates GLES2 using command_buffers. |
9 'target_name': 'gles2_implementation', | 9 'target_name': 'gles2_implementation', |
10 'type': '<(component)', | 10 'type': '<(component)', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
13 '../ui/gfx/gl/gl.gyp:gl', | 13 '../ui/gl/gl.gyp:gl', |
14 'command_buffer/command_buffer.gyp:gles2_utils', | 14 'command_buffer/command_buffer.gyp:gles2_utils', |
15 'gles2_cmd_helper', | 15 'gles2_cmd_helper', |
16 ], | 16 ], |
17 'all_dependent_settings': { | 17 'all_dependent_settings': { |
18 'include_dirs': [ | 18 'include_dirs': [ |
19 # For GLES2/gl2.h | 19 # For GLES2/gl2.h |
20 '<(DEPTH)/third_party/khronos', | 20 '<(DEPTH)/third_party/khronos', |
21 ], | 21 ], |
22 }, | 22 }, |
23 'defines': [ | 23 'defines': [ |
24 'GLES2_IMPL_IMPLEMENTATION', | 24 'GLES2_IMPL_IMPLEMENTATION', |
25 ], | 25 ], |
26 'sources': [ | 26 'sources': [ |
27 '<@(gles2_implementation_source_files)', | 27 '<@(gles2_implementation_source_files)', |
28 ], | 28 ], |
29 }, | 29 }, |
30 { | 30 { |
31 # Library emulates GLES2 using command_buffers. | 31 # Library emulates GLES2 using command_buffers. |
32 'target_name': 'gles2_implementation_client_side_arrays', | 32 'target_name': 'gles2_implementation_client_side_arrays', |
33 'type': '<(component)', | 33 'type': '<(component)', |
34 'defines': [ | 34 'defines': [ |
35 'GLES2_IMPL_IMPLEMENTATION', | 35 'GLES2_IMPL_IMPLEMENTATION', |
36 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 36 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
37 ], | 37 ], |
38 'dependencies': [ | 38 'dependencies': [ |
39 '../base/base.gyp:base', | 39 '../base/base.gyp:base', |
40 '../ui/gfx/gl/gl.gyp:gl', | 40 '../ui/gl/gl.gyp:gl', |
41 'command_buffer/command_buffer.gyp:gles2_utils', | 41 'command_buffer/command_buffer.gyp:gles2_utils', |
42 'gles2_cmd_helper', | 42 'gles2_cmd_helper', |
43 ], | 43 ], |
44 'all_dependent_settings': { | 44 'all_dependent_settings': { |
45 'include_dirs': [ | 45 'include_dirs': [ |
46 # For GLES2/gl2.h | 46 # For GLES2/gl2.h |
47 '<(DEPTH)/third_party/khronos', | 47 '<(DEPTH)/third_party/khronos', |
48 ], | 48 ], |
49 }, | 49 }, |
50 'sources': [ | 50 'sources': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 { | 117 { |
118 'target_name': 'gpu_unittests', | 118 'target_name': 'gpu_unittests', |
119 'type': 'executable', | 119 'type': 'executable', |
120 'dependencies': [ | 120 'dependencies': [ |
121 '../base/base.gyp:base', | 121 '../base/base.gyp:base', |
122 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 122 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
123 '../testing/gmock.gyp:gmock', | 123 '../testing/gmock.gyp:gmock', |
124 '../testing/gmock.gyp:gmock_main', | 124 '../testing/gmock.gyp:gmock_main', |
125 '../testing/gtest.gyp:gtest', | 125 '../testing/gtest.gyp:gtest', |
126 '../third_party/angle/src/build_angle.gyp:translator_glsl', | 126 '../third_party/angle/src/build_angle.gyp:translator_glsl', |
127 '../ui/gfx/gl/gl.gyp:gl', | 127 '../ui/gl/gl.gyp:gl', |
128 '../ui/ui.gyp:ui', | 128 '../ui/ui.gyp:ui', |
129 'command_buffer/command_buffer.gyp:gles2_utils', | 129 'command_buffer/command_buffer.gyp:gles2_utils', |
130 'command_buffer_client', | 130 'command_buffer_client', |
131 'command_buffer_common', | 131 'command_buffer_common', |
132 'command_buffer_service', | 132 'command_buffer_service', |
133 'gpu', | 133 'gpu', |
134 'gpu_unittest_utils', | 134 'gpu_unittest_utils', |
135 'gles2_implementation_client_side_arrays', | 135 'gles2_implementation_client_side_arrays', |
136 'gles2_cmd_helper', | 136 'gles2_cmd_helper', |
137 ], | 137 ], |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 'command_buffer/tests/gl_texture_mailbox_unittests.cc', | 231 'command_buffer/tests/gl_texture_mailbox_unittests.cc', |
232 'command_buffer/tests/gl_unittests.cc', | 232 'command_buffer/tests/gl_unittests.cc', |
233 ], | 233 ], |
234 }, | 234 }, |
235 { | 235 { |
236 'target_name': 'gpu_unittest_utils', | 236 'target_name': 'gpu_unittest_utils', |
237 'type': 'static_library', | 237 'type': 'static_library', |
238 'dependencies': [ | 238 'dependencies': [ |
239 '../testing/gmock.gyp:gmock', | 239 '../testing/gmock.gyp:gmock', |
240 '../testing/gtest.gyp:gtest', | 240 '../testing/gtest.gyp:gtest', |
241 '../ui/gfx/gl/gl.gyp:gl', | 241 '../ui/gl/gl.gyp:gl', |
242 ], | 242 ], |
243 'include_dirs': [ | 243 'include_dirs': [ |
244 '..', | 244 '..', |
245 '<(DEPTH)/third_party/khronos', | 245 '<(DEPTH)/third_party/khronos', |
246 ], | 246 ], |
247 'sources': [ | 247 'sources': [ |
248 'command_buffer/common/gl_mock.h', | 248 'command_buffer/common/gl_mock.h', |
249 'command_buffer/common/gl_mock.cc', | 249 'command_buffer/common/gl_mock.cc', |
250 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 250 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
251 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 251 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
252 ], | 252 ], |
253 }, | 253 }, |
254 ], | 254 ], |
255 } | 255 } |
OLD | NEW |