| 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("//build/config/compiler/compiler.gni") |
| 5 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 6 import("//build/config/win/visual_studio_version.gni") | 7 import("//build/config/win/visual_studio_version.gni") |
| 7 | 8 |
| 8 # Compiler setup for the Windows SDK. Applied to all targets. | 9 # Compiler setup for the Windows SDK. Applied to all targets. |
| 9 config("sdk") { | 10 config("sdk") { |
| 10 # The include path is the stuff returned by the script. | 11 # The include path is the stuff returned by the script. |
| 11 #include_dirs = msvc_config[0] TODO(brettw) make this work. | 12 #include_dirs = msvc_config[0] TODO(brettw) make this work. |
| 12 | 13 |
| 13 defines = [ | 14 defines = [ |
| 14 "_ATL_NO_OPENGL", | 15 "_ATL_NO_OPENGL", |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 config("target_winrt") { | 189 config("target_winrt") { |
| 189 defines = [ | 190 defines = [ |
| 190 "WINRT", | 191 "WINRT", |
| 191 "WINAPI_FAMILY=WINAPI_FAMILY_PC_APP", | 192 "WINAPI_FAMILY=WINAPI_FAMILY_PC_APP", |
| 192 ] | 193 ] |
| 193 cflags_cc = [ | 194 cflags_cc = [ |
| 194 "/ZW", | 195 "/ZW", |
| 195 "/EHsc", | 196 "/EHsc", |
| 196 ] | 197 ] |
| 197 } | 198 } |
| OLD | NEW |