Commit c1ebf5bd by Jamie Madill Committed by Commit Bot

Roll gyp and use Windows 10 SDK by default.

We want to require use of the Windows 10 SDK in ANGLE - Chrome already uses a newer SDK. A new gyp feature added by munyirik@microsoft.com allows us to use the latest Win 10 SDK installed on the system, irrespective of the minor version number. Also update the docs. BUG=angleproject:1943 Change-Id: Iaafbba858fb7565ab09672eadc403dbb8abab3dd Reviewed-on: https://chromium-review.googlesource.com/458516 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 95f6cedd
...@@ -25,7 +25,7 @@ deps = { ...@@ -25,7 +25,7 @@ deps = {
Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '1e275c8486325aaab34734ad9a650c0121c5efdb', Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '1e275c8486325aaab34734ad9a650c0121c5efdb',
'third_party/gyp': 'third_party/gyp':
Var('chromium_git') + '/external/gyp' + '@' + '81c2e5ff92af29bab61c982808076ddce3d200a2', Var('chromium_git') + '/external/gyp' + '@' + 'aae1e3efb50786df20e9572621fb746865f0df53',
'third_party/libpng': 'third_party/libpng':
Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c', Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c',
......
...@@ -15,10 +15,12 @@ On all platforms: ...@@ -15,10 +15,12 @@ On all platforms:
On Windows: On Windows:
* [Visual Studio Community 2015 Update 2](http://www.visualstudio.com/downloads/download-visual-studio-vs) * [Visual Studio Community 2015 Update 3](https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs)
Required to build ANGLE on Windows and for the packaged Windows 8.1 SDK. * Required to build ANGLE on Windows and for the packaged Windows 10 SDK. Note: Chrome is in the process of upgrading to Visual Studio 2017. ANGLE will switch over once Chrome does.
* [Windows 10 Standalone SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) (recommended)
* Not required to build, but comes with additional features that aid ANGLE development, such as the Debug runtime for D3D11.
* [Cygwin's Bison, flex, and patch](https://cygwin.com/setup-x86_64.exe) (optional) * [Cygwin's Bison, flex, and patch](https://cygwin.com/setup-x86_64.exe) (optional)
This is only required if you need to modify GLSL ES grammar files (`glslang.l` and `glslang.y` under `src/compiler/translator`, or `ExpressionParser.y` and `Tokenizer.l` in `src/compiler/preprocessor`). * This is only required if you need to modify GLSL ES grammar files (`glslang.l` and `glslang.y` under `src/compiler/translator`, or `ExpressionParser.y` and `Tokenizer.l` in `src/compiler/preprocessor`).
Use the latest versions of bison, flex and patch from the 64-bit cygwin distribution. Use the latest versions of bison, flex and patch from the 64-bit cygwin distribution.
On Linux: On Linux:
...@@ -38,7 +40,6 @@ Set the following environment variables as needed: ...@@ -38,7 +40,6 @@ Set the following environment variables as needed:
On Windows: On Windows:
* `GYP_GENERATORS` to `msvs` (other options include `ninja` and `make`) * `GYP_GENERATORS` to `msvs` (other options include `ninja` and `make`)
* `GYP_DEFINES` to `windows_sdk_path=YOUR_WIN_SDK_INSTALL_DIR` if you did not install the Windows 8.1 SDK in the default location.
* `GYP_MSVS_VERSION` to `2015` * `GYP_MSVS_VERSION` to `2015`
On Linux and MacOS: On Linux and MacOS:
......
...@@ -80,6 +80,8 @@ ...@@ -80,6 +80,8 @@
'Common_Base': 'Common_Base':
{ {
'abstract': 1, 'abstract': 1,
# Require the version of the Windows 10 SDK installed on the local machine.
'msvs_windows_sdk_version': 'v10.0',
'msvs_configuration_attributes': 'msvs_configuration_attributes':
{ {
'OutputDirectory': '$(SolutionDir)$(ConfigurationName)_$(Platform)', 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)_$(Platform)',
......
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