| Index: tools/gn/target.cc
|
| diff --git a/tools/gn/target.cc b/tools/gn/target.cc
|
| index 85955a7168fb371ffea80321bcf8c6c777d4e597..27d91ec80bf47068203234cf6f0344b910263167 100644
|
| --- a/tools/gn/target.cc
|
| +++ b/tools/gn/target.cc
|
| @@ -128,7 +128,7 @@ bool EnsureFileIsGeneratedByDependency(const Target* target,
|
| return true; // Found a path.
|
| }
|
| if (target->output_type() == Target::CREATE_BUNDLE) {
|
| - for (const auto& dep : target->bundle_data().bundle_deps()) {
|
| + for (auto* dep : target->bundle_data().bundle_deps()) {
|
| if (EnsureFileIsGeneratedByDependency(dep, file, false,
|
| consider_object_files,
|
| check_data_deps, seen_targets))
|
| @@ -524,7 +524,7 @@ void Target::PullRecursiveBundleData() {
|
| bundle_data_.AddBundleData(pair.ptr);
|
|
|
| // Recursive bundle_data informations from all dependencies.
|
| - for (const auto& target : pair.ptr->bundle_data().bundle_deps())
|
| + for (auto* target : pair.ptr->bundle_data().bundle_deps())
|
| bundle_data_.AddBundleData(target);
|
| }
|
|
|
|
|