| Index: tools/gn/ninja_group_target_writer.cc
|
| diff --git a/tools/gn/ninja_group_target_writer.cc b/tools/gn/ninja_group_target_writer.cc
|
| index df95a82dcfdfdf9bab0bfa6c216f90549d73d68e..606f916c7d3536efcc03a4526935cf27ebb971c6 100644
|
| --- a/tools/gn/ninja_group_target_writer.cc
|
| +++ b/tools/gn/ninja_group_target_writer.cc
|
| @@ -24,16 +24,16 @@ void NinjaGroupTargetWriter::Run() {
|
| << helper_.GetRulePrefix(target_->settings()->toolchain())
|
| << "stamp";
|
|
|
| - const std::vector<const Target*>& deps = target_->deps();
|
| + const LabelTargetVector& deps = target_->deps();
|
| for (size_t i = 0; i < deps.size(); i++) {
|
| out_ << " ";
|
| - path_output_.WriteFile(out_, helper_.GetTargetOutputFile(deps[i]));
|
| + path_output_.WriteFile(out_, helper_.GetTargetOutputFile(deps[i].ptr));
|
| }
|
|
|
| - const std::vector<const Target*>& datadeps = target_->datadeps();
|
| + const LabelTargetVector& datadeps = target_->datadeps();
|
| for (size_t i = 0; i < datadeps.size(); i++) {
|
| out_ << " ";
|
| - path_output_.WriteFile(out_, helper_.GetTargetOutputFile(datadeps[i]));
|
| + path_output_.WriteFile(out_, helper_.GetTargetOutputFile(datadeps[i].ptr));
|
| }
|
| out_ << std::endl;
|
| }
|
|
|