| Index: tools/gn/ninja_target_writer.cc
|
| diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
|
| index bb5a4530117c750b8e31613f6a9920ee28094795..486930bd2ffeb224f6985d16860ee42c2431a8ce 100644
|
| --- a/tools/gn/ninja_target_writer.cc
|
| +++ b/tools/gn/ninja_target_writer.cc
|
| @@ -15,6 +15,7 @@
|
| #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_create_bundle_target_writer.h"
|
| #include "tools/gn/ninja_group_target_writer.h"
|
| #include "tools/gn/ninja_utils.h"
|
| #include "tools/gn/output_file.h"
|
| @@ -61,6 +62,9 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target) {
|
| if (target->output_type() == Target::BUNDLE_DATA) {
|
| NinjaBundleDataTargetWriter writer(target, file);
|
| writer.Run();
|
| + } else if (target->output_type() == Target::CREATE_BUNDLE) {
|
| + NinjaCreateBundleTargetWriter writer(target, file);
|
| + writer.Run();
|
| } else if (target->output_type() == Target::COPY_FILES) {
|
| NinjaCopyTargetWriter writer(target, file);
|
| writer.Run();
|
| @@ -165,11 +169,10 @@ OutputFile NinjaTargetWriter::WriteInputDepsStampAndGetDep(
|
| for (const auto& input : target_->inputs())
|
| input_deps_sources.push_back(&input);
|
|
|
| - // For an action (where we run a script only once) and bundle_data target the
|
| - // sources are the same as the inputs. For action_foreach, the sources will
|
| - // be operated on separately so don't handle them here.
|
| - if (target_->output_type() == Target::ACTION ||
|
| - target_->output_type() == Target::BUNDLE_DATA) {
|
| + // For an action (where we run a script only once) the sources are the same
|
| + // as the inputs. For action_foreach, the sources will be operated on
|
| + // separately so don't handle them here.
|
| + if (target_->output_type() == Target::ACTION) {
|
| for (const auto& source : target_->sources())
|
| input_deps_sources.push_back(&source);
|
| }
|
|
|