How to use src method in storybook-root

Best JavaScript code snippet using storybook-root

mesa.gyp

Source: mesa.gyp Github

copy

Full Screen

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 be3# found in the LICENSE file.4{5 'variables': {6 'generated_src_dir': 'src/​chromium_gensrc',7 },8 'target_defaults': {9 'defines': [10 'MAPI_ABI_HEADER="glapi_mapi_tmp_shared.h"',11 "PACKAGE_NAME=\"Mesa\"",12 "PACKAGE_TARNAME=\"mesa\"",13 "PACKAGE_VERSION=\"9.0.3\"",14 "PACKAGE_STRING=\"Mesa\ 9.0.3\"",15 "PACKAGE_BUGREPORT=\"https:/​/​bugs.freedesktop.org/​enter_bug.cgi\?product=Mesa\"",16 "PACKAGE_URL=\"\"",17 "PACKAGE=\"mesa\"",18 "VERSION=\"9.0.3\"",19 "STDC_HEADERS=1",20 "HAVE_SYS_TYPES_H=1",21 "HAVE_SYS_STAT_H=1",22 "HAVE_STDLIB_H=1",23 "HAVE_STRING_H=1",24 "HAVE_MEMORY_H=1",25 "HAVE_STRINGS_H=1",26 "HAVE_INTTYPES_H=1",27 "HAVE_STDINT_H=1",28 "HAVE_DLFCN_H=1",29 "LT_OBJDIR=\".libs/​\"",30 "YYTEXT_POINTER=1",31 "HAVE_LIBEXPAT=1",32 "HAVE_LIBXCB_DRI2=1",33 "FEATURE_GL=1",34 'MAPI_MODE_GLAPI',35 #"USE_X86_64_ASM",36 "IN_DRI_DRIVER",37 "USE_XCB",38 "GLX_INDIRECT_RENDERING",39 "GLX_DIRECT_RENDERING",40 "USE_EXTERNAL_DXTN_LIB=1",41 "IN_DRI_DRIVER",42 "HAVE_ALIAS",43 "HAVE_MINCORE",44 "HAVE_LIBUDEV",45 "_GLAPI_NO_EXPORTS",46 ],47 'conditions': [48 ['OS=="android" or OS=="linux"', {49 'defines': [50 '_GNU_SOURCE',51 ],52 }],53 ['OS=="win"', {54 'defines': [55 # Generated files use const only if __cplusplus or __STDC__ is56 # defined. On Windows, neither is defined, so define YY_USE_CONST57 # to explicitly enable const.58 'YY_USE_CONST',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 ['ubsan_vptr == 1', {79 'cflags!': [80 # UBsan's vptr is not compatible with -fno-rtti,81 # which is used by gallium/​auxiliary/​Makefile.82 '-fsanitize=null',83 '-fsanitize=vptr',84 '-fsanitize-coverage=<(sanitizer_coverage)',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 },98 'conditions': [99 ['use_x11==0', {100 'direct_dependent_settings': {101 'defines': [102 'MESA_EGL_NO_X11_HEADERS',103 ],104 },105 }],106 ],107 },108 {109 'target_name': 'mesa_libglslcommon',110 'type': 'static_library',111 'include_dirs': [112 'src/​src/​gallium/​auxiliary',113 'src/​src/​gallium/​include',114 'src/​src/​glsl',115 'src/​src/​glsl/​glcpp',116 'src/​src/​mapi',117 'src/​src/​mapi/​glapi',118 'src/​src/​mesa',119 'src/​src/​mesa/​main',120 'src/​include',121 '<(generated_src_dir)/​mesa/​',122 '<(generated_src_dir)/​mesa/​main',123 '<(generated_src_dir)/​mesa/​program',124 '<(generated_src_dir)/​mesa/​glapi',125 ],126 'dependencies': [127 'mesa_headers',128 ],129 # TODO(scottmg): http:/​/​crbug.com/​143877 These should be removed if130 # Mesa is ever rolled and the warnings are fixed.131 'msvs_disabled_warnings': [132 4005, 4018, 4065, 4090, 4099, 4291, 4345, 4267,133 ],134 'variables': {135 'clang_warning_flags': [136 '-Wno-tautological-constant-out-of-range-compare',137 '-Wno-mismatched-tags', # Fixed upstream.138 ],139 'clang_warning_flags_unset': [140 # Don't warn about string->bool used in asserts.141 '-Wstring-conversion',142 ],143 },144 'sources': [145 '<(generated_src_dir)/​mesa/​main/​dispatch.h',146 'src/​src/​glsl/​ast_expr.cpp',147 'src/​src/​glsl/​ast_function.cpp',148 'src/​src/​glsl/​ast_to_hir.cpp',149 'src/​src/​glsl/​ast_type.cpp',150 'src/​src/​glsl/​builtin_variables.cpp',151 '<(generated_src_dir)/​mesa/​glcpp-lex.c',152 '<(generated_src_dir)/​mesa/​glcpp-parse.c',153 '<(generated_src_dir)/​mesa/​glcpp-parse.h',154 'src/​src/​glsl/​glcpp/​glcpp.h',155 'src/​src/​glsl/​glcpp/​pp.c',156 '<(generated_src_dir)/​mesa/​glsl_lexer.cc',157 '<(generated_src_dir)/​mesa/​glsl_parser.cc',158 'src/​src/​glsl/​glsl_parser_extras.cpp',159 'src/​src/​glsl/​glsl_parser_extras.h',160 'src/​src/​glsl/​glsl_symbol_table.cpp',161 'src/​src/​glsl/​glsl_symbol_table.h',162 'src/​src/​glsl/​glsl_types.cpp',163 'src/​src/​glsl/​glsl_types.h',164 'src/​src/​glsl/​hir_field_selection.cpp',165 'src/​src/​glsl/​ir.cpp',166 'src/​src/​glsl/​ir.h',167 'src/​src/​glsl/​ir_basic_block.cpp',168 'src/​src/​glsl/​ir_basic_block.h',169 'src/​src/​glsl/​ir_builder.cpp',170 'src/​src/​glsl/​ir_builder.h',171 'src/​src/​glsl/​ir_clone.cpp',172 'src/​src/​glsl/​ir_constant_expression.cpp',173 'src/​src/​glsl/​ir_expression_flattening.cpp',174 'src/​src/​glsl/​ir_expression_flattening.h',175 'src/​src/​glsl/​ir_function.cpp',176 'src/​src/​glsl/​ir_function_can_inline.cpp',177 'src/​src/​glsl/​ir_function_detect_recursion.cpp',178 'src/​src/​glsl/​ir_hierarchical_visitor.cpp',179 'src/​src/​glsl/​ir_hierarchical_visitor.h',180 'src/​src/​glsl/​ir_hv_accept.cpp',181 'src/​src/​glsl/​ir_import_prototypes.cpp',182 'src/​src/​glsl/​ir_print_visitor.cpp',183 'src/​src/​glsl/​ir_print_visitor.h',184 'src/​src/​glsl/​ir_reader.cpp',185 'src/​src/​glsl/​ir_reader.h',186 'src/​src/​glsl/​ir_rvalue_visitor.cpp',187 'src/​src/​glsl/​ir_rvalue_visitor.h',188 'src/​src/​glsl/​ir_set_program_inouts.cpp',189 'src/​src/​glsl/​ir_validate.cpp',190 'src/​src/​glsl/​ir_variable_refcount.cpp',191 'src/​src/​glsl/​ir_variable_refcount.h',192 'src/​src/​glsl/​link_functions.cpp',193 'src/​src/​glsl/​link_uniform_initializers.cpp',194 'src/​src/​glsl/​link_uniforms.cpp',195 'src/​src/​glsl/​linker.cpp',196 'src/​src/​glsl/​linker.h',197 'src/​src/​glsl/​loop_analysis.cpp',198 'src/​src/​glsl/​loop_analysis.h',199 'src/​src/​glsl/​loop_controls.cpp',200 'src/​src/​glsl/​loop_unroll.cpp',201 'src/​src/​glsl/​lower_clip_distance.cpp',202 'src/​src/​glsl/​lower_discard.cpp',203 'src/​src/​glsl/​lower_discard_flow.cpp',204 'src/​src/​glsl/​lower_if_to_cond_assign.cpp',205 'src/​src/​glsl/​lower_instructions.cpp',206 'src/​src/​glsl/​lower_jumps.cpp',207 'src/​src/​glsl/​lower_mat_op_to_vec.cpp',208 'src/​src/​glsl/​lower_noise.cpp',209 'src/​src/​glsl/​lower_output_reads.cpp',210 'src/​src/​glsl/​lower_texture_projection.cpp',211 'src/​src/​glsl/​lower_ubo_reference.cpp',212 'src/​src/​glsl/​lower_variable_index_to_cond_assign.cpp',213 'src/​src/​glsl/​lower_vec_index_to_cond_assign.cpp',214 'src/​src/​glsl/​lower_vec_index_to_swizzle.cpp',215 'src/​src/​glsl/​lower_vector.cpp',216 'src/​src/​glsl/​opt_algebraic.cpp',217 'src/​src/​glsl/​opt_array_splitting.cpp',218 'src/​src/​glsl/​opt_constant_folding.cpp',219 'src/​src/​glsl/​opt_constant_propagation.cpp',220 'src/​src/​glsl/​opt_constant_variable.cpp',221 'src/​src/​glsl/​opt_copy_propagation.cpp',222 'src/​src/​glsl/​opt_copy_propagation_elements.cpp',223 'src/​src/​glsl/​opt_dead_code.cpp',224 'src/​src/​glsl/​opt_dead_code_local.cpp',225 'src/​src/​glsl/​opt_dead_functions.cpp',226 'src/​src/​glsl/​opt_function_inlining.cpp',227 'src/​src/​glsl/​opt_if_simplification.cpp',228 'src/​src/​glsl/​opt_noop_swizzle.cpp',229 'src/​src/​glsl/​opt_redundant_jumps.cpp',230 'src/​src/​glsl/​opt_structure_splitting.cpp',231 'src/​src/​glsl/​opt_swizzle_swizzle.cpp',232 'src/​src/​glsl/​opt_tree_grafting.cpp',233 'src/​src/​glsl/​program.h',234 'src/​src/​glsl/​ralloc.c',235 'src/​src/​glsl/​ralloc.h',236 'src/​src/​glsl/​s_expression.cpp',237 'src/​src/​glsl/​s_expression.h',238 # This file is not needed and has duplicate symbols (although it239 # happens to link because of static library link ordering).240 #'src/​src/​glsl/​standalone_scaffolding.cpp',241 #'src/​src/​glsl/​standalone_scaffolding.h',242 'src/​src/​glsl/​strtod.c',243 'src/​src/​glsl/​strtod.h',244 ],245 },246 {247 'target_name': 'mesa',248 'type': 'static_library',249 'include_dirs': [250 'src/​src/​gallium/​auxiliary',251 'src/​src/​gallium/​include',252 'src/​src/​glsl',253 'src/​src/​glsl/​glcpp',254 'src/​src/​mapi',255 'src/​src/​mapi/​glapi',256 'src/​src/​mesa',257 'src/​src/​mesa/​main',258 '<(generated_src_dir)/​mesa/​',259 '<(generated_src_dir)/​mesa/​main',260 '<(generated_src_dir)/​mesa/​program',261 '<(generated_src_dir)/​mesa/​glapi',262 ],263 'dependencies': [264 'mesa_headers',265 'mesa_libglslcommon',266 ],267 # TODO(scottmg): http:/​/​crbug.com/​143877 These should be removed if268 # Mesa is ever rolled and the warnings are fixed.269 'msvs_disabled_warnings': [270 4005, 4018, 4090, 4099, 4146, 4291, 4305, 4334, 4748, 4267,271 ],272 'variables': {273 'clang_warning_flags': [274 '-Wno-tautological-constant-out-of-range-compare',275 '-Wno-absolute-value', # Fires on st_atom_array.c, might be a bug276 '-Wno-mismatched-tags', # Fixed upstream.277 ],278 'clang_warning_flags_unset': [279 # Don't warn about string->bool used in asserts.280 '-Wstring-conversion',281 ],282 },283 'sources': [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_glapi.c',289 'src/​src/​mapi/​mapi/​stub.c',290 'src/​src/​mapi/​mapi/​stub.h',291 'src/​src/​mapi/​mapi/​table.c',292 'src/​src/​mapi/​mapi/​table.h',293 'src/​src/​mapi/​mapi/​u_current.c',294 'src/​src/​mapi/​mapi/​u_current.h',295 'src/​src/​mapi/​mapi/​u_execmem.c',296 'src/​src/​mapi/​mapi/​u_execmem.h',297 'src/​src/​mesa/​main/​accum.c',298 'src/​src/​mesa/​main/​accum.h',299 'src/​src/​mesa/​main/​api_arrayelt.c',300 'src/​src/​mesa/​main/​api_arrayelt.h',301 'src/​src/​mesa/​main/​api_exec.c',302 'src/​src/​mesa/​main/​api_exec.h',303 'src/​src/​mesa/​main/​api_loopback.c',304 'src/​src/​mesa/​main/​api_loopback.h',305 'src/​src/​mesa/​main/​api_validate.c',306 'src/​src/​mesa/​main/​api_validate.h',307 'src/​src/​mesa/​main/​arbprogram.c',308 'src/​src/​mesa/​main/​arbprogram.h',309 'src/​src/​mesa/​main/​arrayobj.c',310 'src/​src/​mesa/​main/​arrayobj.h',311 'src/​src/​mesa/​main/​atifragshader.c',312 'src/​src/​mesa/​main/​atifragshader.h',313 'src/​src/​mesa/​main/​attrib.c',314 'src/​src/​mesa/​main/​attrib.h',315 'src/​src/​mesa/​main/​blend.c',316 'src/​src/​mesa/​main/​blend.h',317 'src/​src/​mesa/​main/​bufferobj.c',318 'src/​src/​mesa/​main/​bufferobj.h',319 'src/​src/​mesa/​main/​buffers.c',320 'src/​src/​mesa/​main/​buffers.h',321 'src/​src/​mesa/​main/​clear.c',322 'src/​src/​mesa/​main/​clear.h',323 'src/​src/​mesa/​main/​clip.c',324 'src/​src/​mesa/​main/​clip.h',325 'src/​src/​mesa/​main/​colortab.c',326 'src/​src/​mesa/​main/​colortab.h',327 'src/​src/​mesa/​main/​condrender.c',328 'src/​src/​mesa/​main/​condrender.h',329 'src/​src/​mesa/​main/​context.c',330 'src/​src/​mesa/​main/​context.h',331 'src/​src/​mesa/​main/​convolve.c',332 'src/​src/​mesa/​main/​convolve.h',333 'src/​src/​mesa/​main/​cpuinfo.c',334 'src/​src/​mesa/​main/​cpuinfo.h',335 'src/​src/​mesa/​main/​debug.c',336 'src/​src/​mesa/​main/​debug.h',337 'src/​src/​mesa/​main/​depth.c',338 'src/​src/​mesa/​main/​depth.h',339 'src/​src/​mesa/​main/​dlist.c',340 'src/​src/​mesa/​main/​dlist.h',341 'src/​src/​mesa/​main/​drawpix.c',342 'src/​src/​mesa/​main/​drawpix.h',343 'src/​src/​mesa/​main/​drawtex.c',344 'src/​src/​mesa/​main/​drawtex.h',345 'src/​src/​mesa/​main/​enable.c',346 'src/​src/​mesa/​main/​enable.h',347 '<(generated_src_dir)/​mesa/​enums.c',348 'src/​src/​mesa/​main/​enums.h',349 'src/​src/​mesa/​main/​errors.c',350 'src/​src/​mesa/​main/​errors.h',351 'src/​src/​mesa/​main/​eval.c',352 'src/​src/​mesa/​main/​eval.h',353 'src/​src/​mesa/​main/​execmem.c',354 'src/​src/​mesa/​main/​extensions.c',355 'src/​src/​mesa/​main/​extensions.h',356 'src/​src/​mesa/​main/​fbobject.c',357 'src/​src/​mesa/​main/​fbobject.h',358 'src/​src/​mesa/​main/​feedback.c',359 'src/​src/​mesa/​main/​feedback.h',360 'src/​src/​mesa/​main/​ff_fragment_shader.cpp',361 'src/​src/​mesa/​main/​ffvertex_prog.c',362 'src/​src/​mesa/​main/​ffvertex_prog.h',363 'src/​src/​mesa/​main/​fog.c',364 'src/​src/​mesa/​main/​fog.h',365 'src/​src/​mesa/​main/​format_pack.c',366 'src/​src/​mesa/​main/​format_pack.h',367 'src/​src/​mesa/​main/​format_unpack.c',368 'src/​src/​mesa/​main/​format_unpack.h',369 'src/​src/​mesa/​main/​formats.c',370 'src/​src/​mesa/​main/​formats.h',371 'src/​src/​mesa/​main/​framebuffer.c',372 'src/​src/​mesa/​main/​framebuffer.h',373 'src/​src/​mesa/​main/​get.c',374 'src/​src/​mesa/​main/​get.h',375 'src/​src/​mesa/​main/​getstring.c',376 'src/​src/​mesa/​main/​glformats.c',377 'src/​src/​mesa/​main/​glformats.h',378 'src/​src/​mesa/​main/​hash.c',379 'src/​src/​mesa/​main/​hash.h',380 'src/​src/​mesa/​main/​hint.c',381 'src/​src/​mesa/​main/​hint.h',382 'src/​src/​mesa/​main/​histogram.c',383 'src/​src/​mesa/​main/​histogram.h',384 'src/​src/​mesa/​main/​image.c',385 'src/​src/​mesa/​main/​image.h',386 'src/​src/​mesa/​main/​imports.c',387 'src/​src/​mesa/​main/​imports.h',388 'src/​src/​mesa/​main/​light.c',389 'src/​src/​mesa/​main/​light.h',390 'src/​src/​mesa/​main/​lines.c',391 'src/​src/​mesa/​main/​lines.h',392 'src/​src/​mesa/​main/​matrix.c',393 'src/​src/​mesa/​main/​matrix.h',394 'src/​src/​mesa/​main/​mipmap.c',395 'src/​src/​mesa/​main/​mipmap.h',396 'src/​src/​mesa/​main/​mm.c',397 'src/​src/​mesa/​main/​mm.h',398 'src/​src/​mesa/​main/​multisample.c',399 'src/​src/​mesa/​main/​multisample.h',400 'src/​src/​mesa/​main/​nvprogram.c',401 'src/​src/​mesa/​main/​nvprogram.h',402 'src/​src/​mesa/​main/​pack.c',403 'src/​src/​mesa/​main/​pack.h',404 'src/​src/​mesa/​main/​pbo.c',405 'src/​src/​mesa/​main/​pbo.h',406 'src/​src/​mesa/​main/​pixel.c',407 'src/​src/​mesa/​main/​pixel.h',408 'src/​src/​mesa/​main/​pixelstore.c',409 'src/​src/​mesa/​main/​pixelstore.h',410 'src/​src/​mesa/​main/​pixeltransfer.c',411 'src/​src/​mesa/​main/​pixeltransfer.h',412 'src/​src/​mesa/​main/​points.c',413 'src/​src/​mesa/​main/​points.h',414 'src/​src/​mesa/​main/​polygon.c',415 'src/​src/​mesa/​main/​polygon.h',416 'src/​src/​mesa/​main/​queryobj.c',417 'src/​src/​mesa/​main/​queryobj.h',418 'src/​src/​mesa/​main/​rastpos.c',419 'src/​src/​mesa/​main/​rastpos.h',420 'src/​src/​mesa/​main/​readpix.c',421 'src/​src/​mesa/​main/​readpix.h',422 'src/​src/​mesa/​main/​remap.c',423 'src/​src/​mesa/​main/​remap.h',424 'src/​src/​mesa/​main/​renderbuffer.c',425 'src/​src/​mesa/​main/​renderbuffer.h',426 'src/​src/​mesa/​main/​samplerobj.c',427 'src/​src/​mesa/​main/​samplerobj.h',428 'src/​src/​mesa/​main/​scissor.c',429 'src/​src/​mesa/​main/​scissor.h',430 'src/​src/​mesa/​main/​shader_query.cpp',431 'src/​src/​mesa/​main/​shaderapi.c',432 'src/​src/​mesa/​main/​shaderapi.h',433 'src/​src/​mesa/​main/​shaderobj.c',434 'src/​src/​mesa/​main/​shaderobj.h',435 'src/​src/​mesa/​main/​shared.c',436 'src/​src/​mesa/​main/​shared.h',437 'src/​src/​mesa/​main/​state.c',438 'src/​src/​mesa/​main/​state.h',439 'src/​src/​mesa/​main/​stencil.c',440 'src/​src/​mesa/​main/​stencil.h',441 'src/​src/​mesa/​main/​syncobj.c',442 'src/​src/​mesa/​main/​syncobj.h',443 'src/​src/​mesa/​main/​texcompress.c',444 'src/​src/​mesa/​main/​texcompress.h',445 'src/​src/​mesa/​main/​texcompress_cpal.c',446 'src/​src/​mesa/​main/​texcompress_cpal.h',447 'src/​src/​mesa/​main/​texcompress_etc.c',448 'src/​src/​mesa/​main/​texcompress_etc.h',449 'src/​src/​mesa/​main/​texcompress_fxt1.c',450 'src/​src/​mesa/​main/​texcompress_fxt1.h',451 'src/​src/​mesa/​main/​texcompress_rgtc.c',452 'src/​src/​mesa/​main/​texcompress_rgtc.h',453 'src/​src/​mesa/​main/​texcompress_s3tc.c',454 'src/​src/​mesa/​main/​texcompress_s3tc.h',455 'src/​src/​mesa/​main/​texenv.c',456 'src/​src/​mesa/​main/​texenv.h',457 'src/​src/​mesa/​main/​texformat.c',458 'src/​src/​mesa/​main/​texformat.h',459 'src/​src/​mesa/​main/​texgen.c',460 'src/​src/​mesa/​main/​texgen.h',461 'src/​src/​mesa/​main/​texgetimage.c',462 'src/​src/​mesa/​main/​texgetimage.h',463 'src/​src/​mesa/​main/​teximage.c',464 'src/​src/​mesa/​main/​teximage.h',465 'src/​src/​mesa/​main/​texobj.c',466 'src/​src/​mesa/​main/​texobj.h',467 'src/​src/​mesa/​main/​texparam.c',468 'src/​src/​mesa/​main/​texparam.h',469 'src/​src/​mesa/​main/​texstate.c',470 'src/​src/​mesa/​main/​texstate.h',471 'src/​src/​mesa/​main/​texstorage.c',472 'src/​src/​mesa/​main/​texstorage.h',473 'src/​src/​mesa/​main/​texstore.c',474 'src/​src/​mesa/​main/​texstore.h',475 'src/​src/​mesa/​main/​texturebarrier.c',476 'src/​src/​mesa/​main/​texturebarrier.h',477 'src/​src/​mesa/​main/​transformfeedback.c',478 'src/​src/​mesa/​main/​transformfeedback.h',479 'src/​src/​mesa/​main/​uniform_query.cpp',480 'src/​src/​mesa/​main/​uniforms.c',481 'src/​src/​mesa/​main/​uniforms.h',482 'src/​src/​mesa/​main/​varray.c',483 'src/​src/​mesa/​main/​varray.h',484 'src/​src/​mesa/​main/​version.c',485 'src/​src/​mesa/​main/​version.h',486 'src/​src/​mesa/​main/​viewport.c',487 'src/​src/​mesa/​main/​viewport.h',488 'src/​src/​mesa/​main/​vtxfmt.c',489 'src/​src/​mesa/​main/​vtxfmt.h',490 'src/​src/​mesa/​math/​m_debug_clip.c',491 'src/​src/​mesa/​math/​m_debug_norm.c',492 'src/​src/​mesa/​math/​m_debug_xform.c',493 'src/​src/​mesa/​math/​m_eval.c',494 'src/​src/​mesa/​math/​m_eval.h',495 'src/​src/​mesa/​math/​m_matrix.c',496 'src/​src/​mesa/​math/​m_matrix.h',497 'src/​src/​mesa/​math/​m_translate.c',498 'src/​src/​mesa/​math/​m_translate.h',499 'src/​src/​mesa/​math/​m_vector.c',500 'src/​src/​mesa/​math/​m_vector.h',501 'src/​src/​mesa/​math/​m_xform.c',502 'src/​src/​mesa/​math/​m_xform.h',503 'src/​src/​mesa/​program/​arbprogparse.c',504 'src/​src/​mesa/​program/​arbprogparse.h',505 'src/​src/​mesa/​program/​hash_table.c',506 'src/​src/​mesa/​program/​hash_table.h',507 'src/​src/​mesa/​program/​ir_to_mesa.cpp',508 'src/​src/​mesa/​program/​ir_to_mesa.h',509 '<(generated_src_dir)/​mesa/​lex.yy.c',510 'src/​src/​mesa/​program/​nvfragparse.c',511 'src/​src/​mesa/​program/​nvfragparse.h',512 'src/​src/​mesa/​program/​nvvertparse.c',513 'src/​src/​mesa/​program/​nvvertparse.h',514 'src/​src/​mesa/​program/​prog_cache.c',515 'src/​src/​mesa/​program/​prog_cache.h',516 'src/​src/​mesa/​program/​prog_execute.c',517 'src/​src/​mesa/​program/​prog_execute.h',518 'src/​src/​mesa/​program/​prog_instruction.c',519 'src/​src/​mesa/​program/​prog_instruction.h',520 'src/​src/​mesa/​program/​prog_noise.c',521 'src/​src/​mesa/​program/​prog_noise.h',522 'src/​src/​mesa/​program/​prog_opt_constant_fold.c',523 'src/​src/​mesa/​program/​prog_optimize.c',524 'src/​src/​mesa/​program/​prog_optimize.h',525 'src/​src/​mesa/​program/​prog_parameter.c',526 'src/​src/​mesa/​program/​prog_parameter.h',527 'src/​src/​mesa/​program/​prog_parameter_layout.c',528 'src/​src/​mesa/​program/​prog_parameter_layout.h',529 'src/​src/​mesa/​program/​prog_print.c',530 'src/​src/​mesa/​program/​prog_print.h',531 'src/​src/​mesa/​program/​prog_statevars.c',532 'src/​src/​mesa/​program/​prog_statevars.h',533 'src/​src/​mesa/​program/​program.c',534 'src/​src/​mesa/​program/​program.h',535 '<(generated_src_dir)/​mesa/​program/​program_parse.tab.c',536 '<(generated_src_dir)/​mesa/​program/​program_parse.tab.h',537 'src/​src/​mesa/​program/​program_parse_extra.c',538 'src/​src/​mesa/​program/​programopt.c',539 'src/​src/​mesa/​program/​programopt.h',540 'src/​src/​mesa/​program/​register_allocate.c',541 'src/​src/​mesa/​program/​register_allocate.h',542 'src/​src/​mesa/​program/​sampler.cpp',543 'src/​src/​mesa/​program/​sampler.h',544 'src/​src/​mesa/​program/​string_to_uint_map.cpp',545 'src/​src/​mesa/​program/​symbol_table.c',546 'src/​src/​mesa/​program/​symbol_table.h',547 'src/​src/​mesa/​swrast/​s_aaline.c',548 'src/​src/​mesa/​swrast/​s_aaline.h',549 'src/​src/​mesa/​swrast/​s_aatriangle.c',550 'src/​src/​mesa/​swrast/​s_aatriangle.h',551 'src/​src/​mesa/​swrast/​s_alpha.c',552 'src/​src/​mesa/​swrast/​s_alpha.h',553 'src/​src/​mesa/​swrast/​s_atifragshader.c',554 'src/​src/​mesa/​swrast/​s_atifragshader.h',555 'src/​src/​mesa/​swrast/​s_bitmap.c',556 'src/​src/​mesa/​swrast/​s_blend.c',557 'src/​src/​mesa/​swrast/​s_blend.h',558 'src/​src/​mesa/​swrast/​s_blit.c',559 'src/​src/​mesa/​swrast/​s_clear.c',560 'src/​src/​mesa/​swrast/​s_context.c',561 'src/​src/​mesa/​swrast/​s_context.h',562 'src/​src/​mesa/​swrast/​s_copypix.c',563 'src/​src/​mesa/​swrast/​s_depth.c',564 'src/​src/​mesa/​swrast/​s_depth.h',565 'src/​src/​mesa/​swrast/​s_drawpix.c',566 'src/​src/​mesa/​swrast/​s_feedback.c',567 'src/​src/​mesa/​swrast/​s_feedback.h',568 'src/​src/​mesa/​swrast/​s_fog.c',569 'src/​src/​mesa/​swrast/​s_fog.h',570 'src/​src/​mesa/​swrast/​s_fragprog.c',571 'src/​src/​mesa/​swrast/​s_fragprog.h',572 'src/​src/​mesa/​swrast/​s_lines.c',573 'src/​src/​mesa/​swrast/​s_lines.h',574 'src/​src/​mesa/​swrast/​s_logic.c',575 'src/​src/​mesa/​swrast/​s_logic.h',576 'src/​src/​mesa/​swrast/​s_masking.c',577 'src/​src/​mesa/​swrast/​s_masking.h',578 'src/​src/​mesa/​swrast/​s_points.c',579 'src/​src/​mesa/​swrast/​s_points.h',580 'src/​src/​mesa/​swrast/​s_renderbuffer.c',581 'src/​src/​mesa/​swrast/​s_renderbuffer.h',582 'src/​src/​mesa/​swrast/​s_span.c',583 'src/​src/​mesa/​swrast/​s_span.h',584 'src/​src/​mesa/​swrast/​s_stencil.c',585 'src/​src/​mesa/​swrast/​s_stencil.h',586 'src/​src/​mesa/​swrast/​s_texcombine.c',587 'src/​src/​mesa/​swrast/​s_texcombine.h',588 'src/​src/​mesa/​swrast/​s_texfetch.c',589 'src/​src/​mesa/​swrast/​s_texfetch.h',590 'src/​src/​mesa/​swrast/​s_texfilter.c',591 'src/​src/​mesa/​swrast/​s_texfilter.h',592 'src/​src/​mesa/​swrast/​s_texrender.c',593 'src/​src/​mesa/​swrast/​s_texture.c',594 'src/​src/​mesa/​swrast/​s_triangle.c',595 'src/​src/​mesa/​swrast/​s_triangle.h',596 'src/​src/​mesa/​swrast/​s_zoom.c',597 'src/​src/​mesa/​swrast/​s_zoom.h',598 'src/​src/​mesa/​swrast_setup/​ss_context.c',599 'src/​src/​mesa/​swrast_setup/​ss_context.h',600 'src/​src/​mesa/​swrast_setup/​ss_triangle.c',601 'src/​src/​mesa/​swrast_setup/​ss_triangle.h',602 'src/​src/​mesa/​tnl/​t_context.c',603 'src/​src/​mesa/​tnl/​t_context.h',604 'src/​src/​mesa/​tnl/​t_draw.c',605 'src/​src/​mesa/​tnl/​t_pipeline.c',606 'src/​src/​mesa/​tnl/​t_pipeline.h',607 'src/​src/​mesa/​tnl/​t_rasterpos.c',608 'src/​src/​mesa/​tnl/​t_vb_fog.c',609 'src/​src/​mesa/​tnl/​t_vb_light.c',610 'src/​src/​mesa/​tnl/​t_vb_normals.c',611 'src/​src/​mesa/​tnl/​t_vb_points.c',612 'src/​src/​mesa/​tnl/​t_vb_program.c',613 'src/​src/​mesa/​tnl/​t_vb_render.c',614 'src/​src/​mesa/​tnl/​t_vb_texgen.c',615 'src/​src/​mesa/​tnl/​t_vb_texmat.c',616 'src/​src/​mesa/​tnl/​t_vb_vertex.c',617 'src/​src/​mesa/​tnl/​t_vertex.c',618 'src/​src/​mesa/​tnl/​t_vertex.h',619 'src/​src/​mesa/​tnl/​t_vertex_generic.c',620 'src/​src/​mesa/​tnl/​t_vertex_sse.c',621 'src/​src/​mesa/​tnl/​t_vp_build.c',622 'src/​src/​mesa/​tnl/​t_vp_build.h',623 'src/​src/​mesa/​vbo/​vbo_context.c',624 'src/​src/​mesa/​vbo/​vbo_context.h',625 'src/​src/​mesa/​vbo/​vbo_exec.c',626 'src/​src/​mesa/​vbo/​vbo_exec.h',627 'src/​src/​mesa/​vbo/​vbo_exec_api.c',628 'src/​src/​mesa/​vbo/​vbo_exec_array.c',629 'src/​src/​mesa/​vbo/​vbo_exec_draw.c',630 'src/​src/​mesa/​vbo/​vbo_exec_eval.c',631 'src/​src/​mesa/​vbo/​vbo_noop.c',632 'src/​src/​mesa/​vbo/​vbo_noop.h',633 'src/​src/​mesa/​vbo/​vbo_primitive_restart.c',634 'src/​src/​mesa/​vbo/​vbo_rebase.c',635 'src/​src/​mesa/​vbo/​vbo_save.c',636 'src/​src/​mesa/​vbo/​vbo_save.h',637 'src/​src/​mesa/​vbo/​vbo_save_api.c',638 'src/​src/​mesa/​vbo/​vbo_save_draw.c',639 'src/​src/​mesa/​vbo/​vbo_save_loopback.c',640 'src/​src/​mesa/​vbo/​vbo_split.c',641 'src/​src/​mesa/​vbo/​vbo_split.h',642 'src/​src/​mesa/​vbo/​vbo_split_copy.c',643 'src/​src/​mesa/​vbo/​vbo_split_inplace.c',644 'src/​src/​mesa/​x86-64/​x86-64.c',645 'src/​src/​mesa/​x86-64/​x86-64.h',646 ],647 'conditions': [648 ['OS=="android" and clang==0', {649 # Disable sincos() optimization to avoid a linker error650 # since Android's math library doesn't have sincos().651 # Either -fno-builtin-sin or -fno-builtin-cos works.652 'cflags': [653 '-fno-builtin-sin',654 ],655 }],656 ['OS=="win"', {657 'defines': [658 # Because we're building as a static library659 '_GLAPI_NO_EXPORTS',660 ],661 }],662 ],663 },664 # Building this target will hide the native OpenGL shared library and665 # replace it with a slow software renderer.666 {667 'target_name': 'osmesa',668 'type': 'loadable_module',669 'mac_bundle': 0,670 'dependencies': [671 'mesa_headers',672 'mesa',673 ],674 'xcode_settings': {675 'OTHER_LDFLAGS': [676 '-lstdc++',677 ],678 },679 'conditions': [680 ['OS=="win"', {681 'defines': [682 'BUILD_GL32',683 'KEYWORD1=GLAPI',684 'KEYWORD2=GLAPIENTRY',685 ],686 }],687 ['OS=="linux"', {688 'link_settings': {689 'libraries': [690 '-ldl',691 '-lm',692 '-lstdc++',693 ],694 },695 }],696 ],697 'include_dirs': [698 'src/​src/​mapi',699 'src/​src/​mesa',700 'src/​src/​mesa/​drivers',701 '<(generated_src_dir)/​mesa',702 ],703 'msvs_disabled_warnings': [704 4005, 4018, 4065, 4090, 4099, 4291, 4345, 4267,705 ],706 'sources': [707 'src/​src/​mesa/​drivers/​common/​driverfuncs.c',708 'src/​src/​mesa/​drivers/​common/​driverfuncs.h',709 'src/​src/​mesa/​drivers/​common/​meta.c',710 'src/​src/​mesa/​drivers/​common/​meta.h',711 'src/​src/​mesa/​drivers/​osmesa/​osmesa.c',712 'src/​src/​mesa/​drivers/​osmesa/​osmesa.def',713 ],714 'variables': {715 'clang_warning_flags_unset': [716 # Don't warn about string->bool used in asserts.717 '-Wstring-conversion',718 ],719 },720 },721 ],722 'conditions': [723 ['OS=="android"', {724 'targets': [725 {726 # Copies libosmesa.so to the out/​$BUILDTYPE/​lib/​ directory so that727 # the write_ordered_libraries.py script won't assume it to be a728 # system library. This will cause the library to be stripped allowing729 # targets to embed it in the to-be-generated APK.730 'target_name': 'osmesa_in_lib_dir',731 'type': 'none',732 'dependencies': [733 'osmesa',734 ],735 'actions': [736 {737 'action_name': 'copy_libosmesa',738 'inputs': ['<(PRODUCT_DIR)/​libosmesa.so'],739 'outputs': ['<(SHARED_LIB_DIR)/​libosmesa.so'],740 'action': [741 'cp',742 '<(PRODUCT_DIR)/​libosmesa.so',743 '<(SHARED_LIB_DIR)/​libosmesa.so',744 ],745 },746 ],747 },748 ],749 }],750 ],...

