69 project_template =
"""
76 '<!-- This file is generated by '
77 '//third_party/dart/tools/create_pkg_manifest.py. DO NOT EDIT -->\n')
78 with open(manifest_file,
'w')
as manifest:
79 manifest.write(
'<?xml version="1.0" encoding="UTF-8"?>\n')
80 manifest.write(warning)
81 manifest.write(
'<manifest>\n')
82 manifest.write(
' <projects>\n')
83 for path, remote
in sorted(deps.items()):
84 remote_components = remote.split(
'@')
85 remote_url = remote_components[0]
86 remote_version = remote_components[1]
88 project_template % (path, path, remote_url, remote_version))
89 manifest.write(
' </projects>\n')
90 manifest.write(
'</manifest>\n')