| Index: tools/gn/ninja_copy_target_writer.cc
|
| diff --git a/tools/gn/ninja_copy_target_writer.cc b/tools/gn/ninja_copy_target_writer.cc
|
| index 26455d9852e0ea8efd87de9d49cc6561cc86e294..9cd1b72771d5f29a3f375c9133c0043e48106dac 100644
|
| --- a/tools/gn/ninja_copy_target_writer.cc
|
| +++ b/tools/gn/ninja_copy_target_writer.cc
|
| @@ -25,23 +25,23 @@ NinjaCopyTargetWriter::~NinjaCopyTargetWriter() {
|
| void NinjaCopyTargetWriter::Run() {
|
| const Tool* copy_tool = target_->toolchain()->GetTool(Toolchain::TYPE_COPY);
|
| if (!copy_tool) {
|
| - g_scheduler->FailWithError(Err(NULL,
|
| - "Copy tool not defined",
|
| + g_scheduler->FailWithError(Err(
|
| + nullptr, "Copy tool not defined",
|
| "The toolchain " +
|
| - target_->toolchain()->label().GetUserVisibleName(false) +
|
| - "\n used by target " + target_->label().GetUserVisibleName(false) +
|
| - "\n doesn't define a \"copy\" tool."));
|
| + target_->toolchain()->label().GetUserVisibleName(false) +
|
| + "\n used by target " + target_->label().GetUserVisibleName(false) +
|
| + "\n doesn't define a \"copy\" tool."));
|
| return;
|
| }
|
|
|
| const Tool* stamp_tool = target_->toolchain()->GetTool(Toolchain::TYPE_STAMP);
|
| if (!stamp_tool) {
|
| - g_scheduler->FailWithError(Err(NULL,
|
| - "Copy tool not defined",
|
| + g_scheduler->FailWithError(Err(
|
| + nullptr, "Copy tool not defined",
|
| "The toolchain " +
|
| - target_->toolchain()->label().GetUserVisibleName(false) +
|
| - "\n used by target " + target_->label().GetUserVisibleName(false) +
|
| - "\n doesn't define a \"stamp\" tool."));
|
| + target_->toolchain()->label().GetUserVisibleName(false) +
|
| + "\n used by target " + target_->label().GetUserVisibleName(false) +
|
| + "\n doesn't define a \"stamp\" tool."));
|
| return;
|
| }
|
|
|
|
|