| Index: tools/gn/functions.cc
|
| diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc
|
| index 0102bd7f2da0ca85e4621d1a666845705fba00e0..dcea722ea0dcdf5675b3d39ac6e4f395f00517ca 100644
|
| --- a/tools/gn/functions.cc
|
| +++ b/tools/gn/functions.cc
|
| @@ -101,7 +101,7 @@ bool FillTargetBlockScope(const Scope* scope,
|
|
|
| // Set the target name variable to the current target, and mark it used
|
| // because we don't want to issue an error if the script ignores it.
|
| - const base::StringPiece target_name("target_name");
|
| + const base::StringPiece target_name(variables::kTargetName);
|
| block_scope->SetValue(target_name, Value(function, args[0].string_value()),
|
| function);
|
| block_scope->MarkUsed(target_name);
|
|
|