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(); |