| Index: tools/gn/ninja_toolchain_writer.cc
|
| diff --git a/tools/gn/ninja_toolchain_writer.cc b/tools/gn/ninja_toolchain_writer.cc
|
| index 99087c68f2d23221a55cf09eb7ee04056ee58b32..dac5921734c70c9572b3f8ce1c2103fc1680ae1d 100644
|
| --- a/tools/gn/ninja_toolchain_writer.cc
|
| +++ b/tools/gn/ninja_toolchain_writer.cc
|
| @@ -79,13 +79,16 @@ void NinjaToolchainWriter::WriteRules() {
|
| out_ << indent << " " STRINGIZE(name) " = " << tool.name << std::endl;
|
| WRITE_ARG(command);
|
| WRITE_ARG(depfile);
|
| - WRITE_ARG(deps);
|
| WRITE_ARG(description);
|
| WRITE_ARG(pool);
|
| WRITE_ARG(restat);
|
| WRITE_ARG(rspfile);
|
| WRITE_ARG(rspfile_content);
|
| #undef WRITE_ARG
|
| +
|
| + // Deps is called "depsformat" in GN to avoid confusion with dependencies.
|
| + if (!tool.depsformat.empty()) \
|
| + out_ << indent << " deps = " << tool.depsformat << std::endl;
|
| }
|
| out_ << std::endl;
|
| }
|
|
|