Full Screen

Full Screen

v8.gyp

Source: v8.gyp Github

copy

Full Screen

1# Copyright 2009 the V8 project authors. All rights reserved.2# Redistribution and use in source and binary forms, with or without3# modification, are permitted provided that the following conditions are4# met:5#6# * Redistributions of source code must retain the above copyright7# notice, this list of conditions and the following disclaimer.8# * Redistributions in binary form must reproduce the above9# copyright notice, this list of conditions and the following10# disclaimer in the documentation and/​or other materials provided11# with the distribution.12# * Neither the name of Google Inc. nor the names of its13# contributors may be used to endorse or promote products derived14# from this software without specific prior written permission.15#16# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS17# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT18# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR19# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT20# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,21# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT22# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.27{28 'variables': {29 'msvs_use_common_release': 0,30 'gcc_version%': 'unknown',31 'v8_target_arch%': '<(target_arch)',32 'v8_use_snapshot%': 'true',33 },34 'target_defaults': {35 'defines': [36 'ENABLE_LOGGING_AND_PROFILING',37 'ENABLE_DEBUGGER_SUPPORT',38 'ENABLE_VMSTATE_TRACKING',39 ],40 'conditions': [41 ['OS!="mac"', {42 # TODO(mark): The OS!="mac" conditional is temporary. It can be43 # removed once the Mac Chromium build stops setting target_arch to44 # ia32 and instead sets it to mac. Other checks in this file for45 # OS=="mac" can be removed at that time as well. This can be cleaned46 # up once http:/​/​crbug.com/​44205 is fixed.47 'conditions': [48 ['v8_target_arch=="arm"', {49 'defines': [50 'V8_TARGET_ARCH_ARM',51 ],52 }],53 ['v8_target_arch=="ia32"', {54 'defines': [55 'V8_TARGET_ARCH_IA32',56 ],57 }],58 ['v8_target_arch=="x64"', {59 'defines': [60 'V8_TARGET_ARCH_X64',61 ],62 }],63 ],64 }],65 ],66 'configurations': {67 'Debug': {68 'defines': [69 'DEBUG',70 '_DEBUG',71 'ENABLE_DISASSEMBLER',72 'V8_ENABLE_CHECKS'73 ],74 'msvs_settings': {75 'VCCLCompilerTool': {76 'Optimizations': '0',77 78 'conditions': [79 ['OS=="win" and component=="shared_library"', {80 'RuntimeLibrary': '3', # /​MDd81 }, {82 'RuntimeLibrary': '1', # /​MTd83 }],84 ],85 },86 'VCLinkerTool': {87 'LinkIncremental': '2',88 },89 },90 'conditions': [91 ['OS=="freebsd" or OS=="openbsd"', {92 'cflags': [ '-I/​usr/​local/​include' ],93 }],94 ],95 },96 'Release': {97 'conditions': [98 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {99 'cflags!': [100 '-O2',101 '-Os',102 ],103 'cflags': [104 '-fomit-frame-pointer',105 '-O3',106 ],107 'conditions': [108 [ 'gcc_version==44', {109 'cflags': [110 # Avoid crashes with gcc 4.4 in the v8 test suite.111 '-fno-tree-vrp',112 ],113 }],114 ],115 }],116 ['OS=="freebsd" or OS=="openbsd"', {117 'cflags': [ '-I/​usr/​local/​include' ],118 }],119 ['OS=="mac"', {120 'xcode_settings': {121 'GCC_OPTIMIZATION_LEVEL': '3', # -O3122 'GCC_STRICT_ALIASING': 'YES', # -fstrict-aliasing. Mainline gcc123 # enables this at -O2 and above,124 # but Apple gcc does not unless it125 # is specified explicitly.126 },127 }],128 ['OS=="win"', {129 'msvs_configuration_attributes': {130 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',131 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',132 'CharacterSet': '1',133 },134 'msvs_settings': {135 'VCCLCompilerTool': {136 'Optimizations': '2',137 'InlineFunctionExpansion': '2',138 'EnableIntrinsicFunctions': 'true',139 'FavorSizeOrSpeed': '0',140 'OmitFramePointers': 'true',141 'StringPooling': 'true',142 143 'conditions': [144 ['OS=="win" and component=="shared_library"', {145 'RuntimeLibrary': '2', #/​MD146 }, {147 'RuntimeLibrary': '0', #/​MT148 }],149 ],150 },151 'VCLinkerTool': {152 'LinkIncremental': '1',153 'OptimizeReferences': '2',154 'OptimizeForWindows98': '1',155 'EnableCOMDATFolding': '2',156 },157 },158 }],159 ],160 },161 },162 },163 'targets': [164 {165 'target_name': 'v8',166 'conditions': [167 ['v8_use_snapshot=="true"', {168 'dependencies': ['v8_snapshot'],169 },170 {171 'dependencies': ['v8_nosnapshot'],172 }],173 ['OS=="win" and component=="shared_library"', {174 'type': '<(component)',175 'sources': [176 '../​../​src/​v8dll-main.cc',177 ],178 'defines': [179 'BUILDING_V8_SHARED'180 ],181 'direct_dependent_settings': {182 'defines': [183 'USING_V8_SHARED',184 ],185 },186 },187 {188 'type': 'none',189 }],190 ],191 'direct_dependent_settings': {192 'include_dirs': [193 '../​../​include',194 ],195 },196 },197 {198 'target_name': 'v8_snapshot',199 'type': '<(library)',200 'conditions': [201 ['OS=="win" and component=="shared_library"', {202 'defines': [203 'BUILDING_V8_SHARED',204 ],205 }],206 ],207 'dependencies': [208 'mksnapshot#host',209 'js2c#host',210 'v8_base',211 ],212 'include_dirs+': [213 '../​../​src',214 ],215 'sources': [216 '<(SHARED_INTERMEDIATE_DIR)/​libraries-empty.cc',217 '<(INTERMEDIATE_DIR)/​snapshot.cc',218 ],219 'actions': [220 {221 'action_name': 'run_mksnapshot',222 'inputs': [223 '<(PRODUCT_DIR)/​<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',224 ],225 'outputs': [226 '<(INTERMEDIATE_DIR)/​snapshot.cc',227 ],228 'action': ['<@(_inputs)', '<@(_outputs)'],229 },230 ],231 },232 {233 'target_name': 'v8_nosnapshot',234 'type': '<(library)',235 'toolsets': ['host', 'target'],236 'dependencies': [237 'js2c#host',238 'v8_base',239 ],240 'include_dirs+': [241 '../​../​src',242 ],243 'sources': [244 '<(SHARED_INTERMEDIATE_DIR)/​libraries.cc',245 '../​../​src/​snapshot-empty.cc',246 ],247 'conditions': [248 # The ARM assembler assumes the host is 32 bits, so force building249 # 32-bit host tools.250 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', {251 'cflags': ['-m32'],252 'ldflags': ['-m32'],253 }],254 ['OS=="win" and component=="shared_library"', {255 'defines': [256 'BUILDING_V8_SHARED',257 ],258 }],259 ]260 },261 {262 'target_name': 'v8_base',263 'type': '<(library)',264 'toolsets': ['host', 'target'],265 'include_dirs+': [266 '../​../​src',267 ],268 'sources': [269 '../​../​src/​accessors.cc',270 '../​../​src/​accessors.h',271 '../​../​src/​allocation.cc',272 '../​../​src/​allocation.h',273 '../​../​src/​api.cc',274 '../​../​src/​api.h',275 '../​../​src/​apiutils.h',276 '../​../​src/​arguments.h',277 '../​../​src/​assembler.cc',278 '../​../​src/​assembler.h',279 '../​../​src/​ast.cc',280 '../​../​src/​ast-inl.h',281 '../​../​src/​ast.h',282 '../​../​src/​bootstrapper.cc',283 '../​../​src/​bootstrapper.h',284 '../​../​src/​builtins.cc',285 '../​../​src/​builtins.h',286 '../​../​src/​bytecodes-irregexp.h',287 '../​../​src/​cached-powers.h',288 '../​../​src/​char-predicates-inl.h',289 '../​../​src/​char-predicates.h',290 '../​../​src/​checks.cc',291 '../​../​src/​checks.h',292 '../​../​src/​circular-queue-inl.h',293 '../​../​src/​circular-queue.cc',294 '../​../​src/​circular-queue.h',295 '../​../​src/​code-stubs.cc',296 '../​../​src/​code-stubs.h',297 '../​../​src/​code.h',298 '../​../​src/​codegen-inl.h',299 '../​../​src/​codegen.cc',300 '../​../​src/​codegen.h',301 '../​../​src/​compilation-cache.cc',302 '../​../​src/​compilation-cache.h',303 '../​../​src/​compiler.cc',304 '../​../​src/​compiler.h',305 '../​../​src/​contexts.cc',306 '../​../​src/​contexts.h',307 '../​../​src/​conversions-inl.h',308 '../​../​src/​conversions.cc',309 '../​../​src/​conversions.h',310 '../​../​src/​counters.cc',311 '../​../​src/​counters.h',312 '../​../​src/​cpu.h',313 '../​../​src/​cpu-profiler-inl.h',314 '../​../​src/​cpu-profiler.cc',315 '../​../​src/​cpu-profiler.h',316 '../​../​src/​data-flow.cc',317 '../​../​src/​data-flow.h',318 '../​../​src/​dateparser.cc',319 '../​../​src/​dateparser.h',320 '../​../​src/​dateparser-inl.h',321 '../​../​src/​debug.cc',322 '../​../​src/​debug.h',323 '../​../​src/​debug-agent.cc',324 '../​../​src/​debug-agent.h',325 '../​../​src/​disasm.h',326 '../​../​src/​disassembler.cc',327 '../​../​src/​disassembler.h',328 '../​../​src/​dtoa.cc',329 '../​../​src/​dtoa.h',330 '../​../​src/​dtoa-config.c',331 '../​../​src/​diy-fp.cc',332 '../​../​src/​diy-fp.h',333 '../​../​src/​double.h',334 '../​../​src/​execution.cc',335 '../​../​src/​execution.h',336 '../​../​src/​factory.cc',337 '../​../​src/​factory.h',338 '../​../​src/​fast-dtoa.cc',339 '../​../​src/​fast-dtoa.h',340 '../​../​src/​flag-definitions.h',341 '../​../​src/​fixed-dtoa.cc',342 '../​../​src/​fixed-dtoa.h',343 '../​../​src/​flags.cc',344 '../​../​src/​flags.h',345 '../​../​src/​flow-graph.cc',346 '../​../​src/​flow-graph.h',347 '../​../​src/​frame-element.cc',348 '../​../​src/​frame-element.h',349 '../​../​src/​frames-inl.h',350 '../​../​src/​frames.cc',351 '../​../​src/​frames.h',352 '../​../​src/​full-codegen.cc',353 '../​../​src/​full-codegen.h',354 '../​../​src/​func-name-inferrer.cc',355 '../​../​src/​func-name-inferrer.h',356 '../​../​src/​global-handles.cc',357 '../​../​src/​global-handles.h',358 '../​../​src/​globals.h',359 '../​../​src/​handles-inl.h',360 '../​../​src/​handles.cc',361 '../​../​src/​handles.h',362 '../​../​src/​hashmap.cc',363 '../​../​src/​hashmap.h',364 '../​../​src/​heap-inl.h',365 '../​../​src/​heap.cc',366 '../​../​src/​heap.h',367 '../​../​src/​heap-profiler.cc',368 '../​../​src/​heap-profiler.h',369 '../​../​src/​ic-inl.h',370 '../​../​src/​ic.cc',371 '../​../​src/​ic.h',372 '../​../​src/​interpreter-irregexp.cc',373 '../​../​src/​interpreter-irregexp.h',374 '../​../​src/​jump-target-inl.h',375 '../​../​src/​jump-target.cc',376 '../​../​src/​jump-target.h',377 '../​../​src/​jsregexp.cc',378 '../​../​src/​jsregexp.h',379 '../​../​src/​list-inl.h',380 '../​../​src/​list.h',381 '../​../​src/​liveedit.cc',382 '../​../​src/​liveedit.h',383 '../​../​src/​log-inl.h',384 '../​../​src/​log-utils.cc',385 '../​../​src/​log-utils.h',386 '../​../​src/​log.cc',387 '../​../​src/​log.h',388 '../​../​src/​macro-assembler.h',389 '../​../​src/​mark-compact.cc',390 '../​../​src/​mark-compact.h',391 '../​../​src/​memory.h',392 '../​../​src/​messages.cc',393 '../​../​src/​messages.h',394 '../​../​src/​natives.h',395 '../​../​src/​objects-debug.cc',396 '../​../​src/​objects-inl.h',397 '../​../​src/​objects-visiting.cc',398 '../​../​src/​objects-visiting.h',399 '../​../​src/​objects.cc',400 '../​../​src/​objects.h',401 '../​../​src/​oprofile-agent.h',402 '../​../​src/​oprofile-agent.cc',403 '../​../​src/​parser.cc',404 '../​../​src/​parser.h',405 '../​../​src/​platform.h',406 '../​../​src/​powers-ten.h',407 '../​../​src/​prettyprinter.cc',408 '../​../​src/​prettyprinter.h',409 '../​../​src/​property.cc',410 '../​../​src/​property.h',411 '../​../​src/​profile-generator-inl.h',412 '../​../​src/​profile-generator.cc',413 '../​../​src/​profile-generator.h',414 '../​../​src/​regexp-macro-assembler-irregexp-inl.h',415 '../​../​src/​regexp-macro-assembler-irregexp.cc',416 '../​../​src/​regexp-macro-assembler-irregexp.h',417 '../​../​src/​regexp-macro-assembler-tracer.cc',418 '../​../​src/​regexp-macro-assembler-tracer.h',419 '../​../​src/​regexp-macro-assembler.cc',420 '../​../​src/​regexp-macro-assembler.h',421 '../​../​src/​regexp-stack.cc',422 '../​../​src/​regexp-stack.h',423 '../​../​src/​register-allocator.h',424 '../​../​src/​register-allocator-inl.h',425 '../​../​src/​register-allocator.cc',426 '../​../​src/​rewriter.cc',427 '../​../​src/​rewriter.h',428 '../​../​src/​runtime.cc',429 '../​../​src/​runtime.h',430 '../​../​src/​scanner.cc',431 '../​../​src/​scanner.h',432 '../​../​src/​scopeinfo.cc',433 '../​../​src/​scopeinfo.h',434 '../​../​src/​scopes.cc',435 '../​../​src/​scopes.h',436 '../​../​src/​serialize.cc',437 '../​../​src/​serialize.h',438 '../​../​src/​shell.h',439 '../​../​src/​smart-pointer.h',440 '../​../​src/​snapshot-common.cc',441 '../​../​src/​snapshot.h',442 '../​../​src/​spaces-inl.h',443 '../​../​src/​spaces.cc',444 '../​../​src/​spaces.h',445 '../​../​src/​string-stream.cc',446 '../​../​src/​string-stream.h',447 '../​../​src/​stub-cache.cc',448 '../​../​src/​stub-cache.h',449 '../​../​src/​token.cc',450 '../​../​src/​token.h',451 '../​../​src/​top.cc',452 '../​../​src/​top.h',453 '../​../​src/​type-info.cc',454 '../​../​src/​type-info.h',455 '../​../​src/​unbound-queue-inl.h',456 '../​../​src/​unbound-queue.h',457 '../​../​src/​unicode-inl.h',458 '../​../​src/​unicode.cc',459 '../​../​src/​unicode.h',460 '../​../​src/​utils.cc',461 '../​../​src/​utils.h',462 '../​../​src/​v8-counters.cc',463 '../​../​src/​v8-counters.h',464 '../​../​src/​v8.cc',465 '../​../​src/​v8.h',466 '../​../​src/​v8threads.cc',467 '../​../​src/​v8threads.h',468 '../​../​src/​variables.cc',469 '../​../​src/​variables.h',470 '../​../​src/​version.cc',471 '../​../​src/​version.h',472 '../​../​src/​virtual-frame-inl.h',473 '../​../​src/​virtual-frame.cc',474 '../​../​src/​virtual-frame.h',475 '../​../​src/​vm-state-inl.h',476 '../​../​src/​vm-state.cc',477 '../​../​src/​vm-state.h',478 '../​../​src/​zone-inl.h',479 '../​../​src/​zone.cc',480 '../​../​src/​zone.h',481 ],482 'conditions': [483 ['v8_target_arch=="arm"', {484 'include_dirs+': [485 '../​../​src/​arm',486 ],487 'sources': [488 '../​../​src/​jump-target-light.h',489 '../​../​src/​jump-target-light-inl.h',490 '../​../​src/​jump-target-light.cc',491 '../​../​src/​virtual-frame-light-inl.h',492 '../​../​src/​virtual-frame-light.cc',493 '../​../​src/​arm/​assembler-arm-inl.h',494 '../​../​src/​arm/​assembler-arm.cc',495 '../​../​src/​arm/​assembler-arm.h',496 '../​../​src/​arm/​builtins-arm.cc',497 '../​../​src/​arm/​codegen-arm.cc',498 '../​../​src/​arm/​codegen-arm.h',499 '../​../​src/​arm/​constants-arm.h',500 '../​../​src/​arm/​constants-arm.cc',501 '../​../​src/​arm/​cpu-arm.cc',502 '../​../​src/​arm/​debug-arm.cc',503 '../​../​src/​arm/​disasm-arm.cc',504 '../​../​src/​arm/​frames-arm.cc',505 '../​../​src/​arm/​frames-arm.h',506 '../​../​src/​arm/​full-codegen-arm.cc',507 '../​../​src/​arm/​ic-arm.cc',508 '../​../​src/​arm/​jump-target-arm.cc',509 '../​../​src/​arm/​macro-assembler-arm.cc',510 '../​../​src/​arm/​macro-assembler-arm.h',511 '../​../​src/​arm/​regexp-macro-assembler-arm.cc',512 '../​../​src/​arm/​regexp-macro-assembler-arm.h',513 '../​../​src/​arm/​register-allocator-arm.cc',514 '../​../​src/​arm/​simulator-arm.cc',515 '../​../​src/​arm/​stub-cache-arm.cc',516 '../​../​src/​arm/​virtual-frame-arm-inl.h',517 '../​../​src/​arm/​virtual-frame-arm.cc',518 '../​../​src/​arm/​virtual-frame-arm.h',519 ],520 'conditions': [521 # The ARM assembler assumes the host is 32 bits, so force building522 # 32-bit host tools.523 ['host_arch=="x64" and _toolset=="host"', {524 'cflags': ['-m32'],525 'ldflags': ['-m32'],526 }]527 ]528 }],529 ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', {530 'include_dirs+': [531 '../​../​src/​ia32',532 ],533 'sources': [534 '../​../​src/​jump-target-heavy.h',535 '../​../​src/​jump-target-heavy-inl.h',536 '../​../​src/​jump-target-heavy.cc',537 '../​../​src/​virtual-frame-heavy-inl.h',538 '../​../​src/​virtual-frame-heavy.cc',539 '../​../​src/​ia32/​assembler-ia32-inl.h',540 '../​../​src/​ia32/​assembler-ia32.cc',541 '../​../​src/​ia32/​assembler-ia32.h',542 '../​../​src/​ia32/​builtins-ia32.cc',543 '../​../​src/​ia32/​codegen-ia32.cc',544 '../​../​src/​ia32/​codegen-ia32.h',545 '../​../​src/​ia32/​cpu-ia32.cc',546 '../​../​src/​ia32/​debug-ia32.cc',547 '../​../​src/​ia32/​disasm-ia32.cc',548 '../​../​src/​ia32/​frames-ia32.cc',549 '../​../​src/​ia32/​frames-ia32.h',550 '../​../​src/​ia32/​full-codegen-ia32.cc',551 '../​../​src/​ia32/​ic-ia32.cc',552 '../​../​src/​ia32/​jump-target-ia32.cc',553 '../​../​src/​ia32/​macro-assembler-ia32.cc',554 '../​../​src/​ia32/​macro-assembler-ia32.h',555 '../​../​src/​ia32/​regexp-macro-assembler-ia32.cc',556 '../​../​src/​ia32/​regexp-macro-assembler-ia32.h',557 '../​../​src/​ia32/​register-allocator-ia32.cc',558 '../​../​src/​ia32/​stub-cache-ia32.cc',559 '../​../​src/​ia32/​virtual-frame-ia32.cc',560 '../​../​src/​ia32/​virtual-frame-ia32.h',561 ],562 }],563 ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', {564 'include_dirs+': [565 '../​../​src/​x64',566 ],567 'sources': [568 '../​../​src/​jump-target-heavy.h',569 '../​../​src/​jump-target-heavy-inl.h',570 '../​../​src/​jump-target-heavy.cc',571 '../​../​src/​virtual-frame-heavy-inl.h',572 '../​../​src/​virtual-frame-heavy.cc',573 '../​../​src/​x64/​assembler-x64-inl.h',574 '../​../​src/​x64/​assembler-x64.cc',575 '../​../​src/​x64/​assembler-x64.h',576 '../​../​src/​x64/​builtins-x64.cc',577 '../​../​src/​x64/​codegen-x64.cc',578 '../​../​src/​x64/​codegen-x64.h',579 '../​../​src/​x64/​cpu-x64.cc',580 '../​../​src/​x64/​debug-x64.cc',581 '../​../​src/​x64/​disasm-x64.cc',582 '../​../​src/​x64/​frames-x64.cc',583 '../​../​src/​x64/​frames-x64.h',584 '../​../​src/​x64/​full-codegen-x64.cc',585 '../​../​src/​x64/​ic-x64.cc',586 '../​../​src/​x64/​jump-target-x64.cc',587 '../​../​src/​x64/​macro-assembler-x64.cc',588 '../​../​src/​x64/​macro-assembler-x64.h',589 '../​../​src/​x64/​regexp-macro-assembler-x64.cc',590 '../​../​src/​x64/​regexp-macro-assembler-x64.h',591 '../​../​src/​x64/​register-allocator-x64.cc',592 '../​../​src/​x64/​stub-cache-x64.cc',593 '../​../​src/​x64/​virtual-frame-x64.cc',594 '../​../​src/​x64/​virtual-frame-x64.h',595 ],596 }],597 ['OS=="linux"', {598 'link_settings': {599 'libraries': [600 # Needed for clock_gettime() used by src/​platform-linux.cc.601 '-lrt',602 ]},603 'sources': [604 '../​../​src/​platform-linux.cc',605 '../​../​src/​platform-posix.cc'606 ],607 }608 ],609 ['OS=="freebsd"', {610 'link_settings': {611 'libraries': [612 '-L/​usr/​local/​lib -lexecinfo',613 ]},614 'sources': [615 '../​../​src/​platform-freebsd.cc',616 '../​../​src/​platform-posix.cc'617 ],618 }619 ],620 ['OS=="openbsd"', {621 'link_settings': {622 'libraries': [623 '-L/​usr/​local/​lib -lexecinfo',624 ]},625 'sources': [626 '../​../​src/​platform-openbsd.cc',627 '../​../​src/​platform-posix.cc'628 ],629 }630 ],631 ['OS=="mac"', {632 'sources': [633 '../​../​src/​platform-macos.cc',634 '../​../​src/​platform-posix.cc'635 ]},636 ],637 ['OS=="win"', {638 'sources': [639 '../​../​src/​platform-win32.cc',640 ],641 # 4355, 4800 came from common.vsprops642 # 4018, 4244 were a per file config on dtoa-config.c643 # TODO: It's probably possible and desirable to stop disabling the644 # dtoa-specific warnings by modifying dtoa as was done in Chromium645 # r9255. Refer to that revision for details.646 'msvs_disabled_warnings': [4355, 4800, 4018, 4244],647 'link_settings': {648 'libraries': [ '-lwinmm.lib' ],649 },650 }],651 ['OS=="win" and component=="shared_library"', {652 'defines': [653 'BUILDING_V8_SHARED'654 ],655 }],656 ],657 },658 {659 'target_name': 'js2c',660 'type': 'none',661 'toolsets': ['host'],662 'variables': {663 'library_files': [664 '../​../​src/​runtime.js',665 '../​../​src/​v8natives.js',666 '../​../​src/​array.js',667 '../​../​src/​string.js',668 '../​../​src/​uri.js',669 '../​../​src/​math.js',670 '../​../​src/​messages.js',671 '../​../​src/​apinatives.js',672 '../​../​src/​debug-debugger.js',673 '../​../​src/​mirror-debugger.js',674 '../​../​src/​liveedit-debugger.js',675 '../​../​src/​date.js',676 '../​../​src/​json.js',677 '../​../​src/​regexp.js',678 '../​../​src/​macros.py',679 ],680 },681 'actions': [682 {683 'action_name': 'js2c',684 'inputs': [685 '../​../​tools/​js2c.py',686 '<@(library_files)',687 ],688 'outputs': [689 '<(SHARED_INTERMEDIATE_DIR)/​libraries.cc',690 '<(SHARED_INTERMEDIATE_DIR)/​libraries-empty.cc',691 ],692 'action': [693 'python',694 '../​../​tools/​js2c.py',695 '<@(_outputs)',696 'CORE',697 '<@(library_files)'698 ],699 },700 ],701 },702 {703 'target_name': 'mksnapshot',704 'type': 'executable',705 'toolsets': ['host'],706 'dependencies': [707 'v8_nosnapshot',708 ],709 'include_dirs+': [710 '../​../​src',711 ],712 'sources': [713 '../​../​src/​mksnapshot.cc',714 ],715 'conditions': [716 # The ARM assembler assumes the host is 32 bits, so force building717 # 32-bit host tools.718 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', {719 'cflags': ['-m32'],720 'ldflags': ['-m32'],721 }]722 ]723 },724 {725 'target_name': 'v8_shell',726 'type': 'executable',727 'dependencies': [728 'v8'729 ],730 'sources': [731 '../​../​samples/​shell.cc',732 ],733 'conditions': [734 ['OS=="win"', {735 # This could be gotten by not setting chromium_code, if that's OK.736 'defines': ['_CRT_SECURE_NO_WARNINGS'],737 }],738 ],739 },740 ],...

