Brief instructions
on compiling Chromium
Ubuntu 12.04+
git clone https://chromium.googlesource.com/
chromium/tools/depot_tools.git
export PATH="$PATH":`pwd`/depot_tools
git config --global user.name "Your Name"
git config --global user.email "yourname@gmail.com"
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
./build/install-build-deps.sh
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.
shitpoet@gmail.com