code: private static void writeDepInfos(PrintStream out, Collection<DependencyInfo> depInfos)
        throws IOException {
      // Print dependencies.
      // Lines look like this:
      // goog.addDependency('../../path/to/file.js', ['goog.Delay'],
      //     ['goog.Disposable', 'goog.Timer']);
      for (DependencyInfo depInfo : depInfos) {
        DependencyInfo.Util.writeAddDependency(out, depInfo);
      }
    }
docs: Writes goog.addDependency() lines for each DependencyInfo in depInfos.