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 196 matching lines...) Loading... |
207 # `for (...);` / `while(...);` loop. I submitted a patch to | 207 # `for (...);` / `while(...);` loop. I submitted a patch to |
208 # move the `'` to its own line, but until that's landed | 208 # move the `'` to its own line, but until that's landed |
209 # suppress the warning: | 209 # suppress the warning: |
210 '-Wno-empty-body', | 210 '-Wno-empty-body', |
211 # debugXML.c compares array 'arg' to NULL. | 211 # debugXML.c compares array 'arg' to NULL. |
212 '-Wno-tautological-pointer-compare', | 212 '-Wno-tautological-pointer-compare', |
213 # See http://crbug.com/138571#c8 | 213 # See http://crbug.com/138571#c8 |
214 '-Wno-ignored-attributes', | 214 '-Wno-ignored-attributes', |
215 # libxml casts from int to long to void*. | 215 # libxml casts from int to long to void*. |
216 '-Wno-int-to-void-pointer-cast', | 216 '-Wno-int-to-void-pointer-cast', |
| 217 # libxml passes a volatile LPCRITICAL_SECTION* to a function |
| 218 # expecting a void* volatile*. |
| 219 '-Wno-incompatible-pointer-types', |
217 ], | 220 ], |
218 }, | 221 }, |
219 'include_dirs': [ | 222 'include_dirs': [ |
220 '<(os_include)', | 223 '<(os_include)', |
221 '<(os_include)/include', | 224 '<(os_include)/include', |
222 'src/include', | 225 'src/include', |
223 ], | 226 ], |
224 'dependencies': [ | 227 'dependencies': [ |
225 '../icu/icu.gyp:icuuc', | 228 '../icu/icu.gyp:icuuc', |
226 '../zlib/zlib.gyp:zlib', | 229 '../zlib/zlib.gyp:zlib', |
(...skipping 37 matching lines...) Loading... |
264 }], | 267 }], |
265 ], | 268 ], |
266 }], | 269 }], |
267 ['OS == "ios"', { | 270 ['OS == "ios"', { |
268 'toolsets': ['host', 'target'], | 271 'toolsets': ['host', 'target'], |
269 }], | 272 }], |
270 ], | 273 ], |
271 }, | 274 }, |
272 ], | 275 ], |
273 } | 276 } |
OLD | NEW |