Chromium Code Reviews| Index: tools/gn/ninja_target_writer.cc |
| diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc |
| index 098a58cb956da36210b3cd632efb01b05ebfba58..32f8ff331eb142ce5f70b2a4ff27341947b644b4 100644 |
| --- a/tools/gn/ninja_target_writer.cc |
| +++ b/tools/gn/ninja_target_writer.cc |
| @@ -68,13 +68,14 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) { |
| 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) { |
| NinjaBinaryTargetWriter writer(target, file); |
| writer.Run(); |
| } else { |
| - CHECK(0); |
|
brettw
2015/10/14 17:45:57
Add << "foo" and move back to check
Bons
2015/10/14 18:03:42
Done.
|
| + NOTREACHED(); |
| } |
| std::string contents = file.str(); |