Skip to content

Instantly share code, notes, and snippets.

@nasser
Last active January 2, 2016 23:18
Show Gist options
  • Save nasser/b8fbd3bfff85dcc6a12f to your computer and use it in GitHub Desktop.
Save nasser/b8fbd3bfff85dcc6a12f to your computer and use it in GitHub Desktop.
#! /bin/sh
#### NOT CONFIRMED WORKING YET ####
# on fresh ubuntu 14.04
sudo apt-get install build-essential
sudo apt-get install gcc-arm-linux-gnueabihf g++-4.8-multilib-arm-linux-gnueabihf
apt-get install pkgconfig
sudo apt-get install git # do we need this?
# get depot tools http://www.chromium.org/developers/how-tos/install-depot-tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:"$PATH"
# get shallow source http://www.chromium.org/developers/how-tos/get-the-code
fetch --no-history chromium --nosvn=True
cd src
git checkout master
# if you are building for Linux only:
./build/install-build-deps.sh --arm
./build/linux/install-arm-sysroot.py
gclient sync
# ./src/build/install-build-deps.sh --arm
# apt-get install libtinfo-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment