Index: tools/gn/ninja_target_writer.cc |
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc |
index 9f19b2b0065321d12f74279d97dfbe492cf5ecc1..f4de7f2247b8803c48092d91c5f761acad03e6ed 100644 |
--- a/tools/gn/ninja_target_writer.cc |
+++ b/tools/gn/ninja_target_writer.cc |
@@ -13,6 +13,7 @@ |
#include "tools/gn/filesystem_utils.h" |
#include "tools/gn/ninja_action_target_writer.h" |
#include "tools/gn/ninja_binary_target_writer.h" |
+#include "tools/gn/ninja_bundle_data_target_writer.h" |
#include "tools/gn/ninja_copy_target_writer.h" |
#include "tools/gn/ninja_group_target_writer.h" |
#include "tools/gn/ninja_utils.h" |
@@ -57,7 +58,10 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) { |
std::stringstream file; |
// Call out to the correct sub-type of writer. |
- if (target->output_type() == Target::COPY_FILES) { |
+ if (target->output_type() == Target::BUNDLE_DATA) { |
+ NinjaBundleDataTargetWriter writer(target, file); |
+ writer.Run(); |
+ } else if (target->output_type() == Target::COPY_FILES) { |
NinjaCopyTargetWriter writer(target, file); |
writer.Run(); |
} else if (target->output_type() == Target::ACTION || |