Index: tools/gn/ninja_create_bundle_target_writer.cc |
diff --git a/tools/gn/ninja_create_bundle_target_writer.cc b/tools/gn/ninja_create_bundle_target_writer.cc |
index b92001d6089a9ff871bfc5d6df6efbf817311936..d85f2401ae52209051ba4444d7a6aec51c73a419 100644 |
--- a/tools/gn/ninja_create_bundle_target_writer.cc |
+++ b/tools/gn/ninja_create_bundle_target_writer.cc |
@@ -111,5 +111,9 @@ void NinjaCreateBundleTargetWriter::Run() { |
} |
out_ << std::endl; |
- WriteStampForTarget(output_files, std::vector<OutputFile>()); |
+ |
+ std::vector<OutputFile> order_only_deps; |
+ for (const auto& pair : target_->data_deps()) |
+ order_only_deps.push_back(pair.ptr->dependency_output_file()); |
+ WriteStampForTarget(output_files, order_only_deps); |
} |