Build Notes
To build the native code, be sure to install the prerequisite software (follow the links):
Note: You don't have to install the Depot Tools, the build script will do that for you.
| OS | Build Instructions |
|---|---|
| Linux | Ubuntu, other distros |
| macOS | Xcode 9 or higher |
| Windows | Visual Studio |
Assuming you have all the prerequisites installed for your OS, run:
shell
mvn installOn the first run, the WebRTC source tree will be loaded into the /<user home>/webrtc directory. This will take a while and require about 20 GB of disk space.
Build Parameters
| Parameter | Description | Default Value |
|---|---|---|
| webrtc.branch | The WebRTC branch to checkout. | branch-heads/7339 |
| webrtc.src.dir | The absolute checkout path for the WebRTC source tree. | /<user_home>/webrtc |
| webrtc.install.dir | The install path for the compiled WebRTC library. Is also used to link against a pre-compiled WebRTC library to reduce build time. | /<user_home>/webrtc/build |
