| Index: tools/gn/ninja_target_writer.cc
|
| diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
|
| index d3902c5d9e27cae8255b2a6bd5d095e2b4fa1cc1..6c5d12b05c020e52bc9f6aaa587363dae4165d82 100644
|
| --- a/tools/gn/ninja_target_writer.cc
|
| +++ b/tools/gn/ninja_target_writer.cc
|
| @@ -67,11 +67,7 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) {
|
| } else if (target->output_type() == Target::GROUP) {
|
| NinjaGroupTargetWriter writer(target, file);
|
| writer.Run();
|
| - } else if (target->output_type() == Target::EXECUTABLE ||
|
| - target->output_type() == Target::LOADABLE_MODULE ||
|
| - target->output_type() == Target::STATIC_LIBRARY ||
|
| - target->output_type() == Target::SHARED_LIBRARY ||
|
| - target->output_type() == Target::SOURCE_SET) {
|
| + } else if (target->IsBinary()) {
|
| NinjaBinaryTargetWriter writer(target, file);
|
| writer.Run();
|
| } else {
|
|
|