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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 ], | 253 ], |
254 }, | 254 }, |
255 }], | 255 }], |
256 # http://www.xmlsoft.org/threads.html says that this is required | 256 # http://www.xmlsoft.org/threads.html says that this is required |
257 # when using libxml from several threads, which can possibly happen | 257 # when using libxml from several threads, which can possibly happen |
258 # in chrome. On linux, this is picked up by transitivity from | 258 # in chrome. On linux, this is picked up by transitivity from |
259 # pkg-config output from build/linux/system.gyp. | 259 # pkg-config output from build/linux/system.gyp. |
260 ['OS=="mac" or OS=="android"', {'defines': ['_REENTRANT']}], | 260 ['OS=="mac" or OS=="android"', {'defines': ['_REENTRANT']}], |
261 ['OS=="win"', { | 261 ['OS=="win"', { |
262 'product_name': 'libxml2', | 262 'product_name': 'libxml2', |
263 # Disable unimportant 'unused variable' warning, and | 263 # Disable unimportant 'unused variable' warning. |
264 # signed/unsigned comparison warning. The signed/unsigned (4101) | |
265 # is fixed upstream and can be removed eventually. | |
266 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 264 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
267 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], | 265 # TODO(brucedawson): http://crbug.com/554200 fix C4311 warnings |
| 266 # C4311 is a VS 2015 64-bit warning for pointer truncation |
| 267 'msvs_disabled_warnings': [ 4018, 4267, 4311, ], |
268 }, { # else: OS!="win" | 268 }, { # else: OS!="win" |
269 'product_name': 'xml2', | 269 'product_name': 'xml2', |
270 }], | 270 }], |
271 ], | 271 ], |
272 }], | 272 }], |
273 ['OS == "ios"', { | 273 ['OS == "ios"', { |
274 'toolsets': ['host', 'target'], | 274 'toolsets': ['host', 'target'], |
275 }], | 275 }], |
276 ], | 276 ], |
277 }, | 277 }, |
278 ], | 278 ], |
279 } | 279 } |
OLD | NEW |