Full Screen

Full Screen

animator.gyp

Source: animator.gyp Github

copy

Full Screen

1# Copyright 2015 Google Inc.2#3# Use of this source code is governed by a BSD-style license that can be4# found in the LICENSE file.5#Animator is basically Skia's (much saner) version of Flash.6#On top of Views it provides a declarative UI model which can be updated7#based on events which trigger changes or scripts.8{9 'targets': [10 {11 'target_name': 'animator',12 'product_name': 'skia_animator',13 'type': 'static_library',14 'standalone_static_library': 1,15 'dependencies': [16 'skia_lib.gyp:skia_lib',17 'views.gyp:*',18 'xml.gyp:*',19 ],20 'include_dirs': [21 '../​include/​animator',22 '../​include/​private',23 '../​src/​core',24 '../​src/​utils',25 ],26 'sources': [27 '../​src/​animator/​SkADrawable.cpp',28 '../​src/​animator/​SkADrawable.h',29 '../​include/​animator/​SkAnimator.h',30 '../​include/​animator/​SkAnimatorView.h',31 '../​src/​animator/​SkAnimate.h',32 '../​src/​animator/​SkAnimateActive.cpp',33 '../​src/​animator/​SkAnimateActive.h',34 '../​src/​animator/​SkAnimateBase.cpp',35 '../​src/​animator/​SkAnimateBase.h',36 '../​src/​animator/​SkAnimateField.cpp',37 '../​src/​animator/​SkAnimateMaker.cpp',38 '../​src/​animator/​SkAnimateMaker.h',39 '../​src/​animator/​SkAnimateProperties.h',40 '../​src/​animator/​SkAnimateSet.cpp',41 '../​src/​animator/​SkAnimateSet.h',42 '../​src/​animator/​SkAnimator.cpp',43 '../​src/​animator/​SkAnimatorScript.cpp',44 '../​src/​animator/​SkAnimatorScript.h',45 #'../​src/​animator/​SkAnimatorScript2.cpp', fails on windows46 #'../​src/​animator/​SkAnimatorScript2.h',47 '../​src/​animator/​SkBoundable.cpp',48 '../​src/​animator/​SkBoundable.h',49 '../​src/​animator/​SkBuildCondensedInfo.cpp',50 #'../​src/​animator/​SkCondensedDebug.cpp', fails on windows51 #'../​src/​animator/​SkCondensedRelease.cpp',52 '../​src/​animator/​SkDisplayable.cpp',53 '../​src/​animator/​SkDisplayable.h',54 '../​src/​animator/​SkDisplayAdd.cpp',55 '../​src/​animator/​SkDisplayAdd.h',56 '../​src/​animator/​SkDisplayApply.cpp',57 '../​src/​animator/​SkDisplayApply.h',58 '../​src/​animator/​SkDisplayBounds.cpp',59 '../​src/​animator/​SkDisplayBounds.h',60 '../​src/​animator/​SkDisplayEvent.cpp',61 '../​src/​animator/​SkDisplayEvent.h',62 '../​src/​animator/​SkDisplayEvents.cpp',63 '../​src/​animator/​SkDisplayEvents.h',64 '../​src/​animator/​SkDisplayInclude.cpp',65 '../​src/​animator/​SkDisplayInclude.h',66 '../​src/​animator/​SkDisplayInput.cpp',67 '../​src/​animator/​SkDisplayInput.h',68 '../​src/​animator/​SkDisplayList.cpp',69 '../​src/​animator/​SkDisplayList.h',70 '../​src/​animator/​SkDisplayMath.cpp',71 '../​src/​animator/​SkDisplayMath.h',72 '../​src/​animator/​SkDisplayMovie.cpp',73 '../​src/​animator/​SkDisplayMovie.h',74 '../​src/​animator/​SkDisplayNumber.cpp',75 '../​src/​animator/​SkDisplayNumber.h',76 '../​src/​animator/​SkDisplayPost.cpp',77 '../​src/​animator/​SkDisplayPost.h',78 '../​src/​animator/​SkDisplayRandom.cpp',79 '../​src/​animator/​SkDisplayRandom.h',80 '../​src/​animator/​SkDisplayScreenplay.cpp',81 '../​src/​animator/​SkDisplayScreenplay.h',82 '../​src/​animator/​SkDisplayType.cpp',83 '../​src/​animator/​SkDisplayType.h',84 '../​src/​animator/​SkDisplayTypes.cpp',85 '../​src/​animator/​SkDisplayTypes.h',86 '../​src/​animator/​SkDisplayXMLParser.cpp',87 '../​src/​animator/​SkDisplayXMLParser.h',88 '../​src/​animator/​SkDraw3D.cpp',89 '../​src/​animator/​SkDraw3D.h',90 '../​src/​animator/​SkDrawBitmap.cpp',91 '../​src/​animator/​SkDrawBitmap.h',92 '../​src/​animator/​SkDrawBlur.cpp',93 '../​src/​animator/​SkDrawBlur.h',94 '../​src/​animator/​SkDrawClip.cpp',95 '../​src/​animator/​SkDrawClip.h',96 '../​src/​animator/​SkDrawColor.cpp',97 '../​src/​animator/​SkDrawColor.h',98 '../​src/​animator/​SkDrawDash.cpp',99 '../​src/​animator/​SkDrawDash.h',100 '../​src/​animator/​SkDrawDiscrete.cpp',101 '../​src/​animator/​SkDrawDiscrete.h',102 '../​src/​animator/​SkDrawEmboss.cpp',103 '../​src/​animator/​SkDrawEmboss.h',104 '../​src/​animator/​SkDrawExtraPathEffect.cpp',105 '../​src/​animator/​SkDrawFull.cpp',106 '../​src/​animator/​SkDrawFull.h',107 '../​src/​animator/​SkDrawGradient.cpp',108 '../​src/​animator/​SkDrawGradient.h',109 '../​src/​animator/​SkDrawGroup.cpp',110 '../​src/​animator/​SkDrawGroup.h',111 '../​src/​animator/​SkDrawLine.cpp',112 '../​src/​animator/​SkDrawLine.h',113 '../​src/​animator/​SkDrawMatrix.cpp',114 '../​src/​animator/​SkDrawMatrix.h',115 '../​src/​animator/​SkDrawOval.cpp',116 '../​src/​animator/​SkDrawOval.h',117 '../​src/​animator/​SkDrawPaint.cpp',118 '../​src/​animator/​SkDrawPaint.h',119 '../​src/​animator/​SkDrawPath.cpp',120 '../​src/​animator/​SkDrawPath.h',121 '../​src/​animator/​SkDrawPoint.cpp',122 '../​src/​animator/​SkDrawPoint.h',123 '../​src/​animator/​SkDrawRectangle.cpp',124 '../​src/​animator/​SkDrawRectangle.h',125 '../​src/​animator/​SkDrawSaveLayer.cpp',126 '../​src/​animator/​SkDrawSaveLayer.h',127 '../​src/​animator/​SkDrawShader.cpp',128 '../​src/​animator/​SkDrawShader.h',129 '../​src/​animator/​SkDrawText.cpp',130 '../​src/​animator/​SkDrawText.h',131 '../​src/​animator/​SkDrawTextBox.cpp',132 '../​src/​animator/​SkDrawTextBox.h',133 '../​src/​animator/​SkDrawTo.cpp',134 '../​src/​animator/​SkDrawTo.h',135 '../​src/​animator/​SkDump.cpp',136 '../​src/​animator/​SkDump.h',137 '../​src/​animator/​SkExtras.h',138 '../​src/​animator/​SkGetCondensedInfo.cpp',139 '../​src/​animator/​SkHitClear.cpp',140 '../​src/​animator/​SkHitClear.h',141 '../​src/​animator/​SkHitTest.cpp',142 '../​src/​animator/​SkHitTest.h',143 '../​src/​animator/​SkIntArray.h',144 '../​src/​animator/​SkMatrixParts.cpp',145 '../​src/​animator/​SkMatrixParts.h',146 '../​src/​animator/​SkMemberInfo.cpp',147 '../​src/​animator/​SkMemberInfo.h',148 '../​src/​animator/​SkOpArray.cpp',149 '../​src/​animator/​SkOpArray.h',150 '../​src/​animator/​SkOperand.h',151 '../​src/​animator/​SkOperand2.h',152 '../​src/​animator/​SkOperandInterpolator.h',153 '../​src/​animator/​SkOperandIterpolator.cpp',154 '../​src/​animator/​SkPaintPart.cpp',155 '../​src/​animator/​SkPaintPart.h',156 '../​src/​animator/​SkParseSVGPath.cpp',157 '../​src/​animator/​SkPathParts.cpp',158 '../​src/​animator/​SkPathParts.h',159 '../​src/​animator/​SkPostParts.cpp',160 '../​src/​animator/​SkPostParts.h',161 '../​src/​animator/​SkScript.cpp',162 '../​src/​animator/​SkScript.h',163 '../​src/​animator/​SkScript2.h',164 '../​src/​animator/​SkScriptCallBack.h',165 '../​src/​animator/​SkScriptDecompile.cpp',166 '../​src/​animator/​SkScriptRuntime.cpp',167 '../​src/​animator/​SkScriptRuntime.h',168 '../​src/​animator/​SkScriptTokenizer.cpp',169 '../​src/​animator/​SkSnapshot.cpp',170 '../​src/​animator/​SkSnapshot.h',171 '../​src/​animator/​SkTDArray_Experimental.h',172 '../​src/​animator/​SkTextOnPath.cpp',173 '../​src/​animator/​SkTextOnPath.h',174 '../​src/​animator/​SkTextToPath.cpp',175 '../​src/​animator/​SkTextToPath.h',176 '../​src/​animator/​SkTime.cpp',177 '../​src/​animator/​SkTypedArray.cpp',178 '../​src/​animator/​SkTypedArray.h',179 '../​src/​animator/​SkXMLAnimatorWriter.cpp',180 '../​src/​animator/​SkXMLAnimatorWriter.h',181 ],182 'direct_dependent_settings': {183 'include_dirs': [184 '../​include/​animator',185 ],186 },187 },188 ],...

