third_party/google-closure-library/closure/bin/build/depswriter.py
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)
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.
  
Make a generated deps file.
Make a generated deps file .
def MakeDepsFile(source_map):
  paths = sorted(source_map.keys())
  lines = []
  for path in paths:
    js_source = source_map[path]
    if js_source.provides:
      lines.append(_GetDepsLine(path, js_source))
  return ''.join(lines)
def MakeDepsFile ( source_map ) : paths = sorted ( source_map . keys ( ) ) lines = [ ] for path in paths : js_source = source_map [ path ] if js_source . provides : lines . append ( _GetDepsLine ( path , js_source ) ) return '' . join ( lines )
Make a generated deps file.
Make a generated deps file .
"""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 # We don't need to add entries that don't provide anything.
str, A generated deps file source.
str A generated deps file source .
source_map
A dict map of the source path to source.Source object.
A dict map of the source path to source . Source object .