| Index: tools/gn/ninja_target_writer.cc
|
| diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
|
| index 3eccb180973bf05f501f92b809f6a2b4b82fd244..4bbc1f57c82e024075099e19f524cf3f5c35b075 100644
|
| --- a/tools/gn/ninja_target_writer.cc
|
| +++ b/tools/gn/ninja_target_writer.cc
|
| @@ -59,13 +59,6 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) {
|
| // It's rediculously faster to write to a string and then write that to
|
| // disk in one operation than to use an fstream here.
|
| std::stringstream file;
|
| - if (file.fail()) {
|
| - g_scheduler->FailWithError(
|
| - Err(Location(), "Error writing ninja file.",
|
| - "Unable to open \"" + FilePathToUTF8(ninja_file) + "\"\n"
|
| - "for writing."));
|
| - return;
|
| - }
|
|
|
| // Call out to the correct sub-type of writer.
|
| if (target->output_type() == Target::COPY_FILES) {
|
|
|