| Index: tools/gn/functions.cc
|
| diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc
|
| index 43cdcd36cf4f5ea6f09d393fed312300f4a21fe0..f85b57cd8382983494ef7200bef0f2be7f40504e 100644
|
| --- a/tools/gn/functions.cc
|
| +++ b/tools/gn/functions.cc
|
| @@ -229,6 +229,8 @@ Value RunConfig(const FunctionCallNode* function,
|
| // Create the new config.
|
| scoped_ptr<Config> config(new Config(scope->settings(), label));
|
| config->set_defined_from(function);
|
| + if (!Visibility::FillItemVisibility(config.get(), scope, err))
|
| + return Value();
|
|
|
| // Fill it.
|
| const SourceDir& input_dir = scope->GetSourceDir();
|
|
|