Fix generation of Xcode project.

Issue https://codereview.chromium.org/2005483002 changed the code to
use FindExtension() instead of base::FilePath::Extension() but did
not accomodate for the fact that the extension is now returned without
the leading dot.

Fix this by changed all the extension values used for comparison to
not include the leading dot either. This restore the source indexation
when opening the project with Xcode.

BUG=297668

Review-Url: https://codereview.chromium.org/2046373002
Cr-Original-Commit-Position: refs/heads/master@{#398584}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 63a623cc29066ad0e3c4974851c2e8a56a012f7a
1 file changed
tree: 66a5c4ef6472499c568bd5f81631a4af12ff06fc
  1. tools/