Full Screen

Full Screen

sdl_mac.gypi

Source: sdl_mac.gypi Github

copy

Full Screen

1# Copyright 2015 Google Inc.2#3# Use of this source code is governed by a BSD-style license that can be4# found in the LICENSE file.5# Mac specific files and settings for SDL6{7 #TODO what is really necessary here8 'link_settings': {9 'libraries': [ 10 '-lm',11 '-liconv',12 '-lobjc',13 '-lpthread',14 '$(SDKROOT)/​System/​Library/​Frameworks/​CoreVideo.framework',15 '$(SDKROOT)/​System/​Library/​Frameworks/​Cocoa.framework',16 '$(SDKROOT)/​System/​Library/​Frameworks/​Carbon.framework',17 '$(SDKROOT)/​System/​Library/​Frameworks/​IOKit.framework',18 ],19 },20 'sources': [21 '<(src_dir)/​src/​SDL_assert.c',22 '<(src_dir)/​src/​SDL_error.c',23 '<(src_dir)/​src/​SDL_hints.c',24 '<(src_dir)/​src/​SDL_log.c',25 '<(src_dir)/​src/​atomic/​SDL_atomic.c',26 '<(src_dir)/​src/​atomic/​SDL_spinlock.c',27 '<(src_dir)/​src/​audio/​SDL_audio.c',28 '<(src_dir)/​src/​audio/​SDL_audiocvt.c',29 '<(src_dir)/​src/​audio/​SDL_audiodev.c',30 '<(src_dir)/​src/​audio/​SDL_audiotypecvt.c',31 '<(src_dir)/​src/​audio/​SDL_mixer.c',32 '<(src_dir)/​src/​audio/​SDL_wave.c',33 '<(src_dir)/​src/​cpuinfo/​SDL_cpuinfo.c',34 '<(src_dir)/​src/​dynapi/​SDL_dynapi.c',35 '<(src_dir)/​src/​events/​SDL_clipboardevents.c',36 '<(src_dir)/​src/​events/​SDL_dropevents.c',37 '<(src_dir)/​src/​events/​SDL_events.c',38 '<(src_dir)/​src/​events/​SDL_gesture.c',39 '<(src_dir)/​src/​events/​SDL_keyboard.c',40 '<(src_dir)/​src/​events/​SDL_mouse.c',41 '<(src_dir)/​src/​events/​SDL_quit.c',42 '<(src_dir)/​src/​events/​SDL_touch.c',43 '<(src_dir)/​src/​events/​SDL_windowevents.c',44 '<(src_dir)/​src/​file/​SDL_rwops.c',45 '<(src_dir)/​src/​haptic/​SDL_haptic.c',46 '<(src_dir)/​src/​joystick/​SDL_gamecontroller.c',47 '<(src_dir)/​src/​joystick/​SDL_joystick.c',48 '<(src_dir)/​src/​libm/​e_atan2.c',49 '<(src_dir)/​src/​libm/​e_log.c',50 '<(src_dir)/​src/​libm/​e_pow.c',51 '<(src_dir)/​src/​libm/​e_rem_pio2.c',52 '<(src_dir)/​src/​libm/​e_sqrt.c',53 '<(src_dir)/​src/​libm/​k_cos.c',54 '<(src_dir)/​src/​libm/​k_rem_pio2.c',55 '<(src_dir)/​src/​libm/​k_sin.c',56 '<(src_dir)/​src/​libm/​k_tan.c',57 '<(src_dir)/​src/​libm/​s_atan.c',58 '<(src_dir)/​src/​libm/​s_copysign.c',59 '<(src_dir)/​src/​libm/​s_cos.c',60 '<(src_dir)/​src/​libm/​s_fabs.c',61 '<(src_dir)/​src/​libm/​s_floor.c',62 '<(src_dir)/​src/​libm/​s_scalbn.c',63 '<(src_dir)/​src/​libm/​s_sin.c',64 '<(src_dir)/​src/​libm/​s_tan.c',65 '<(src_dir)/​src/​power/​SDL_power.c',66 '<(src_dir)/​src/​render/​SDL_d3dmath.c',67 '<(src_dir)/​src/​render/​SDL_render.c',68 '<(src_dir)/​src/​render/​SDL_yuv_mmx.c',69 '<(src_dir)/​src/​render/​SDL_yuv_sw.c',70 '<(src_dir)/​src/​render/​direct3d/​SDL_render_d3d.c',71 '<(src_dir)/​src/​render/​direct3d11/​SDL_render_d3d11.c',72 '<(src_dir)/​src/​render/​opengl/​SDL_render_gl.c',73 '<(src_dir)/​src/​render/​opengl/​SDL_shaders_gl.c',74 '<(src_dir)/​src/​render/​opengles/​SDL_render_gles.c',75 '<(src_dir)/​src/​render/​opengles2/​SDL_render_gles2.c',76 '<(src_dir)/​src/​render/​opengles2/​SDL_shaders_gles2.c',77 '<(src_dir)/​src/​render/​psp/​SDL_render_psp.c',78 '<(src_dir)/​src/​render/​software/​SDL_blendfillrect.c',79 '<(src_dir)/​src/​render/​software/​SDL_blendline.c',80 '<(src_dir)/​src/​render/​software/​SDL_blendpoint.c',81 '<(src_dir)/​src/​render/​software/​SDL_drawline.c',82 '<(src_dir)/​src/​render/​software/​SDL_drawpoint.c',83 '<(src_dir)/​src/​render/​software/​SDL_render_sw.c',84 '<(src_dir)/​src/​render/​software/​SDL_rotate.c',85 '<(src_dir)/​src/​stdlib/​SDL_getenv.c',86 '<(src_dir)/​src/​stdlib/​SDL_iconv.c',87 '<(src_dir)/​src/​stdlib/​SDL_malloc.c',88 '<(src_dir)/​src/​stdlib/​SDL_qsort.c',89 '<(src_dir)/​src/​stdlib/​SDL_stdlib.c',90 '<(src_dir)/​src/​stdlib/​SDL_string.c',91 '<(src_dir)/​src/​thread/​SDL_thread.c',92 '<(src_dir)/​src/​timer/​SDL_timer.c',93 '<(src_dir)/​src/​video/​SDL_RLEaccel.c',94 '<(src_dir)/​src/​video/​SDL_blit.c',95 '<(src_dir)/​src/​video/​SDL_blit_0.c',96 '<(src_dir)/​src/​video/​SDL_blit_1.c',97 '<(src_dir)/​src/​video/​SDL_blit_A.c',98 '<(src_dir)/​src/​video/​SDL_blit_N.c',99 '<(src_dir)/​src/​video/​SDL_blit_auto.c',100 '<(src_dir)/​src/​video/​SDL_blit_copy.c',101 '<(src_dir)/​src/​video/​SDL_blit_slow.c',102 '<(src_dir)/​src/​video/​SDL_bmp.c',103 '<(src_dir)/​src/​video/​SDL_clipboard.c',104 '<(src_dir)/​src/​video/​SDL_egl.c',105 '<(src_dir)/​src/​video/​SDL_fillrect.c',106 '<(src_dir)/​src/​video/​SDL_pixels.c',107 '<(src_dir)/​src/​video/​SDL_rect.c',108 '<(src_dir)/​src/​video/​SDL_shape.c',109 '<(src_dir)/​src/​video/​SDL_stretch.c',110 '<(src_dir)/​src/​video/​SDL_surface.c',111 '<(src_dir)/​src/​video/​SDL_video.c',112 '<(src_dir)/​src/​loadso/​dlopen/​SDL_sysloadso.c',113 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoaclipboard.m',114 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoaevents.m',115 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoakeyboard.m',116 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoamessagebox.m',117 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoamodes.m',118 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoamouse.m',119 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoamousetap.m',120 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoaopengl.m',121 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoashape.m',122 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoavideo.m',123 '<(src_dir)/​src/​video/​cocoa/​SDL_cocoawindow.m',124 '<(src_dir)/​src/​thread/​pthread/​SDL_systhread.c',125 '<(src_dir)/​src/​thread/​pthread/​SDL_syssem.c',126 '<(src_dir)/​src/​thread/​pthread/​SDL_sysmutex.c',127 '<(src_dir)/​src/​thread/​pthread/​SDL_syscond.c',128 '<(src_dir)/​src/​thread/​pthread/​SDL_systls.c',129 '<(src_dir)/​src/​filesystem/​cocoa/​SDL_sysfilesystem.m',130 '<(src_dir)/​src/​timer/​unix/​SDL_systimer.c',131 '<(src_dir)/​src/​file/​cocoa/​SDL_rwopsbundlesupport.m',132 '<(src_dir)/​src/​joystick/​dummy/​SDL_sysjoystick.c',133 '<(src_dir)/​src/​haptic/​dummy/​SDL_syshaptic.c',134 '<(src_dir)/​src/​main/​dummy/​SDL_dummy_main.c',135 '<(src_dir)/​src/​test/​SDL_test_assert.c',136 '<(src_dir)/​src/​test/​SDL_test_common.c',137 '<(src_dir)/​src/​test/​SDL_test_compare.c',138 '<(src_dir)/​src/​test/​SDL_test_crc32.c',139 '<(src_dir)/​src/​test/​SDL_test_font.c',140 '<(src_dir)/​src/​test/​SDL_test_fuzzer.c',141 '<(src_dir)/​src/​test/​SDL_test_harness.c',142 '<(src_dir)/​src/​test/​SDL_test_imageBlit.c',143 '<(src_dir)/​src/​test/​SDL_test_imageBlitBlend.c',144 '<(src_dir)/​src/​test/​SDL_test_imageFace.c',145 '<(src_dir)/​src/​test/​SDL_test_imagePrimitives.c',146 '<(src_dir)/​src/​test/​SDL_test_imagePrimitivesBlend.c',147 '<(src_dir)/​src/​test/​SDL_test_log.c',148 '<(src_dir)/​src/​test/​SDL_test_md5.c',149 '<(src_dir)/​src/​test/​SDL_test_random.c',150 '<(src_dir)/​src/​SDL.c',151 ],152 'defines': [ 153 '_REENTRANT'154 ],155 'cflags': [156 '-fPIC',157 '-O3',158 '-mmmx',159 '-m3dnow',160 '-msse',161 '-msse2',162 '-fvisibility=hidden',163 ],...

