leetal / webrtcbuild

Build a static mega-lib of webrtc for a multitude of platforms (UNIX, Windows, OS X. Including iOS and Android)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webrtcbuilds

The goal of webrtcbuilds is to provide a single standalone static library and package for WebRTC.

Current Platforms and Prerequisites

How to run

./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.

Where is the package

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.

Documentation

Wiki: https://github.com/vsimon/webrtcbuilds/wiki

Mailing List: http://groups.google.com/group/webrtcbuilds

About

Build a static mega-lib of webrtc for a multitude of platforms (UNIX, Windows, OS X. Including iOS and Android)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 96.8%Language:C++ 3.2%