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

Unified Diff: tools/gn/function_read_file.cc

Issue 223783005: Add support for reading .gypi files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_exec_script.cc ('k') | tools/gn/functions_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_read_file.cc
diff --git a/tools/gn/function_read_file.cc b/tools/gn/function_read_file.cc
index 8f6d66e85b7df78f1f8b39d8079247df7ab2a311..6563039d40021d2f25b5e6bb327d2f1687cb2953 100644
--- a/tools/gn/function_read_file.cc
+++ b/tools/gn/function_read_file.cc
@@ -68,7 +68,8 @@ Value RunReadFile(Scope* scope,
return Value();
}
- return ConvertInputToValue(file_contents, function, args[1], err);
+ return ConvertInputToValue(scope->settings(), file_contents, function,
+ args[1], err);
}
} // namespace functions
« no previous file with comments | « tools/gn/function_exec_script.cc ('k') | tools/gn/functions_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698