Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: nss.gyp

Issue 1558903002: Suppress -Wunused-function for nss. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 # nss doesn't explicitly cast between different enum types. 1134 # nss doesn't explicitly cast between different enum types.
1135 '-Wno-conversion', 1135 '-Wno-conversion',
1136 # nss passes "const char*" through "void*". 1136 # nss passes "const char*" through "void*".
1137 '-Wno-incompatible-pointer-types', 1137 '-Wno-incompatible-pointer-types',
1138 # nss prefers `a && b || c` over `(a && b) || c`. 1138 # nss prefers `a && b || c` over `(a && b) || c`.
1139 '-Wno-logical-op-parentheses', 1139 '-Wno-logical-op-parentheses',
1140 # nss doesn't use exhaustive switches on enums 1140 # nss doesn't use exhaustive switches on enums
1141 '-Wno-switch', 1141 '-Wno-switch',
1142 # nss has some `unsigned < 0` checks. 1142 # nss has some `unsigned < 0` checks.
1143 '-Wno-tautological-compare', 1143 '-Wno-tautological-compare',
1144 # nss-urandom-abort.patch removed the only call to
1145 # rng_systemFromNoise
1146 '-Wno-unused-function',
1144 ], 1147 ],
1145 }, 1148 },
1146 'conditions': [ 1149 'conditions': [
1147 ['exclude_nss_root_certs==1', { 1150 ['exclude_nss_root_certs==1', {
1148 'defines': [ 1151 'defines': [
1149 'NSS_DISABLE_ROOT_CERTS', 1152 'NSS_DISABLE_ROOT_CERTS',
1150 ], 1153 ],
1151 }], 1154 }],
1152 ['exclude_nss_libpkix==1', { 1155 ['exclude_nss_libpkix==1', {
1153 'defines': [ 1156 'defines': [
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 # mpi_x86_asm.c contains MSVC inline assembly code. 1291 # mpi_x86_asm.c contains MSVC inline assembly code.
1289 'nss/lib/freebl/mpi/mpi_x86_asm.c', 1292 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1290 ], 1293 ],
1291 }], 1294 }],
1292 ], 1295 ],
1293 }, 1296 },
1294 ], 1297 ],
1295 }], 1298 }],
1296 ], 1299 ],
1297 } 1300 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698