Chromium Code Reviews| 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 ['OS=="ios"', { | 8 ['OS=="ios"', { |
| 9 'exclude_nss_root_certs%': 0, | 9 'exclude_nss_root_certs%': 0, |
| 10 'exclude_nss_libpkix%': 0, | 10 'exclude_nss_libpkix%': 0, |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 246 }, | 246 }, |
| 247 # TODO(wtc): suppress C4244 and C4554 in prdtoa.c. | 247 # TODO(wtc): suppress C4244 and C4554 in prdtoa.c. |
| 248 'msvs_disabled_warnings': [4018, 4244, 4554, 4267,], | 248 'msvs_disabled_warnings': [4018, 4244, 4554, 4267,], |
| 249 'variables': { | 249 'variables': { |
| 250 'clang_warning_flags': [ | 250 'clang_warning_flags': [ |
| 251 # nspr passes "const char*" through "void*". | 251 # nspr passes "const char*" through "void*". |
| 252 '-Wno-incompatible-pointer-types', | 252 '-Wno-incompatible-pointer-types', |
| 253 # nspr passes "int*" through "unsigned int*". | 253 # nspr passes "int*" through "unsigned int*". |
| 254 '-Wno-pointer-sign', | 254 '-Wno-pointer-sign', |
| 255 ], | 255 ], |
| 256 'clang_warning_flags_unset': [ | |
| 257 # nspr uses assert(!"foo") instead of assert(false && "foo"). | |
|
wtc
2014/12/01 19:05:11
PR_ASSERT(!"foo") can be replaced with PR_NOT_REAC
| |
| 258 '-Wstring-conversion', | |
| 259 ], | |
| 256 }, | 260 }, |
| 257 'conditions': [ | 261 'conditions': [ |
| 258 ['OS=="mac" or OS=="ios"', { | 262 ['OS=="mac" or OS=="ios"', { |
| 259 'defines': [ | 263 'defines': [ |
| 260 'XP_UNIX', | 264 'XP_UNIX', |
| 261 'DARWIN', | 265 'DARWIN', |
| 262 'XP_MACOSX', | 266 'XP_MACOSX', |
| 263 '_PR_PTHREADS', | 267 '_PR_PTHREADS', |
| 264 'HAVE_BSD_FLOCK', | 268 'HAVE_BSD_FLOCK', |
| 265 'HAVE_CRT_EXTERNS_H', | 269 'HAVE_CRT_EXTERNS_H', |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1282 # mpi_x86_asm.c contains MSVC inline assembly code. | 1286 # mpi_x86_asm.c contains MSVC inline assembly code. |
| 1283 'nss/lib/freebl/mpi/mpi_x86_asm.c', | 1287 'nss/lib/freebl/mpi/mpi_x86_asm.c', |
| 1284 ], | 1288 ], |
| 1285 }], | 1289 }], |
| 1286 ], | 1290 ], |
| 1287 }, | 1291 }, |
| 1288 ], | 1292 ], |
| 1289 }], | 1293 }], |
| 1290 ], | 1294 ], |
| 1291 } | 1295 } |
| OLD | NEW |