OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//native_client/build/config/win/visual_studio_version.gni") | 5 import("//native_client/build/config/win/visual_studio_version.gni") |
6 | 6 |
7 # Compiler setup for the Windows SDK. Applied to all targets. | 7 # Compiler setup for the Windows SDK. Applied to all targets. |
8 config("sdk") { | 8 config("sdk") { |
9 # The include path is the stuff returned by the script. | 9 # The include path is the stuff returned by the script. |
10 #include_dirs = msvc_config[0] TODO(brettw) make this work. | 10 #include_dirs = msvc_config[0] TODO(brettw) make this work. |
11 | 11 |
12 defines = [ | 12 defines = [ |
13 "_ATL_NO_OPENGL", | 13 "_ATL_NO_OPENGL", |
14 "_WIN32_WINNT=0x0602", | 14 "_WIN32_WINNT=0x0603", |
15 "_WINDOWS", | 15 "_WINDOWS", |
16 "CERT_CHAIN_PARA_HAS_EXTRA_FIELDS", | 16 "CERT_CHAIN_PARA_HAS_EXTRA_FIELDS", |
17 "NTDDI_VERSION=0x06020000", | 17 "NTDDI_VERSION=0x06020000", |
Nick Bray (chromium)
2014/11/14 23:47:03
This too?
scottmg
2014/11/14 23:56:19
:( Done.
| |
18 "PSAPI_VERSION=1", | 18 "PSAPI_VERSION=1", |
19 "WIN32", | 19 "WIN32", |
20 "WINVER=0x0602", | 20 "WINVER=0x0603", |
21 ] | 21 ] |
22 | 22 |
23 # The Windows SDK include directories must be first. They both have a sal.h, | 23 # The Windows SDK include directories must be first. They both have a sal.h, |
24 # and the SDK one is newer and the SDK uses some newer features from it not | 24 # and the SDK one is newer and the SDK uses some newer features from it not |
25 # present in the Visual Studio one. | 25 # present in the Visual Studio one. |
26 include_dirs = [ | 26 include_dirs = [ |
27 "$windows_sdk_path\Include\shared", | 27 "$windows_sdk_path\Include\shared", |
28 "$windows_sdk_path\Include\um", | 28 "$windows_sdk_path\Include\um", |
29 "$windows_sdk_path\Include\winrt", | 29 "$windows_sdk_path\Include\winrt", |
30 "$visual_studio_path\VC\include", | 30 "$visual_studio_path\VC\include", |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
166 | 166 |
167 # Some third party code defines NOMINMAX before including windows.h, which | 167 # Some third party code defines NOMINMAX before including windows.h, which |
168 # then causes warnings when it's been previously defined on the command line. | 168 # then causes warnings when it's been previously defined on the command line. |
169 # For such targets, this config can be removed. | 169 # For such targets, this config can be removed. |
170 | 170 |
171 config("nominmax") { | 171 config("nominmax") { |
172 defines = [ | 172 defines = [ |
173 "NOMINMAX", | 173 "NOMINMAX", |
174 ] | 174 ] |
175 } | 175 } |
OLD | NEW |