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
3 # found in the LICENSE file.
7 'generated_src_dir': 'src/chromium_gensrc',
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=Mesa\"",
30 "LT_OBJDIR=\".libs/\"",
39 "GLX_INDIRECT_RENDERING",
40 "GLX_DIRECT_RENDERING",
41 "USE_EXTERNAL_DXTN_LIB=1",
67 ['os_posix == 1 and OS != "android"', {
69 'HAVE_POSIX_MEMALIGN',
72 ['os_posix == 1 and OS != "mac" and OS != "android"', {
78 # Pick up emulation headers not supported by Visual Studio.
87 'target_name': 'mesa_headers',
89 'direct_dependent_settings': {
95 '-Wno-unknown-pragmas',
99 '-Wno-unknown-pragmas',
104 'direct_dependent_settings': {
106 'MESA_EGL_NO_X11_HEADERS',
113 'target_name': 'mesa_libglslcommon',
114 'type': 'static_library',
116 'src/src/gallium/auxiliary',
117 'src/src/gallium/include',
119 'src/src/glsl/glcpp',
121 'src/src/mapi/glapi',
125 '<(generated_src_dir)/mesa/',
126 '<(generated_src_dir)/mesa/main',
127 '<(generated_src_dir)/mesa/program',
128 '<(generated_src_dir)/mesa/glapi',
133 # TODO(scottmg): http://crbug.com/143877 These should be removed if
134 # Mesa is ever rolled and the warnings are fixed.
135 'msvs_disabled_warnings': [
136 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267,
139 '<(generated_src_dir)/mesa/main/dispatch.h',
140 'src/src/glsl/ast_expr.cpp',
141 'src/src/glsl/ast_function.cpp',
142 'src/src/glsl/ast_to_hir.cpp',
143 'src/src/glsl/ast_type.cpp',
144 'src/src/glsl/builtin_variables.cpp',
145 '<(generated_src_dir)/mesa/glcpp-lex.c',
146 '<(generated_src_dir)/mesa/glcpp-parse.c',
147 '<(generated_src_dir)/mesa/glcpp-parse.h',
148 'src/src/glsl/glcpp/glcpp.h',
149 'src/src/glsl/glcpp/pp.c',
150 '<(generated_src_dir)/mesa/glsl_lexer.cc',
151 '<(generated_src_dir)/mesa/glsl_parser.cc',
152 'src/src/glsl/glsl_parser_extras.cpp',
153 'src/src/glsl/glsl_parser_extras.h',
154 'src/src/glsl/glsl_symbol_table.cpp',
155 'src/src/glsl/glsl_symbol_table.h',
156 'src/src/glsl/glsl_types.cpp',
157 'src/src/glsl/glsl_types.h',
158 'src/src/glsl/hir_field_selection.cpp',
159 'src/src/glsl/ir.cpp',
161 'src/src/glsl/ir_basic_block.cpp',
162 'src/src/glsl/ir_basic_block.h',
163 'src/src/glsl/ir_builder.cpp',
164 'src/src/glsl/ir_builder.h',
165 'src/src/glsl/ir_clone.cpp',
166 'src/src/glsl/ir_constant_expression.cpp',
167 'src/src/glsl/ir_expression_flattening.cpp',
168 'src/src/glsl/ir_expression_flattening.h',
169 'src/src/glsl/ir_function.cpp',
170 'src/src/glsl/ir_function_can_inline.cpp',
171 'src/src/glsl/ir_function_detect_recursion.cpp',
172 'src/src/glsl/ir_hierarchical_visitor.cpp',
173 'src/src/glsl/ir_hierarchical_visitor.h',
174 'src/src/glsl/ir_hv_accept.cpp',
175 'src/src/glsl/ir_import_prototypes.cpp',
176 'src/src/glsl/ir_print_visitor.cpp',
177 'src/src/glsl/ir_print_visitor.h',
178 'src/src/glsl/ir_reader.cpp',
179 'src/src/glsl/ir_reader.h',
180 'src/src/glsl/ir_rvalue_visitor.cpp',
181 'src/src/glsl/ir_rvalue_visitor.h',
182 'src/src/glsl/ir_set_program_inouts.cpp',
183 'src/src/glsl/ir_validate.cpp',
184 'src/src/glsl/ir_variable_refcount.cpp',
185 'src/src/glsl/ir_variable_refcount.h',
186 'src/src/glsl/link_functions.cpp',
187 'src/src/glsl/link_uniform_initializers.cpp',
188 'src/src/glsl/link_uniforms.cpp',
189 'src/src/glsl/linker.cpp',
190 'src/src/glsl/linker.h',
191 'src/src/glsl/loop_analysis.cpp',
192 'src/src/glsl/loop_analysis.h',
193 'src/src/glsl/loop_controls.cpp',
194 'src/src/glsl/loop_unroll.cpp',
195 'src/src/glsl/lower_clip_distance.cpp',
196 'src/src/glsl/lower_discard.cpp',
197 'src/src/glsl/lower_discard_flow.cpp',
198 'src/src/glsl/lower_if_to_cond_assign.cpp',
199 'src/src/glsl/lower_instructions.cpp',
200 'src/src/glsl/lower_jumps.cpp',
201 'src/src/glsl/lower_mat_op_to_vec.cpp',
202 'src/src/glsl/lower_noise.cpp',
203 'src/src/glsl/lower_output_reads.cpp',
204 'src/src/glsl/lower_texture_projection.cpp',
205 'src/src/glsl/lower_ubo_reference.cpp',
206 'src/src/glsl/lower_variable_index_to_cond_assign.cpp',
207 'src/src/glsl/lower_vec_index_to_cond_assign.cpp',
208 'src/src/glsl/lower_vec_index_to_swizzle.cpp',
209 'src/src/glsl/lower_vector.cpp',
210 'src/src/glsl/opt_algebraic.cpp',
211 'src/src/glsl/opt_array_splitting.cpp',
212 'src/src/glsl/opt_constant_folding.cpp',
213 'src/src/glsl/opt_constant_propagation.cpp',
214 'src/src/glsl/opt_constant_variable.cpp',
215 'src/src/glsl/opt_copy_propagation.cpp',
216 'src/src/glsl/opt_copy_propagation_elements.cpp',
217 'src/src/glsl/opt_dead_code.cpp',
218 'src/src/glsl/opt_dead_code_local.cpp',
219 'src/src/glsl/opt_dead_functions.cpp',
220 'src/src/glsl/opt_function_inlining.cpp',
221 'src/src/glsl/opt_if_simplification.cpp',
222 'src/src/glsl/opt_noop_swizzle.cpp',
223 'src/src/glsl/opt_redundant_jumps.cpp',
224 'src/src/glsl/opt_structure_splitting.cpp',
225 'src/src/glsl/opt_swizzle_swizzle.cpp',
226 'src/src/glsl/opt_tree_grafting.cpp',
227 'src/src/glsl/program.h',
228 'src/src/glsl/ralloc.c',
229 'src/src/glsl/ralloc.h',
230 'src/src/glsl/s_expression.cpp',
231 'src/src/glsl/s_expression.h',
232 'src/src/glsl/standalone_scaffolding.cpp',
233 'src/src/glsl/standalone_scaffolding.h',
234 'src/src/glsl/strtod.c',
235 'src/src/glsl/strtod.h',
241 '-Wno-tautological-constant-out-of-range-compare',
244 # Don't warn about string->bool used in asserts.
245 '-Wstring-conversion',
249 '-Wno-tautological-constant-out-of-range-compare',
252 '-Wstring-conversion',
258 'target_name': 'mesa',
259 'type': 'static_library',
261 'src/src/gallium/auxiliary',
262 'src/src/gallium/include',
264 'src/src/glsl/glcpp',
266 'src/src/mapi/glapi',
269 '<(generated_src_dir)/mesa/',
270 '<(generated_src_dir)/mesa/main',
271 '<(generated_src_dir)/mesa/program',
272 '<(generated_src_dir)/mesa/glapi',
276 'mesa_libglslcommon',
278 # TODO(scottmg): http://crbug.com/143877 These should be removed if
279 # Mesa is ever rolled and the warnings are fixed.
280 'msvs_disabled_warnings': [
281 4005, 4018, 4090, 4099, 4146, 4273, 4291, 4305, 4334, 4748, 4267,
284 '<(generated_src_dir)/mesa/builtin_function.cpp',
285 '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h',
286 'src/src/mapi/mapi/entry.c',
287 'src/src/mapi/mapi/entry.h',
288 'src/src/mapi/mapi/mapi.c',
289 'src/src/mapi/mapi/mapi.h',
290 'src/src/mapi/mapi/mapi_glapi.c',
291 'src/src/mapi/mapi/stub.c',
292 'src/src/mapi/mapi/stub.h',
293 'src/src/mapi/mapi/table.c',
294 'src/src/mapi/mapi/table.h',
295 'src/src/mapi/mapi/u_current.c',
296 'src/src/mapi/mapi/u_current.h',
297 'src/src/mapi/mapi/u_execmem.c',
298 'src/src/mapi/mapi/u_execmem.h',
299 'src/src/mesa/main/accum.c',
300 'src/src/mesa/main/accum.h',
301 'src/src/mesa/main/api_arrayelt.c',
302 'src/src/mesa/main/api_arrayelt.h',
303 'src/src/mesa/main/api_exec.c',
304 'src/src/mesa/main/api_exec.h',
305 '<(generated_src_dir)/mesa/api_exec_es1.c',
306 'src/src/mesa/main/api_loopback.c',
307 'src/src/mesa/main/api_loopback.h',
308 'src/src/mesa/main/api_validate.c',
309 'src/src/mesa/main/api_validate.h',
310 'src/src/mesa/main/arbprogram.c',
311 'src/src/mesa/main/arbprogram.h',
312 'src/src/mesa/main/arrayobj.c',
313 'src/src/mesa/main/arrayobj.h',
314 'src/src/mesa/main/atifragshader.c',
315 'src/src/mesa/main/atifragshader.h',
316 'src/src/mesa/main/attrib.c',
317 'src/src/mesa/main/attrib.h',
318 'src/src/mesa/main/blend.c',
319 'src/src/mesa/main/blend.h',
320 'src/src/mesa/main/bufferobj.c',
321 'src/src/mesa/main/bufferobj.h',
322 'src/src/mesa/main/buffers.c',
323 'src/src/mesa/main/buffers.h',
324 'src/src/mesa/main/clear.c',
325 'src/src/mesa/main/clear.h',
326 'src/src/mesa/main/clip.c',
327 'src/src/mesa/main/clip.h',
328 'src/src/mesa/main/colortab.c',
329 'src/src/mesa/main/colortab.h',
330 'src/src/mesa/main/condrender.c',
331 'src/src/mesa/main/condrender.h',
332 'src/src/mesa/main/context.c',
333 'src/src/mesa/main/context.h',
334 'src/src/mesa/main/convolve.c',
335 'src/src/mesa/main/convolve.h',
336 'src/src/mesa/main/cpuinfo.c',
337 'src/src/mesa/main/cpuinfo.h',
338 'src/src/mesa/main/debug.c',
339 'src/src/mesa/main/debug.h',
340 'src/src/mesa/main/depth.c',
341 'src/src/mesa/main/depth.h',
342 'src/src/mesa/main/dlist.c',
343 'src/src/mesa/main/dlist.h',
344 'src/src/mesa/main/drawpix.c',
345 'src/src/mesa/main/drawpix.h',
346 'src/src/mesa/main/drawtex.c',
347 'src/src/mesa/main/drawtex.h',
348 'src/src/mesa/main/enable.c',
349 'src/src/mesa/main/enable.h',
350 '<(generated_src_dir)/mesa/enums.c',
351 'src/src/mesa/main/enums.h',
352 'src/src/mesa/main/errors.c',
353 'src/src/mesa/main/errors.h',
354 'src/src/mesa/main/es1_conversion.c',
355 'src/src/mesa/main/es1_conversion.h',
356 'src/src/mesa/main/eval.c',
357 'src/src/mesa/main/eval.h',
358 'src/src/mesa/main/execmem.c',
359 'src/src/mesa/main/extensions.c',
360 'src/src/mesa/main/extensions.h',
361 'src/src/mesa/main/fbobject.c',
362 'src/src/mesa/main/fbobject.h',
363 'src/src/mesa/main/feedback.c',
364 'src/src/mesa/main/feedback.h',
365 'src/src/mesa/main/ff_fragment_shader.cpp',
366 'src/src/mesa/main/ffvertex_prog.c',
367 'src/src/mesa/main/ffvertex_prog.h',
368 'src/src/mesa/main/fog.c',
369 'src/src/mesa/main/fog.h',
370 'src/src/mesa/main/format_pack.c',
371 'src/src/mesa/main/format_pack.h',
372 'src/src/mesa/main/format_unpack.c',
373 'src/src/mesa/main/format_unpack.h',
374 'src/src/mesa/main/formats.c',
375 'src/src/mesa/main/formats.h',
376 'src/src/mesa/main/framebuffer.c',
377 'src/src/mesa/main/framebuffer.h',
378 'src/src/mesa/main/get.c',
379 'src/src/mesa/main/get.h',
380 'src/src/mesa/main/getstring.c',
381 'src/src/mesa/main/glformats.c',
382 'src/src/mesa/main/glformats.h',
383 'src/src/mesa/main/hash.c',
384 'src/src/mesa/main/hash.h',
385 'src/src/mesa/main/hint.c',
386 'src/src/mesa/main/hint.h',
387 'src/src/mesa/main/histogram.c',
388 'src/src/mesa/main/histogram.h',
389 'src/src/mesa/main/image.c',
390 'src/src/mesa/main/image.h',
391 'src/src/mesa/main/imports.c',
392 'src/src/mesa/main/imports.h',
393 'src/src/mesa/main/light.c',
394 'src/src/mesa/main/light.h',
395 'src/src/mesa/main/lines.c',
396 'src/src/mesa/main/lines.h',
397 'src/src/mesa/main/matrix.c',
398 'src/src/mesa/main/matrix.h',
399 'src/src/mesa/main/mipmap.c',
400 'src/src/mesa/main/mipmap.h',
401 'src/src/mesa/main/mm.c',
402 'src/src/mesa/main/mm.h',
403 'src/src/mesa/main/multisample.c',
404 'src/src/mesa/main/multisample.h',
405 'src/src/mesa/main/nvprogram.c',
406 'src/src/mesa/main/nvprogram.h',
407 'src/src/mesa/main/pack.c',
408 'src/src/mesa/main/pack.h',
409 'src/src/mesa/main/pbo.c',
410 'src/src/mesa/main/pbo.h',
411 'src/src/mesa/main/pixel.c',
412 'src/src/mesa/main/pixel.h',
413 'src/src/mesa/main/pixelstore.c',
414 'src/src/mesa/main/pixelstore.h',
415 'src/src/mesa/main/pixeltransfer.c',
416 'src/src/mesa/main/pixeltransfer.h',
417 'src/src/mesa/main/points.c',
418 'src/src/mesa/main/points.h',
419 'src/src/mesa/main/polygon.c',
420 'src/src/mesa/main/polygon.h',
421 'src/src/mesa/main/querymatrix.c',
422 'src/src/mesa/main/queryobj.c',
423 'src/src/mesa/main/queryobj.h',
424 'src/src/mesa/main/rastpos.c',
425 'src/src/mesa/main/rastpos.h',
426 'src/src/mesa/main/readpix.c',
427 'src/src/mesa/main/readpix.h',
428 'src/src/mesa/main/remap.c',
429 'src/src/mesa/main/remap.h',
430 'src/src/mesa/main/renderbuffer.c',
431 'src/src/mesa/main/renderbuffer.h',
432 'src/src/mesa/main/samplerobj.c',
433 'src/src/mesa/main/samplerobj.h',
434 'src/src/mesa/main/scissor.c',
435 'src/src/mesa/main/scissor.h',
436 'src/src/mesa/main/shader_query.cpp',
437 'src/src/mesa/main/shaderapi.c',
438 'src/src/mesa/main/shaderapi.h',
439 'src/src/mesa/main/shaderobj.c',
440 'src/src/mesa/main/shaderobj.h',
441 'src/src/mesa/main/shared.c',
442 'src/src/mesa/main/shared.h',
443 'src/src/mesa/main/state.c',
444 'src/src/mesa/main/state.h',
445 'src/src/mesa/main/stencil.c',
446 'src/src/mesa/main/stencil.h',
447 'src/src/mesa/main/syncobj.c',
448 'src/src/mesa/main/syncobj.h',
449 'src/src/mesa/main/texcompress.c',
450 'src/src/mesa/main/texcompress.h',
451 'src/src/mesa/main/texcompress_cpal.c',
452 'src/src/mesa/main/texcompress_cpal.h',
453 'src/src/mesa/main/texcompress_etc.c',
454 'src/src/mesa/main/texcompress_etc.h',
455 'src/src/mesa/main/texcompress_fxt1.c',
456 'src/src/mesa/main/texcompress_fxt1.h',
457 'src/src/mesa/main/texcompress_rgtc.c',
458 'src/src/mesa/main/texcompress_rgtc.h',
459 'src/src/mesa/main/texcompress_s3tc.c',
460 'src/src/mesa/main/texcompress_s3tc.h',
461 'src/src/mesa/main/texenv.c',
462 'src/src/mesa/main/texenv.h',
463 'src/src/mesa/main/texformat.c',
464 'src/src/mesa/main/texformat.h',
465 'src/src/mesa/main/texgen.c',
466 'src/src/mesa/main/texgen.h',
467 'src/src/mesa/main/texgetimage.c',
468 'src/src/mesa/main/texgetimage.h',
469 'src/src/mesa/main/teximage.c',
470 'src/src/mesa/main/teximage.h',
471 'src/src/mesa/main/texobj.c',
472 'src/src/mesa/main/texobj.h',
473 'src/src/mesa/main/texparam.c',
474 'src/src/mesa/main/texparam.h',
475 'src/src/mesa/main/texstate.c',
476 'src/src/mesa/main/texstate.h',
477 'src/src/mesa/main/texstorage.c',
478 'src/src/mesa/main/texstorage.h',
479 'src/src/mesa/main/texstore.c',
480 'src/src/mesa/main/texstore.h',
481 'src/src/mesa/main/texturebarrier.c',
482 'src/src/mesa/main/texturebarrier.h',
483 'src/src/mesa/main/transformfeedback.c',
484 'src/src/mesa/main/transformfeedback.h',
485 'src/src/mesa/main/uniform_query.cpp',
486 'src/src/mesa/main/uniforms.c',
487 'src/src/mesa/main/uniforms.h',
488 'src/src/mesa/main/varray.c',
489 'src/src/mesa/main/varray.h',
490 'src/src/mesa/main/version.c',
491 'src/src/mesa/main/version.h',
492 'src/src/mesa/main/viewport.c',
493 'src/src/mesa/main/viewport.h',
494 'src/src/mesa/main/vtxfmt.c',
495 'src/src/mesa/main/vtxfmt.h',
496 'src/src/mesa/math/m_debug_clip.c',
497 'src/src/mesa/math/m_debug_norm.c',
498 'src/src/mesa/math/m_debug_xform.c',
499 'src/src/mesa/math/m_eval.c',
500 'src/src/mesa/math/m_eval.h',
501 'src/src/mesa/math/m_matrix.c',
502 'src/src/mesa/math/m_matrix.h',
503 'src/src/mesa/math/m_translate.c',
504 'src/src/mesa/math/m_translate.h',
505 'src/src/mesa/math/m_vector.c',
506 'src/src/mesa/math/m_vector.h',
507 'src/src/mesa/math/m_xform.c',
508 'src/src/mesa/math/m_xform.h',
509 'src/src/mesa/program/arbprogparse.c',
510 'src/src/mesa/program/arbprogparse.h',
511 'src/src/mesa/program/hash_table.c',
512 'src/src/mesa/program/hash_table.h',
513 'src/src/mesa/program/ir_to_mesa.cpp',
514 'src/src/mesa/program/ir_to_mesa.h',
515 '<(generated_src_dir)/mesa/lex.yy.c',
516 'src/src/mesa/program/nvfragparse.c',
517 'src/src/mesa/program/nvfragparse.h',
518 'src/src/mesa/program/nvvertparse.c',
519 'src/src/mesa/program/nvvertparse.h',
520 'src/src/mesa/program/prog_cache.c',
521 'src/src/mesa/program/prog_cache.h',
522 'src/src/mesa/program/prog_execute.c',
523 'src/src/mesa/program/prog_execute.h',
524 'src/src/mesa/program/prog_instruction.c',
525 'src/src/mesa/program/prog_instruction.h',
526 'src/src/mesa/program/prog_noise.c',
527 'src/src/mesa/program/prog_noise.h',
528 'src/src/mesa/program/prog_opt_constant_fold.c',
529 'src/src/mesa/program/prog_optimize.c',
530 'src/src/mesa/program/prog_optimize.h',
531 'src/src/mesa/program/prog_parameter.c',
532 'src/src/mesa/program/prog_parameter.h',
533 'src/src/mesa/program/prog_parameter_layout.c',
534 'src/src/mesa/program/prog_parameter_layout.h',
535 'src/src/mesa/program/prog_print.c',
536 'src/src/mesa/program/prog_print.h',
537 'src/src/mesa/program/prog_statevars.c',
538 'src/src/mesa/program/prog_statevars.h',
539 'src/src/mesa/program/program.c',
540 'src/src/mesa/program/program.h',
541 '<(generated_src_dir)/mesa/program/program_parse.tab.c',
542 '<(generated_src_dir)/mesa/program/program_parse.tab.h',
543 'src/src/mesa/program/program_parse_extra.c',
544 'src/src/mesa/program/programopt.c',
545 'src/src/mesa/program/programopt.h',
546 'src/src/mesa/program/register_allocate.c',
547 'src/src/mesa/program/register_allocate.h',
548 'src/src/mesa/program/sampler.cpp',
549 'src/src/mesa/program/sampler.h',
550 'src/src/mesa/program/string_to_uint_map.cpp',
551 'src/src/mesa/program/symbol_table.c',
552 'src/src/mesa/program/symbol_table.h',
553 'src/src/mesa/state_tracker/st_atom.c',
554 'src/src/mesa/state_tracker/st_atom.h',
555 'src/src/mesa/state_tracker/st_atom_array.c',
556 'src/src/mesa/state_tracker/st_atom_blend.c',
557 'src/src/mesa/state_tracker/st_atom_clip.c',
558 'src/src/mesa/state_tracker/st_atom_constbuf.c',
559 'src/src/mesa/state_tracker/st_atom_constbuf.h',
560 'src/src/mesa/state_tracker/st_atom_depth.c',
561 'src/src/mesa/state_tracker/st_atom_framebuffer.c',
562 'src/src/mesa/state_tracker/st_atom_msaa.c',
563 'src/src/mesa/state_tracker/st_atom_pixeltransfer.c',
564 'src/src/mesa/state_tracker/st_atom_rasterizer.c',
565 'src/src/mesa/state_tracker/st_atom_sampler.c',
566 'src/src/mesa/state_tracker/st_atom_scissor.c',
567 'src/src/mesa/state_tracker/st_atom_shader.c',
568 'src/src/mesa/state_tracker/st_atom_shader.h',
569 'src/src/mesa/state_tracker/st_atom_stipple.c',
570 'src/src/mesa/state_tracker/st_atom_texture.c',
571 'src/src/mesa/state_tracker/st_atom_viewport.c',
572 'src/src/mesa/state_tracker/st_cb_bitmap.c',
573 'src/src/mesa/state_tracker/st_cb_bitmap.h',
574 'src/src/mesa/state_tracker/st_cb_blit.c',
575 'src/src/mesa/state_tracker/st_cb_blit.h',
576 'src/src/mesa/state_tracker/st_cb_bufferobjects.c',
577 'src/src/mesa/state_tracker/st_cb_bufferobjects.h',
578 'src/src/mesa/state_tracker/st_cb_clear.c',
579 'src/src/mesa/state_tracker/st_cb_clear.h',
580 'src/src/mesa/state_tracker/st_cb_condrender.c',
581 'src/src/mesa/state_tracker/st_cb_condrender.h',
582 'src/src/mesa/state_tracker/st_cb_drawpixels.c',
583 'src/src/mesa/state_tracker/st_cb_drawpixels.h',
584 'src/src/mesa/state_tracker/st_cb_drawtex.c',
585 'src/src/mesa/state_tracker/st_cb_drawtex.h',
586 'src/src/mesa/state_tracker/st_cb_eglimage.c',
587 'src/src/mesa/state_tracker/st_cb_eglimage.h',
588 'src/src/mesa/state_tracker/st_cb_fbo.c',
589 'src/src/mesa/state_tracker/st_cb_fbo.h',
590 'src/src/mesa/state_tracker/st_cb_feedback.c',
591 'src/src/mesa/state_tracker/st_cb_feedback.h',
592 'src/src/mesa/state_tracker/st_cb_flush.c',
593 'src/src/mesa/state_tracker/st_cb_flush.h',
594 'src/src/mesa/state_tracker/st_cb_program.c',
595 'src/src/mesa/state_tracker/st_cb_program.h',
596 'src/src/mesa/state_tracker/st_cb_queryobj.c',
597 'src/src/mesa/state_tracker/st_cb_queryobj.h',
598 'src/src/mesa/state_tracker/st_cb_rasterpos.c',
599 'src/src/mesa/state_tracker/st_cb_rasterpos.h',
600 'src/src/mesa/state_tracker/st_cb_readpixels.c',
601 'src/src/mesa/state_tracker/st_cb_readpixels.h',
602 'src/src/mesa/state_tracker/st_cb_strings.c',
603 'src/src/mesa/state_tracker/st_cb_strings.h',
604 'src/src/mesa/state_tracker/st_cb_syncobj.c',
605 'src/src/mesa/state_tracker/st_cb_syncobj.h',
606 'src/src/mesa/state_tracker/st_cb_texture.c',
607 'src/src/mesa/state_tracker/st_cb_texture.h',
608 'src/src/mesa/state_tracker/st_cb_texturebarrier.c',
609 'src/src/mesa/state_tracker/st_cb_texturebarrier.h',
610 'src/src/mesa/state_tracker/st_cb_viewport.c',
611 'src/src/mesa/state_tracker/st_cb_viewport.h',
612 'src/src/mesa/state_tracker/st_cb_xformfb.c',
613 'src/src/mesa/state_tracker/st_cb_xformfb.h',
614 'src/src/mesa/state_tracker/st_context.c',
615 'src/src/mesa/state_tracker/st_context.h',
616 'src/src/mesa/state_tracker/st_debug.c',
617 'src/src/mesa/state_tracker/st_debug.h',
618 'src/src/mesa/state_tracker/st_draw.c',
619 'src/src/mesa/state_tracker/st_draw.h',
620 'src/src/mesa/state_tracker/st_draw_feedback.c',
621 'src/src/mesa/state_tracker/st_extensions.c',
622 'src/src/mesa/state_tracker/st_extensions.h',
623 'src/src/mesa/state_tracker/st_format.c',
624 'src/src/mesa/state_tracker/st_format.h',
625 'src/src/mesa/state_tracker/st_gen_mipmap.c',
626 'src/src/mesa/state_tracker/st_gen_mipmap.h',
627 'src/src/mesa/state_tracker/st_glsl_to_tgsi.cpp',
628 'src/src/mesa/state_tracker/st_glsl_to_tgsi.h',
629 'src/src/mesa/state_tracker/st_manager.c',
630 'src/src/mesa/state_tracker/st_manager.h',
631 'src/src/mesa/state_tracker/st_mesa_to_tgsi.c',
632 'src/src/mesa/state_tracker/st_mesa_to_tgsi.h',
633 'src/src/mesa/state_tracker/st_program.c',
634 'src/src/mesa/state_tracker/st_program.h',
635 'src/src/mesa/state_tracker/st_texture.c',
636 'src/src/mesa/state_tracker/st_texture.h',
637 'src/src/mesa/swrast/s_aaline.c',
638 'src/src/mesa/swrast/s_aaline.h',
639 'src/src/mesa/swrast/s_aatriangle.c',
640 'src/src/mesa/swrast/s_aatriangle.h',
641 'src/src/mesa/swrast/s_alpha.c',
642 'src/src/mesa/swrast/s_alpha.h',
643 'src/src/mesa/swrast/s_atifragshader.c',
644 'src/src/mesa/swrast/s_atifragshader.h',
645 'src/src/mesa/swrast/s_bitmap.c',
646 'src/src/mesa/swrast/s_blend.c',
647 'src/src/mesa/swrast/s_blend.h',
648 'src/src/mesa/swrast/s_blit.c',
649 'src/src/mesa/swrast/s_clear.c',
650 'src/src/mesa/swrast/s_context.c',
651 'src/src/mesa/swrast/s_context.h',
652 'src/src/mesa/swrast/s_copypix.c',
653 'src/src/mesa/swrast/s_depth.c',
654 'src/src/mesa/swrast/s_depth.h',
655 'src/src/mesa/swrast/s_drawpix.c',
656 'src/src/mesa/swrast/s_feedback.c',
657 'src/src/mesa/swrast/s_feedback.h',
658 'src/src/mesa/swrast/s_fog.c',
659 'src/src/mesa/swrast/s_fog.h',
660 'src/src/mesa/swrast/s_fragprog.c',
661 'src/src/mesa/swrast/s_fragprog.h',
662 'src/src/mesa/swrast/s_lines.c',
663 'src/src/mesa/swrast/s_lines.h',
664 'src/src/mesa/swrast/s_logic.c',
665 'src/src/mesa/swrast/s_logic.h',
666 'src/src/mesa/swrast/s_masking.c',
667 'src/src/mesa/swrast/s_masking.h',
668 'src/src/mesa/swrast/s_points.c',
669 'src/src/mesa/swrast/s_points.h',
670 'src/src/mesa/swrast/s_renderbuffer.c',
671 'src/src/mesa/swrast/s_renderbuffer.h',
672 'src/src/mesa/swrast/s_span.c',
673 'src/src/mesa/swrast/s_span.h',
674 'src/src/mesa/swrast/s_stencil.c',
675 'src/src/mesa/swrast/s_stencil.h',
676 'src/src/mesa/swrast/s_texcombine.c',
677 'src/src/mesa/swrast/s_texcombine.h',
678 'src/src/mesa/swrast/s_texfetch.c',
679 'src/src/mesa/swrast/s_texfetch.h',
680 'src/src/mesa/swrast/s_texfilter.c',
681 'src/src/mesa/swrast/s_texfilter.h',
682 'src/src/mesa/swrast/s_texrender.c',
683 'src/src/mesa/swrast/s_texture.c',
684 'src/src/mesa/swrast/s_triangle.c',
685 'src/src/mesa/swrast/s_triangle.h',
686 'src/src/mesa/swrast/s_zoom.c',
687 'src/src/mesa/swrast/s_zoom.h',
688 'src/src/mesa/swrast_setup/ss_context.c',
689 'src/src/mesa/swrast_setup/ss_context.h',
690 'src/src/mesa/swrast_setup/ss_triangle.c',
691 'src/src/mesa/swrast_setup/ss_triangle.h',
692 'src/src/mesa/tnl/t_context.c',
693 'src/src/mesa/tnl/t_context.h',
694 'src/src/mesa/tnl/t_draw.c',
695 'src/src/mesa/tnl/t_pipeline.c',
696 'src/src/mesa/tnl/t_pipeline.h',
697 'src/src/mesa/tnl/t_rasterpos.c',
698 'src/src/mesa/tnl/t_vb_fog.c',
699 'src/src/mesa/tnl/t_vb_light.c',
700 'src/src/mesa/tnl/t_vb_normals.c',
701 'src/src/mesa/tnl/t_vb_points.c',
702 'src/src/mesa/tnl/t_vb_program.c',
703 'src/src/mesa/tnl/t_vb_render.c',
704 'src/src/mesa/tnl/t_vb_texgen.c',
705 'src/src/mesa/tnl/t_vb_texmat.c',
706 'src/src/mesa/tnl/t_vb_vertex.c',
707 'src/src/mesa/tnl/t_vertex.c',
708 'src/src/mesa/tnl/t_vertex.h',
709 'src/src/mesa/tnl/t_vertex_generic.c',
710 'src/src/mesa/tnl/t_vertex_sse.c',
711 'src/src/mesa/tnl/t_vp_build.c',
712 'src/src/mesa/tnl/t_vp_build.h',
713 'src/src/mesa/vbo/vbo_context.c',
714 'src/src/mesa/vbo/vbo_context.h',
715 'src/src/mesa/vbo/vbo_exec.c',
716 'src/src/mesa/vbo/vbo_exec.h',
717 'src/src/mesa/vbo/vbo_exec_api.c',
718 'src/src/mesa/vbo/vbo_exec_array.c',
719 'src/src/mesa/vbo/vbo_exec_draw.c',
720 'src/src/mesa/vbo/vbo_exec_eval.c',
721 'src/src/mesa/vbo/vbo_noop.c',
722 'src/src/mesa/vbo/vbo_noop.h',
723 'src/src/mesa/vbo/vbo_primitive_restart.c',
724 'src/src/mesa/vbo/vbo_rebase.c',
725 'src/src/mesa/vbo/vbo_save.c',
726 'src/src/mesa/vbo/vbo_save.h',
727 'src/src/mesa/vbo/vbo_save_api.c',
728 'src/src/mesa/vbo/vbo_save_draw.c',
729 'src/src/mesa/vbo/vbo_save_loopback.c',
730 'src/src/mesa/vbo/vbo_split.c',
731 'src/src/mesa/vbo/vbo_split.h',
732 'src/src/mesa/vbo/vbo_split_copy.c',
733 'src/src/mesa/vbo/vbo_split_inplace.c',
734 'src/src/mesa/x86-64/x86-64.c',
735 'src/src/mesa/x86-64/x86-64.h',
741 '-Wno-tautological-constant-out-of-range-compare',
744 # Don't warn about string->bool used in asserts.
745 '-Wstring-conversion',
749 '-Wno-tautological-constant-out-of-range-compare',
752 '-Wstring-conversion',
755 ['OS=="android" and clang==0', {
756 # Disable sincos() optimization to avoid a linker error
757 # since Android's math library doesn't have sincos().
758 # Either -fno-builtin-sin or -fno-builtin-cos works.
765 # Because we're building as a static library
771 # Building this target will hide the native OpenGL shared library and
772 # replace it with a slow software renderer.
774 'target_name': 'osmesa',
775 'type': 'loadable_module',
791 'KEYWORD2=GLAPIENTRY',
798 'src/src/mesa/drivers',
799 '<(generated_src_dir)/mesa',
801 'msvs_disabled_warnings': [
802 4005, 4018, 4065, 4090, 4099, 4273, 4291, 4345, 4267,
805 'src/src/mesa/drivers/common/driverfuncs.c',
806 'src/src/mesa/drivers/common/driverfuncs.h',
807 'src/src/mesa/drivers/common/meta.c',
808 'src/src/mesa/drivers/common/meta.h',
809 'src/src/mesa/drivers/osmesa/osmesa.c',
810 'src/src/mesa/drivers/osmesa/osmesa.def',