Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: gpu/gpu.gyp

Issue 8423038: Move GL headers from gpu to third_party/khronos (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed mac_rel build failure Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 '.', 33 '<(DEPTH)/third_party/khronos',
34 ], 34 ],
35 'all_dependent_settings': { 35 'all_dependent_settings': {
36 'include_dirs': [ 36 'include_dirs': [
37 '.', 37 '<(DEPTH)/third_party/khronos',
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
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 '.', 93 '<(DEPTH)/third_party/khronos',
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 '.', 115 '<(DEPTH)/third_party/khronos',
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
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',
155 ], 156 ],
156 'all_dependent_settings': { 157 'all_dependent_settings': {
157 'include_dirs': [ 158 'include_dirs': [
158 '..', 159 '..',
160 '<(DEPTH)/third_party/khronos',
159 ], 161 ],
160 }, 162 },
161 'dependencies': [ 163 'dependencies': [
162 'command_buffer_common', 164 'command_buffer_common',
163 ], 165 ],
164 'sources': [ 166 'sources': [
165 'command_buffer/client/cmd_buffer_helper.cc', 167 'command_buffer/client/cmd_buffer_helper.cc',
166 'command_buffer/client/cmd_buffer_helper.h', 168 'command_buffer/client/cmd_buffer_helper.h',
167 'command_buffer/client/fenced_allocator.cc', 169 'command_buffer/client/fenced_allocator.cc',
168 'command_buffer/client/fenced_allocator.h', 170 'command_buffer/client/fenced_allocator.h',
169 'command_buffer/client/mapped_memory.cc', 171 'command_buffer/client/mapped_memory.cc',
170 'command_buffer/client/mapped_memory.h', 172 'command_buffer/client/mapped_memory.h',
171 'command_buffer/client/ring_buffer.cc', 173 'command_buffer/client/ring_buffer.cc',
172 'command_buffer/client/ring_buffer.h', 174 'command_buffer/client/ring_buffer.h',
173 ], 175 ],
174 }, 176 },
175 { 177 {
176 'target_name': 'command_buffer_service', 178 'target_name': 'command_buffer_service',
177 'type': 'static_library', 179 'type': 'static_library',
178 'include_dirs': [ 180 'include_dirs': [
179 '..', 181 '..',
182 '<(DEPTH)/third_party/khronos',
180 ], 183 ],
181 'all_dependent_settings': { 184 'all_dependent_settings': {
182 'include_dirs': [ 185 'include_dirs': [
183 '..', 186 '..',
187 '<(DEPTH)/third_party/khronos',
184 ], 188 ],
185 }, 189 },
186 'dependencies': [ 190 'dependencies': [
187 'command_buffer_common', 191 'command_buffer_common',
188 '../base/base.gyp:base', 192 '../base/base.gyp:base',
189 '../ui/gfx/gl/gl.gyp:gl', 193 '../ui/gfx/gl/gl.gyp:gl',
190 '../ui/gfx/surface/surface.gyp:surface', 194 '../ui/gfx/surface/surface.gyp:surface',
191 '../ui/ui.gyp:ui', 195 '../ui/ui.gyp:ui',
192 '../third_party/angle/src/build_angle.gyp:translator_glsl', 196 '../third_party/angle/src/build_angle.gyp:translator_glsl',
193 ], 197 ],
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 { 324 {
321 'target_name': 'gpu_unittest_utils', 325 'target_name': 'gpu_unittest_utils',
322 'type': 'static_library', 326 'type': 'static_library',
323 'dependencies': [ 327 'dependencies': [
324 '../testing/gmock.gyp:gmock', 328 '../testing/gmock.gyp:gmock',
325 '../testing/gtest.gyp:gtest', 329 '../testing/gtest.gyp:gtest',
326 '../ui/gfx/gl/gl.gyp:gl', 330 '../ui/gfx/gl/gl.gyp:gl',
327 ], 331 ],
328 'include_dirs': [ 332 'include_dirs': [
329 '..', 333 '..',
334 '<(DEPTH)/third_party/khronos',
330 ], 335 ],
331 'sources': [ 336 'sources': [
332 'command_buffer/common/gl_mock.h', 337 'command_buffer/common/gl_mock.h',
333 'command_buffer/common/gl_mock.cc', 338 'command_buffer/common/gl_mock.cc',
334 'command_buffer/service/gles2_cmd_decoder_mock.cc', 339 'command_buffer/service/gles2_cmd_decoder_mock.cc',
335 'command_buffer/service/gles2_cmd_decoder_mock.cc', 340 'command_buffer/service/gles2_cmd_decoder_mock.cc',
336 ], 341 ],
337 }, 342 },
338 { 343 {
339 'target_name': 'gpu_ipc', 344 'target_name': 'gpu_ipc',
340 'type': 'static_library', 345 'type': 'static_library',
341 'dependencies': [ 346 'dependencies': [
342 'command_buffer_client', 347 'command_buffer_client',
343 'gles2_c_lib', 348 'gles2_c_lib',
344 '../base/base.gyp:base', 349 '../base/base.gyp:base',
345 ], 350 ],
346 'include_dirs': [ 351 'include_dirs': [
347 '..', 352 '..',
353 '<(DEPTH)/third_party/khronos',
348 ], 354 ],
349 'sources': [ 355 'sources': [
350 'ipc/gpu_command_buffer_traits.cc', 356 'ipc/gpu_command_buffer_traits.cc',
351 'ipc/gpu_command_buffer_traits.h', 357 'ipc/gpu_command_buffer_traits.h',
352 ], 358 ],
353 }, 359 },
354 ], 360 ],
355 } 361 }
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_support.gyp ('k') | ppapi/native_client/src/shared/ppapi_proxy/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698