Full Screen

Full Screen

sdl_win.gypi

Source: sdl_win.gypi Github

copy

Full Screen

1# Copyright 2015 Google Inc.2#3# Use of this source code is governed by a BSD-style license that can be4# found in the LICENSE file.5# Linux specific files and settings for SDL6{7 #TODO what is really necessary here8 'link_settings': {9 'libraries': [10 "-lwinmm",11 "-limm32",12 "-lversion",13 ],14 },15 'sources': [16 '<(src_dir)/​src/​joystick/​windows/​SDL_mmjoystick.c',17 '<(src_dir)/​src/​joystick/​windows/​SDL_xinputjoystick.c',18 '<(src_dir)/​src/​joystick/​windows/​SDL_dinputjoystick.c',19 '<(src_dir)/​src/​joystick/​windows/​SDL_windowsjoystick.c',20 '<(src_dir)/​src/​joystick/​SDL_joystick.c',21 '<(src_dir)/​src/​joystick/​SDL_gamecontroller.c',22 '<(src_dir)/​src/​SDL_log.c',23 '<(src_dir)/​src/​core/​windows/​SDL_xinput.c',24 '<(src_dir)/​src/​core/​windows/​SDL_windows.c',25 '<(src_dir)/​src/​libm/​s_fabs.c',26 '<(src_dir)/​src/​libm/​k_tan.c',27 '<(src_dir)/​src/​libm/​k_rem_pio2.c',28 '<(src_dir)/​src/​libm/​s_cos.c',29 '<(src_dir)/​src/​libm/​s_atan.c',30 '<(src_dir)/​src/​libm/​s_floor.c',31 '<(src_dir)/​src/​libm/​e_log.c',32 '<(src_dir)/​src/​libm/​s_tan.c',33 '<(src_dir)/​src/​libm/​s_sin.c',34 '<(src_dir)/​src/​libm/​e_atan2.c',35 '<(src_dir)/​src/​libm/​e_pow.c',36 '<(src_dir)/​src/​libm/​s_copysign.c',37 '<(src_dir)/​src/​libm/​e_rem_pio2.c',38 '<(src_dir)/​src/​libm/​k_sin.c',39 '<(src_dir)/​src/​libm/​k_cos.c',40 '<(src_dir)/​src/​libm/​e_sqrt.c',41 '<(src_dir)/​src/​libm/​s_scalbn.c',42 '<(src_dir)/​src/​events/​SDL_dropevents.c',43 '<(src_dir)/​src/​events/​SDL_touch.c',44 '<(src_dir)/​src/​events/​SDL_quit.c',45 '<(src_dir)/​src/​events/​SDL_gesture.c',46 '<(src_dir)/​src/​events/​SDL_events.c',47 '<(src_dir)/​src/​events/​SDL_windowevents.c',48 '<(src_dir)/​src/​events/​SDL_keyboard.c',49 '<(src_dir)/​src/​events/​SDL_clipboardevents.c',50 '<(src_dir)/​src/​events/​SDL_mouse.c',51 '<(src_dir)/​src/​power/​windows/​SDL_syspower.c',52 '<(src_dir)/​src/​power/​SDL_power.c',53 '<(src_dir)/​src/​timer/​SDL_timer.c',54 '<(src_dir)/​src/​timer/​windows/​SDL_systimer.c',55 '<(src_dir)/​src/​dynapi/​SDL_dynapi.c',56 '<(src_dir)/​src/​SDL_hints.c',57 '<(src_dir)/​src/​thread/​generic/​SDL_syscond.c',58 '<(src_dir)/​src/​thread/​windows/​SDL_systhread.c',59 '<(src_dir)/​src/​thread/​windows/​SDL_syssem.c',60 '<(src_dir)/​src/​thread/​windows/​SDL_sysmutex.c',61 '<(src_dir)/​src/​thread/​windows/​SDL_systls.c',62 '<(src_dir)/​src/​thread/​SDL_thread.c',63 '<(src_dir)/​src/​haptic/​windows/​SDL_windowshaptic.c',64 '<(src_dir)/​src/​haptic/​windows/​SDL_xinputhaptic.c',65 '<(src_dir)/​src/​haptic/​windows/​SDL_dinputhaptic.c',66 '<(src_dir)/​src/​haptic/​SDL_haptic.c',67 '<(src_dir)/​src/​render/​SDL_yuv_mmx.c',68 '<(src_dir)/​src/​render/​SDL_d3dmath.c',69 '<(src_dir)/​src/​render/​direct3d/​SDL_render_d3d.c',70 '<(src_dir)/​src/​render/​direct3d11/​SDL_render_d3d11.c',71 '<(src_dir)/​src/​render/​SDL_render.c',72 '<(src_dir)/​src/​render/​opengl/​SDL_render_gl.c',73 '<(src_dir)/​src/​render/​opengl/​SDL_shaders_gl.c',74 '<(src_dir)/​src/​render/​software/​SDL_render_sw.c',75 '<(src_dir)/​src/​render/​software/​SDL_drawline.c',76 '<(src_dir)/​src/​render/​software/​SDL_rotate.c',77 '<(src_dir)/​src/​render/​software/​SDL_blendpoint.c',78 '<(src_dir)/​src/​render/​software/​SDL_drawpoint.c',79 '<(src_dir)/​src/​render/​software/​SDL_blendfillrect.c',80 '<(src_dir)/​src/​render/​software/​SDL_blendline.c',81 '<(src_dir)/​src/​render/​opengles2/​SDL_render_gles2.c',82 '<(src_dir)/​src/​render/​opengles2/​SDL_shaders_gles2.c',83 '<(src_dir)/​src/​render/​SDL_yuv_sw.c',84 '<(src_dir)/​src/​filesystem/​windows/​SDL_sysfilesystem.c',85 '<(src_dir)/​src/​file/​SDL_rwops.c',86 '<(src_dir)/​src/​stdlib/​SDL_getenv.c',87 '<(src_dir)/​src/​stdlib/​SDL_iconv.c',88 '<(src_dir)/​src/​stdlib/​SDL_stdlib.c',89 '<(src_dir)/​src/​stdlib/​SDL_string.c',90 '<(src_dir)/​src/​stdlib/​SDL_malloc.c',91 '<(src_dir)/​src/​stdlib/​SDL_qsort.c',92 '<(src_dir)/​src/​SDL_assert.c',93 '<(src_dir)/​src/​SDL.c',94 '<(src_dir)/​src/​atomic/​SDL_atomic.c',95 '<(src_dir)/​src/​atomic/​SDL_spinlock.c',96 '<(src_dir)/​src/​loadso/​windows/​SDL_sysloadso.c',97 '<(src_dir)/​src/​audio/​dummy/​SDL_dummyaudio.c',98 '<(src_dir)/​src/​audio/​SDL_audiocvt.c',99 '<(src_dir)/​src/​audio/​SDL_audio.c',100 '<(src_dir)/​src/​audio/​xaudio2/​SDL_xaudio2.c',101 '<(src_dir)/​src/​audio/​SDL_audiodev.c',102 '<(src_dir)/​src/​audio/​SDL_audiotypecvt.c',103 '<(src_dir)/​src/​audio/​disk/​SDL_diskaudio.c',104 '<(src_dir)/​src/​audio/​SDL_wave.c',105 '<(src_dir)/​src/​audio/​winmm/​SDL_winmm.c',106 '<(src_dir)/​src/​audio/​SDL_mixer.c',107 '<(src_dir)/​src/​audio/​directsound/​SDL_directsound.c',108 '<(src_dir)/​src/​cpuinfo/​SDL_cpuinfo.c',109 '<(src_dir)/​src/​SDL_error.c',110 '<(src_dir)/​src/​video/​SDL_bmp.c',111 '<(src_dir)/​src/​video/​dummy/​SDL_nullevents.c',112 '<(src_dir)/​src/​video/​dummy/​SDL_nullvideo.c',113 '<(src_dir)/​src/​video/​dummy/​SDL_nullframebuffer.c',114 '<(src_dir)/​src/​video/​SDL_blit_auto.c',115 '<(src_dir)/​src/​video/​SDL_shape.c',116 '<(src_dir)/​src/​video/​SDL_blit_N.c',117 '<(src_dir)/​src/​video/​windows/​SDL_windowsframebuffer.c',118 '<(src_dir)/​src/​video/​windows/​SDL_windowskeyboard.c',119 '<(src_dir)/​src/​video/​windows/​SDL_windowsshape.c',120 '<(src_dir)/​src/​video/​windows/​SDL_windowswindow.c',121 '<(src_dir)/​src/​video/​windows/​SDL_windowsopengl.c',122 '<(src_dir)/​src/​video/​windows/​SDL_windowsvideo.c',123 '<(src_dir)/​src/​video/​windows/​SDL_windowsmessagebox.c',124 '<(src_dir)/​src/​video/​windows/​SDL_windowsopengles.c',125 '<(src_dir)/​src/​video/​windows/​SDL_windowsevents.c',126 '<(src_dir)/​src/​video/​windows/​SDL_windowsmodes.c',127 '<(src_dir)/​src/​video/​windows/​SDL_windowsmouse.c',128 '<(src_dir)/​src/​video/​windows/​SDL_windowsclipboard.c',129 '<(src_dir)/​src/​video/​SDL_blit_A.c',130 '<(src_dir)/​src/​video/​SDL_pixels.c',131 '<(src_dir)/​src/​video/​SDL_rect.c',132 '<(src_dir)/​src/​video/​SDL_video.c',133 '<(src_dir)/​src/​video/​SDL_stretch.c',134 '<(src_dir)/​src/​video/​SDL_surface.c',135 '<(src_dir)/​src/​video/​SDL_fillrect.c',136 '<(src_dir)/​src/​video/​SDL_blit_copy.c',137 '<(src_dir)/​src/​video/​SDL_blit_1.c',138 '<(src_dir)/​src/​video/​SDL_egl.c',139 '<(src_dir)/​src/​video/​SDL_RLEaccel.c',140 '<(src_dir)/​src/​video/​SDL_blit_slow.c',141 '<(src_dir)/​src/​video/​SDL_blit.c',142 '<(src_dir)/​src/​video/​SDL_clipboard.c',143 '<(src_dir)/​src/​video/​SDL_blit_0.c',144 '<(src_dir)/​src/​main/​windows/​SDL_windows_main.c',145 ],146 'defines': [ 147 '_REENTRANT'148 ],149 'cflags': [150 '-fPIC',151 '-O3',152 '-mmmx',153 '-m3dnow',154 '-msse',155 '-msse2',156 '-fvisibility=hidden',157 ],...

