def _dart_web_application_outputs(dump_info, deferred_lib_count):
  """Returns the expected output map for dart_web_application."""
  outputs = {
      "js": "%{name}.js",
      "deps_file": "%{name}.js.deps",
      "sourcemap": "%{name}.js.map",
  }
  if dump_info:
    outputs["info_json"] = "%{name}.js.info.json"
  for i in range(1, deferred_lib_count + 1):
    outputs["part_js%s" % i] = "%%{name}.js_%s.part.js" % i
    outputs["part_sourcemap%s" % i] = "%%{name}.js_%s.part.js.map" % i
  return outputs