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

Unified Diff: tools/gn/input_conversion.cc

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Fix compilation after rebase. Created 3 years, 6 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/inherited_libraries_unittest.cc ('k') | tools/gn/input_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/input_conversion.cc
diff --git a/tools/gn/input_conversion.cc b/tools/gn/input_conversion.cc
index d45275925dbce6987550a744b84c1b62b9f05b59..096b45423701b1acc5bdbf6e611430987928c70d 100644
--- a/tools/gn/input_conversion.cc
+++ b/tools/gn/input_conversion.cc
@@ -74,7 +74,7 @@ Value ParseValueOrScope(const Settings* settings,
if (!parse_root)
return Value();
- std::unique_ptr<Scope> scope(new Scope(settings));
+ std::unique_ptr<Scope> scope(new Scope(settings, {input_file}));
Value result = parse_root->Execute(scope.get(), err);
if (err->has_error())
return Value();
« no previous file with comments | « tools/gn/inherited_libraries_unittest.cc ('k') | tools/gn/input_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698