Factor out function to find Xcode from find_xcode.py
Factor out function to find Xcode from find_xcode.py

Previously, main would find Xcode and write the JSON summary file, now there is a separate function to find Xcode which main invokes before writing the JSON summary.

R=baxley@chromium.org

Review URL: https://codereview.chromium.org/873423006

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@293958 0039d316-1c4b-4281-b951-d872f2087c98

eunchong/build,eunchong/build,eunchong/build,eunchong/build