OLD | NEW |
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. |
(...skipping 12 matching lines...) Expand all Loading... |
23 'command_buffer/client/gles2_implementation.h', | 23 'command_buffer/client/gles2_implementation.h', |
24 'command_buffer/client/program_info_manager.cc', | 24 'command_buffer/client/program_info_manager.cc', |
25 'command_buffer/client/program_info_manager.h', | 25 'command_buffer/client/program_info_manager.h', |
26 ] | 26 ] |
27 }, | 27 }, |
28 'targets': [ | 28 'targets': [ |
29 { | 29 { |
30 'target_name': 'command_buffer_common', | 30 'target_name': 'command_buffer_common', |
31 'type': 'static_library', | 31 'type': 'static_library', |
32 'include_dirs': [ | 32 'include_dirs': [ |
33 '<(DEPTH)/third_party/khronos', | 33 '.', |
34 ], | 34 ], |
35 'all_dependent_settings': { | 35 'all_dependent_settings': { |
36 'include_dirs': [ | 36 'include_dirs': [ |
37 '<(DEPTH)/third_party/khronos', | 37 '.', |
38 ], | 38 ], |
39 }, | 39 }, |
40 'dependencies': [ | 40 'dependencies': [ |
41 '../base/base.gyp:base', | 41 '../base/base.gyp:base', |
42 ], | 42 ], |
43 'export_dependent_settings': [ | 43 'export_dependent_settings': [ |
44 '../base/base.gyp:base', | 44 '../base/base.gyp:base', |
45 ], | 45 ], |
46 'sources': [ | 46 'sources': [ |
47 'command_buffer/common/bitfield_helpers.h', | 47 'command_buffer/common/bitfield_helpers.h', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 'target_name': 'gles2_implementation', | 83 'target_name': 'gles2_implementation', |
84 'type': 'static_library', | 84 'type': 'static_library', |
85 'dependencies': [ | 85 'dependencies': [ |
86 '../base/base.gyp:base', | 86 '../base/base.gyp:base', |
87 '../ui/gfx/gl/gl.gyp:gl', | 87 '../ui/gfx/gl/gl.gyp:gl', |
88 'gles2_cmd_helper', | 88 'gles2_cmd_helper', |
89 ], | 89 ], |
90 'all_dependent_settings': { | 90 'all_dependent_settings': { |
91 'include_dirs': [ | 91 'include_dirs': [ |
92 # For GLES2/gl2.h | 92 # For GLES2/gl2.h |
93 '<(DEPTH)/third_party/khronos', | 93 '.', |
94 ], | 94 ], |
95 }, | 95 }, |
96 'sources': [ | 96 'sources': [ |
97 '<@(gles2_implementation_source_files)', | 97 '<@(gles2_implementation_source_files)', |
98 ], | 98 ], |
99 }, | 99 }, |
100 { | 100 { |
101 # Library emulates GLES2 using command_buffers. | 101 # Library emulates GLES2 using command_buffers. |
102 'target_name': 'gles2_implementation_client_side_arrays', | 102 'target_name': 'gles2_implementation_client_side_arrays', |
103 'type': 'static_library', | 103 'type': 'static_library', |
104 'defines': [ | 104 'defines': [ |
105 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 105 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
106 'GLES2_CONFORMANCE_TESTS=1', | 106 'GLES2_CONFORMANCE_TESTS=1', |
107 ], | 107 ], |
108 'dependencies': [ | 108 'dependencies': [ |
109 '../base/base.gyp:base', | 109 '../base/base.gyp:base', |
110 'gles2_cmd_helper', | 110 'gles2_cmd_helper', |
111 ], | 111 ], |
112 'all_dependent_settings': { | 112 'all_dependent_settings': { |
113 'include_dirs': [ | 113 'include_dirs': [ |
114 # For GLES2/gl2.h | 114 # For GLES2/gl2.h |
115 '<(DEPTH)/third_party/khronos', | 115 '.', |
116 ], | 116 ], |
117 }, | 117 }, |
118 'sources': [ | 118 'sources': [ |
119 '<@(gles2_implementation_source_files)', | 119 '<@(gles2_implementation_source_files)', |
120 ], | 120 ], |
121 }, | 121 }, |
122 { | 122 { |
123 # Stub to expose gles2_implemenation in C instead of C++. | 123 # Stub to expose gles2_implemenation in C instead of C++. |
124 # so GLES2 C programs can work with no changes. | 124 # so GLES2 C programs can work with no changes. |
125 'target_name': 'gles2_c_lib', | 125 'target_name': 'gles2_c_lib', |
(...skipping 19 matching lines...) Expand all Loading... |
145 ], | 145 ], |
146 'sources': [ | 146 'sources': [ |
147 '<@(gles2_c_lib_source_files)', | 147 '<@(gles2_c_lib_source_files)', |
148 ], | 148 ], |
149 }, | 149 }, |
150 { | 150 { |
151 'target_name': 'command_buffer_client', | 151 'target_name': 'command_buffer_client', |
152 'type': 'static_library', | 152 'type': 'static_library', |
153 'include_dirs': [ | 153 'include_dirs': [ |
154 '..', | 154 '..', |
155 '<(DEPTH)/third_party/khronos', | |
156 ], | 155 ], |
157 'all_dependent_settings': { | 156 'all_dependent_settings': { |
158 'include_dirs': [ | 157 'include_dirs': [ |
159 '..', | 158 '..', |
160 '<(DEPTH)/third_party/khronos', | |
161 ], | 159 ], |
162 }, | 160 }, |
163 'dependencies': [ | 161 'dependencies': [ |
164 'command_buffer_common', | 162 'command_buffer_common', |
165 ], | 163 ], |
166 'sources': [ | 164 'sources': [ |
167 'command_buffer/client/cmd_buffer_helper.cc', | 165 'command_buffer/client/cmd_buffer_helper.cc', |
168 'command_buffer/client/cmd_buffer_helper.h', | 166 'command_buffer/client/cmd_buffer_helper.h', |
169 'command_buffer/client/fenced_allocator.cc', | 167 'command_buffer/client/fenced_allocator.cc', |
170 'command_buffer/client/fenced_allocator.h', | 168 'command_buffer/client/fenced_allocator.h', |
171 'command_buffer/client/mapped_memory.cc', | 169 'command_buffer/client/mapped_memory.cc', |
172 'command_buffer/client/mapped_memory.h', | 170 'command_buffer/client/mapped_memory.h', |
173 'command_buffer/client/ring_buffer.cc', | 171 'command_buffer/client/ring_buffer.cc', |
174 'command_buffer/client/ring_buffer.h', | 172 'command_buffer/client/ring_buffer.h', |
175 ], | 173 ], |
176 }, | 174 }, |
177 { | 175 { |
178 'target_name': 'command_buffer_service', | 176 'target_name': 'command_buffer_service', |
179 'type': 'static_library', | 177 'type': 'static_library', |
180 'include_dirs': [ | 178 'include_dirs': [ |
181 '..', | 179 '..', |
182 '<(DEPTH)/third_party/khronos', | |
183 ], | 180 ], |
184 'all_dependent_settings': { | 181 'all_dependent_settings': { |
185 'include_dirs': [ | 182 'include_dirs': [ |
186 '..', | 183 '..', |
187 '<(DEPTH)/third_party/khronos', | |
188 ], | 184 ], |
189 }, | 185 }, |
190 'dependencies': [ | 186 'dependencies': [ |
191 'command_buffer_common', | 187 'command_buffer_common', |
192 '../base/base.gyp:base', | 188 '../base/base.gyp:base', |
193 '../ui/gfx/gl/gl.gyp:gl', | 189 '../ui/gfx/gl/gl.gyp:gl', |
194 '../ui/gfx/surface/surface.gyp:surface', | 190 '../ui/gfx/surface/surface.gyp:surface', |
195 '../ui/ui.gyp:ui', | 191 '../ui/ui.gyp:ui', |
196 '../third_party/angle/src/build_angle.gyp:translator_glsl', | 192 '../third_party/angle/src/build_angle.gyp:translator_glsl', |
197 ], | 193 ], |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 { | 320 { |
325 'target_name': 'gpu_unittest_utils', | 321 'target_name': 'gpu_unittest_utils', |
326 'type': 'static_library', | 322 'type': 'static_library', |
327 'dependencies': [ | 323 'dependencies': [ |
328 '../testing/gmock.gyp:gmock', | 324 '../testing/gmock.gyp:gmock', |
329 '../testing/gtest.gyp:gtest', | 325 '../testing/gtest.gyp:gtest', |
330 '../ui/gfx/gl/gl.gyp:gl', | 326 '../ui/gfx/gl/gl.gyp:gl', |
331 ], | 327 ], |
332 'include_dirs': [ | 328 'include_dirs': [ |
333 '..', | 329 '..', |
334 '<(DEPTH)/third_party/khronos', | |
335 ], | 330 ], |
336 'sources': [ | 331 'sources': [ |
337 'command_buffer/common/gl_mock.h', | 332 'command_buffer/common/gl_mock.h', |
338 'command_buffer/common/gl_mock.cc', | 333 'command_buffer/common/gl_mock.cc', |
339 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 334 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
340 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 335 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
341 ], | 336 ], |
342 }, | 337 }, |
343 { | 338 { |
344 'target_name': 'gpu_ipc', | 339 'target_name': 'gpu_ipc', |
345 'type': 'static_library', | 340 'type': 'static_library', |
346 'dependencies': [ | 341 'dependencies': [ |
347 'command_buffer_client', | 342 'command_buffer_client', |
348 'gles2_c_lib', | 343 'gles2_c_lib', |
349 '../base/base.gyp:base', | 344 '../base/base.gyp:base', |
350 ], | 345 ], |
351 'include_dirs': [ | 346 'include_dirs': [ |
352 '..', | 347 '..', |
353 '<(DEPTH)/third_party/khronos', | |
354 ], | 348 ], |
355 'sources': [ | 349 'sources': [ |
356 'ipc/gpu_command_buffer_traits.cc', | 350 'ipc/gpu_command_buffer_traits.cc', |
357 'ipc/gpu_command_buffer_traits.h', | 351 'ipc/gpu_command_buffer_traits.h', |
358 ], | 352 ], |
359 }, | 353 }, |
360 ], | 354 ], |
361 } | 355 } |
OLD | NEW |