final List<SourceFile> deps = new ArrayList<SourceFile>();
deps.add(SourceFile.fromFile(srcDeps));
ErrorManager errorManager = new JSGoogErrorManager();
DepsGenerator depsGenerator = new DepsGenerator(deps, inputs,
InclusionStrategy.ALWAYS, closureGoogTgtLibDirPath,
errorManager);
writeFile(depsTgtFilePath, depsGenerator.computeDependencyCalls(),
false);
org.apache.commons.io.FileUtils.deleteQuietly(srcDeps);
org.apache.commons.io.FileUtils.moveFile(new File(depsTgtFilePath),
srcDeps);