Index: tools/gn/action_values.cc |
diff --git a/tools/gn/action_values.cc b/tools/gn/action_values.cc |
index 819ead10c8de65456aa58aacb23b2b509706b25e..a7ce83da056447c4b84c85a2b39c55712505d643 100644 |
--- a/tools/gn/action_values.cc |
+++ b/tools/gn/action_values.cc |
@@ -15,7 +15,10 @@ ActionValues::~ActionValues() {} |
void ActionValues::GetOutputsAsSourceFiles( |
const Target* target, |
std::vector<SourceFile>* result) const { |
- if (target->output_type() == Target::COPY_FILES || |
+ if (target->output_type() == Target::BUNDLE_DATA) { |
+ // The bundle_data target has no output, the real output will be generated |
+ // by the create_bundle target. |
+ } else if (target->output_type() == Target::COPY_FILES || |
target->output_type() == Target::ACTION_FOREACH) { |
// Copy and foreach applies the outputs to the sources. |
SubstitutionWriter::ApplyListToSources( |