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/src
andsvn ls --username mihaip@chromium.org svn://svn.chromium.org/blink/trunk
to verify said credentials. cd ~/Developer/tools/
svn co http://src.chromium.org/chrome/trunk/tools/depot_tools
cd ../source
mkdir chromium
- add
~/Developer/source/chromium
to the list of paths that Spotlight excludes cd chromium
fetch blink
cd src
rm -rf out/Debug
export GYP_GENERATORS="ninja"
export GYP_DEFINES="component=shared_library disable_nacl=1"
./build/gyp_chromium
ninja -C out/Debug chrome
Updating:
cd ~/Developer/source/chromium/src
git pull --rebase origin master
export GYP_GENERATORS="ninja"
export GYP_DEFINES="component=shared_library disable_nacl=1"
gclient sync
ninja -C out/Debug chrome