1# WebRTC development - Prerequisite software
2
3## Depot Tools
4
51. [Install the Chromium depot tools][depot-tools].
6
72. On Windows, depot tools will download a special version of Git during your
8first `gclient sync`. On Mac and Linux, you'll need to install [Git][git] by
9yourself.
10
11## Linux (Ubuntu/Debian)
12
13A script is provided for Ubuntu, which is unfortunately only available after
14your first gclient sync:
15
16```
17$ ./build/install-build-deps.sh
18```
19
20Most of the libraries installed with this script are not needed since we now
21build using Debian sysroot images in build/linux, but there are still some tools
22needed for the build that are installed with
23[install-build-deps.sh][install-build-deps].
24
25You may also want to have a look at the [Chromium Linux Build
26instructions][chromium-linux-build-instructions] if you experience any other problems building.
27
28## Windows
29
30Follow the [Chromium's build instructions for Windows][chromium-win-build-instructions].
31
32WebRTC requires Visual Studio 2017 to be used. If you only have version 2015
33available, you might be able to keep using it for some time by setting
34`GYP_MSVS_VERSION=2015` in your environment. Keep in mind that this is not a
35suppported configuration however.
36
37## macOS
38
39Xcode 9 or higher is required. Latest Xcode is recommended to be able to build
40all code.
41
42## Android
43
44You'll need a Linux development machine. WebRTC is using the same Android
45toolchain as Chrome (downloaded into `third_party/android_tools`) so you won't
46need to install the NDK/SDK separately.
47
481. Install Java OpenJDK as described in the
49[Chromium Android prerequisites][chromium-android-build-build-instructions]
502. All set! If you don't run Ubuntu, you may want to have a look at
51[Chromium's Linux prerequisites][chromium-linux-prerequisites] for distro-specific details.
52
53
54[depot-tools]: https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
55[git]: http://git-scm.com
56[install-build-deps]: https://cs.chromium.org/chromium/src/build/install-build-deps.sh
57[chromium-linux-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md
58[chromium-win-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
59[chromium-linux-prerequisites]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#notes
60[chromium-android-build-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md
61