Skip to content

Instantly share code, notes, and snippets.



Created Aug 27, 2015
What would you like to do?
compiling chromium on ubuntu notes
# I used a computer with 8 cores, 16gb ram and 8gb SSD swap
# Assumes user is named admin and you clone stuff to /home/admin
sudo apt-get update
sudo apt-get install -y build-essential git
vim /etc/apt/sources.list
# uncomment multiverse lines, save
sudo apt-get update
git clone
# add to .bash_profile:
# export PATH=$PATH:/home/admin/depot_tools
tar xzvf gsutil.tar.gz
# export PATH=$PATH:/home/admin/gsutil
gsutil configure
# enter 134157665460 as project id
fetch --nohooks --no-history chromium
export BOARD=amd64-generic
cros chrome-sdk --board=$BOARD --nogoma
cd src && ./build/
gclient sync
gclient runhooks
ninja -C out_${SDK_BOARD}/Release -j7 chrome chrome_sandbox nacl_helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment