| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 ['clang==1', { | 236 ['clang==1', { |
| 237 'xcode_settings': { | 237 'xcode_settings': { |
| 238 'WARNING_CFLAGS': [ | 238 'WARNING_CFLAGS': [ |
| 239 # libxml passes `const unsigned char*` through `const char*`. | 239 # libxml passes `const unsigned char*` through `const char*`. |
| 240 '-Wno-pointer-sign', | 240 '-Wno-pointer-sign', |
| 241 # pattern.c and uri.c both have an intentional | 241 # pattern.c and uri.c both have an intentional |
| 242 # `for (...);` / `while(...);` loop. I submitted a patch to | 242 # `for (...);` / `while(...);` loop. I submitted a patch to |
| 243 # move the `'` to its own line, but until that's landed | 243 # move the `'` to its own line, but until that's landed |
| 244 # suppress the warning: | 244 # suppress the warning: |
| 245 '-Wno-empty-body', | 245 '-Wno-empty-body', |
| 246 # debugXML.c compares array 'arg' to NULL. |
| 247 '-Wno-tautological-pointer-compare', |
| 246 ], | 248 ], |
| 247 }, | 249 }, |
| 248 'cflags': [ | 250 'cflags': [ |
| 249 '-Wno-pointer-sign', | 251 '-Wno-pointer-sign', |
| 250 '-Wno-empty-body', | 252 '-Wno-empty-body', |
| 253 '-Wno-tautological-pointer-compare', |
| 251 | 254 |
| 252 # See http://crbug.com/138571#c8 | 255 # See http://crbug.com/138571#c8 |
| 253 '-Wno-ignored-attributes', | 256 '-Wno-ignored-attributes', |
| 254 ], | 257 ], |
| 255 'msvs_settings': { | 258 'msvs_settings': { |
| 256 'VCCLCompilerTool': { | 259 'VCCLCompilerTool': { |
| 257 'AdditionalOptions': [ | 260 'AdditionalOptions': [ |
| 258 # VS2012's standard lib doesn't provide nan(). | 261 # VS2012's standard lib doesn't provide nan(). |
| 259 '/U__STDC_VERSION__', | 262 '/U__STDC_VERSION__', |
| 260 ], | 263 ], |
| 261 }, | 264 }, |
| 262 }, | 265 }, |
| 263 }], | 266 }], |
| 264 ], | 267 ], |
| 265 }], | 268 }], |
| 266 ], | 269 ], |
| 267 }, | 270 }, |
| 268 ], | 271 ], |
| 269 } | 272 } |
| OLD | NEW |