Links:
- Chromium SVN Credentials
- Chromium Git Setup
- Mac build instructions
- Setting up Ninja
- Some things in the faster Linux builds page apply to the Mac too (disable NaCl, use shared libraries)
Recipe:
- Visit Chromium Access and get credentials.
- Run
svn ls --username mihaip@chromium.org svn://svn.chromium.org/chrome/trunk/srcandsvn ls --username mihaip@chromium.org svn://svn.chromium.org/blink/trunkto verify said credentials. cd ~/Developer/tools/svn co http://src.chromium.org/chrome/trunk/tools/depot_toolscd ../sourcemkdir chromium- add
~/Developer/source/chromiumto the list of paths that Spotlight excludes cd chromiumfetch blinkcd srcrm -rf out/Debugexport GYP_GENERATORS="ninja"export GYP_DEFINES="component=shared_library disable_nacl=1"./build/gyp_chromiumninja -C out/Debug chrome
Updating:
cd ~/Developer/source/chromium/srcgit pull --rebase origin masterexport GYP_GENERATORS="ninja"export GYP_DEFINES="component=shared_library disable_nacl=1"gclient syncninja -C out/Debug chrome