Index: tools/gn/ninja_target_writer.cc |
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc |
index 82a022edde4916fdd80932e62d1b3a29e10bc554..3eccb180973bf05f501f92b809f6a2b4b82fd244 100644 |
--- a/tools/gn/ninja_target_writer.cc |
+++ b/tools/gn/ninja_target_writer.cc |
@@ -79,7 +79,8 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) { |
writer.Run(); |
} else if (target->output_type() == Target::EXECUTABLE || |
target->output_type() == Target::STATIC_LIBRARY || |
- target->output_type() == Target::SHARED_LIBRARY) { |
+ target->output_type() == Target::SHARED_LIBRARY || |
+ target->output_type() == Target::SOURCE_SET) { |
NinjaBinaryTargetWriter writer(target, file); |
writer.Run(); |
} else { |