Index: tools/gn/target.cc |
diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
index ddc8ad5074d0dd0351d1c094cd240a7ab28bc0ee..85955a7168fb371ffea80321bcf8c6c777d4e597 100644 |
--- a/tools/gn/target.cc |
+++ b/tools/gn/target.cc |
@@ -515,6 +515,10 @@ void Target::PullRecursiveBundleData() { |
if (pair.ptr->output_type() == CREATE_BUNDLE) |
continue; |
+ // Don't propagate across toolchain. |
+ if (pair.ptr->toolchain() != toolchain()) |
+ continue; |
+ |
// Direct dependency on a bundle_data target. |
if (pair.ptr->output_type() == BUNDLE_DATA) |
bundle_data_.AddBundleData(pair.ptr); |