Associate xctest files with corresponding xctest targets.

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

This CL associates xctest files with xctest targets and because our compilation
is done via ninja, it also adds '-help' as per file compiler flags to each
xctest file reference to prevent Xcode from trying to compile the xctest files.

BUG=614818

Review-Url: https://codereview.chromium.org/2616773003
Cr-Original-Commit-Position: refs/heads/master@{#442120}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ce240b3ecb8ff7d7b902f2ccdf361411915610a
3 files changed
tree: 4de1e16070e897afef30fc2c0a88c780cd0be63c
  1. tools/