| Index: tools/gn/ninja_target_writer.cc
|
| diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
|
| index a7bd6cc32e454d2bb75f0de1dea5b6757a42411d..d73c873271d0784a252be41dea5e7b866b6ff663 100644
|
| --- a/tools/gn/ninja_target_writer.cc
|
| +++ b/tools/gn/ninja_target_writer.cc
|
| @@ -102,12 +102,12 @@ std::string NinjaTargetWriter::GetSourcesImplicitDeps() const {
|
| }
|
|
|
| // Add on any direct deps marked as "hard".
|
| - const std::vector<const Target*>& deps = target_->deps();
|
| + const LabelTargetVector& deps = target_->deps();
|
| for (size_t i = 0; i < deps.size(); i++) {
|
| - if (deps[i]->hard_dep()) {
|
| + if (deps[i].ptr->hard_dep()) {
|
| has_files = true;
|
| ret << " ";
|
| - path_output_.WriteFile(ret, helper_.GetTargetOutputFile(deps[i]));
|
| + path_output_.WriteFile(ret, helper_.GetTargetOutputFile(deps[i].ptr));
|
| }
|
| }
|
|
|
|
|