[GN] Use basename for PRODUCT_NAME in Xcode project.

Per Xcode's build settings documentation:
Product Name (PRODUCT_NAME)
This is the basename of the product generated by the target.

The original code uses full path as the PRODUCT_NAME, so this CL
changes it to use only the basename.

Bug: 
Change-Id: Idee0603a7d032866057f9a73c15f153a13ea97bd
Reviewed-on: https://chromium-review.googlesource.com/746945
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#513514}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d849d4ce22ab76ade95c8215d71857e789d0150
1 file changed
tree: 2f54a0b30963e96590491bf0a46a764423c75755
  1. tools/