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.h

Issue 440333002: Support more configurability in GN toolchains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unsigned check Created 6 years, 4 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
« no previous file with comments | « tools/gn/output_file.cc ('k') | tools/gn/path_output.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/path_output.h
diff --git a/tools/gn/path_output.h b/tools/gn/path_output.h
index 681ee2ff4199b6a1e2d6b5945258fb413f5ab76c..12fc5ac5ea98dad5fdafbc7d91e190e6155f53a6 100644
--- a/tools/gn/path_output.h
+++ b/tools/gn/path_output.h
@@ -50,6 +50,11 @@ class PathOutput {
void WriteFile(std::ostream& out, const OutputFile& file) const;
void WriteFile(std::ostream& out, const base::FilePath& file) const;
+ // Writes the given OutputFiles with spaces separating them. This will also
+ // write an initial space before the first item.
+ void WriteFiles(std::ostream& out,
+ const std::vector<OutputFile>& files) const;
+
// This variant assumes the dir ends in a trailing slash or is empty.
void WriteDir(std::ostream& out,
const SourceDir& dir,
« no previous file with comments | « tools/gn/output_file.cc ('k') | tools/gn/path_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698