Add functionality to find xctest files under application target.

Previously, our generated Xcode project has the issue that Xcode couldn't find
our xctests. And to fix it, one must first find the list of xctest files
under each of the application targets and then associate them with the
corresponding xctest target.

This CL enables identifying application targets and also find the list of xctest
files (xctests.mm and egtest.mm) under them recursively.

BUG=614818

Review-Url: https://codereview.chromium.org/2574643002
Cr-Original-Commit-Position: refs/heads/master@{#441482}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 043a15ddcc6c864d6b68ba471c330b0bcdccbf0d
2 files changed
tree: f7c0d2c9b631105b74219a9ec0ca21a2af3d712d
  1. tools/