This is what I did on an iMac to get and build Chrome:
- get the "depot" tools from here (per http://www.chromium.org/developers/how-tos/install-depot-tools):
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$PATH":
`pwd`/depot_tools- get the Chrome git repo (per http://www.chromium.org/developers/how-tos/get-the-code):
- gclient config --git-deps https://chromium.googlesource.com/chromium/src.git
- sync up with the source code
- gclient sync
- wait a while for everything to download. Wait some more. Go to StarBucks at Kroger. Come back. Go to Kroger again and get lunch. Eat lunch. Still downloading... but finally it downloads and you can...
- Build Chrome (per https://code.google.com/p/chromium/wiki/MacBuildInstructions) - they say you can do it with XCode, but it will bring XCode "to its knees" - and the section on using the XCode UI starts with "If you must use Xcode...". Anyway:
- run this from within the (finally) downloaded src directory for chrome:
- GYP_DEFINES=clang=1 build/gyp_chromium
- do the build (it took about 2 hours to build on this older machine)
- ninja -C out/Debug chrome
- Run Chrome
- From the Finder, click on src/out/Debug/Chromium.app
No comments:
Post a Comment