You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# WebRTC development - Prerequisite software
## Depot Tools
1. [Install the Chromium depot tools][depot-tools].
2. On Windows, depot tools will download a special version of Git during yourfirst `gclient sync`. On Mac and Linux, you'll need to install [Git][git] byyourself.
## Linux (Ubuntu/Debian)
A script is provided for Ubuntu, which is unfortunately only available afteryour first gclient sync:
```$ ./build/install-build-deps.sh```
Most of the libraries installed with this script are not needed since we nowbuild using Debian sysroot images in build/linux, but there are still some toolsneeded for the build that are installed with[install-build-deps.sh][install-build-deps].
You may also want to have a look at the [Chromium Linux Buildinstructions][chromium-linux-build-instructions] if you experience any other problems building.
## Windows
Follow the [Chromium's build instructions for Windows][chromium-win-build-instructions].
WebRTC requires Visual Studio 2017 to be used. If you only have version 2015available, you might be able to keep using it for some time by setting`GYP_MSVS_VERSION=2015` in your environment. Keep in mind that this is not asuppported configuration however.
## macOS
Xcode 9 or higher is required. Latest Xcode is recommended to be able to buildall code.
## Android
You'll need a Linux development machine. WebRTC is using the same Androidtoolchain as Chrome (downloaded into `third_party/android_tools`) so you won'tneed to install the NDK/SDK separately.
1. Install Java OpenJDK as described in the[Chromium Android prerequisites][chromium-android-build-build-instructions]2. All set! If you don't run Ubuntu, you may want to have a look at[Chromium's Linux prerequisites][chromium-linux-prerequisites] for distro-specific details.
[depot-tools]: http://dev.chromium.org/developers/how-tos/install-depot-tools[git]: http://git-scm.com[install-build-deps]: https://cs.chromium.org/chromium/src/build/install-build-deps.sh[chromium-linux-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md[chromium-win-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md[chromium-linux-prerequisites]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md#Install[chromium-android-build-build-instructions]: https://www.chromium.org/developers/how-tos/android-build-instructions
|