Fix generation of target in Xcode project when using output_name.

Target generating an application bundle whose name is different from
the target name needs to set productName and PRODUCT_NAME to the base
name of the application bundle (without .app) and set the name to the
target name otherwise Xcode refuses to launch the application.

BUG=297668

Review-Url: https://codereview.chromium.org/2005483002
Cr-Original-Commit-Position: refs/heads/master@{#395143}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4db57d47a591423e7ecaf1bc965d35f094250e35
4 files changed
tree: c58da21cc668e5a4e942e777615f6d852db83abc
  1. tools/