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

Side by Side Diff: third_party/mesa/mesa.gyp

Issue 22218003: Linux: remove use_system_mesa bits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « third_party/khronos/khronos.gyp ('k') | ui/gl/gl.gyp » ('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': { 6 'variables': {
7 'generated_src_dir': 'src/chromium_gensrc', 7 'generated_src_dir': 'src/chromium_gensrc',
8 }, 8 },
9 'conditions': [ 9 'target_defaults': {
10 ['use_system_mesa==0', { 10 'defines': [
11 'target_defaults': { 11 'MAPI_ABI_HEADER="glapi_mapi_tmp_shared.h"',
12 "PACKAGE_NAME=\"Mesa\"",
13 "PACKAGE_TARNAME=\"mesa\"",
14 "PACKAGE_VERSION=\"9.0.3\"",
15 "PACKAGE_STRING=\"Mesa\ 9.0.3\"",
16 "PACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=M esa\"",
17 "PACKAGE_URL=\"\"",
18 "PACKAGE=\"mesa\"",
19 "VERSION=\"9.0.3\"",
20 "STDC_HEADERS=1",
21 "HAVE_SYS_TYPES_H=1",
22 "HAVE_SYS_STAT_H=1",
23 "HAVE_STDLIB_H=1",
24 "HAVE_STRING_H=1",
25 "HAVE_MEMORY_H=1",
26 "HAVE_STRINGS_H=1",
27 "HAVE_INTTYPES_H=1",
28 "HAVE_STDINT_H=1",
29 "HAVE_DLFCN_H=1",
30 "LT_OBJDIR=\".libs/\"",
31 "YYTEXT_POINTER=1",
32 "HAVE_LIBEXPAT=1",
33 "HAVE_LIBXCB_DRI2=1",
34 "FEATURE_GL=1",
35 'MAPI_MODE_GLAPI',
36 #"USE_X86_64_ASM",
37 "IN_DRI_DRIVER",
38 "USE_XCB",
39 "GLX_INDIRECT_RENDERING",
40 "GLX_DIRECT_RENDERING",
41 "USE_EXTERNAL_DXTN_LIB=1",
42 "IN_DRI_DRIVER",
43 "HAVE_ALIAS",
44 "HAVE_MINCORE",
45 "HAVE_LIBUDEV",
46 ],
47 'conditions': [
48 ['OS=="android"', {
12 'defines': [ 49 'defines': [
13 'MAPI_ABI_HEADER="glapi_mapi_tmp_shared.h"', 50 '__GLIBC__',
14 "PACKAGE_NAME=\"Mesa\"", 51 '_GNU_SOURCE',
15 "PACKAGE_TARNAME=\"mesa\"", 52 ],
16 "PACKAGE_VERSION=\"9.0.3\"", 53 }],
17 "PACKAGE_STRING=\"Mesa\ 9.0.3\"", 54 ['OS=="linux"', {
18 "PACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?produ ct=Mesa\"", 55 'defines': [
19 "PACKAGE_URL=\"\"", 56 '_GNU_SOURCE',
20 "PACKAGE=\"mesa\"", 57 ],
21 "VERSION=\"9.0.3\"", 58 }],
22 "STDC_HEADERS=1", 59 ['os_posix == 1', {
23 "HAVE_SYS_TYPES_H=1", 60 'defines': [
24 "HAVE_SYS_STAT_H=1", 61 'HAVE_DLOPEN',
25 "HAVE_STDLIB_H=1", 62 'HAVE_PTHREAD=1',
26 "HAVE_STRING_H=1", 63 'HAVE_UNISTD_H=1',
27 "HAVE_MEMORY_H=1", 64 ],
28 "HAVE_STRINGS_H=1", 65 }],
29 "HAVE_INTTYPES_H=1", 66 ['os_posix == 1 and OS != "android"', {
30 "HAVE_STDINT_H=1", 67 'defines': [
31 "HAVE_DLFCN_H=1", 68 'HAVE_POSIX_MEMALIGN',
32 "LT_OBJDIR=\".libs/\"", 69 ],
33 "YYTEXT_POINTER=1", 70 }],
34 "HAVE_LIBEXPAT=1", 71 ['os_posix == 1 and OS != "mac" and OS != "android"', {
35 "HAVE_LIBXCB_DRI2=1", 72 'cflags': [
36 "FEATURE_GL=1", 73 '-fPIC',
37 'MAPI_MODE_GLAPI', 74 ],
38 #"USE_X86_64_ASM", 75 }],
39 "IN_DRI_DRIVER", 76 ['OS=="win"', {
40 "USE_XCB", 77 # Pick up emulation headers not supported by Visual Studio.
41 "GLX_INDIRECT_RENDERING", 78 'include_dirs': [
42 "GLX_DIRECT_RENDERING", 79 'src/include/c99',
43 "USE_EXTERNAL_DXTN_LIB=1", 80 ],
44 "IN_DRI_DRIVER", 81 'defines': [
45 "HAVE_ALIAS", 82 '_GLAPI_NO_EXPORTS',
46 "HAVE_MINCORE", 83 ],
47 "HAVE_LIBUDEV", 84 }],
48 ], 85 ],
49 'conditions': [ 86 },
50 ['OS=="android"', { 87 'targets': [
88 {
89 'target_name': 'mesa_headers',
90 'type': 'none',
91 'direct_dependent_settings': {
92 'include_dirs': [
93 'src/include',
94 ],
95 'xcode_settings': {
96 'WARNING_CFLAGS': [
97 '-Wno-unknown-pragmas',
98 ],
99 },
100 'cflags': [
101 '-Wno-unknown-pragmas',
102 ],
103 },
104 'conditions': [
105 ['use_x11==0', {
106 'direct_dependent_settings': {
51 'defines': [ 107 'defines': [
52 '__GLIBC__', 108 'MESA_EGL_NO_X11_HEADERS',
53 '_GNU_SOURCE',
54 ],
55 }],
56 ['OS=="linux"', {
57 'defines': [
58 '_GNU_SOURCE',
59 ],
60 }],
61 ['os_posix == 1', {
62 'defines': [
63 'HAVE_DLOPEN',
64 'HAVE_PTHREAD=1',
65 'HAVE_UNISTD_H=1',
66 ],
67 }],
68 ['os_posix == 1 and OS != "android"', {
69 'defines': [
70 'HAVE_POSIX_MEMALIGN',
71 ],
72 }],
73 ['os_posix == 1 and OS != "mac" and OS != "android"', {
74 'cflags': [
75 '-fPIC',
76 ],
77 }],
78 ['OS=="win"', {
79 # Pick up emulation headers not supported by Visual Studio.
80 'include_dirs': [
81 'src/include/c99',
82 ],
83 'defines': [
84 '_GLAPI_NO_EXPORTS',
85 ],
86 }],
87 ],
88 },
89 'targets': [
90 {
91 'target_name': 'mesa_headers',
92 'type': 'none',
93 'direct_dependent_settings': {
94 'include_dirs': [
95 'src/include',
96 ],
97 'xcode_settings': {
98 'WARNING_CFLAGS': [
99 '-Wno-unknown-pragmas',
100 ],
101 },
102 'cflags': [
103 '-Wno-unknown-pragmas',
104 ], 109 ],
105 }, 110 },
106 'conditions': [ 111 }],
107 ['use_x11==0', { 112 ],
108 'direct_dependent_settings': { 113 },
109 'defines': [ 114 {
110 'MESA_EGL_NO_X11_HEADERS', 115 'target_name': 'mesa_libglslcommon',
111 ], 116 'type': 'static_library',
112 }, 117 'include_dirs': [
113 }], 118 'src/src/gallium/auxiliary',
114 ], 119 'src/src/gallium/include',
115 }, 120 'src/src/glsl',
116 { 121 'src/src/glsl/glcpp',
117 'target_name': 'mesa_libglslcommon', 122 'src/src/mapi',
118 'type': 'static_library', 123 'src/src/mapi/glapi',
119 'include_dirs': [ 124 'src/src/mesa',
120 'src/src/gallium/auxiliary', 125 'src/src/mesa/main',
121 'src/src/gallium/include', 126 'src/include',
122 'src/src/glsl', 127 '<(generated_src_dir)/mesa/',
123 'src/src/glsl/glcpp', 128 '<(generated_src_dir)/mesa/main',
124 'src/src/mapi', 129 '<(generated_src_dir)/mesa/program',
125 'src/src/mapi/glapi', 130 '<(generated_src_dir)/mesa/glapi',
126 'src/src/mesa', 131 ],
127 'src/src/mesa/main', 132 'dependencies': [
128 'src/include', 133 'mesa_headers',
129 '<(generated_src_dir)/mesa/', 134 ],
130 '<(generated_src_dir)/mesa/main', 135 # TODO(scottmg): http://crbug.com/143877 These should be removed if
131 '<(generated_src_dir)/mesa/program', 136 # Mesa is ever rolled and the warnings are fixed.
132 '<(generated_src_dir)/mesa/glapi', 137 'msvs_disabled_warnings': [
133 ], 138 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267,
134 'dependencies': [ 139 ],
135 'mesa_headers', 140 'sources': [
136 ], 141 '<(generated_src_dir)/mesa/main/dispatch.h',
137 # TODO(scottmg): http://crbug.com/143877 These should be removed if 142 'src/src/glsl/ast_expr.cpp',
138 # Mesa is ever rolled and the warnings are fixed. 143 'src/src/glsl/ast_function.cpp',
139 'msvs_disabled_warnings': [ 144 'src/src/glsl/ast_to_hir.cpp',
140 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267, 145 'src/src/glsl/ast_type.cpp',
141 ], 146 'src/src/glsl/builtin_variables.cpp',
142 'sources': [ 147 '<(generated_src_dir)/mesa/glcpp-lex.c',
143 '<(generated_src_dir)/mesa/main/dispatch.h', 148 '<(generated_src_dir)/mesa/glcpp-parse.c',
144 'src/src/glsl/ast_expr.cpp', 149 '<(generated_src_dir)/mesa/glcpp-parse.h',
145 'src/src/glsl/ast_function.cpp', 150 'src/src/glsl/glcpp/glcpp.h',
146 'src/src/glsl/ast_to_hir.cpp', 151 'src/src/glsl/glcpp/pp.c',
147 'src/src/glsl/ast_type.cpp', 152 '<(generated_src_dir)/mesa/glsl_lexer.cc',
148 'src/src/glsl/builtin_variables.cpp', 153 '<(generated_src_dir)/mesa/glsl_parser.cc',
149 '<(generated_src_dir)/mesa/glcpp-lex.c', 154 'src/src/glsl/glsl_parser_extras.cpp',
150 '<(generated_src_dir)/mesa/glcpp-parse.c', 155 'src/src/glsl/glsl_parser_extras.h',
151 '<(generated_src_dir)/mesa/glcpp-parse.h', 156 'src/src/glsl/glsl_symbol_table.cpp',
152 'src/src/glsl/glcpp/glcpp.h', 157 'src/src/glsl/glsl_symbol_table.h',
153 'src/src/glsl/glcpp/pp.c', 158 'src/src/glsl/glsl_types.cpp',
154 '<(generated_src_dir)/mesa/glsl_lexer.cc', 159 'src/src/glsl/glsl_types.h',
155 '<(generated_src_dir)/mesa/glsl_parser.cc', 160 'src/src/glsl/hir_field_selection.cpp',
156 'src/src/glsl/glsl_parser_extras.cpp', 161 'src/src/glsl/ir.cpp',
157 'src/src/glsl/glsl_parser_extras.h', 162 'src/src/glsl/ir.h',
158 'src/src/glsl/glsl_symbol_table.cpp', 163 'src/src/glsl/ir_basic_block.cpp',
159 'src/src/glsl/glsl_symbol_table.h', 164 'src/src/glsl/ir_basic_block.h',
160 'src/src/glsl/glsl_types.cpp', 165 'src/src/glsl/ir_builder.cpp',
161 'src/src/glsl/glsl_types.h', 166 'src/src/glsl/ir_builder.h',
162 'src/src/glsl/hir_field_selection.cpp', 167 'src/src/glsl/ir_clone.cpp',
163 'src/src/glsl/ir.cpp', 168 'src/src/glsl/ir_constant_expression.cpp',
164 'src/src/glsl/ir.h', 169 'src/src/glsl/ir_expression_flattening.cpp',
165 'src/src/glsl/ir_basic_block.cpp', 170 'src/src/glsl/ir_expression_flattening.h',
166 'src/src/glsl/ir_basic_block.h', 171 'src/src/glsl/ir_function.cpp',
167 'src/src/glsl/ir_builder.cpp', 172 'src/src/glsl/ir_function_can_inline.cpp',
168 'src/src/glsl/ir_builder.h', 173 'src/src/glsl/ir_function_detect_recursion.cpp',
169 'src/src/glsl/ir_clone.cpp', 174 'src/src/glsl/ir_hierarchical_visitor.cpp',
170 'src/src/glsl/ir_constant_expression.cpp', 175 'src/src/glsl/ir_hierarchical_visitor.h',
171 'src/src/glsl/ir_expression_flattening.cpp', 176 'src/src/glsl/ir_hv_accept.cpp',
172 'src/src/glsl/ir_expression_flattening.h', 177 'src/src/glsl/ir_import_prototypes.cpp',
173 'src/src/glsl/ir_function.cpp', 178 'src/src/glsl/ir_print_visitor.cpp',
174 'src/src/glsl/ir_function_can_inline.cpp', 179 'src/src/glsl/ir_print_visitor.h',
175 'src/src/glsl/ir_function_detect_recursion.cpp', 180 'src/src/glsl/ir_reader.cpp',
176 'src/src/glsl/ir_hierarchical_visitor.cpp', 181 'src/src/glsl/ir_reader.h',
177 'src/src/glsl/ir_hierarchical_visitor.h', 182 'src/src/glsl/ir_rvalue_visitor.cpp',
178 'src/src/glsl/ir_hv_accept.cpp', 183 'src/src/glsl/ir_rvalue_visitor.h',
179 'src/src/glsl/ir_import_prototypes.cpp', 184 'src/src/glsl/ir_set_program_inouts.cpp',
180 'src/src/glsl/ir_print_visitor.cpp', 185 'src/src/glsl/ir_validate.cpp',
181 'src/src/glsl/ir_print_visitor.h', 186 'src/src/glsl/ir_variable_refcount.cpp',
182 'src/src/glsl/ir_reader.cpp', 187 'src/src/glsl/ir_variable_refcount.h',
183 'src/src/glsl/ir_reader.h', 188 'src/src/glsl/link_functions.cpp',
184 'src/src/glsl/ir_rvalue_visitor.cpp', 189 'src/src/glsl/link_uniform_initializers.cpp',
185 'src/src/glsl/ir_rvalue_visitor.h', 190 'src/src/glsl/link_uniforms.cpp',
186 'src/src/glsl/ir_set_program_inouts.cpp', 191 'src/src/glsl/linker.cpp',
187 'src/src/glsl/ir_validate.cpp', 192 'src/src/glsl/linker.h',
188 'src/src/glsl/ir_variable_refcount.cpp', 193 'src/src/glsl/loop_analysis.cpp',
189 'src/src/glsl/ir_variable_refcount.h', 194 'src/src/glsl/loop_analysis.h',
190 'src/src/glsl/link_functions.cpp', 195 'src/src/glsl/loop_controls.cpp',
191 'src/src/glsl/link_uniform_initializers.cpp', 196 'src/src/glsl/loop_unroll.cpp',
192 'src/src/glsl/link_uniforms.cpp', 197 'src/src/glsl/lower_clip_distance.cpp',
193 'src/src/glsl/linker.cpp', 198 'src/src/glsl/lower_discard.cpp',
194 'src/src/glsl/linker.h', 199 'src/src/glsl/lower_discard_flow.cpp',
195 'src/src/glsl/loop_analysis.cpp', 200 'src/src/glsl/lower_if_to_cond_assign.cpp',
196 'src/src/glsl/loop_analysis.h', 201 'src/src/glsl/lower_instructions.cpp',
197 'src/src/glsl/loop_controls.cpp', 202 'src/src/glsl/lower_jumps.cpp',
198 'src/src/glsl/loop_unroll.cpp', 203 'src/src/glsl/lower_mat_op_to_vec.cpp',
199 'src/src/glsl/lower_clip_distance.cpp', 204 'src/src/glsl/lower_noise.cpp',
200 'src/src/glsl/lower_discard.cpp', 205 'src/src/glsl/lower_output_reads.cpp',
201 'src/src/glsl/lower_discard_flow.cpp', 206 'src/src/glsl/lower_texture_projection.cpp',
202 'src/src/glsl/lower_if_to_cond_assign.cpp', 207 'src/src/glsl/lower_ubo_reference.cpp',
203 'src/src/glsl/lower_instructions.cpp', 208 'src/src/glsl/lower_variable_index_to_cond_assign.cpp',
204 'src/src/glsl/lower_jumps.cpp', 209 'src/src/glsl/lower_vec_index_to_cond_assign.cpp',
205 'src/src/glsl/lower_mat_op_to_vec.cpp', 210 'src/src/glsl/lower_vec_index_to_swizzle.cpp',
206 'src/src/glsl/lower_noise.cpp', 211 'src/src/glsl/lower_vector.cpp',
207 'src/src/glsl/lower_output_reads.cpp', 212 'src/src/glsl/opt_algebraic.cpp',
208 'src/src/glsl/lower_texture_projection.cpp', 213 'src/src/glsl/opt_array_splitting.cpp',
209 'src/src/glsl/lower_ubo_reference.cpp', 214 'src/src/glsl/opt_constant_folding.cpp',
210 'src/src/glsl/lower_variable_index_to_cond_assign.cpp', 215 'src/src/glsl/opt_constant_propagation.cpp',
211 'src/src/glsl/lower_vec_index_to_cond_assign.cpp', 216 'src/src/glsl/opt_constant_variable.cpp',
212 'src/src/glsl/lower_vec_index_to_swizzle.cpp', 217 'src/src/glsl/opt_copy_propagation.cpp',
213 'src/src/glsl/lower_vector.cpp', 218 'src/src/glsl/opt_copy_propagation_elements.cpp',
214 'src/src/glsl/opt_algebraic.cpp', 219 'src/src/glsl/opt_dead_code.cpp',
215 'src/src/glsl/opt_array_splitting.cpp', 220 'src/src/glsl/opt_dead_code_local.cpp',
216 'src/src/glsl/opt_constant_folding.cpp', 221 'src/src/glsl/opt_dead_functions.cpp',
217 'src/src/glsl/opt_constant_propagation.cpp', 222 'src/src/glsl/opt_function_inlining.cpp',
218 'src/src/glsl/opt_constant_variable.cpp', 223 'src/src/glsl/opt_if_simplification.cpp',
219 'src/src/glsl/opt_copy_propagation.cpp', 224 'src/src/glsl/opt_noop_swizzle.cpp',
220 'src/src/glsl/opt_copy_propagation_elements.cpp', 225 'src/src/glsl/opt_redundant_jumps.cpp',
221 'src/src/glsl/opt_dead_code.cpp', 226 'src/src/glsl/opt_structure_splitting.cpp',
222 'src/src/glsl/opt_dead_code_local.cpp', 227 'src/src/glsl/opt_swizzle_swizzle.cpp',
223 'src/src/glsl/opt_dead_functions.cpp', 228 'src/src/glsl/opt_tree_grafting.cpp',
224 'src/src/glsl/opt_function_inlining.cpp', 229 'src/src/glsl/program.h',
225 'src/src/glsl/opt_if_simplification.cpp', 230 'src/src/glsl/ralloc.c',
226 'src/src/glsl/opt_noop_swizzle.cpp', 231 'src/src/glsl/ralloc.h',
227 'src/src/glsl/opt_redundant_jumps.cpp', 232 'src/src/glsl/s_expression.cpp',
228 'src/src/glsl/opt_structure_splitting.cpp', 233 'src/src/glsl/s_expression.h',
229 'src/src/glsl/opt_swizzle_swizzle.cpp', 234 'src/src/glsl/standalone_scaffolding.cpp',
230 'src/src/glsl/opt_tree_grafting.cpp', 235 'src/src/glsl/standalone_scaffolding.h',
231 'src/src/glsl/program.h', 236 'src/src/glsl/strtod.c',
232 'src/src/glsl/ralloc.c', 237 'src/src/glsl/strtod.h',
233 'src/src/glsl/ralloc.h', 238 ],
234 'src/src/glsl/s_expression.cpp', 239 'conditions': [
235 'src/src/glsl/s_expression.h', 240 ['clang == 1', {
236 'src/src/glsl/standalone_scaffolding.cpp',
237 'src/src/glsl/standalone_scaffolding.h',
238 'src/src/glsl/strtod.c',
239 'src/src/glsl/strtod.h',
240 ],
241 'conditions': [
242 ['clang == 1', {
243 'xcode_settings': {
244 'WARNING_CFLAGS': [
245 '-Wno-tautological-constant-out-of-range-compare',
246 ],
247 'WARNING_CFLAGS!': [
248 # Don't warn about string->bool used in asserts.
249 '-Wstring-conversion',
250 ],
251 },
252 'cflags': [
253 '-Wno-tautological-constant-out-of-range-compare',
254 ],
255 'cflags!': [
256 '-Wstring-conversion',
257 ],
258 }],
259 ],
260 },
261 {
262 'target_name': 'mesa',
263 'type': 'static_library',
264 'include_dirs': [
265 'src/src/gallium/auxiliary',
266 'src/src/gallium/include',
267 'src/src/glsl',
268 'src/src/glsl/glcpp',
269 'src/src/mapi',
270 'src/src/mapi/glapi',
271 'src/src/mesa',
272 'src/src/mesa/main',
273 '<(generated_src_dir)/mesa/',
274 '<(generated_src_dir)/mesa/main',
275 '<(generated_src_dir)/mesa/program',
276 '<(generated_src_dir)/mesa/glapi',
277 ],
278 'dependencies': [
279 'mesa_headers',
280 'mesa_libglslcommon',
281 ],
282 # TODO(scottmg): http://crbug.com/143877 These should be removed if
283 # Mesa is ever rolled and the warnings are fixed.
284 'msvs_disabled_warnings': [
285 4005, 4018, 4090, 4099, 4146, 4273, 4291, 4305, 4334, 4748, 4267,
286 ],
287 'sources': [
288 '<(generated_src_dir)/mesa/builtin_function.cpp',
289 '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h',
290 'src/src/mapi/mapi/entry.c',
291 'src/src/mapi/mapi/entry.h',
292 'src/src/mapi/mapi/mapi.c',
293 'src/src/mapi/mapi/mapi.h',
294 'src/src/mapi/mapi/mapi_glapi.c',
295 'src/src/mapi/mapi/stub.c',
296 'src/src/mapi/mapi/stub.h',
297 'src/src/mapi/mapi/table.c',
298 'src/src/mapi/mapi/table.h',
299 'src/src/mapi/mapi/u_current.c',
300 'src/src/mapi/mapi/u_current.h',
301 'src/src/mapi/mapi/u_execmem.c',
302 'src/src/mapi/mapi/u_execmem.h',
303 'src/src/mesa/main/accum.c',
304 'src/src/mesa/main/accum.h',
305 'src/src/mesa/main/api_arrayelt.c',
306 'src/src/mesa/main/api_arrayelt.h',
307 'src/src/mesa/main/api_exec.c',
308 'src/src/mesa/main/api_exec.h',
309 '<(generated_src_dir)/mesa/api_exec_es1.c',
310 'src/src/mesa/main/api_loopback.c',
311 'src/src/mesa/main/api_loopback.h',
312 'src/src/mesa/main/api_validate.c',
313 'src/src/mesa/main/api_validate.h',
314 'src/src/mesa/main/arbprogram.c',
315 'src/src/mesa/main/arbprogram.h',
316 'src/src/mesa/main/arrayobj.c',
317 'src/src/mesa/main/arrayobj.h',
318 'src/src/mesa/main/atifragshader.c',
319 'src/src/mesa/main/atifragshader.h',
320 'src/src/mesa/main/attrib.c',
321 'src/src/mesa/main/attrib.h',
322 'src/src/mesa/main/blend.c',
323 'src/src/mesa/main/blend.h',
324 'src/src/mesa/main/bufferobj.c',
325 'src/src/mesa/main/bufferobj.h',
326 'src/src/mesa/main/buffers.c',
327 'src/src/mesa/main/buffers.h',
328 'src/src/mesa/main/clear.c',
329 'src/src/mesa/main/clear.h',
330 'src/src/mesa/main/clip.c',
331 'src/src/mesa/main/clip.h',
332 'src/src/mesa/main/colortab.c',
333 'src/src/mesa/main/colortab.h',
334 'src/src/mesa/main/condrender.c',
335 'src/src/mesa/main/condrender.h',
336 'src/src/mesa/main/context.c',
337 'src/src/mesa/main/context.h',
338 'src/src/mesa/main/convolve.c',
339 'src/src/mesa/main/convolve.h',
340 'src/src/mesa/main/cpuinfo.c',
341 'src/src/mesa/main/cpuinfo.h',
342 'src/src/mesa/main/debug.c',
343 'src/src/mesa/main/debug.h',
344 'src/src/mesa/main/depth.c',
345 'src/src/mesa/main/depth.h',
346 'src/src/mesa/main/dlist.c',
347 'src/src/mesa/main/dlist.h',
348 'src/src/mesa/main/drawpix.c',
349 'src/src/mesa/main/drawpix.h',
350 'src/src/mesa/main/drawtex.c',
351 'src/src/mesa/main/drawtex.h',
352 'src/src/mesa/main/enable.c',
353 'src/src/mesa/main/enable.h',
354 '<(generated_src_dir)/mesa/enums.c',
355 'src/src/mesa/main/enums.h',
356 'src/src/mesa/main/errors.c',
357 'src/src/mesa/main/errors.h',
358 'src/src/mesa/main/es1_conversion.c',
359 'src/src/mesa/main/es1_conversion.h',
360 'src/src/mesa/main/eval.c',
361 'src/src/mesa/main/eval.h',
362 'src/src/mesa/main/execmem.c',
363 'src/src/mesa/main/extensions.c',
364 'src/src/mesa/main/extensions.h',
365 'src/src/mesa/main/fbobject.c',
366 'src/src/mesa/main/fbobject.h',
367 'src/src/mesa/main/feedback.c',
368 'src/src/mesa/main/feedback.h',
369 'src/src/mesa/main/ff_fragment_shader.cpp',
370 'src/src/mesa/main/ffvertex_prog.c',
371 'src/src/mesa/main/ffvertex_prog.h',
372 'src/src/mesa/main/fog.c',
373 'src/src/mesa/main/fog.h',
374 'src/src/mesa/main/format_pack.c',
375 'src/src/mesa/main/format_pack.h',
376 'src/src/mesa/main/format_unpack.c',
377 'src/src/mesa/main/format_unpack.h',
378 'src/src/mesa/main/formats.c',
379 'src/src/mesa/main/formats.h',
380 'src/src/mesa/main/framebuffer.c',
381 'src/src/mesa/main/framebuffer.h',
382 'src/src/mesa/main/get.c',
383 'src/src/mesa/main/get.h',
384 'src/src/mesa/main/getstring.c',
385 'src/src/mesa/main/glformats.c',
386 'src/src/mesa/main/glformats.h',
387 'src/src/mesa/main/hash.c',
388 'src/src/mesa/main/hash.h',
389 'src/src/mesa/main/hint.c',
390 'src/src/mesa/main/hint.h',
391 'src/src/mesa/main/histogram.c',
392 'src/src/mesa/main/histogram.h',
393 'src/src/mesa/main/image.c',
394 'src/src/mesa/main/image.h',
395 'src/src/mesa/main/imports.c',
396 'src/src/mesa/main/imports.h',
397 'src/src/mesa/main/light.c',
398 'src/src/mesa/main/light.h',
399 'src/src/mesa/main/lines.c',
400 'src/src/mesa/main/lines.h',
401 'src/src/mesa/main/matrix.c',
402 'src/src/mesa/main/matrix.h',
403 'src/src/mesa/main/mipmap.c',
404 'src/src/mesa/main/mipmap.h',
405 'src/src/mesa/main/mm.c',
406 'src/src/mesa/main/mm.h',
407 'src/src/mesa/main/multisample.c',
408 'src/src/mesa/main/multisample.h',
409 'src/src/mesa/main/nvprogram.c',
410 'src/src/mesa/main/nvprogram.h',
411 'src/src/mesa/main/pack.c',
412 'src/src/mesa/main/pack.h',
413 'src/src/mesa/main/pbo.c',
414 'src/src/mesa/main/pbo.h',
415 'src/src/mesa/main/pixel.c',
416 'src/src/mesa/main/pixel.h',
417 'src/src/mesa/main/pixelstore.c',
418 'src/src/mesa/main/pixelstore.h',
419 'src/src/mesa/main/pixeltransfer.c',
420 'src/src/mesa/main/pixeltransfer.h',
421 'src/src/mesa/main/points.c',
422 'src/src/mesa/main/points.h',
423 'src/src/mesa/main/polygon.c',
424 'src/src/mesa/main/polygon.h',
425 'src/src/mesa/main/querymatrix.c',
426 'src/src/mesa/main/queryobj.c',
427 'src/src/mesa/main/queryobj.h',
428 'src/src/mesa/main/rastpos.c',
429 'src/src/mesa/main/rastpos.h',
430 'src/src/mesa/main/readpix.c',
431 'src/src/mesa/main/readpix.h',
432 'src/src/mesa/main/remap.c',
433 'src/src/mesa/main/remap.h',
434 'src/src/mesa/main/renderbuffer.c',
435 'src/src/mesa/main/renderbuffer.h',
436 'src/src/mesa/main/samplerobj.c',
437 'src/src/mesa/main/samplerobj.h',
438 'src/src/mesa/main/scissor.c',
439 'src/src/mesa/main/scissor.h',
440 'src/src/mesa/main/shader_query.cpp',
441 'src/src/mesa/main/shaderapi.c',
442 'src/src/mesa/main/shaderapi.h',
443 'src/src/mesa/main/shaderobj.c',
444 'src/src/mesa/main/shaderobj.h',
445 'src/src/mesa/main/shared.c',
446 'src/src/mesa/main/shared.h',
447 'src/src/mesa/main/state.c',
448 'src/src/mesa/main/state.h',
449 'src/src/mesa/main/stencil.c',
450 'src/src/mesa/main/stencil.h',
451 'src/src/mesa/main/syncobj.c',
452 'src/src/mesa/main/syncobj.h',
453 'src/src/mesa/main/texcompress.c',
454 'src/src/mesa/main/texcompress.h',
455 'src/src/mesa/main/texcompress_cpal.c',
456 'src/src/mesa/main/texcompress_cpal.h',
457 'src/src/mesa/main/texcompress_etc.c',
458 'src/src/mesa/main/texcompress_etc.h',
459 'src/src/mesa/main/texcompress_fxt1.c',
460 'src/src/mesa/main/texcompress_fxt1.h',
461 'src/src/mesa/main/texcompress_rgtc.c',
462 'src/src/mesa/main/texcompress_rgtc.h',
463 'src/src/mesa/main/texcompress_s3tc.c',
464 'src/src/mesa/main/texcompress_s3tc.h',
465 'src/src/mesa/main/texenv.c',
466 'src/src/mesa/main/texenv.h',
467 'src/src/mesa/main/texformat.c',
468 'src/src/mesa/main/texformat.h',
469 'src/src/mesa/main/texgen.c',
470 'src/src/mesa/main/texgen.h',
471 'src/src/mesa/main/texgetimage.c',
472 'src/src/mesa/main/texgetimage.h',
473 'src/src/mesa/main/teximage.c',
474 'src/src/mesa/main/teximage.h',
475 'src/src/mesa/main/texobj.c',
476 'src/src/mesa/main/texobj.h',
477 'src/src/mesa/main/texparam.c',
478 'src/src/mesa/main/texparam.h',
479 'src/src/mesa/main/texstate.c',
480 'src/src/mesa/main/texstate.h',
481 'src/src/mesa/main/texstorage.c',
482 'src/src/mesa/main/texstorage.h',
483 'src/src/mesa/main/texstore.c',
484 'src/src/mesa/main/texstore.h',
485 'src/src/mesa/main/texturebarrier.c',
486 'src/src/mesa/main/texturebarrier.h',
487 'src/src/mesa/main/transformfeedback.c',
488 'src/src/mesa/main/transformfeedback.h',
489 'src/src/mesa/main/uniform_query.cpp',
490 'src/src/mesa/main/uniforms.c',
491 'src/src/mesa/main/uniforms.h',
492 'src/src/mesa/main/varray.c',
493 'src/src/mesa/main/varray.h',
494 'src/src/mesa/main/version.c',
495 'src/src/mesa/main/version.h',
496 'src/src/mesa/main/viewport.c',
497 'src/src/mesa/main/viewport.h',
498 'src/src/mesa/main/vtxfmt.c',
499 'src/src/mesa/main/vtxfmt.h',
500 'src/src/mesa/math/m_debug_clip.c',
501 'src/src/mesa/math/m_debug_norm.c',
502 'src/src/mesa/math/m_debug_xform.c',
503 'src/src/mesa/math/m_eval.c',
504 'src/src/mesa/math/m_eval.h',
505 'src/src/mesa/math/m_matrix.c',
506 'src/src/mesa/math/m_matrix.h',
507 'src/src/mesa/math/m_translate.c',
508 'src/src/mesa/math/m_translate.h',
509 'src/src/mesa/math/m_vector.c',
510 'src/src/mesa/math/m_vector.h',
511 'src/src/mesa/math/m_xform.c',
512 'src/src/mesa/math/m_xform.h',
513 'src/src/mesa/program/arbprogparse.c',
514 'src/src/mesa/program/arbprogparse.h',
515 'src/src/mesa/program/hash_table.c',
516 'src/src/mesa/program/hash_table.h',
517 'src/src/mesa/program/ir_to_mesa.cpp',
518 'src/src/mesa/program/ir_to_mesa.h',
519 '<(generated_src_dir)/mesa/lex.yy.c',
520 'src/src/mesa/program/nvfragparse.c',
521 'src/src/mesa/program/nvfragparse.h',
522 'src/src/mesa/program/nvvertparse.c',
523 'src/src/mesa/program/nvvertparse.h',
524 'src/src/mesa/program/prog_cache.c',
525 'src/src/mesa/program/prog_cache.h',
526 'src/src/mesa/program/prog_execute.c',
527 'src/src/mesa/program/prog_execute.h',
528 'src/src/mesa/program/prog_instruction.c',
529 'src/src/mesa/program/prog_instruction.h',
530 'src/src/mesa/program/prog_noise.c',
531 'src/src/mesa/program/prog_noise.h',
532 'src/src/mesa/program/prog_opt_constant_fold.c',
533 'src/src/mesa/program/prog_optimize.c',
534 'src/src/mesa/program/prog_optimize.h',
535 'src/src/mesa/program/prog_parameter.c',
536 'src/src/mesa/program/prog_parameter.h',
537 'src/src/mesa/program/prog_parameter_layout.c',
538 'src/src/mesa/program/prog_parameter_layout.h',
539 'src/src/mesa/program/prog_print.c',
540 'src/src/mesa/program/prog_print.h',
541 'src/src/mesa/program/prog_statevars.c',
542 'src/src/mesa/program/prog_statevars.h',
543 'src/src/mesa/program/program.c',
544 'src/src/mesa/program/program.h',
545 '<(generated_src_dir)/mesa/program/program_parse.tab.c',
546 '<(generated_src_dir)/mesa/program/program_parse.tab.h',
547 'src/src/mesa/program/program_parse_extra.c',
548 'src/src/mesa/program/programopt.c',
549 'src/src/mesa/program/programopt.h',
550 'src/src/mesa/program/register_allocate.c',
551 'src/src/mesa/program/register_allocate.h',
552 'src/src/mesa/program/sampler.cpp',
553 'src/src/mesa/program/sampler.h',
554 'src/src/mesa/program/string_to_uint_map.cpp',
555 'src/src/mesa/program/symbol_table.c',
556 'src/src/mesa/program/symbol_table.h',
557 'src/src/mesa/state_tracker/st_atom.c',
558 'src/src/mesa/state_tracker/st_atom.h',
559 'src/src/mesa/state_tracker/st_atom_array.c',
560 'src/src/mesa/state_tracker/st_atom_blend.c',
561 'src/src/mesa/state_tracker/st_atom_clip.c',
562 'src/src/mesa/state_tracker/st_atom_constbuf.c',
563 'src/src/mesa/state_tracker/st_atom_constbuf.h',
564 'src/src/mesa/state_tracker/st_atom_depth.c',
565 'src/src/mesa/state_tracker/st_atom_framebuffer.c',
566 'src/src/mesa/state_tracker/st_atom_msaa.c',
567 'src/src/mesa/state_tracker/st_atom_pixeltransfer.c',
568 'src/src/mesa/state_tracker/st_atom_rasterizer.c',
569 'src/src/mesa/state_tracker/st_atom_sampler.c',
570 'src/src/mesa/state_tracker/st_atom_scissor.c',
571 'src/src/mesa/state_tracker/st_atom_shader.c',
572 'src/src/mesa/state_tracker/st_atom_shader.h',
573 'src/src/mesa/state_tracker/st_atom_stipple.c',
574 'src/src/mesa/state_tracker/st_atom_texture.c',
575 'src/src/mesa/state_tracker/st_atom_viewport.c',
576 'src/src/mesa/state_tracker/st_cb_bitmap.c',
577 'src/src/mesa/state_tracker/st_cb_bitmap.h',
578 'src/src/mesa/state_tracker/st_cb_blit.c',
579 'src/src/mesa/state_tracker/st_cb_blit.h',
580 'src/src/mesa/state_tracker/st_cb_bufferobjects.c',
581 'src/src/mesa/state_tracker/st_cb_bufferobjects.h',
582 'src/src/mesa/state_tracker/st_cb_clear.c',
583 'src/src/mesa/state_tracker/st_cb_clear.h',
584 'src/src/mesa/state_tracker/st_cb_condrender.c',
585 'src/src/mesa/state_tracker/st_cb_condrender.h',
586 'src/src/mesa/state_tracker/st_cb_drawpixels.c',
587 'src/src/mesa/state_tracker/st_cb_drawpixels.h',
588 'src/src/mesa/state_tracker/st_cb_drawtex.c',
589 'src/src/mesa/state_tracker/st_cb_drawtex.h',
590 'src/src/mesa/state_tracker/st_cb_eglimage.c',
591 'src/src/mesa/state_tracker/st_cb_eglimage.h',
592 'src/src/mesa/state_tracker/st_cb_fbo.c',
593 'src/src/mesa/state_tracker/st_cb_fbo.h',
594 'src/src/mesa/state_tracker/st_cb_feedback.c',
595 'src/src/mesa/state_tracker/st_cb_feedback.h',
596 'src/src/mesa/state_tracker/st_cb_flush.c',
597 'src/src/mesa/state_tracker/st_cb_flush.h',
598 'src/src/mesa/state_tracker/st_cb_program.c',
599 'src/src/mesa/state_tracker/st_cb_program.h',
600 'src/src/mesa/state_tracker/st_cb_queryobj.c',
601 'src/src/mesa/state_tracker/st_cb_queryobj.h',
602 'src/src/mesa/state_tracker/st_cb_rasterpos.c',
603 'src/src/mesa/state_tracker/st_cb_rasterpos.h',
604 'src/src/mesa/state_tracker/st_cb_readpixels.c',
605 'src/src/mesa/state_tracker/st_cb_readpixels.h',
606 'src/src/mesa/state_tracker/st_cb_strings.c',
607 'src/src/mesa/state_tracker/st_cb_strings.h',
608 'src/src/mesa/state_tracker/st_cb_syncobj.c',
609 'src/src/mesa/state_tracker/st_cb_syncobj.h',
610 'src/src/mesa/state_tracker/st_cb_texture.c',
611 'src/src/mesa/state_tracker/st_cb_texture.h',
612 'src/src/mesa/state_tracker/st_cb_texturebarrier.c',
613 'src/src/mesa/state_tracker/st_cb_texturebarrier.h',
614 'src/src/mesa/state_tracker/st_cb_viewport.c',
615 'src/src/mesa/state_tracker/st_cb_viewport.h',
616 'src/src/mesa/state_tracker/st_cb_xformfb.c',
617 'src/src/mesa/state_tracker/st_cb_xformfb.h',
618 'src/src/mesa/state_tracker/st_context.c',
619 'src/src/mesa/state_tracker/st_context.h',
620 'src/src/mesa/state_tracker/st_debug.c',
621 'src/src/mesa/state_tracker/st_debug.h',
622 'src/src/mesa/state_tracker/st_draw.c',
623 'src/src/mesa/state_tracker/st_draw.h',
624 'src/src/mesa/state_tracker/st_draw_feedback.c',
625 'src/src/mesa/state_tracker/st_extensions.c',
626 'src/src/mesa/state_tracker/st_extensions.h',
627 'src/src/mesa/state_tracker/st_format.c',
628 'src/src/mesa/state_tracker/st_format.h',
629 'src/src/mesa/state_tracker/st_gen_mipmap.c',
630 'src/src/mesa/state_tracker/st_gen_mipmap.h',
631 'src/src/mesa/state_tracker/st_glsl_to_tgsi.cpp',
632 'src/src/mesa/state_tracker/st_glsl_to_tgsi.h',
633 'src/src/mesa/state_tracker/st_manager.c',
634 'src/src/mesa/state_tracker/st_manager.h',
635 'src/src/mesa/state_tracker/st_mesa_to_tgsi.c',
636 'src/src/mesa/state_tracker/st_mesa_to_tgsi.h',
637 'src/src/mesa/state_tracker/st_program.c',
638 'src/src/mesa/state_tracker/st_program.h',
639 'src/src/mesa/state_tracker/st_texture.c',
640 'src/src/mesa/state_tracker/st_texture.h',
641 'src/src/mesa/swrast/s_aaline.c',
642 'src/src/mesa/swrast/s_aaline.h',
643 'src/src/mesa/swrast/s_aatriangle.c',
644 'src/src/mesa/swrast/s_aatriangle.h',
645 'src/src/mesa/swrast/s_alpha.c',
646 'src/src/mesa/swrast/s_alpha.h',
647 'src/src/mesa/swrast/s_atifragshader.c',
648 'src/src/mesa/swrast/s_atifragshader.h',
649 'src/src/mesa/swrast/s_bitmap.c',
650 'src/src/mesa/swrast/s_blend.c',
651 'src/src/mesa/swrast/s_blend.h',
652 'src/src/mesa/swrast/s_blit.c',
653 'src/src/mesa/swrast/s_clear.c',
654 'src/src/mesa/swrast/s_context.c',
655 'src/src/mesa/swrast/s_context.h',
656 'src/src/mesa/swrast/s_copypix.c',
657 'src/src/mesa/swrast/s_depth.c',
658 'src/src/mesa/swrast/s_depth.h',
659 'src/src/mesa/swrast/s_drawpix.c',
660 'src/src/mesa/swrast/s_feedback.c',
661 'src/src/mesa/swrast/s_feedback.h',
662 'src/src/mesa/swrast/s_fog.c',
663 'src/src/mesa/swrast/s_fog.h',
664 'src/src/mesa/swrast/s_fragprog.c',
665 'src/src/mesa/swrast/s_fragprog.h',
666 'src/src/mesa/swrast/s_lines.c',
667 'src/src/mesa/swrast/s_lines.h',
668 'src/src/mesa/swrast/s_logic.c',
669 'src/src/mesa/swrast/s_logic.h',
670 'src/src/mesa/swrast/s_masking.c',
671 'src/src/mesa/swrast/s_masking.h',
672 'src/src/mesa/swrast/s_points.c',
673 'src/src/mesa/swrast/s_points.h',
674 'src/src/mesa/swrast/s_renderbuffer.c',
675 'src/src/mesa/swrast/s_renderbuffer.h',
676 'src/src/mesa/swrast/s_span.c',
677 'src/src/mesa/swrast/s_span.h',
678 'src/src/mesa/swrast/s_stencil.c',
679 'src/src/mesa/swrast/s_stencil.h',
680 'src/src/mesa/swrast/s_texcombine.c',
681 'src/src/mesa/swrast/s_texcombine.h',
682 'src/src/mesa/swrast/s_texfetch.c',
683 'src/src/mesa/swrast/s_texfetch.h',
684 'src/src/mesa/swrast/s_texfilter.c',
685 'src/src/mesa/swrast/s_texfilter.h',
686 'src/src/mesa/swrast/s_texrender.c',
687 'src/src/mesa/swrast/s_texture.c',
688 'src/src/mesa/swrast/s_triangle.c',
689 'src/src/mesa/swrast/s_triangle.h',
690 'src/src/mesa/swrast/s_zoom.c',
691 'src/src/mesa/swrast/s_zoom.h',
692 'src/src/mesa/swrast_setup/ss_context.c',
693 'src/src/mesa/swrast_setup/ss_context.h',
694 'src/src/mesa/swrast_setup/ss_triangle.c',
695 'src/src/mesa/swrast_setup/ss_triangle.h',
696 'src/src/mesa/tnl/t_context.c',
697 'src/src/mesa/tnl/t_context.h',
698 'src/src/mesa/tnl/t_draw.c',
699 'src/src/mesa/tnl/t_pipeline.c',
700 'src/src/mesa/tnl/t_pipeline.h',
701 'src/src/mesa/tnl/t_rasterpos.c',
702 'src/src/mesa/tnl/t_vb_fog.c',
703 'src/src/mesa/tnl/t_vb_light.c',
704 'src/src/mesa/tnl/t_vb_normals.c',
705 'src/src/mesa/tnl/t_vb_points.c',
706 'src/src/mesa/tnl/t_vb_program.c',
707 'src/src/mesa/tnl/t_vb_render.c',
708 'src/src/mesa/tnl/t_vb_texgen.c',
709 'src/src/mesa/tnl/t_vb_texmat.c',
710 'src/src/mesa/tnl/t_vb_vertex.c',
711 'src/src/mesa/tnl/t_vertex.c',
712 'src/src/mesa/tnl/t_vertex.h',
713 'src/src/mesa/tnl/t_vertex_generic.c',
714 'src/src/mesa/tnl/t_vertex_sse.c',
715 'src/src/mesa/tnl/t_vp_build.c',
716 'src/src/mesa/tnl/t_vp_build.h',
717 'src/src/mesa/vbo/vbo_context.c',
718 'src/src/mesa/vbo/vbo_context.h',
719 'src/src/mesa/vbo/vbo_exec.c',
720 'src/src/mesa/vbo/vbo_exec.h',
721 'src/src/mesa/vbo/vbo_exec_api.c',
722 'src/src/mesa/vbo/vbo_exec_array.c',
723 'src/src/mesa/vbo/vbo_exec_draw.c',
724 'src/src/mesa/vbo/vbo_exec_eval.c',
725 'src/src/mesa/vbo/vbo_noop.c',
726 'src/src/mesa/vbo/vbo_noop.h',
727 'src/src/mesa/vbo/vbo_primitive_restart.c',
728 'src/src/mesa/vbo/vbo_rebase.c',
729 'src/src/mesa/vbo/vbo_save.c',
730 'src/src/mesa/vbo/vbo_save.h',
731 'src/src/mesa/vbo/vbo_save_api.c',
732 'src/src/mesa/vbo/vbo_save_draw.c',
733 'src/src/mesa/vbo/vbo_save_loopback.c',
734 'src/src/mesa/vbo/vbo_split.c',
735 'src/src/mesa/vbo/vbo_split.h',
736 'src/src/mesa/vbo/vbo_split_copy.c',
737 'src/src/mesa/vbo/vbo_split_inplace.c',
738 'src/src/mesa/x86-64/x86-64.c',
739 'src/src/mesa/x86-64/x86-64.h',
740 ],
741 'conditions': [
742 ['clang == 1', {
743 'xcode_settings': {
744 'WARNING_CFLAGS': [
745 '-Wno-tautological-constant-out-of-range-compare',
746 ],
747 'WARNING_CFLAGS!': [
748 # Don't warn about string->bool used in asserts.
749 '-Wstring-conversion',
750 ],
751 },
752 'cflags': [
753 '-Wno-tautological-constant-out-of-range-compare',
754 ],
755 'cflags!': [
756 '-Wstring-conversion',
757 ],
758 }],
759 ['OS=="android" and clang==0', {
760 # Disable sincos() optimization to avoid a linker error
761 # since Android's math library doesn't have sincos().
762 # Either -fno-builtin-sin or -fno-builtin-cos works.
763 'cflags': [
764 '-fno-builtin-sin',
765 ],
766 }],
767 ['OS=="win"', {
768 'defines': [
769 # Because we're building as a static library
770 '_GLAPI_NO_EXPORTS',
771 ],
772 }],
773 ],
774 },
775 # Building this target will hide the native OpenGL shared library and
776 # replace it with a slow software renderer.
777 {
778 'target_name': 'osmesa',
779 'type': 'loadable_module',
780 'mac_bundle': 0,
781 'dependencies': [
782 'mesa_headers',
783 'mesa',
784 ],
785 'xcode_settings': { 241 'xcode_settings': {
786 'OTHER_LDFLAGS': [ 242 'WARNING_CFLAGS': [
787 '-lstdc++', 243 '-Wno-tautological-constant-out-of-range-compare',
244 ],
245 'WARNING_CFLAGS!': [
246 # Don't warn about string->bool used in asserts.
247 '-Wstring-conversion',
788 ], 248 ],
789 }, 249 },
790 'conditions': [ 250 'cflags': [
791 ['OS=="win"', { 251 '-Wno-tautological-constant-out-of-range-compare',
792 'defines': [
793 'BUILD_GL32',
794 'KEYWORD1=GLAPI',
795 'KEYWORD2=GLAPIENTRY',
796 ],
797 }],
798 ], 252 ],
799 'include_dirs': [ 253 'cflags!': [
800 'src/src/mapi', 254 '-Wstring-conversion',
801 'src/src/mesa',
802 'src/src/mesa/drivers',
803 '<(generated_src_dir)/mesa',
804 ], 255 ],
805 'msvs_disabled_warnings': [ 256 }],
806 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267, 257 ],
807 ], 258 },
808 'sources': [ 259 {
809 'src/src/mesa/drivers/common/driverfuncs.c', 260 'target_name': 'mesa',
810 'src/src/mesa/drivers/common/driverfuncs.h', 261 'type': 'static_library',
811 'src/src/mesa/drivers/common/meta.c', 262 'include_dirs': [
812 'src/src/mesa/drivers/common/meta.h', 263 'src/src/gallium/auxiliary',
813 'src/src/mesa/drivers/osmesa/osmesa.c', 264 'src/src/gallium/include',
814 'src/src/mesa/drivers/osmesa/osmesa.def', 265 'src/src/glsl',
815 ], 266 'src/src/glsl/glcpp',
816 }, 267 'src/src/mapi',
817 ], 268 'src/src/mapi/glapi',
818 }, { # use_system_mesa==1 269 'src/src/mesa',
819 'targets': [ 270 'src/src/mesa/main',
820 # TODO(phajdan.jr): Make this work, http://crbug.com/161389 . 271 '<(generated_src_dir)/mesa/',
821 { 272 '<(generated_src_dir)/mesa/main',
822 'target_name': 'mesa_headers', 273 '<(generated_src_dir)/mesa/program',
823 'type': 'none', 274 '<(generated_src_dir)/mesa/glapi',
824 'variables': { 275 ],
825 'headers_root_path': 'include', 276 'dependencies': [
826 # This list can easily be updated using the command below: 277 'mesa_headers',
827 # find third_party/mesa/include -iname '*.h' -printf \ 278 'mesa_libglslcommon',
828 # "'%p',\n" | grep -v internal | grep "/GL/" | sed -e \ 279 ],
829 # 's|third_party/mesa/include/||' | sort -u 280 # TODO(scottmg): http://crbug.com/143877 These should be removed if
830 'header_filenames': [ 281 # Mesa is ever rolled and the warnings are fixed.
831 'GL/gl.h', 282 'msvs_disabled_warnings': [
832 'GL/gl_mangle.h', 283 4005, 4018, 4090, 4099, 4146, 4273, 4291, 4305, 4334, 4748, 4267,
833 'GL/glext.h', 284 ],
834 'GL/glx.h', 285 'sources': [
835 'GL/glx_mangle.h', 286 '<(generated_src_dir)/mesa/builtin_function.cpp',
836 'GL/glxext.h', 287 '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h',
837 'GL/osmesa.h', 288 'src/src/mapi/mapi/entry.c',
838 'GL/wglext.h', 289 'src/src/mapi/mapi/entry.h',
839 'GL/wmesa.h', 290 'src/src/mapi/mapi/mapi.c',
291 'src/src/mapi/mapi/mapi.h',
292 'src/src/mapi/mapi/mapi_glapi.c',
293 'src/src/mapi/mapi/stub.c',
294 'src/src/mapi/mapi/stub.h',
295 'src/src/mapi/mapi/table.c',
296 'src/src/mapi/mapi/table.h',
297 'src/src/mapi/mapi/u_current.c',
298 'src/src/mapi/mapi/u_current.h',
299 'src/src/mapi/mapi/u_execmem.c',
300 'src/src/mapi/mapi/u_execmem.h',
301 'src/src/mesa/main/accum.c',
302 'src/src/mesa/main/accum.h',
303 'src/src/mesa/main/api_arrayelt.c',
304 'src/src/mesa/main/api_arrayelt.h',
305 'src/src/mesa/main/api_exec.c',
306 'src/src/mesa/main/api_exec.h',
307 '<(generated_src_dir)/mesa/api_exec_es1.c',
308 'src/src/mesa/main/api_loopback.c',
309 'src/src/mesa/main/api_loopback.h',
310 'src/src/mesa/main/api_validate.c',
311 'src/src/mesa/main/api_validate.h',
312 'src/src/mesa/main/arbprogram.c',
313 'src/src/mesa/main/arbprogram.h',
314 'src/src/mesa/main/arrayobj.c',
315 'src/src/mesa/main/arrayobj.h',
316 'src/src/mesa/main/atifragshader.c',
317 'src/src/mesa/main/atifragshader.h',
318 'src/src/mesa/main/attrib.c',
319 'src/src/mesa/main/attrib.h',
320 'src/src/mesa/main/blend.c',
321 'src/src/mesa/main/blend.h',
322 'src/src/mesa/main/bufferobj.c',
323 'src/src/mesa/main/bufferobj.h',
324 'src/src/mesa/main/buffers.c',
325 'src/src/mesa/main/buffers.h',
326 'src/src/mesa/main/clear.c',
327 'src/src/mesa/main/clear.h',
328 'src/src/mesa/main/clip.c',
329 'src/src/mesa/main/clip.h',
330 'src/src/mesa/main/colortab.c',
331 'src/src/mesa/main/colortab.h',
332 'src/src/mesa/main/condrender.c',
333 'src/src/mesa/main/condrender.h',
334 'src/src/mesa/main/context.c',
335 'src/src/mesa/main/context.h',
336 'src/src/mesa/main/convolve.c',
337 'src/src/mesa/main/convolve.h',
338 'src/src/mesa/main/cpuinfo.c',
339 'src/src/mesa/main/cpuinfo.h',
340 'src/src/mesa/main/debug.c',
341 'src/src/mesa/main/debug.h',
342 'src/src/mesa/main/depth.c',
343 'src/src/mesa/main/depth.h',
344 'src/src/mesa/main/dlist.c',
345 'src/src/mesa/main/dlist.h',
346 'src/src/mesa/main/drawpix.c',
347 'src/src/mesa/main/drawpix.h',
348 'src/src/mesa/main/drawtex.c',
349 'src/src/mesa/main/drawtex.h',
350 'src/src/mesa/main/enable.c',
351 'src/src/mesa/main/enable.h',
352 '<(generated_src_dir)/mesa/enums.c',
353 'src/src/mesa/main/enums.h',
354 'src/src/mesa/main/errors.c',
355 'src/src/mesa/main/errors.h',
356 'src/src/mesa/main/es1_conversion.c',
357 'src/src/mesa/main/es1_conversion.h',
358 'src/src/mesa/main/eval.c',
359 'src/src/mesa/main/eval.h',
360 'src/src/mesa/main/execmem.c',
361 'src/src/mesa/main/extensions.c',
362 'src/src/mesa/main/extensions.h',
363 'src/src/mesa/main/fbobject.c',
364 'src/src/mesa/main/fbobject.h',
365 'src/src/mesa/main/feedback.c',
366 'src/src/mesa/main/feedback.h',
367 'src/src/mesa/main/ff_fragment_shader.cpp',
368 'src/src/mesa/main/ffvertex_prog.c',
369 'src/src/mesa/main/ffvertex_prog.h',
370 'src/src/mesa/main/fog.c',
371 'src/src/mesa/main/fog.h',
372 'src/src/mesa/main/format_pack.c',
373 'src/src/mesa/main/format_pack.h',
374 'src/src/mesa/main/format_unpack.c',
375 'src/src/mesa/main/format_unpack.h',
376 'src/src/mesa/main/formats.c',
377 'src/src/mesa/main/formats.h',
378 'src/src/mesa/main/framebuffer.c',
379 'src/src/mesa/main/framebuffer.h',
380 'src/src/mesa/main/get.c',
381 'src/src/mesa/main/get.h',
382 'src/src/mesa/main/getstring.c',
383 'src/src/mesa/main/glformats.c',
384 'src/src/mesa/main/glformats.h',
385 'src/src/mesa/main/hash.c',
386 'src/src/mesa/main/hash.h',
387 'src/src/mesa/main/hint.c',
388 'src/src/mesa/main/hint.h',
389 'src/src/mesa/main/histogram.c',
390 'src/src/mesa/main/histogram.h',
391 'src/src/mesa/main/image.c',
392 'src/src/mesa/main/image.h',
393 'src/src/mesa/main/imports.c',
394 'src/src/mesa/main/imports.h',
395 'src/src/mesa/main/light.c',
396 'src/src/mesa/main/light.h',
397 'src/src/mesa/main/lines.c',
398 'src/src/mesa/main/lines.h',
399 'src/src/mesa/main/matrix.c',
400 'src/src/mesa/main/matrix.h',
401 'src/src/mesa/main/mipmap.c',
402 'src/src/mesa/main/mipmap.h',
403 'src/src/mesa/main/mm.c',
404 'src/src/mesa/main/mm.h',
405 'src/src/mesa/main/multisample.c',
406 'src/src/mesa/main/multisample.h',
407 'src/src/mesa/main/nvprogram.c',
408 'src/src/mesa/main/nvprogram.h',
409 'src/src/mesa/main/pack.c',
410 'src/src/mesa/main/pack.h',
411 'src/src/mesa/main/pbo.c',
412 'src/src/mesa/main/pbo.h',
413 'src/src/mesa/main/pixel.c',
414 'src/src/mesa/main/pixel.h',
415 'src/src/mesa/main/pixelstore.c',
416 'src/src/mesa/main/pixelstore.h',
417 'src/src/mesa/main/pixeltransfer.c',
418 'src/src/mesa/main/pixeltransfer.h',
419 'src/src/mesa/main/points.c',
420 'src/src/mesa/main/points.h',
421 'src/src/mesa/main/polygon.c',
422 'src/src/mesa/main/polygon.h',
423 'src/src/mesa/main/querymatrix.c',
424 'src/src/mesa/main/queryobj.c',
425 'src/src/mesa/main/queryobj.h',
426 'src/src/mesa/main/rastpos.c',
427 'src/src/mesa/main/rastpos.h',
428 'src/src/mesa/main/readpix.c',
429 'src/src/mesa/main/readpix.h',
430 'src/src/mesa/main/remap.c',
431 'src/src/mesa/main/remap.h',
432 'src/src/mesa/main/renderbuffer.c',
433 'src/src/mesa/main/renderbuffer.h',
434 'src/src/mesa/main/samplerobj.c',
435 'src/src/mesa/main/samplerobj.h',
436 'src/src/mesa/main/scissor.c',
437 'src/src/mesa/main/scissor.h',
438 'src/src/mesa/main/shader_query.cpp',
439 'src/src/mesa/main/shaderapi.c',
440 'src/src/mesa/main/shaderapi.h',
441 'src/src/mesa/main/shaderobj.c',
442 'src/src/mesa/main/shaderobj.h',
443 'src/src/mesa/main/shared.c',
444 'src/src/mesa/main/shared.h',
445 'src/src/mesa/main/state.c',
446 'src/src/mesa/main/state.h',
447 'src/src/mesa/main/stencil.c',
448 'src/src/mesa/main/stencil.h',
449 'src/src/mesa/main/syncobj.c',
450 'src/src/mesa/main/syncobj.h',
451 'src/src/mesa/main/texcompress.c',
452 'src/src/mesa/main/texcompress.h',
453 'src/src/mesa/main/texcompress_cpal.c',
454 'src/src/mesa/main/texcompress_cpal.h',
455 'src/src/mesa/main/texcompress_etc.c',
456 'src/src/mesa/main/texcompress_etc.h',
457 'src/src/mesa/main/texcompress_fxt1.c',
458 'src/src/mesa/main/texcompress_fxt1.h',
459 'src/src/mesa/main/texcompress_rgtc.c',
460 'src/src/mesa/main/texcompress_rgtc.h',
461 'src/src/mesa/main/texcompress_s3tc.c',
462 'src/src/mesa/main/texcompress_s3tc.h',
463 'src/src/mesa/main/texenv.c',
464 'src/src/mesa/main/texenv.h',
465 'src/src/mesa/main/texformat.c',
466 'src/src/mesa/main/texformat.h',
467 'src/src/mesa/main/texgen.c',
468 'src/src/mesa/main/texgen.h',
469 'src/src/mesa/main/texgetimage.c',
470 'src/src/mesa/main/texgetimage.h',
471 'src/src/mesa/main/teximage.c',
472 'src/src/mesa/main/teximage.h',
473 'src/src/mesa/main/texobj.c',
474 'src/src/mesa/main/texobj.h',
475 'src/src/mesa/main/texparam.c',
476 'src/src/mesa/main/texparam.h',
477 'src/src/mesa/main/texstate.c',
478 'src/src/mesa/main/texstate.h',
479 'src/src/mesa/main/texstorage.c',
480 'src/src/mesa/main/texstorage.h',
481 'src/src/mesa/main/texstore.c',
482 'src/src/mesa/main/texstore.h',
483 'src/src/mesa/main/texturebarrier.c',
484 'src/src/mesa/main/texturebarrier.h',
485 'src/src/mesa/main/transformfeedback.c',
486 'src/src/mesa/main/transformfeedback.h',
487 'src/src/mesa/main/uniform_query.cpp',
488 'src/src/mesa/main/uniforms.c',
489 'src/src/mesa/main/uniforms.h',
490 'src/src/mesa/main/varray.c',
491 'src/src/mesa/main/varray.h',
492 'src/src/mesa/main/version.c',
493 'src/src/mesa/main/version.h',
494 'src/src/mesa/main/viewport.c',
495 'src/src/mesa/main/viewport.h',
496 'src/src/mesa/main/vtxfmt.c',
497 'src/src/mesa/main/vtxfmt.h',
498 'src/src/mesa/math/m_debug_clip.c',
499 'src/src/mesa/math/m_debug_norm.c',
500 'src/src/mesa/math/m_debug_xform.c',
501 'src/src/mesa/math/m_eval.c',
502 'src/src/mesa/math/m_eval.h',
503 'src/src/mesa/math/m_matrix.c',
504 'src/src/mesa/math/m_matrix.h',
505 'src/src/mesa/math/m_translate.c',
506 'src/src/mesa/math/m_translate.h',
507 'src/src/mesa/math/m_vector.c',
508 'src/src/mesa/math/m_vector.h',
509 'src/src/mesa/math/m_xform.c',
510 'src/src/mesa/math/m_xform.h',
511 'src/src/mesa/program/arbprogparse.c',
512 'src/src/mesa/program/arbprogparse.h',
513 'src/src/mesa/program/hash_table.c',
514 'src/src/mesa/program/hash_table.h',
515 'src/src/mesa/program/ir_to_mesa.cpp',
516 'src/src/mesa/program/ir_to_mesa.h',
517 '<(generated_src_dir)/mesa/lex.yy.c',
518 'src/src/mesa/program/nvfragparse.c',
519 'src/src/mesa/program/nvfragparse.h',
520 'src/src/mesa/program/nvvertparse.c',
521 'src/src/mesa/program/nvvertparse.h',
522 'src/src/mesa/program/prog_cache.c',
523 'src/src/mesa/program/prog_cache.h',
524 'src/src/mesa/program/prog_execute.c',
525 'src/src/mesa/program/prog_execute.h',
526 'src/src/mesa/program/prog_instruction.c',
527 'src/src/mesa/program/prog_instruction.h',
528 'src/src/mesa/program/prog_noise.c',
529 'src/src/mesa/program/prog_noise.h',
530 'src/src/mesa/program/prog_opt_constant_fold.c',
531 'src/src/mesa/program/prog_optimize.c',
532 'src/src/mesa/program/prog_optimize.h',
533 'src/src/mesa/program/prog_parameter.c',
534 'src/src/mesa/program/prog_parameter.h',
535 'src/src/mesa/program/prog_parameter_layout.c',
536 'src/src/mesa/program/prog_parameter_layout.h',
537 'src/src/mesa/program/prog_print.c',
538 'src/src/mesa/program/prog_print.h',
539 'src/src/mesa/program/prog_statevars.c',
540 'src/src/mesa/program/prog_statevars.h',
541 'src/src/mesa/program/program.c',
542 'src/src/mesa/program/program.h',
543 '<(generated_src_dir)/mesa/program/program_parse.tab.c',
544 '<(generated_src_dir)/mesa/program/program_parse.tab.h',
545 'src/src/mesa/program/program_parse_extra.c',
546 'src/src/mesa/program/programopt.c',
547 'src/src/mesa/program/programopt.h',
548 'src/src/mesa/program/register_allocate.c',
549 'src/src/mesa/program/register_allocate.h',
550 'src/src/mesa/program/sampler.cpp',
551 'src/src/mesa/program/sampler.h',
552 'src/src/mesa/program/string_to_uint_map.cpp',
553 'src/src/mesa/program/symbol_table.c',
554 'src/src/mesa/program/symbol_table.h',
555 'src/src/mesa/state_tracker/st_atom.c',
556 'src/src/mesa/state_tracker/st_atom.h',
557 'src/src/mesa/state_tracker/st_atom_array.c',
558 'src/src/mesa/state_tracker/st_atom_blend.c',
559 'src/src/mesa/state_tracker/st_atom_clip.c',
560 'src/src/mesa/state_tracker/st_atom_constbuf.c',
561 'src/src/mesa/state_tracker/st_atom_constbuf.h',
562 'src/src/mesa/state_tracker/st_atom_depth.c',
563 'src/src/mesa/state_tracker/st_atom_framebuffer.c',
564 'src/src/mesa/state_tracker/st_atom_msaa.c',
565 'src/src/mesa/state_tracker/st_atom_pixeltransfer.c',
566 'src/src/mesa/state_tracker/st_atom_rasterizer.c',
567 'src/src/mesa/state_tracker/st_atom_sampler.c',
568 'src/src/mesa/state_tracker/st_atom_scissor.c',
569 'src/src/mesa/state_tracker/st_atom_shader.c',
570 'src/src/mesa/state_tracker/st_atom_shader.h',
571 'src/src/mesa/state_tracker/st_atom_stipple.c',
572 'src/src/mesa/state_tracker/st_atom_texture.c',
573 'src/src/mesa/state_tracker/st_atom_viewport.c',
574 'src/src/mesa/state_tracker/st_cb_bitmap.c',
575 'src/src/mesa/state_tracker/st_cb_bitmap.h',
576 'src/src/mesa/state_tracker/st_cb_blit.c',
577 'src/src/mesa/state_tracker/st_cb_blit.h',
578 'src/src/mesa/state_tracker/st_cb_bufferobjects.c',
579 'src/src/mesa/state_tracker/st_cb_bufferobjects.h',
580 'src/src/mesa/state_tracker/st_cb_clear.c',
581 'src/src/mesa/state_tracker/st_cb_clear.h',
582 'src/src/mesa/state_tracker/st_cb_condrender.c',
583 'src/src/mesa/state_tracker/st_cb_condrender.h',
584 'src/src/mesa/state_tracker/st_cb_drawpixels.c',
585 'src/src/mesa/state_tracker/st_cb_drawpixels.h',
586 'src/src/mesa/state_tracker/st_cb_drawtex.c',
587 'src/src/mesa/state_tracker/st_cb_drawtex.h',
588 'src/src/mesa/state_tracker/st_cb_eglimage.c',
589 'src/src/mesa/state_tracker/st_cb_eglimage.h',
590 'src/src/mesa/state_tracker/st_cb_fbo.c',
591 'src/src/mesa/state_tracker/st_cb_fbo.h',
592 'src/src/mesa/state_tracker/st_cb_feedback.c',
593 'src/src/mesa/state_tracker/st_cb_feedback.h',
594 'src/src/mesa/state_tracker/st_cb_flush.c',
595 'src/src/mesa/state_tracker/st_cb_flush.h',
596 'src/src/mesa/state_tracker/st_cb_program.c',
597 'src/src/mesa/state_tracker/st_cb_program.h',
598 'src/src/mesa/state_tracker/st_cb_queryobj.c',
599 'src/src/mesa/state_tracker/st_cb_queryobj.h',
600 'src/src/mesa/state_tracker/st_cb_rasterpos.c',
601 'src/src/mesa/state_tracker/st_cb_rasterpos.h',
602 'src/src/mesa/state_tracker/st_cb_readpixels.c',
603 'src/src/mesa/state_tracker/st_cb_readpixels.h',
604 'src/src/mesa/state_tracker/st_cb_strings.c',
605 'src/src/mesa/state_tracker/st_cb_strings.h',
606 'src/src/mesa/state_tracker/st_cb_syncobj.c',
607 'src/src/mesa/state_tracker/st_cb_syncobj.h',
608 'src/src/mesa/state_tracker/st_cb_texture.c',
609 'src/src/mesa/state_tracker/st_cb_texture.h',
610 'src/src/mesa/state_tracker/st_cb_texturebarrier.c',
611 'src/src/mesa/state_tracker/st_cb_texturebarrier.h',
612 'src/src/mesa/state_tracker/st_cb_viewport.c',
613 'src/src/mesa/state_tracker/st_cb_viewport.h',
614 'src/src/mesa/state_tracker/st_cb_xformfb.c',
615 'src/src/mesa/state_tracker/st_cb_xformfb.h',
616 'src/src/mesa/state_tracker/st_context.c',
617 'src/src/mesa/state_tracker/st_context.h',
618 'src/src/mesa/state_tracker/st_debug.c',
619 'src/src/mesa/state_tracker/st_debug.h',
620 'src/src/mesa/state_tracker/st_draw.c',
621 'src/src/mesa/state_tracker/st_draw.h',
622 'src/src/mesa/state_tracker/st_draw_feedback.c',
623 'src/src/mesa/state_tracker/st_extensions.c',
624 'src/src/mesa/state_tracker/st_extensions.h',
625 'src/src/mesa/state_tracker/st_format.c',
626 'src/src/mesa/state_tracker/st_format.h',
627 'src/src/mesa/state_tracker/st_gen_mipmap.c',
628 'src/src/mesa/state_tracker/st_gen_mipmap.h',
629 'src/src/mesa/state_tracker/st_glsl_to_tgsi.cpp',
630 'src/src/mesa/state_tracker/st_glsl_to_tgsi.h',
631 'src/src/mesa/state_tracker/st_manager.c',
632 'src/src/mesa/state_tracker/st_manager.h',
633 'src/src/mesa/state_tracker/st_mesa_to_tgsi.c',
634 'src/src/mesa/state_tracker/st_mesa_to_tgsi.h',
635 'src/src/mesa/state_tracker/st_program.c',
636 'src/src/mesa/state_tracker/st_program.h',
637 'src/src/mesa/state_tracker/st_texture.c',
638 'src/src/mesa/state_tracker/st_texture.h',
639 'src/src/mesa/swrast/s_aaline.c',
640 'src/src/mesa/swrast/s_aaline.h',
641 'src/src/mesa/swrast/s_aatriangle.c',
642 'src/src/mesa/swrast/s_aatriangle.h',
643 'src/src/mesa/swrast/s_alpha.c',
644 'src/src/mesa/swrast/s_alpha.h',
645 'src/src/mesa/swrast/s_atifragshader.c',
646 'src/src/mesa/swrast/s_atifragshader.h',
647 'src/src/mesa/swrast/s_bitmap.c',
648 'src/src/mesa/swrast/s_blend.c',
649 'src/src/mesa/swrast/s_blend.h',
650 'src/src/mesa/swrast/s_blit.c',
651 'src/src/mesa/swrast/s_clear.c',
652 'src/src/mesa/swrast/s_context.c',
653 'src/src/mesa/swrast/s_context.h',
654 'src/src/mesa/swrast/s_copypix.c',
655 'src/src/mesa/swrast/s_depth.c',
656 'src/src/mesa/swrast/s_depth.h',
657 'src/src/mesa/swrast/s_drawpix.c',
658 'src/src/mesa/swrast/s_feedback.c',
659 'src/src/mesa/swrast/s_feedback.h',
660 'src/src/mesa/swrast/s_fog.c',
661 'src/src/mesa/swrast/s_fog.h',
662 'src/src/mesa/swrast/s_fragprog.c',
663 'src/src/mesa/swrast/s_fragprog.h',
664 'src/src/mesa/swrast/s_lines.c',
665 'src/src/mesa/swrast/s_lines.h',
666 'src/src/mesa/swrast/s_logic.c',
667 'src/src/mesa/swrast/s_logic.h',
668 'src/src/mesa/swrast/s_masking.c',
669 'src/src/mesa/swrast/s_masking.h',
670 'src/src/mesa/swrast/s_points.c',
671 'src/src/mesa/swrast/s_points.h',
672 'src/src/mesa/swrast/s_renderbuffer.c',
673 'src/src/mesa/swrast/s_renderbuffer.h',
674 'src/src/mesa/swrast/s_span.c',
675 'src/src/mesa/swrast/s_span.h',
676 'src/src/mesa/swrast/s_stencil.c',
677 'src/src/mesa/swrast/s_stencil.h',
678 'src/src/mesa/swrast/s_texcombine.c',
679 'src/src/mesa/swrast/s_texcombine.h',
680 'src/src/mesa/swrast/s_texfetch.c',
681 'src/src/mesa/swrast/s_texfetch.h',
682 'src/src/mesa/swrast/s_texfilter.c',
683 'src/src/mesa/swrast/s_texfilter.h',
684 'src/src/mesa/swrast/s_texrender.c',
685 'src/src/mesa/swrast/s_texture.c',
686 'src/src/mesa/swrast/s_triangle.c',
687 'src/src/mesa/swrast/s_triangle.h',
688 'src/src/mesa/swrast/s_zoom.c',
689 'src/src/mesa/swrast/s_zoom.h',
690 'src/src/mesa/swrast_setup/ss_context.c',
691 'src/src/mesa/swrast_setup/ss_context.h',
692 'src/src/mesa/swrast_setup/ss_triangle.c',
693 'src/src/mesa/swrast_setup/ss_triangle.h',
694 'src/src/mesa/tnl/t_context.c',
695 'src/src/mesa/tnl/t_context.h',
696 'src/src/mesa/tnl/t_draw.c',
697 'src/src/mesa/tnl/t_pipeline.c',
698 'src/src/mesa/tnl/t_pipeline.h',
699 'src/src/mesa/tnl/t_rasterpos.c',
700 'src/src/mesa/tnl/t_vb_fog.c',
701 'src/src/mesa/tnl/t_vb_light.c',
702 'src/src/mesa/tnl/t_vb_normals.c',
703 'src/src/mesa/tnl/t_vb_points.c',
704 'src/src/mesa/tnl/t_vb_program.c',
705 'src/src/mesa/tnl/t_vb_render.c',
706 'src/src/mesa/tnl/t_vb_texgen.c',
707 'src/src/mesa/tnl/t_vb_texmat.c',
708 'src/src/mesa/tnl/t_vb_vertex.c',
709 'src/src/mesa/tnl/t_vertex.c',
710 'src/src/mesa/tnl/t_vertex.h',
711 'src/src/mesa/tnl/t_vertex_generic.c',
712 'src/src/mesa/tnl/t_vertex_sse.c',
713 'src/src/mesa/tnl/t_vp_build.c',
714 'src/src/mesa/tnl/t_vp_build.h',
715 'src/src/mesa/vbo/vbo_context.c',
716 'src/src/mesa/vbo/vbo_context.h',
717 'src/src/mesa/vbo/vbo_exec.c',
718 'src/src/mesa/vbo/vbo_exec.h',
719 'src/src/mesa/vbo/vbo_exec_api.c',
720 'src/src/mesa/vbo/vbo_exec_array.c',
721 'src/src/mesa/vbo/vbo_exec_draw.c',
722 'src/src/mesa/vbo/vbo_exec_eval.c',
723 'src/src/mesa/vbo/vbo_noop.c',
724 'src/src/mesa/vbo/vbo_noop.h',
725 'src/src/mesa/vbo/vbo_primitive_restart.c',
726 'src/src/mesa/vbo/vbo_rebase.c',
727 'src/src/mesa/vbo/vbo_save.c',
728 'src/src/mesa/vbo/vbo_save.h',
729 'src/src/mesa/vbo/vbo_save_api.c',
730 'src/src/mesa/vbo/vbo_save_draw.c',
731 'src/src/mesa/vbo/vbo_save_loopback.c',
732 'src/src/mesa/vbo/vbo_split.c',
733 'src/src/mesa/vbo/vbo_split.h',
734 'src/src/mesa/vbo/vbo_split_copy.c',
735 'src/src/mesa/vbo/vbo_split_inplace.c',
736 'src/src/mesa/x86-64/x86-64.c',
737 'src/src/mesa/x86-64/x86-64.h',
738 ],
739 'conditions': [
740 ['clang == 1', {
741 'xcode_settings': {
742 'WARNING_CFLAGS': [
743 '-Wno-tautological-constant-out-of-range-compare',
744 ],
745 'WARNING_CFLAGS!': [
746 # Don't warn about string->bool used in asserts.
747 '-Wstring-conversion',
840 ], 748 ],
841 }, 749 },
842 'includes': [ 750 'cflags': [
843 '../../build/shim_headers.gypi', 751 '-Wno-tautological-constant-out-of-range-compare',
844 ], 752 ],
845 }, 753 'cflags!': [
846 { 754 '-Wstring-conversion',
847 'target_name': 'mesa', 755 ],
848 'type': 'none', 756 }],
849 }, 757 ['OS=="android" and clang==0', {
850 { 758 # Disable sincos() optimization to avoid a linker error
851 'target_name': 'osmesa', 759 # since Android's math library doesn't have sincos().
852 'type': 'none', 760 # Either -fno-builtin-sin or -fno-builtin-cos works.
853 }, 761 'cflags': [
854 ], 762 '-fno-builtin-sin',
855 }], 763 ],
764 }],
765 ['OS=="win"', {
766 'defines': [
767 # Because we're building as a static library
768 '_GLAPI_NO_EXPORTS',
769 ],
770 }],
771 ],
772 },
773 # Building this target will hide the native OpenGL shared library and
774 # replace it with a slow software renderer.
775 {
776 'target_name': 'osmesa',
777 'type': 'loadable_module',
778 'mac_bundle': 0,
779 'dependencies': [
780 'mesa_headers',
781 'mesa',
782 ],
783 'xcode_settings': {
784 'OTHER_LDFLAGS': [
785 '-lstdc++',
786 ],
787 },
788 'conditions': [
789 ['OS=="win"', {
790 'defines': [
791 'BUILD_GL32',
792 'KEYWORD1=GLAPI',
793 'KEYWORD2=GLAPIENTRY',
794 ],
795 }],
796 ],
797 'include_dirs': [
798 'src/src/mapi',
799 'src/src/mesa',
800 'src/src/mesa/drivers',
801 '<(generated_src_dir)/mesa',
802 ],
803 'msvs_disabled_warnings': [
804 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267,
805 ],
806 'sources': [
807 'src/src/mesa/drivers/common/driverfuncs.c',
808 'src/src/mesa/drivers/common/driverfuncs.h',
809 'src/src/mesa/drivers/common/meta.c',
810 'src/src/mesa/drivers/common/meta.h',
811 'src/src/mesa/drivers/osmesa/osmesa.c',
812 'src/src/mesa/drivers/osmesa/osmesa.def',
813 ],
814 },
856 ], 815 ],
857 } 816 }
OLDNEW
« no previous file with comments | « third_party/khronos/khronos.gyp ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698