Fix an issue in `gn analyze` when building all.

If you ran `gn analyze` on a list of files that changed a build file,
the list of compile targets and output targets should've been returned
unchanged, but if the additional_compile_targets input included "all", the
returned list was left empty.

R=brettw@chromium.org
BUG=648532

Review-Url: https://codereview.chromium.org/2350963006
Cr-Original-Commit-Position: refs/heads/master@{#419866}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 385a310b530199122f9781ead9410afe09b9c8d2
2 files changed
tree: 4b9f8ec464cd44ac5d7dbccf66f8716cd03c9dd0
  1. tools/