Brief instructions
on compiling Chromium

Ubuntu 12.04+

git clone
export PATH="$PATH":`pwd`/depot_tools
git config --global "Your Name"
git config --global ""
git config --global core.autocrlf false
git config --global core.filemode false
git config --global branch.autosetuprebase always
fetch --nohooks chromium --nosvn=True
cd src
git checkout master
gclient sync
build/gyp_chromium -D component=shared_library
build/gyp_chromium -D remove_webcore_debug_symbols=1
ninja -C out/Release chrome -j4

After all this chrome will not work requiring SUID sandbox. To workaround this run ./chrome --disable-setuid-sandbox, the normal solution is here.

For static compilation skip build/gyp_chromium -D component=shared_library command. Note that the compilation of chrome requires more than 20 Gb of disk space and up to 8 Gb of virtual memory plus hours of processing time.

These instructions are based on official manual.



free hit counters