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

Unified Diff: tools/gn/function_process_file_template.cc

Issue 270613006: GN documentation updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | tools/gn/function_template.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_process_file_template.cc
diff --git a/tools/gn/function_process_file_template.cc b/tools/gn/function_process_file_template.cc
index 81e3ad34823c695bbd1815f0bd38fc7d7f3276a2..5d4c9d7b4ed5b5dd7bc96ec26ef0976c245a2878 100644
--- a/tools/gn/function_process_file_template.cc
+++ b/tools/gn/function_process_file_template.cc
@@ -20,6 +20,11 @@ const char kProcessFileTemplate_Help[] =
" returning the result of applying each template to each source. This is\n"
" typically used for computing output file names from input files.\n"
"\n"
+ " In most cases, get_target_outputs() will give the same result with\n"
+ " shorter, more maintainable code. This function should only be used\n"
+ " when that function can't be used (like there's no target or the target\n"
+ " is defined in another build file).\n"
+ "\n"
"Arguments:\n"
"\n"
" The source_list is a list of file names.\n"
« no previous file with comments | « no previous file | tools/gn/function_template.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698