Full Screen

Full Screen

sdl_linux.gypi

Source: sdl_linux.gypi Github

copy

Full Screen

1# Copyright 2015 Google Inc.2#3# Use of this source code is governed by a BSD-style license that can be4# found in the LICENSE file.5# Linux specific files and settings for SDL6{7 #TODO what is really necessary here8 'link_settings': {9 'libraries': [ 10 '-lm',11 '-ldl',12 '-lpthread',13 '-lrt' 14 ],15 },16 'sources': [17 '<(src_dir)/​src/​SDL.c',18 '<(src_dir)/​src/​SDL_assert.c',19 '<(src_dir)/​src/​SDL_error.c',20 '<(src_dir)/​src/​SDL_hints.c',21 '<(src_dir)/​src/​SDL_log.c',22 '<(src_dir)/​src/​atomic/​SDL_atomic.c',23 '<(src_dir)/​src/​atomic/​SDL_spinlock.c',24 '<(src_dir)/​src/​audio/​SDL_audio.c',25 '<(src_dir)/​src/​audio/​SDL_audiocvt.c',26 '<(src_dir)/​src/​audio/​SDL_audiodev.c',27 '<(src_dir)/​src/​audio/​SDL_audiotypecvt.c',28 '<(src_dir)/​src/​audio/​SDL_mixer.c',29 '<(src_dir)/​src/​audio/​SDL_wave.c',30 '<(src_dir)/​src/​cpuinfo/​SDL_cpuinfo.c',31 '<(src_dir)/​src/​dynapi/​SDL_dynapi.c',32 '<(src_dir)/​src/​events/​SDL_clipboardevents.c',33 '<(src_dir)/​src/​events/​SDL_dropevents.c',34 '<(src_dir)/​src/​events/​SDL_events.c',35 '<(src_dir)/​src/​events/​SDL_gesture.c',36 '<(src_dir)/​src/​events/​SDL_keyboard.c',37 '<(src_dir)/​src/​events/​SDL_mouse.c',38 '<(src_dir)/​src/​events/​SDL_quit.c',39 '<(src_dir)/​src/​events/​SDL_touch.c',40 '<(src_dir)/​src/​events/​SDL_windowevents.c',41 '<(src_dir)/​src/​file/​SDL_rwops.c',42 '<(src_dir)/​src/​haptic/​SDL_haptic.c',43 '<(src_dir)/​src/​joystick/​SDL_gamecontroller.c',44 '<(src_dir)/​src/​joystick/​SDL_joystick.c',45 '<(src_dir)/​src/​libm/​e_atan2.c',46 '<(src_dir)/​src/​libm/​e_log.c',47 '<(src_dir)/​src/​libm/​e_pow.c',48 '<(src_dir)/​src/​libm/​e_rem_pio2.c',49 '<(src_dir)/​src/​libm/​e_sqrt.c',50 '<(src_dir)/​src/​libm/​k_cos.c',51 '<(src_dir)/​src/​libm/​k_rem_pio2.c',52 '<(src_dir)/​src/​libm/​k_sin.c',53 '<(src_dir)/​src/​libm/​k_tan.c',54 '<(src_dir)/​src/​libm/​s_atan.c',55 '<(src_dir)/​src/​libm/​s_copysign.c',56 '<(src_dir)/​src/​libm/​s_cos.c',57 '<(src_dir)/​src/​libm/​s_fabs.c',58 '<(src_dir)/​src/​libm/​s_floor.c',59 '<(src_dir)/​src/​libm/​s_scalbn.c',60 '<(src_dir)/​src/​libm/​s_sin.c',61 '<(src_dir)/​src/​libm/​s_tan.c',62 '<(src_dir)/​src/​power/​SDL_power.c',63 '<(src_dir)/​src/​render/​SDL_d3dmath.c',64 '<(src_dir)/​src/​render/​SDL_render.c',65 '<(src_dir)/​src/​render/​SDL_yuv_mmx.c',66 '<(src_dir)/​src/​render/​SDL_yuv_sw.c',67 '<(src_dir)/​src/​render/​direct3d/​SDL_render_d3d.c',68 '<(src_dir)/​src/​render/​direct3d11/​SDL_render_d3d11.c',69 '<(src_dir)/​src/​render/​opengl/​SDL_render_gl.c',70 '<(src_dir)/​src/​render/​opengl/​SDL_shaders_gl.c',71 '<(src_dir)/​src/​render/​opengles/​SDL_render_gles.c',72 '<(src_dir)/​src/​render/​opengles2/​SDL_render_gles2.c',73 '<(src_dir)/​src/​render/​opengles2/​SDL_shaders_gles2.c',74 '<(src_dir)/​src/​render/​psp/​SDL_render_psp.c',75 '<(src_dir)/​src/​render/​software/​SDL_blendfillrect.c',76 '<(src_dir)/​src/​render/​software/​SDL_blendline.c',77 '<(src_dir)/​src/​render/​software/​SDL_blendpoint.c',78 '<(src_dir)/​src/​render/​software/​SDL_drawline.c',79 '<(src_dir)/​src/​render/​software/​SDL_drawpoint.c',80 '<(src_dir)/​src/​render/​software/​SDL_render_sw.c',81 '<(src_dir)/​src/​render/​software/​SDL_rotate.c',82 '<(src_dir)/​src/​stdlib/​SDL_getenv.c',83 '<(src_dir)/​src/​stdlib/​SDL_iconv.c',84 '<(src_dir)/​src/​stdlib/​SDL_malloc.c',85 '<(src_dir)/​src/​stdlib/​SDL_qsort.c',86 '<(src_dir)/​src/​stdlib/​SDL_stdlib.c',87 '<(src_dir)/​src/​stdlib/​SDL_string.c',88 '<(src_dir)/​src/​thread/​SDL_thread.c',89 '<(src_dir)/​src/​timer/​SDL_timer.c',90 '<(src_dir)/​src/​video/​SDL_RLEaccel.c',91 '<(src_dir)/​src/​video/​SDL_blit.c',92 '<(src_dir)/​src/​video/​SDL_blit_0.c',93 '<(src_dir)/​src/​video/​SDL_blit_1.c',94 '<(src_dir)/​src/​video/​SDL_blit_A.c',95 '<(src_dir)/​src/​video/​SDL_blit_N.c',96 '<(src_dir)/​src/​video/​SDL_blit_auto.c',97 '<(src_dir)/​src/​video/​SDL_blit_copy.c',98 '<(src_dir)/​src/​video/​SDL_blit_slow.c',99 '<(src_dir)/​src/​video/​SDL_bmp.c',100 '<(src_dir)/​src/​video/​SDL_clipboard.c',101 '<(src_dir)/​src/​video/​SDL_egl.c',102 '<(src_dir)/​src/​video/​SDL_fillrect.c',103 '<(src_dir)/​src/​video/​SDL_pixels.c',104 '<(src_dir)/​src/​video/​SDL_rect.c',105 '<(src_dir)/​src/​video/​SDL_shape.c',106 '<(src_dir)/​src/​video/​SDL_stretch.c',107 '<(src_dir)/​src/​video/​SDL_surface.c',108 '<(src_dir)/​src/​video/​SDL_video.c',109 '<(src_dir)/​src/​loadso/​dlopen/​SDL_sysloadso.c',110 '<(src_dir)/​src/​video/​x11/​SDL_x11clipboard.c',111 '<(src_dir)/​src/​video/​x11/​SDL_x11dyn.c',112 '<(src_dir)/​src/​video/​x11/​SDL_x11events.c',113 '<(src_dir)/​src/​video/​x11/​SDL_x11framebuffer.c',114 '<(src_dir)/​src/​video/​x11/​SDL_x11keyboard.c',115 '<(src_dir)/​src/​video/​x11/​SDL_x11messagebox.c',116 '<(src_dir)/​src/​video/​x11/​SDL_x11modes.c',117 '<(src_dir)/​src/​video/​x11/​SDL_x11mouse.c',118 '<(src_dir)/​src/​video/​x11/​SDL_x11opengl.c',119 '<(src_dir)/​src/​video/​x11/​SDL_x11opengles.c',120 '<(src_dir)/​src/​video/​x11/​SDL_x11shape.c',121 '<(src_dir)/​src/​video/​x11/​SDL_x11touch.c',122 '<(src_dir)/​src/​video/​x11/​SDL_x11video.c',123 '<(src_dir)/​src/​video/​x11/​SDL_x11window.c',124 '<(src_dir)/​src/​video/​x11/​SDL_x11xinput2.c',125 '<(src_dir)/​src/​video/​x11/​edid-parse.c',126 '<(src_dir)/​src/​video/​x11/​imKStoUCS.c',127 '<(src_dir)/​src/​thread/​pthread/​SDL_systhread.c',128 '<(src_dir)/​src/​thread/​pthread/​SDL_syssem.c',129 '<(src_dir)/​src/​thread/​pthread/​SDL_sysmutex.c',130 '<(src_dir)/​src/​thread/​pthread/​SDL_syscond.c',131 '<(src_dir)/​src/​thread/​pthread/​SDL_systls.c',132 '<(src_dir)/​src/​filesystem/​unix/​SDL_sysfilesystem.c',133 '<(src_dir)/​src/​timer/​unix/​SDL_systimer.c',134 '<(src_dir)/​src/​core/​linux/​SDL_evdev.c',135 '<(src_dir)/​src/​joystick/​dummy/​SDL_sysjoystick.c',136 '<(src_dir)/​src/​haptic/​dummy/​SDL_syshaptic.c',137 '<(src_dir)/​src/​main/​dummy/​SDL_dummy_main.c',138 ],139 'defines': [ 140 '__LINUX__',141 '_REENTRANT'142 ],143 'cflags': [144 '-fPIC',145 '-O3',146 '-mmmx',147 '-m3dnow',148 '-msse',149 '-msse2',150 '-fvisibility=hidden',151 ],...

