Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.
sukinull edited this page Oct 22, 2015 · 8 revisions

Package dependency

  1. Groups
Development Tools 
  1. Packages
subversion
pkg-config
java-1.7.0-openjdk-devel
expat-devel
gtk2-devel
nss-devel
openssl-devel
pulseaudio-libs-devel
systemd-devel

EPEL 7 Only, (CentOS 7, Scientific Linux 7, RedHat 7)

  1. Download latest depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
  1. Add depot_tools folder to your environmental variables PATH
export PATH=$HOME/Build/depot_tools:$PATH
export JAVA_HOME=/usr/lib/jvm/java-1.8.0
export GYP_DEFINES="use_openssl=1"
  1. (Optional) For 32-bit compilation set target_arch *1
export GYP_DEFINES="$GYP_DEFINES target_arch=ia32"
  1. fetch webrtc, source *1 shows 3.52 is most stable(?)
mkdir webrtc-checkout
cd webrtc-checkout
fetch webrtc
  1. Download libwebrtc and dependencies
gclient sync --force
gclient sync --force

Build

  1. Very straightforward
gclient runhooks --force
ninja -C out/Debug
ninja -C out/Release

If you don't need Video and Audio(TODO)


Notes

*1) Is not tested. Source is here Building the code for Linux

Build the code

gclient

Clone this wiki locally