Last active
August 29, 2015 14:12
-
-
Save hfeeki/d2bd1dc67c34be74c0e1 to your computer and use it in GitHub Desktop.
Build webrtc for android on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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