Commit a9415a85 by Jamie Madill Committed by Commit Bot

Update DevSetup.

We no longer require a specific version of the Windows SDK. Also include updated instructions on how to setup Goma. Bug: angleproject:1944 Change-Id: I5f9e714ebd69ba04eddc1b1fc2f95d1fde67a47f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2522419Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 940dc786
...@@ -18,10 +18,10 @@ On all platforms: ...@@ -18,10 +18,10 @@ On all platforms:
On Windows: On Windows:
* ***IMPORTANT: Set `DEPOT_TOOLS_WIN_TOOLCHAIN=0` in your environment if you are not a Googler.*** * ***IMPORTANT: Set `DEPOT_TOOLS_WIN_TOOLCHAIN=0` in your environment if you are not a Googler.***
* [Visual Studio Community 2019](https://visualstudio.microsoft.com/vs/) * Install [Visual Studio Community 2019](https://visualstudio.microsoft.com/vs/)
* [Windows 10 Standalone SDK version 10.0.17134 exactly](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk). * Install the [Windows 10 SDK, latest version](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk).
* You should install it through Visual Studio Installer if available. * You can install it through Visual Studio Installer if available.
* Comes with additional features that aid development, such as the Debug runtime for D3D11. Required for the D3D Compiler DLL. * Required for GN-generated Visual Studio projects, the Debug runtime for D3D11, and the D3D Compiler DLL.
* (optional) See the [Chromium Windows build instructions](https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md) for more info. * (optional) See the [Chromium Windows build instructions](https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md) for more info.
On Linux: On Linux:
...@@ -79,7 +79,25 @@ Ninja automatically calls GN to regenerate the build files on any configuration ...@@ -79,7 +79,25 @@ Ninja automatically calls GN to regenerate the build files on any configuration
Ensure `depot_tools` is in your path as it provides ninja. Ensure `depot_tools` is in your path as it provides ninja.
### Building with Visual Studio ### Building with Goma (Google employees only)
In addition, Google employees should use goma, a distributed compilation
system. Detailed information is available internally but the relevant gn arg
is:
```
use_goma = true
```
To get any benefit from goma it is important to pass a large -j value to
ninja. A good default is 10*numCores to 20*numCores. If you run autoninja then
it will automatically pass an appropriate -j value to ninja for goma or not.
```
$ autoninja -C out\Debug
```
### Building and Debugging with Visual Studio
To generate the Visual Studio solution in `out/Debug/angle-debug.sln`: To generate the Visual Studio solution in `out/Debug/angle-debug.sln`:
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment