| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 # Define an "os_include" variable that points at the OS-specific generated | 8 # Define an "os_include" variable that points at the OS-specific generated |
| 9 # headers. These were generated by running the configure script offline. | 9 # headers. These were generated by running the configure script offline. |
| 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { | 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 ['OS=="win"', { | 241 ['OS=="win"', { |
| 242 'product_name': 'libxml2', | 242 'product_name': 'libxml2', |
| 243 # Disable unimportant 'unused variable' warning, and | 243 # Disable unimportant 'unused variable' warning, and |
| 244 # signed/unsigned comparison warning. The signed/unsigned (4101) | 244 # signed/unsigned comparison warning. The signed/unsigned (4101) |
| 245 # is fixed upstream and can be removed eventually. | 245 # is fixed upstream and can be removed eventually. |
| 246 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 246 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 247 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], | 247 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], |
| 248 }, { # else: OS!="win" | 248 }, { # else: OS!="win" |
| 249 'product_name': 'xml2', | 249 'product_name': 'xml2', |
| 250 }], | 250 }], |
| 251 ['clang==1', { | |
| 252 'msvs_settings': { | |
| 253 'VCCLCompilerTool': { | |
| 254 'AdditionalOptions': [ | |
| 255 # VS2012's standard lib doesn't provide nan(). | |
| 256 '/U__STDC_VERSION__', | |
| 257 ], | |
| 258 }, | |
| 259 }, | |
| 260 }], | |
| 261 ], | 251 ], |
| 262 }], | 252 }], |
| 263 ], | 253 ], |
| 264 }, | 254 }, |
| 265 ], | 255 ], |
| 266 } | 256 } |
| OLD | NEW |