| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 199 |
| 199 # Internal stuff -------------------------------------------------------------- | 200 # Internal stuff -------------------------------------------------------------- |
| 200 | 201 |
| 201 # Config used by the MIDL template to disable warnings. | 202 # Config used by the MIDL template to disable warnings. |
| 202 config("midl_warnings") { | 203 config("midl_warnings") { |
| 203 if (is_clang) { | 204 if (is_clang) { |
| 204 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_". | 205 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_". |
| 205 cflags = [ "-Wno-extra-tokens" ] | 206 cflags = [ "-Wno-extra-tokens" ] |
| 206 } | 207 } |
| 207 } | 208 } |
| OLD | NEW |