Building Chromium on OS X
That’s my minimal scenario:
cd ~/bin git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/depot_tools:"$PATH" cd ~/opt mkdir chromium cd chromium/ ~/bin/depot_tools/fetch --nohooks --no-history chromium cd src git checkout master echo "{ 'GYP_DEFINES': 'OS=ios', 'GYP_GENERATOR_FLAGS': \ 'xcode_project_version=3.2', }" > chromium.gyp_env ~/bin/depot_tools/gclient sync tools/clang/scripts/update.sh GYP_DEFINES=clang=1 build/gyp_chromium ~/bin/depot_tools/ninja -C out/Debug chrome
Of course, you can find details here: http://dev.chromium.org/Home
As for the build process, it’s quite time consuming:
┌─[michalo@pi]───────[16:38:40] └─[~/opt/chromium/src] ~/bin/depot_tools/ninja -C out/Debug chrome ninja: Entering directory `out/Debug' [17146/17146] STAMP Chromium.app ┌─[michalo@pi]───────[19:42:04] └─[~/opt/chromium/src]
After it is finished, you should be able to open Chromium
open ./out/Debug/Chromium.app/
November 1st, 2014 in
main entries