Full Screen

Full Screen

sdl_android.gypi

Source: sdl_android.gypi Github

copy

Full Screen

1# Copyright 2015 Google Inc.2#3# Use of this source code is governed by a BSD-style license that can be4# found in the LICENSE file.5# Linux specific files and settings for SDL6{7 #TODO what is really necessary here8 'link_settings': {9 'libraries': [ 10 '-ldl',11 '-lGLESv1_CM',12 '-lGLESv2',13 '-llog',14 '-landroid',15 ],16 },17 'sources': [18 '<(src_dir)/​src/​SDL.c',19 '<(src_dir)/​src/​SDL_assert.c',20 '<(src_dir)/​src/​SDL_error.c',21 '<(src_dir)/​src/​SDL_hints.c',22 '<(src_dir)/​src/​SDL_log.c',23 '<(src_dir)/​src/​atomic/​SDL_atomic.c',24 '<(src_dir)/​src/​atomic/​SDL_spinlock.c',25 '<(src_dir)/​src/​audio/​SDL_audio.c',26 '<(src_dir)/​src/​audio/​SDL_audiocvt.c',27 '<(src_dir)/​src/​audio/​SDL_audiodev.c',28 '<(src_dir)/​src/​audio/​SDL_audiotypecvt.c',29 '<(src_dir)/​src/​audio/​SDL_mixer.c',30 '<(src_dir)/​src/​audio/​SDL_wave.c',31 '<(src_dir)/​src/​audio/​dummy/​SDL_dummyaudio.c',32 '<(src_dir)/​src/​audio/​android/​SDL_androidaudio.c',33 '<(src_dir)/​src/​cpuinfo/​SDL_cpuinfo.c',34 '<(src_dir)/​src/​dynapi/​SDL_dynapi.c',35 '<(src_dir)/​src/​events/​SDL_clipboardevents.c',36 '<(src_dir)/​src/​events/​SDL_dropevents.c',37 '<(src_dir)/​src/​events/​SDL_events.c',38 '<(src_dir)/​src/​events/​SDL_gesture.c',39 '<(src_dir)/​src/​events/​SDL_keyboard.c',40 '<(src_dir)/​src/​events/​SDL_mouse.c',41 '<(src_dir)/​src/​events/​SDL_quit.c',42 '<(src_dir)/​src/​events/​SDL_touch.c',43 '<(src_dir)/​src/​events/​SDL_windowevents.c',44 '<(src_dir)/​src/​file/​SDL_rwops.c',45 '<(src_dir)/​src/​haptic/​SDL_haptic.c',46 '<(src_dir)/​src/​joystick/​SDL_gamecontroller.c',47 '<(src_dir)/​src/​joystick/​SDL_joystick.c',48 '<(src_dir)/​src/​joystick/​android/​SDL_sysjoystick.c',49 '<(src_dir)/​src/​power/​SDL_power.c',50 '<(src_dir)/​src/​power/​android/​SDL_syspower.c',51 '<(src_dir)/​src/​loadso/​dlopen/​SDL_sysloadso.c',52 '<(src_dir)/​src/​render/​SDL_d3dmath.c',53 '<(src_dir)/​src/​render/​SDL_render.c',54 '<(src_dir)/​src/​render/​SDL_yuv_mmx.c',55 '<(src_dir)/​src/​render/​SDL_yuv_sw.c',56 '<(src_dir)/​src/​render/​direct3d/​SDL_render_d3d.c',57 '<(src_dir)/​src/​render/​direct3d11/​SDL_render_d3d11.c',58 '<(src_dir)/​src/​render/​opengl/​SDL_render_gl.c',59 '<(src_dir)/​src/​render/​opengl/​SDL_shaders_gl.c',60 '<(src_dir)/​src/​render/​opengles/​SDL_render_gles.c',61 '<(src_dir)/​src/​render/​opengles2/​SDL_render_gles2.c',62 '<(src_dir)/​src/​render/​opengles2/​SDL_shaders_gles2.c',63 '<(src_dir)/​src/​render/​psp/​SDL_render_psp.c',64 '<(src_dir)/​src/​render/​software/​SDL_blendfillrect.c',65 '<(src_dir)/​src/​render/​software/​SDL_blendline.c',66 '<(src_dir)/​src/​render/​software/​SDL_blendpoint.c',67 '<(src_dir)/​src/​render/​software/​SDL_drawline.c',68 '<(src_dir)/​src/​render/​software/​SDL_drawpoint.c',69 '<(src_dir)/​src/​render/​software/​SDL_render_sw.c',70 '<(src_dir)/​src/​render/​software/​SDL_rotate.c',71 '<(src_dir)/​src/​stdlib/​SDL_getenv.c',72 '<(src_dir)/​src/​stdlib/​SDL_iconv.c',73 '<(src_dir)/​src/​stdlib/​SDL_malloc.c',74 '<(src_dir)/​src/​stdlib/​SDL_qsort.c',75 '<(src_dir)/​src/​stdlib/​SDL_stdlib.c',76 '<(src_dir)/​src/​stdlib/​SDL_string.c',77 '<(src_dir)/​src/​thread/​SDL_thread.c',78 '<(src_dir)/​src/​timer/​SDL_timer.c',79 '<(src_dir)/​src/​video/​SDL_RLEaccel.c',80 '<(src_dir)/​src/​video/​SDL_blit.c',81 '<(src_dir)/​src/​video/​SDL_blit_0.c',82 '<(src_dir)/​src/​video/​SDL_blit_1.c',83 '<(src_dir)/​src/​video/​SDL_blit_A.c',84 '<(src_dir)/​src/​video/​SDL_blit_N.c',85 '<(src_dir)/​src/​video/​SDL_blit_auto.c',86 '<(src_dir)/​src/​video/​SDL_blit_copy.c',87 '<(src_dir)/​src/​video/​SDL_blit_slow.c',88 '<(src_dir)/​src/​video/​SDL_bmp.c',89 '<(src_dir)/​src/​video/​SDL_clipboard.c',90 '<(src_dir)/​src/​video/​SDL_egl.c',91 '<(src_dir)/​src/​video/​SDL_fillrect.c',92 '<(src_dir)/​src/​video/​SDL_pixels.c',93 '<(src_dir)/​src/​video/​SDL_rect.c',94 '<(src_dir)/​src/​video/​SDL_shape.c',95 '<(src_dir)/​src/​video/​SDL_stretch.c',96 '<(src_dir)/​src/​video/​SDL_surface.c',97 '<(src_dir)/​src/​video/​SDL_video.c',98 '<(src_dir)/​src/​video/​android/​SDL_androidgl.c',99 '<(src_dir)/​src/​video/​android/​SDL_androidkeyboard.c',100 '<(src_dir)/​src/​video/​android/​SDL_androidwindow.c',101 '<(src_dir)/​src/​video/​android/​SDL_androidmouse.c',102 '<(src_dir)/​src/​video/​android/​SDL_androidvideo.c',103 '<(src_dir)/​src/​video/​android/​SDL_androidclipboard.c',104 '<(src_dir)/​src/​video/​android/​SDL_androidtouch.c',105 '<(src_dir)/​src/​video/​android/​SDL_androidevents.c',106 '<(src_dir)/​src/​video/​android/​SDL_androidmessagebox.c',107 '<(src_dir)/​src/​thread/​pthread/​SDL_systhread.c',108 '<(src_dir)/​src/​thread/​pthread/​SDL_syssem.c',109 '<(src_dir)/​src/​thread/​pthread/​SDL_sysmutex.c',110 '<(src_dir)/​src/​thread/​pthread/​SDL_syscond.c',111 '<(src_dir)/​src/​thread/​pthread/​SDL_systls.c',112 '<(src_dir)/​src/​filesystem/​android/​SDL_sysfilesystem.c',113 '<(src_dir)/​src/​timer/​unix/​SDL_systimer.c',114 '<(src_dir)/​src/​core/​android/​SDL_android.c',115 '<(src_dir)/​src/​haptic/​dummy/​SDL_syshaptic.c',116 '<(src_dir)/​src/​main/​android/​SDL_android_main.c',117 ],118 'defines': [ 119 'GL_GLEXT_PROTOTYPES',120 ],121 'cflags': [122 '-fPIC',123 '-O3',124 '-fvisibility=hidden',125 ],...

