| Index: tools/gn/ninja_toolchain_writer.cc
|
| diff --git a/tools/gn/ninja_toolchain_writer.cc b/tools/gn/ninja_toolchain_writer.cc
|
| index a48a8b9f84679448814b0d06e8c65b3855fe7c08..2b56bc3c6a3e41944e16a474da3860a109ed3461 100644
|
| --- a/tools/gn/ninja_toolchain_writer.cc
|
| +++ b/tools/gn/ninja_toolchain_writer.cc
|
| @@ -87,7 +87,8 @@ void NinjaToolchainWriter::WriteToolRule(const Toolchain::ToolType type,
|
| EscapeOptions options;
|
| options.mode = ESCAPE_NINJA_PREFORMATTED_COMMAND;
|
|
|
| - CHECK(!tool->command().empty()) << "Command should not be empty";
|
| + // Command should not be empty
|
| + CHECK(!tool->command().empty());
|
| WriteRulePattern("command", tool->command(), options);
|
|
|
| WriteRulePattern("description", tool->description(), options);
|
|
|