The goal of webrtcbuilds is to provide a single standalone static library and package for WebRTC.
- OSX (highly recommend Homebrew is installed)
- Windows (highly recommend [Visual Studio Community 2013] (https://www.chromium.org/developers/how-tos/build-instructions-windows) at least and a Bash shell such as Git for Windows is installed)
- Linux (tested on Ubuntu 16.04 64-bit)
./build.sh
to build the latest version of WebRTC.
Or with options.
Usage:
./build.sh [OPTIONS]
WebRTC build script.
OPTIONS:
-h Show this message
-d Build debug version of WebRTC.
-p Package for release.
-o OUTDIR Output directory. Default is 'out'
-b BRANCH Latest revision on git branch. Overrides -r. Common branch names are 'branch-heads/nn', where 'nn' is the release number.
-r REVISION Git SHA revision. Default is latest revision.
-t TARGET OS The target os for cross-compilation. Default is the host OS such as 'linux', 'mac', 'win'. Other values can be 'android', 'ios'.
-c TARGET CPU The target cpu for cross-compilation. Default is 'x64'. Other values can be 'x86', 'arm64', 'arm'.
-l BLACKLIST Blacklisted *.o objects to exclude from the static library.
-e Compile WebRTC with RTTI enabled.
-n Compile WebRTC with Bitcode enabled (iOS/OS X only).
-s Skip building.
-z Zip the output.
out/webrtcbuilds-<rev>-<sha>-<target-os>-<target-cpu>.zip
where <rev>
is the revision number of the commit, <sha>
is the short git SHA
of the commit, and <target-os>-<target-cpu>
is the OS (linux, mac, win) and
CPU (x64, x86) of the target environment.
Wiki: https://github.com/vsimon/webrtcbuilds/wiki
Mailing List: https://groups.google.com/group/webrtcbuilds