Lines Matching refs:sources
233 def WriteAction(out, target, project, sources, synthetic_dependencies): argument
266 for sources_type_name in sources.values():
294 def WriteActionForEach(out, target, project, sources, synthetic_dependencies): argument
337 if 'input' in sources:
338 WriteVariable(out, sources['input'], ' ')
358 def WriteCopy(out, target, project, sources, synthetic_dependencies): argument
382 for sources_type_name in sources.values():
397 def WriteCompilerFlags(out, target, project, sources): argument
399 if not 'c' in sources and not 'cxx' in sources:
403 if 'input' in sources:
404 SetFilesProperty(out, sources['input'], 'HEADER_FILE_ONLY', ('True',), '')
405 if 'other' in sources:
406 SetFilesProperty(out, sources['other'], 'HEADER_FILE_ONLY', ('True',), '')
409 if 'obj' in sources:
410 SetFilesProperty(out, sources['obj'], 'EXTERNAL_OBJECT', ('True',), '')
442 if 'c' in sources and not any(k in sources for k in ('asm', 'cxx')):
444 elif 'cxx' in sources and not any(k in sources for k in ('asm', 'c')):
449 if 'asm' in sources and cflags_asm:
450 SetFilesProperty(out, sources['asm'], 'COMPILE_FLAGS', cflags_asm, ' ')
451 if 'c' in sources and cflags_c:
452 SetFilesProperty(out, sources['c'], 'COMPILE_FLAGS', cflags_c, ' ')
453 if 'cxx' in sources and cflags_cxx:
454 SetFilesProperty(out, sources['cxx'], 'COMPILE_FLAGS', cflags_cxx, ' ')
499 sources = {}
502 sources[source_type] = '${target}__' + source_type + '_srcs'
503 SetVariableList(out, sources[source_type], sources_of_type)
504 return sources
519 sources = WriteSourceVariables(out, target, project)
523 WriteAction(out, target, project, sources, synthetic_dependencies)
525 WriteActionForEach(out, target, project, sources, synthetic_dependencies)
527 WriteCopy(out, target, project, sources, synthetic_dependencies)
534 for sources_type_name in sources.values():
543 WriteCompilerFlags(out, target, project, sources)