Full Screen

Full Screen

SConscript

Source: SConscript Github

copy

Full Screen

1Import('RTT_ROOT')2from building import *34src = Split("""5src/​api/​api_lib.c6src/​api/​api_msg.c7src/​api/​err.c8src/​api/​netbuf.c9src/​api/​netdb.c10src/​api/​netifapi.c11src/​api/​sockets.c12src/​api/​tcpip.c13src/​arch/​sys_arch.c14src/​arch/​sys_arch_init.c15src/​core/​dhcp.c16src/​core/​dns.c17src/​core/​init.c18src/​core/​memp.c19src/​core/​netif.c20src/​core/​pbuf.c21src/​core/​raw.c22src/​core/​stats.c23src/​core/​sys.c24src/​core/​tcp.c25src/​core/​tcp_in.c26src/​core/​tcp_out.c27src/​core/​udp.c28src/​core/​ipv4/​autoip.c29src/​core/​ipv4/​icmp.c30src/​core/​ipv4/​igmp.c31src/​core/​ipv4/​inet.c32src/​core/​ipv4/​inet_chksum.c33src/​core/​ipv4/​ip.c34src/​core/​ipv4/​ip_addr.c35src/​core/​ipv4/​ip_frag.c36src/​netif/​etharp.c37src/​netif/​ethernetif.c38src/​netif/​loopif.c39src/​netif/​slipif.c40""")4142snmp_src = Split("""43src/​core/​snmp/​asn1_dec.c44src/​core/​snmp/​asn1_enc.c45src/​core/​snmp/​mib2.c46src/​core/​snmp/​mib_structs.c47src/​core/​snmp/​msg_in.c48src/​core/​snmp/​msg_out.c49""")5051ppp_src = Split("""52src/​netif/​ppp/​auth.c53src/​netif/​ppp/​chap.c54src/​netif/​ppp/​chpms.c55src/​netif/​ppp/​fsm.c56src/​netif/​ppp/​ipcp.c57src/​netif/​ppp/​lcp.c58src/​netif/​ppp/​magic.c59src/​netif/​ppp/​md5.c60src/​netif/​ppp/​pap.c61src/​netif/​ppp/​ppp.c62src/​netif/​ppp/​ppp_oe.c63src/​netif/​ppp/​randm.c64src/​netif/​ppp/​vj.c65""")6667# The set of source files associated with this SConscript file.68path = [GetCurrentDir() + '/​src',69 GetCurrentDir() + '/​src/​include',70 GetCurrentDir() + '/​src/​include/​ipv4',71 GetCurrentDir() + '/​src/​arch/​include',72 GetCurrentDir() + '/​src/​include/​netif']7374if GetDepend(['RT_LWIP_SNMP']):75 src += snmp_src7677if GetDepend(['RT_LWIP_PPP']):78 src += ppp_src79 path += [GetCurrentDir() + '/​src/​netif/​ppp']8081# For testing apps82if GetDepend(['RT_USING_NETUTILS']):83 src += Glob('./​apps/​*.c')8485group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP132'], CPPPATH = path)86 ...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { configure } from '@storybook/​react';2import { setOptions } from '@storybook/​addon-options';3import { setAddon } from '@storybook/​react';4import infoAddon, { setDefaults } from '@storybook/​addon-info';5setAddon(infoAddon);6setDefaults({7});8setOptions({

Full Screen

Using AI Code Generation

copy

Full Screen

1import React from 'react';2import { storiesOf } from '@storybook/​react';3import { withInfo } from '@storybook/​addon-info';4import { Button } from '@storybook/​react/​demo';5storiesOf('Button', module)6 .add('with text', withInfo('A very simple button')(() => <Button>Hello Button</​Button>))7 .add('with some emoji', withInfo('A very simple button')(() => <Button>😀 😎 👍 💯</​Button>));8| `styles` | `object` | Override styles of info | `{ header: {}, infoBody: {} }` |9| `TableComponent` | `func` | Override table component | [default table component](

Full Screen

Using AI Code Generation

copy

Full Screen

1import { setRootDecorator } from 'storybook-root-decorator';2import { addDecorator } from '@storybook/​react';3import { withA11y } from '@storybook/​addon-a11y';4import { withKnobs } from '@storybook/​addon-knobs';5import { withInfo } from '@storybook/​addon-info';6import { withTests } from '@storybook/​addon-jest';7import results from '../​.jest-test-results.json';8import { withLayout } from '../​src';9addDecorator(withA11y);10addDecorator(withKnobs);11addDecorator(withInfo);12addDecorator(13 withTests({14 }),15);16setRootDecorator(withLayout);17import { setRootDecorator } from 'storybook-root-decorator';18import { addDecorator } from '@storybook/​react';19import { withA11y } from '@storybook/​addon-a11y';20import { withKnobs } from '@storybook/​addon-knobs';21import { withInfo } from '@storybook/​addon-info';22import { withTests } from '@storybook/​addon-jest';23import results from '../​.jest-test-results.json';24import { withLayout } from '../​src';25addDecorator(withA11y);26addDecorator(withKnobs);27addDecorator(withInfo);28addDecorator(29 withTests({30 }),31);32setRootDecorator(withLayout);33import { setRootDecorator } from 'storybook-root-decorator';34import { withLayout } from '../​src';35setRootDecorator(withLayout);36import { setRootDecorator } from 'storybook-root-decorator';37import { withLayout } from '../​src';38setRootDecorator(withLayout, {39});

Full Screen

Using AI Code Generation

copy

Full Screen

1import 'storybook-root-decorator/​dist/​register';2import { addDecorator } from '@storybook/​react';3import { withRoot } from 'storybook-root-decorator';4addDecorator(withRoot);5import React from 'react';6import { storiesOf } from '@storybook/​react';7import { Root } from 'storybook-root-decorator';8import MyComponent from './​MyComponent';9storiesOf('MyComponent', module)10 .add('default', () => (11 ));12### `withRoot(options)`13| `theme` | `object` | `{}` | A theme to be applied to the root element. |14import { addDecorator } from '@storybook/​react';15import { withRoot } from 'storybook-root-decorator';16addDecorator(withRoot({ rootId: 'my-root' }));

Full Screen

Blogs

Check out the latest blogs from LambdaTest on this topic:

Oct’22 Updates: New Analytics And App Automation Dashboard, Test On Google Pixel 7 Series, And More

Hey everyone! We hope you had a great Hacktober. At LambdaTest, we thrive to bring you the best with each update. Our engineering and tech teams work at lightning speed to deliver you a seamless testing experience.

Now Log Bugs Using LambdaTest and DevRev

In today’s world, an organization’s most valuable resource is its customers. However, acquiring new customers in an increasingly competitive marketplace can be challenging while maintaining a strong bond with existing clients. Implementing a customer relationship management (CRM) system will allow your organization to keep track of important customer information. This will enable you to market your services and products to these customers better.

How To Run Cypress Tests In Azure DevOps Pipeline

When software developers took years to create and introduce new products to the market is long gone. Users (or consumers) today are more eager to use their favorite applications with the latest bells and whistles. However, users today don’t have the patience to work around bugs, errors, and design flaws. People have less self-control, and if your product or application doesn’t make life easier for users, they’ll leave for a better solution.

How to Position Your Team for Success in Estimation

Estimates are critical if you want to be successful with projects. If you begin with a bad estimating approach, the project will almost certainly fail. To produce a much more promising estimate, direct each estimation-process issue toward a repeatable standard process. A smart approach reduces the degree of uncertainty. When dealing with presales phases, having the most precise estimation findings can assist you to deal with the project plan. This also helps the process to function more successfully, especially when faced with tight schedules and the danger of deviation.

How To Write End-To-End Tests Using Cypress App Actions

When I started writing tests with Cypress, I was always going to use the user interface to interact and change the application’s state when running tests.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful