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

Unified Diff: tools/gn/function_write_file.cc

Issue 1430043002: Support script response files in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment, random build fix Created 5 years, 1 month 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/action_values.h ('k') | tools/gn/functions_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_write_file.cc
diff --git a/tools/gn/function_write_file.cc b/tools/gn/function_write_file.cc
index d24abc159ac5270046cf7a915b9bac70edea0163..02acca423f2f3b4dad374b4958b8c1070bacae76 100644
--- a/tools/gn/function_write_file.cc
+++ b/tools/gn/function_write_file.cc
@@ -82,10 +82,15 @@ const char kWriteFile_Help[] =
" written, the file will not be updated. This will prevent unnecessary\n"
" rebuilds of targets that depend on this file.\n"
"\n"
+ " One use for write_file is to write a list of inputs to an script\n"
+ " that might be too long for the command line. However, it is\n"
+ " preferrable to use response files for this purpose. See\n"
+ " \"gn help response_file_contents\".\n"
+ "\n"
" TODO(brettw) we probably need an optional third argument to control\n"
" list formatting.\n"
"\n"
- "Arguments:\n"
+ "Arguments\n"
"\n"
" filename\n"
" Filename to write. This must be within the output directory.\n"
« no previous file with comments | « tools/gn/action_values.h ('k') | tools/gn/functions_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698