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

Unified Diff: tools/gn/function_process_file_template.cc

Issue 387663003: Improve GN handling of directory templates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/function_get_target_outputs_unittest.cc ('k') | tools/gn/function_write_file.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 061c9017db90ca89d112baa4f4434d3aa21c4172..0c561345e04cc3dbcaf57b2db22665c6a2c6d96d 100644
--- a/tools/gn/function_process_file_template.cc
+++ b/tools/gn/function_process_file_template.cc
@@ -71,7 +71,8 @@ Value RunProcessFileTemplate(Scope* scope,
return Value();
}
- FileTemplate file_template(scope->settings(), args[1], err);
+ FileTemplate file_template(scope->settings(), args[1],
+ FileTemplate::OUTPUT_ABSOLUTE, SourceDir(), err);
if (err->has_error())
return Value();
« no previous file with comments | « tools/gn/function_get_target_outputs_unittest.cc ('k') | tools/gn/function_write_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698