- // the deps in the group.
- out_ << std::endl << "build ";
- path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_));
- out_ << ": "
- << helper_.GetRulePrefix(target_->settings())
- << "stamp";
+ // the deps and data_deps in the group.
+ std::vector<OutputFile> output_files;
+ for (DepsIterator iter(target_, DepsIterator::LINKED_ONLY);
+ !iter.done(); iter.Advance())
+ output_files.push_back(iter.target()->dependency_output_file());