Skip to content

Instantly share code, notes, and snippets.

@hfeeki
Last active August 29, 2015 14:12
Show Gist options
  • Save hfeeki/d2bd1dc67c34be74c0e1 to your computer and use it in GitHub Desktop.
Save hfeeki/d2bd1dc67c34be74c0e1 to your computer and use it in GitHub Desktop.
Build webrtc for android on Ubuntu 14.04
# Installs the required dependencies on the machine
install_dependencies() {
sudo apt-get -y install wget git gnupg flex bison gperf build-essential zip curl subversion pkg-config
sudo apt-get -y install libxtst-dev libgnome-keyring-dev
#Download the latest script to install the android dependencies for ubuntu
curl -o install-build-deps-android.sh https://src.chromium.org/svn/trunk/src/build/install-build-deps-android.sh
#use bash (not dash which is default) to run the script
# it will install openjdk7
sudo /bin/bash ./install-build-deps-android.sh
#delete the file we just downloaded... not needed anymore
rm install-build-deps-android.sh
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment