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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 'defines': [ | 238 'defines': [ |
| 239 'NO_NSPR_10_SUPPORT', | 239 'NO_NSPR_10_SUPPORT', |
| 240 ], | 240 ], |
| 241 'include_dirs': [ | 241 'include_dirs': [ |
| 242 'nspr/pr/include', | 242 'nspr/pr/include', |
| 243 'nspr/lib/ds', | 243 'nspr/lib/ds', |
| 244 'nspr/lib/libc/include', | 244 'nspr/lib/libc/include', |
| 245 ], | 245 ], |
| 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 # TODO(davidben): suppress C4101 in prfdcach.c. |
|
wtc
2015/04/10 22:22:06
Please add the NSPR bug number (https://bugzilla.m
davidben
2015/04/13 18:47:53
Done.
| |
| 249 'msvs_disabled_warnings': [4018, 4244, 4554, 4267, 4101,], | |
| 249 'variables': { | 250 'variables': { |
| 250 'clang_warning_flags': [ | 251 'clang_warning_flags': [ |
| 251 # nspr passes "const char*" through "void*". | 252 # nspr passes "const char*" through "void*". |
| 252 '-Wno-incompatible-pointer-types', | 253 '-Wno-incompatible-pointer-types', |
| 253 # nspr passes "int*" through "unsigned int*". | 254 # nspr passes "int*" through "unsigned int*". |
| 254 '-Wno-pointer-sign', | 255 '-Wno-pointer-sign', |
| 255 ], | 256 ], |
| 256 'clang_warning_flags_unset': [ | 257 'clang_warning_flags_unset': [ |
| 257 # nspr uses assert(!"foo") instead of assert(false && "foo"). | 258 # nspr uses assert(!"foo") instead of assert(false && "foo"). |
| 258 '-Wstring-conversion', | 259 '-Wstring-conversion', |
| (...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1285 # mpi_x86_asm.c contains MSVC inline assembly code. | 1286 # mpi_x86_asm.c contains MSVC inline assembly code. |
| 1286 'nss/lib/freebl/mpi/mpi_x86_asm.c', | 1287 'nss/lib/freebl/mpi/mpi_x86_asm.c', |
| 1287 ], | 1288 ], |
| 1288 }], | 1289 }], |
| 1289 ], | 1290 ], |
| 1290 }, | 1291 }, |
| 1291 ], | 1292 ], |
| 1292 }], | 1293 }], |
| 1293 ], | 1294 ], |
| 1294 } | 1295 } |
| OLD | NEW |