Index: tools/gn/target.cc |
diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
index 714fd911f9657c038dda56c1b096ded0365d759c..d0bbb9abd82408f6f0e93e55021ece77f1efd046 100644 |
--- a/tools/gn/target.cc |
+++ b/tools/gn/target.cc |
@@ -125,6 +125,12 @@ bool EnsureFileIsGeneratedByDependency(const Target* target, |
seen_targets)) |
return true; // Found a path. |
} |
+ for (const auto& pair : target->bundle_data().deps()) { |
+ if (EnsureFileIsGeneratedByDependency(pair.ptr, file, false, |
+ consider_object_files, |
+ seen_targets)) |
+ return true; // Found a path. |
+ } |
} |
return false; |
} |