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

Side by Side Diff: gpu/gpu_common.gypi

Issue 9514020: GPU: Buld most of the gpu as a single DLL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months 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
« gpu/gpu.gyp ('K') | « gpu/gpu.gyp ('k') | gpu/gpu_export.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': {
7 'chromium_code': 1,
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%
10 # OpenGL ES 2.0 compliant for the conformance tests.
11 'gles2_c_lib_source_files': [
12 'command_buffer/client/gles2_c_lib.cc',
13 'command_buffer/client/gles2_c_lib_autogen.h',
14 'command_buffer/client/gles2_c_lib_export.h',
15 'command_buffer/client/gles2_lib.h',
16 'command_buffer/client/gles2_lib.cc',
17 ],
18 # These are defined here because we need to build this library twice. Once
19 # with without support for client side arrays and once with for pepper and
20 # the OpenGL ES 2.0 compliant for the conformance tests.
21 'gles2_implementation_source_files': [
22 'command_buffer/client/gles2_implementation_autogen.h',
23 'command_buffer/client/gles2_implementation.cc',
24 'command_buffer/client/gles2_implementation.h',
25 'command_buffer/client/program_info_manager.cc',
26 'command_buffer/client/program_info_manager.h',
27 ]
28 },
29 'targets': [ 6 'targets': [
30 { 7 {
31 'target_name': 'command_buffer_common',
32 'type': 'static_library',
33 'includes': [
34 'command_buffer_common.gypi',
35 ],
36 'export_dependent_settings': [
37 '../base/base.gyp:base',
38 ],
39 },
40 {
41 # Library helps make GLES2 command buffers.
42 'target_name': 'gles2_cmd_helper',
43 'type': 'static_library',
44 'includes': [
45 'gles2_cmd_helper.gypi',
46 ],
47 'dependencies': [
48 'command_buffer_client',
49 ],
50 },
51 {
52 # Library emulates GLES2 using command_buffers.
53 'target_name': 'gles2_implementation',
54 'type': 'static_library',
55 'includes': [
56 'gles2_implementation.gypi',
57 ],
58 'dependencies': [
59 'gles2_cmd_helper',
60 ],
61 },
62 {
63 # Library emulates GLES2 using command_buffers. 8 # Library emulates GLES2 using command_buffers.
64 'target_name': 'gles2_implementation_client_side_arrays', 9 'target_name': 'gles2_implementation_client_side_arrays',
65 'type': 'static_library', 10 'type': 'static_library',
66 'defines': [ 11 'defines': [
12 'COMPILE_GPU_STATICALLY',
67 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', 13 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1',
68 ], 14 ],
69 'dependencies': [ 15 'dependencies': [
70 '../base/base.gyp:base', 16 '../base/base.gyp:base',
71 'gles2_cmd_helper', 17 'gles2_cmd_helper',
72 ], 18 ],
73 'all_dependent_settings': { 19 'all_dependent_settings': {
74 'include_dirs': [ 20 'include_dirs': [
75 # For GLES2/gl2.h 21 # For GLES2/gl2.h
76 '<(DEPTH)/third_party/khronos', 22 '<(DEPTH)/third_party/khronos',
77 ], 23 ],
78 }, 24 },
79 'sources': [ 25 'sources': [
80 '<@(gles2_implementation_source_files)', 26 '<@(gles2_implementation_source_files)',
81 ], 27 ],
82 }, 28 },
83 { 29 {
84 # Library emulates GLES2 using command_buffers. 30 # Library emulates GLES2 using command_buffers.
85 'target_name': 'gles2_implementation_client_side_arrays_no_check', 31 'target_name': 'gles2_implementation_client_side_arrays_no_check',
86 'type': 'static_library', 32 'type': 'static_library',
87 'defines': [ 33 'defines': [
34 'COMPILE_GPU_STATICALLY',
88 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', 35 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1',
89 'GLES2_CONFORMANCE_TESTS=1', 36 'GLES2_CONFORMANCE_TESTS=1',
90 ], 37 ],
91 'dependencies': [ 38 'dependencies': [
92 '../base/base.gyp:base', 39 '../base/base.gyp:base',
93 'gles2_cmd_helper', 40 'gles2_cmd_helper',
94 ], 41 ],
95 'all_dependent_settings': { 42 'all_dependent_settings': {
96 'include_dirs': [ 43 'include_dirs': [
97 # For GLES2/gl2.h 44 # For GLES2/gl2.h
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 'dependencies': [ 78 'dependencies': [
132 '../base/base.gyp:base', 79 '../base/base.gyp:base',
133 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 80 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
134 'gles2_implementation_client_side_arrays_no_check', 81 'gles2_implementation_client_side_arrays_no_check',
135 ], 82 ],
136 'sources': [ 83 'sources': [
137 '<@(gles2_c_lib_source_files)', 84 '<@(gles2_c_lib_source_files)',
138 ], 85 ],
139 }, 86 },
140 { 87 {
141 'target_name': 'command_buffer_client',
142 'type': 'static_library',
143 'includes': [
144 'command_buffer_client.gypi',
145 ],
146 'dependencies': [
147 'command_buffer_common',
148 ],
149 },
150 {
151 'target_name': 'command_buffer_service',
152 'type': 'static_library',
153 'includes': [
154 'command_buffer_service.gypi',
155 ],
156 'dependencies': [
157 'command_buffer_common',
158 ],
159 },
160 {
161 'target_name': 'gpu_unittests', 88 'target_name': 'gpu_unittests',
162 'type': 'executable', 89 'type': 'executable',
163 'dependencies': [ 90 'dependencies': [
164 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 91 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
165 '../testing/gmock.gyp:gmock', 92 '../testing/gmock.gyp:gmock',
166 '../testing/gmock.gyp:gmock_main', 93 '../testing/gmock.gyp:gmock_main',
167 '../testing/gtest.gyp:gtest', 94 '../testing/gtest.gyp:gtest',
95 '../third_party/angle/src/build_angle.gyp:translator_glsl',
168 '../ui/gfx/gl/gl.gyp:gl', 96 '../ui/gfx/gl/gl.gyp:gl',
97 '../ui/ui.gyp:ui',
98 'command_buffer/command_buffer.gyp:gles2_utils',
169 'command_buffer_client', 99 'command_buffer_client',
170 'command_buffer_common', 100 'command_buffer_common',
171 'command_buffer_service', 101 'command_buffer_service',
172 'gpu_unittest_utils', 102 'gpu_unittest_utils',
173 'gles2_implementation_client_side_arrays', 103 'gles2_implementation_client_side_arrays',
174 'gles2_cmd_helper', 104 'gles2_cmd_helper',
175 ], 105 ],
176 'defines': [ 106 'defines': [
177 'GLES2_C_LIB_IMPLEMENTATION', 107 'GLES2_C_LIB_IMPLEMENTATION',
178 ], 108 ],
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 '..', 172 '..',
243 '<(DEPTH)/third_party/khronos', 173 '<(DEPTH)/third_party/khronos',
244 ], 174 ],
245 'sources': [ 175 'sources': [
246 'command_buffer/common/gl_mock.h', 176 'command_buffer/common/gl_mock.h',
247 'command_buffer/common/gl_mock.cc', 177 'command_buffer/common/gl_mock.cc',
248 'command_buffer/service/gles2_cmd_decoder_mock.cc', 178 'command_buffer/service/gles2_cmd_decoder_mock.cc',
249 'command_buffer/service/gles2_cmd_decoder_mock.cc', 179 'command_buffer/service/gles2_cmd_decoder_mock.cc',
250 ], 180 ],
251 }, 181 },
252 {
253 'target_name': 'gpu_ipc',
254 'type': 'static_library',
255 'includes': [
256 'gpu_ipc.gypi',
257 ],
258 'dependencies': [
259 'command_buffer_client',
260 ],
261 },
262 ], 182 ],
263 } 183 }
OLDNEW
« gpu/gpu.gyp ('K') | « gpu/gpu.gyp ('k') | gpu/gpu_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698