Minor fixes to tools/gn.

Fix incorrect array indexing in EnsureValidSourcesSubstitutions when
reporting an invalid substitution usage (the code was using the index
in another array to index in kSubstitutionNames).

Remove declaration of CopyTargetGenerator::FillDestDir as the method
is not implemented.

Fix some typos in comments and in the name of IsValidToolSubstitution
(was spelled out IsValidToolSubst*u*t*i*tion).

BUG=297668

Review URL: https://codereview.chromium.org/1750283003

Cr-Original-Commit-Position: refs/heads/master@{#379256}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1d65269209951e2e784682b47087d04e93a44bf
9 files changed
tree: 5dab1cab2f244e92bcca42731a87efcc481241dc
  1. tools/