parameters: (source_map)
return_statement: return ''.join(lines)
docstring: Make a generated deps file.
  
    Args:
      source_map: A dict map of the source path to source.Source object.
  
    Returns:
      str, A generated deps file source.
docstring_summary: Make a generated deps file.
docstring_tokens: Make a generated deps file .
function: def MakeDepsFile(source_map):
    """Make a generated deps file.
  
    Args:
      source_map: A dict map of the source path to source.Source object.
  
    Returns:
      str, A generated deps file source.
    """
  
    # Write in path alphabetical order
    paths = sorted(source_map.keys())
  
    lines = []
  
    for path in paths:
      js_source = source_map[path]
  
      # We don't need to add entries that don't provide anything.
      if js_source.provides:
        lines.append(_GetDepsLine(path, js_source))
  
    return ''.join(lines)
function_tokens: def MakeDepsFile ( source_map ) : # Write in path alphabetical order paths = sorted ( source_map . keys ( ) ) lines = [ ] for path in paths : js_source = source_map [ path ] # We don't need to add entries that don't provide anything. if js_source . provides : lines . append ( _GetDepsLine ( path , js_source ) ) return '' . join ( lines )