Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: tools/gn/path_output.cc

Issue 1207903002: Windows precompiled header support in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/gn/path_output.cc
diff --git a/tools/gn/path_output.cc b/tools/gn/path_output.cc
index 5b333d8a16f4284803f70a81d0bba8f06cb708a3..711341fcd196a4986dae02afe8d8f36fddbb4d4d 100644
--- a/tools/gn/path_output.cc
+++ b/tools/gn/path_output.cc
@@ -83,6 +83,14 @@ void PathOutput::WriteFiles(std::ostream& out,
}
}
+void PathOutput::WriteFiles(std::ostream& out,
+ const UniqueVector<OutputFile>& files) const {
+ for (const auto& file : files) {
+ out << " ";
+ WriteFile(out, file);
+ }
+}
+
void PathOutput::WriteDir(std::ostream& out,
const OutputFile& file,
DirSlashEnding slash_ending) const {

Powered by Google App Engine
This is Rietveld 408576698