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

Side by Side Diff: nss.gyp

Issue 694643002: Condition the nss and nspr build targets on use_openssl==0. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 6 years, 1 month 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 26 matching lines...) Expand all
37 'CharacterSet': '0' 37 'CharacterSet': '0'
38 } 38 }
39 } 39 }
40 }, 40 },
41 'defines!': [ 41 'defines!': [
42 'WIN32_LEAN_AND_MEAN', 42 'WIN32_LEAN_AND_MEAN',
43 ], 43 ],
44 }], 44 }],
45 ], 45 ],
46 }, 46 },
47 'targets': [ 47 'conditions': [
48 { 48 # To ensure no dependency on NSS is accidentally added to a BoringSSL port,
49 'target_name': 'nspr', 49 # define the NSS and NSPR targets conditionally.
50 'product_name': 'crnspr', 50 ['use_openssl==0', {
51 'type': '<(component)', 51 'targets': [
52 'sources': [ 52 {
53 'nspr/lib/ds/plarena.c', 53 'target_name': 'nspr',
54 'nspr/lib/ds/plarena.h', 54 'product_name': 'crnspr',
55 'nspr/lib/ds/plarenas.h', 55 'type': '<(component)',
56 'nspr/lib/ds/plhash.c', 56 'sources': [
57 'nspr/lib/ds/plhash.h', 57 'nspr/lib/ds/plarena.c',
58 'nspr/lib/libc/include/plbase64.h', 58 'nspr/lib/ds/plarena.h',
59 'nspr/lib/libc/include/plerror.h', 59 'nspr/lib/ds/plarenas.h',
60 'nspr/lib/libc/include/plgetopt.h', 60 'nspr/lib/ds/plhash.c',
61 'nspr/lib/libc/include/plstr.h', 61 'nspr/lib/ds/plhash.h',
62 'nspr/lib/libc/src/base64.c', 62 'nspr/lib/libc/include/plbase64.h',
63 'nspr/lib/libc/src/plerror.c', 63 'nspr/lib/libc/include/plerror.h',
64 'nspr/lib/libc/src/plgetopt.c', 64 'nspr/lib/libc/include/plgetopt.h',
65 'nspr/lib/libc/src/strcase.c', 65 'nspr/lib/libc/include/plstr.h',
66 'nspr/lib/libc/src/strcat.c', 66 'nspr/lib/libc/src/base64.c',
67 'nspr/lib/libc/src/strchr.c', 67 'nspr/lib/libc/src/plerror.c',
68 'nspr/lib/libc/src/strcmp.c', 68 'nspr/lib/libc/src/plgetopt.c',
69 'nspr/lib/libc/src/strcpy.c', 69 'nspr/lib/libc/src/strcase.c',
70 'nspr/lib/libc/src/strdup.c', 70 'nspr/lib/libc/src/strcat.c',
71 'nspr/lib/libc/src/strlen.c', 71 'nspr/lib/libc/src/strchr.c',
72 'nspr/lib/libc/src/strpbrk.c', 72 'nspr/lib/libc/src/strcmp.c',
73 'nspr/lib/libc/src/strstr.c', 73 'nspr/lib/libc/src/strcpy.c',
74 'nspr/lib/libc/src/strtok.c', 74 'nspr/lib/libc/src/strdup.c',
75 'nspr/pr/include/md/prosdep.h', 75 'nspr/lib/libc/src/strlen.c',
76 'nspr/pr/include/md/_darwin.cfg', 76 'nspr/lib/libc/src/strpbrk.c',
77 'nspr/pr/include/md/_darwin.h', 77 'nspr/lib/libc/src/strstr.c',
78 'nspr/pr/include/md/_pcos.h', 78 'nspr/lib/libc/src/strtok.c',
79 'nspr/pr/include/md/_pth.h', 79 'nspr/pr/include/md/prosdep.h',
80 'nspr/pr/include/md/_unixos.h', 80 'nspr/pr/include/md/_darwin.cfg',
81 'nspr/pr/include/md/_unix_errors.h', 81 'nspr/pr/include/md/_darwin.h',
82 'nspr/pr/include/md/_win32_errors.h', 82 'nspr/pr/include/md/_pcos.h',
83 'nspr/pr/include/md/_win95.cfg', 83 'nspr/pr/include/md/_pth.h',
84 'nspr/pr/include/md/_win95.h', 84 'nspr/pr/include/md/_unixos.h',
85 'nspr/pr/include/nspr.h', 85 'nspr/pr/include/md/_unix_errors.h',
86 'nspr/pr/include/obsolete/pralarm.h', 86 'nspr/pr/include/md/_win32_errors.h',
87 'nspr/pr/include/obsolete/probslet.h', 87 'nspr/pr/include/md/_win95.cfg',
88 'nspr/pr/include/obsolete/protypes.h', 88 'nspr/pr/include/md/_win95.h',
89 'nspr/pr/include/obsolete/prsem.h', 89 'nspr/pr/include/nspr.h',
90 'nspr/pr/include/pratom.h', 90 'nspr/pr/include/obsolete/pralarm.h',
91 'nspr/pr/include/prbit.h', 91 'nspr/pr/include/obsolete/probslet.h',
92 'nspr/pr/include/prclist.h', 92 'nspr/pr/include/obsolete/protypes.h',
93 'nspr/pr/include/prcmon.h', 93 'nspr/pr/include/obsolete/prsem.h',
94 'nspr/pr/include/prcountr.h', 94 'nspr/pr/include/pratom.h',
95 'nspr/pr/include/prcpucfg.h', 95 'nspr/pr/include/prbit.h',
96 'nspr/pr/include/prcvar.h', 96 'nspr/pr/include/prclist.h',
97 'nspr/pr/include/prdtoa.h', 97 'nspr/pr/include/prcmon.h',
98 'nspr/pr/include/prenv.h', 98 'nspr/pr/include/prcountr.h',
99 'nspr/pr/include/prerr.h', 99 'nspr/pr/include/prcpucfg.h',
100 'nspr/pr/include/prerror.h', 100 'nspr/pr/include/prcvar.h',
101 'nspr/pr/include/prinet.h', 101 'nspr/pr/include/prdtoa.h',
102 'nspr/pr/include/prinit.h', 102 'nspr/pr/include/prenv.h',
103 'nspr/pr/include/prinrval.h', 103 'nspr/pr/include/prerr.h',
104 'nspr/pr/include/prio.h', 104 'nspr/pr/include/prerror.h',
105 'nspr/pr/include/pripcsem.h', 105 'nspr/pr/include/prinet.h',
106 'nspr/pr/include/private/pprio.h', 106 'nspr/pr/include/prinit.h',
107 'nspr/pr/include/private/pprmwait.h', 107 'nspr/pr/include/prinrval.h',
108 'nspr/pr/include/private/pprthred.h', 108 'nspr/pr/include/prio.h',
109 'nspr/pr/include/private/primpl.h', 109 'nspr/pr/include/pripcsem.h',
110 'nspr/pr/include/private/prpriv.h', 110 'nspr/pr/include/private/pprio.h',
111 'nspr/pr/include/prlink.h', 111 'nspr/pr/include/private/pprmwait.h',
112 'nspr/pr/include/prlock.h', 112 'nspr/pr/include/private/pprthred.h',
113 'nspr/pr/include/prlog.h', 113 'nspr/pr/include/private/primpl.h',
114 'nspr/pr/include/prlong.h', 114 'nspr/pr/include/private/prpriv.h',
115 'nspr/pr/include/prmem.h', 115 'nspr/pr/include/prlink.h',
116 'nspr/pr/include/prmon.h', 116 'nspr/pr/include/prlock.h',
117 'nspr/pr/include/prmwait.h', 117 'nspr/pr/include/prlog.h',
118 'nspr/pr/include/prnetdb.h', 118 'nspr/pr/include/prlong.h',
119 'nspr/pr/include/prolock.h', 119 'nspr/pr/include/prmem.h',
120 'nspr/pr/include/prpdce.h', 120 'nspr/pr/include/prmon.h',
121 'nspr/pr/include/prprf.h', 121 'nspr/pr/include/prmwait.h',
122 'nspr/pr/include/prproces.h', 122 'nspr/pr/include/prnetdb.h',
123 'nspr/pr/include/prrng.h', 123 'nspr/pr/include/prolock.h',
124 'nspr/pr/include/prrwlock.h', 124 'nspr/pr/include/prpdce.h',
125 'nspr/pr/include/prshm.h', 125 'nspr/pr/include/prprf.h',
126 'nspr/pr/include/prshma.h', 126 'nspr/pr/include/prproces.h',
127 'nspr/pr/include/prsystem.h', 127 'nspr/pr/include/prrng.h',
128 'nspr/pr/include/prthread.h', 128 'nspr/pr/include/prrwlock.h',
129 'nspr/pr/include/prtime.h', 129 'nspr/pr/include/prshm.h',
130 'nspr/pr/include/prtpool.h', 130 'nspr/pr/include/prshma.h',
131 'nspr/pr/include/prtrace.h', 131 'nspr/pr/include/prsystem.h',
132 'nspr/pr/include/prtypes.h', 132 'nspr/pr/include/prthread.h',
133 'nspr/pr/include/prvrsion.h', 133 'nspr/pr/include/prtime.h',
134 'nspr/pr/include/prwin16.h', 134 'nspr/pr/include/prtpool.h',
135 'nspr/pr/src/io/prdir.c', 135 'nspr/pr/include/prtrace.h',
136 'nspr/pr/src/io/prfdcach.c', 136 'nspr/pr/include/prtypes.h',
137 'nspr/pr/src/io/prfile.c', 137 'nspr/pr/include/prvrsion.h',
138 'nspr/pr/src/io/prio.c', 138 'nspr/pr/include/prwin16.h',
139 'nspr/pr/src/io/priometh.c',
140 'nspr/pr/src/io/pripv6.c',
141 'nspr/pr/src/io/prlayer.c',
142 'nspr/pr/src/io/prlog.c',
143 'nspr/pr/src/io/prmapopt.c',
144 'nspr/pr/src/io/prmmap.c',
145 'nspr/pr/src/io/prmwait.c',
146 'nspr/pr/src/io/prpolevt.c',
147 'nspr/pr/src/io/prprf.c',
148 'nspr/pr/src/io/prscanf.c',
149 'nspr/pr/src/io/prsocket.c',
150 'nspr/pr/src/io/prstdio.c',
151 'nspr/pr/src/linking/prlink.c',
152 'nspr/pr/src/malloc/prmalloc.c',
153 'nspr/pr/src/malloc/prmem.c',
154 'nspr/pr/src/md/prosdep.c',
155 'nspr/pr/src/md/unix/darwin.c',
156 'nspr/pr/src/md/unix/os_Darwin.s',
157 'nspr/pr/src/md/unix/os_Darwin_x86.s',
158 'nspr/pr/src/md/unix/os_Darwin_x86_64.s',
159 'nspr/pr/src/md/unix/unix.c',
160 'nspr/pr/src/md/unix/unix_errors.c',
161 'nspr/pr/src/md/unix/uxproces.c',
162 'nspr/pr/src/md/unix/uxrng.c',
163 'nspr/pr/src/md/unix/uxshm.c',
164 'nspr/pr/src/md/unix/uxwrap.c',
165 'nspr/pr/src/md/windows/ntgc.c',
166 'nspr/pr/src/md/windows/ntinrval.c',
167 'nspr/pr/src/md/windows/ntmisc.c',
168 'nspr/pr/src/md/windows/ntsec.c',
169 'nspr/pr/src/md/windows/ntsem.c',
170 'nspr/pr/src/md/windows/w32ipcsem.c',
171 'nspr/pr/src/md/windows/w32poll.c',
172 'nspr/pr/src/md/windows/w32rng.c',
173 'nspr/pr/src/md/windows/w32shm.c',
174 'nspr/pr/src/md/windows/w95cv.c',
175 'nspr/pr/src/md/windows/w95dllmain.c',
176 'nspr/pr/src/md/windows/w95io.c',
177 'nspr/pr/src/md/windows/w95sock.c',
178 'nspr/pr/src/md/windows/w95thred.c',
179 'nspr/pr/src/md/windows/win32_errors.c',
180 'nspr/pr/src/memory/prseg.c',
181 'nspr/pr/src/memory/prshm.c',
182 'nspr/pr/src/memory/prshma.c',
183 'nspr/pr/src/misc/pralarm.c',
184 'nspr/pr/src/misc/pratom.c',
185 'nspr/pr/src/misc/praton.c',
186 'nspr/pr/src/misc/prcountr.c',
187 'nspr/pr/src/misc/prdtoa.c',
188 'nspr/pr/src/misc/prenv.c',
189 'nspr/pr/src/misc/prerr.c',
190 'nspr/pr/src/misc/prerror.c',
191 'nspr/pr/src/misc/prerrortable.c',
192 'nspr/pr/src/misc/prinit.c',
193 'nspr/pr/src/misc/prinrval.c',
194 'nspr/pr/src/misc/pripc.c',
195 'nspr/pr/src/misc/pripcsem.c',
196 'nspr/pr/src/misc/prlog2.c',
197 'nspr/pr/src/misc/prlong.c',
198 'nspr/pr/src/misc/prnetdb.c',
199 'nspr/pr/src/misc/prolock.c',
200 'nspr/pr/src/misc/prrng.c',
201 'nspr/pr/src/misc/prsystem.c',
202 'nspr/pr/src/misc/prthinfo.c',
203 'nspr/pr/src/misc/prtime.c',
204 'nspr/pr/src/misc/prtpool.c',
205 'nspr/pr/src/misc/prtrace.c',
206 'nspr/pr/src/pthreads/ptio.c',
207 'nspr/pr/src/pthreads/ptmisc.c',
208 'nspr/pr/src/pthreads/ptsynch.c',
209 'nspr/pr/src/pthreads/ptthread.c',
210 'nspr/pr/src/threads/combined/prucpu.c',
211 'nspr/pr/src/threads/combined/prucv.c',
212 'nspr/pr/src/threads/combined/prulock.c',
213 'nspr/pr/src/threads/combined/prustack.c',
214 'nspr/pr/src/threads/combined/pruthr.c',
215 'nspr/pr/src/threads/prcmon.c',
216 'nspr/pr/src/threads/prcthr.c',
217 'nspr/pr/src/threads/prdump.c',
218 'nspr/pr/src/threads/prmon.c',
219 'nspr/pr/src/threads/prrwlock.c',
220 'nspr/pr/src/threads/prsem.c',
221 'nspr/pr/src/threads/prtpd.c',
222 ],
223 'defines': [
224 '_NSPR_BUILD_',
225 'FORCE_PR_LOG',
226 ],
227 'include_dirs': [
228 'nspr/pr/include',
229 'nspr/pr/include/private',
230 'nspr/lib/ds',
231 'nspr/lib/libc/include',
232 ],
233 'direct_dependent_settings': {
234 'defines': [
235 'NO_NSPR_10_SUPPORT',
236 ],
237 'include_dirs': [
238 'nspr/pr/include',
239 'nspr/lib/ds',
240 'nspr/lib/libc/include',
241 ],
242 },
243 # TODO(wtc): suppress C4244 and C4554 in prdtoa.c.
244 'msvs_disabled_warnings': [4018, 4244, 4554, 4267,],
245 'variables': {
246 'clang_warning_flags': [
247 # nspr passes "const char*" through "void*".
248 '-Wno-incompatible-pointer-types',
249 # nspr passes "int*" through "unsigned int*".
250 '-Wno-pointer-sign',
251 ],
252 },
253 'conditions': [
254 ['OS=="mac" or OS=="ios"', {
255 'defines': [
256 'XP_UNIX',
257 'DARWIN',
258 'XP_MACOSX',
259 '_PR_PTHREADS',
260 'HAVE_BSD_FLOCK',
261 'HAVE_CRT_EXTERNS_H',
262 'HAVE_DLADDR',
263 'HAVE_LCHOWN',
264 'HAVE_SOCKLEN_T',
265 'HAVE_STRERROR',
266 ],
267 'sources/': [
268 ['exclude', '^nspr/pr/src/md/windows/'],
269 ['exclude', '^nspr/pr/src/threads/combined/'],
270 ],
271 'sources!': [
272 'nspr/pr/src/io/prdir.c', 139 'nspr/pr/src/io/prdir.c',
140 'nspr/pr/src/io/prfdcach.c',
273 'nspr/pr/src/io/prfile.c', 141 'nspr/pr/src/io/prfile.c',
274 'nspr/pr/src/io/prio.c', 142 'nspr/pr/src/io/prio.c',
143 'nspr/pr/src/io/priometh.c',
144 'nspr/pr/src/io/pripv6.c',
145 'nspr/pr/src/io/prlayer.c',
146 'nspr/pr/src/io/prlog.c',
147 'nspr/pr/src/io/prmapopt.c',
148 'nspr/pr/src/io/prmmap.c',
149 'nspr/pr/src/io/prmwait.c',
150 'nspr/pr/src/io/prpolevt.c',
151 'nspr/pr/src/io/prprf.c',
152 'nspr/pr/src/io/prscanf.c',
275 'nspr/pr/src/io/prsocket.c', 153 'nspr/pr/src/io/prsocket.c',
276 # os_Darwin_x86.s and os_Darwin_x86_64.s are included by 154 'nspr/pr/src/io/prstdio.c',
277 # os_Darwin.s. 155 'nspr/pr/src/linking/prlink.c',
156 'nspr/pr/src/malloc/prmalloc.c',
157 'nspr/pr/src/malloc/prmem.c',
158 'nspr/pr/src/md/prosdep.c',
159 'nspr/pr/src/md/unix/darwin.c',
160 'nspr/pr/src/md/unix/os_Darwin.s',
278 'nspr/pr/src/md/unix/os_Darwin_x86.s', 161 'nspr/pr/src/md/unix/os_Darwin_x86.s',
279 'nspr/pr/src/md/unix/os_Darwin_x86_64.s', 162 'nspr/pr/src/md/unix/os_Darwin_x86_64.s',
163 'nspr/pr/src/md/unix/unix.c',
164 'nspr/pr/src/md/unix/unix_errors.c',
165 'nspr/pr/src/md/unix/uxproces.c',
166 'nspr/pr/src/md/unix/uxrng.c',
167 'nspr/pr/src/md/unix/uxshm.c',
168 'nspr/pr/src/md/unix/uxwrap.c',
169 'nspr/pr/src/md/windows/ntgc.c',
170 'nspr/pr/src/md/windows/ntinrval.c',
171 'nspr/pr/src/md/windows/ntmisc.c',
172 'nspr/pr/src/md/windows/ntsec.c',
173 'nspr/pr/src/md/windows/ntsem.c',
174 'nspr/pr/src/md/windows/w32ipcsem.c',
175 'nspr/pr/src/md/windows/w32poll.c',
176 'nspr/pr/src/md/windows/w32rng.c',
177 'nspr/pr/src/md/windows/w32shm.c',
178 'nspr/pr/src/md/windows/w95cv.c',
179 'nspr/pr/src/md/windows/w95dllmain.c',
180 'nspr/pr/src/md/windows/w95io.c',
181 'nspr/pr/src/md/windows/w95sock.c',
182 'nspr/pr/src/md/windows/w95thred.c',
183 'nspr/pr/src/md/windows/win32_errors.c',
184 'nspr/pr/src/memory/prseg.c',
185 'nspr/pr/src/memory/prshm.c',
186 'nspr/pr/src/memory/prshma.c',
187 'nspr/pr/src/misc/pralarm.c',
188 'nspr/pr/src/misc/pratom.c',
189 'nspr/pr/src/misc/praton.c',
190 'nspr/pr/src/misc/prcountr.c',
191 'nspr/pr/src/misc/prdtoa.c',
192 'nspr/pr/src/misc/prenv.c',
193 'nspr/pr/src/misc/prerr.c',
194 'nspr/pr/src/misc/prerror.c',
195 'nspr/pr/src/misc/prerrortable.c',
196 'nspr/pr/src/misc/prinit.c',
197 'nspr/pr/src/misc/prinrval.c',
198 'nspr/pr/src/misc/pripc.c',
280 'nspr/pr/src/misc/pripcsem.c', 199 'nspr/pr/src/misc/pripcsem.c',
200 'nspr/pr/src/misc/prlog2.c',
201 'nspr/pr/src/misc/prlong.c',
202 'nspr/pr/src/misc/prnetdb.c',
203 'nspr/pr/src/misc/prolock.c',
204 'nspr/pr/src/misc/prrng.c',
205 'nspr/pr/src/misc/prsystem.c',
206 'nspr/pr/src/misc/prthinfo.c',
207 'nspr/pr/src/misc/prtime.c',
208 'nspr/pr/src/misc/prtpool.c',
209 'nspr/pr/src/misc/prtrace.c',
210 'nspr/pr/src/pthreads/ptio.c',
211 'nspr/pr/src/pthreads/ptmisc.c',
212 'nspr/pr/src/pthreads/ptsynch.c',
213 'nspr/pr/src/pthreads/ptthread.c',
214 'nspr/pr/src/threads/combined/prucpu.c',
215 'nspr/pr/src/threads/combined/prucv.c',
216 'nspr/pr/src/threads/combined/prulock.c',
217 'nspr/pr/src/threads/combined/prustack.c',
218 'nspr/pr/src/threads/combined/pruthr.c',
219 'nspr/pr/src/threads/prcmon.c',
281 'nspr/pr/src/threads/prcthr.c', 220 'nspr/pr/src/threads/prcthr.c',
282 'nspr/pr/src/threads/prdump.c', 221 'nspr/pr/src/threads/prdump.c',
283 'nspr/pr/src/threads/prmon.c', 222 'nspr/pr/src/threads/prmon.c',
223 'nspr/pr/src/threads/prrwlock.c',
284 'nspr/pr/src/threads/prsem.c', 224 'nspr/pr/src/threads/prsem.c',
285 ], 225 'nspr/pr/src/threads/prtpd.c',
286 }], 226 ],
287 ['OS=="mac"', { 227 'defines': [
288 'link_settings': { 228 '_NSPR_BUILD_',
289 'libraries': [ 229 'FORCE_PR_LOG',
290 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 230 ],
291 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', 231 'include_dirs': [
232 'nspr/pr/include',
233 'nspr/pr/include/private',
234 'nspr/lib/ds',
235 'nspr/lib/libc/include',
236 ],
237 'direct_dependent_settings': {
238 'defines': [
239 'NO_NSPR_10_SUPPORT',
240 ],
241 'include_dirs': [
242 'nspr/pr/include',
243 'nspr/lib/ds',
244 'nspr/lib/libc/include',
292 ], 245 ],
293 }, 246 },
294 }], 247 # TODO(wtc): suppress C4244 and C4554 in prdtoa.c.
295 ['OS=="ios"', { 248 'msvs_disabled_warnings': [4018, 4244, 4554, 4267,],
296 'defines!': [ 249 'variables': {
297 'HAVE_CRT_EXTERNS_H', 250 'clang_warning_flags': [
298 ], 251 # nspr passes "const char*" through "void*".
299 }], 252 '-Wno-incompatible-pointer-types',
300 ['OS=="win"', { 253 # nspr passes "int*" through "unsigned int*".
301 'defines': [ 254 '-Wno-pointer-sign',
302 'XP_PC',
303 'WIN32',
304 'WIN95',
305 '_PR_GLOBAL_THREADS_ONLY',
306 '_CRT_SECURE_NO_WARNINGS',
307 '_CRT_NONSTDC_NO_WARNINGS',
308 ],
309 'sources/': [
310 ['exclude', '^nspr/pr/src/md/unix/'],
311 ['exclude', '^nspr/pr/src/pthreads/'],
312 ],
313 'conditions': [
314 ['target_arch=="ia32"', {
315 'defines': [
316 '_X86_',
317 ],
318 }],
319 ],
320 }],
321 ['component == "static_library"', {
322 'defines': [
323 'NSPR_STATIC',
324 ],
325 'direct_dependent_settings': {
326 'defines': [
327 'NSPR_STATIC',
328 ], 255 ],
329 }, 256 },
330 }], 257 'conditions': [
331 ['clang==1', { 258 ['OS=="mac" or OS=="ios"', {
332 'xcode_settings': { 259 'defines': [
333 'WARNING_CFLAGS': [ 260 'XP_UNIX',
334 # nspr uses a bunch of deprecated functions (NSLinkModule etc) in 261 'DARWIN',
335 # prlink.c on mac. 262 'XP_MACOSX',
336 '-Wno-deprecated-declarations', 263 '_PR_PTHREADS',
264 'HAVE_BSD_FLOCK',
265 'HAVE_CRT_EXTERNS_H',
266 'HAVE_DLADDR',
267 'HAVE_LCHOWN',
268 'HAVE_SOCKLEN_T',
269 'HAVE_STRERROR',
270 ],
271 'sources/': [
272 ['exclude', '^nspr/pr/src/md/windows/'],
273 ['exclude', '^nspr/pr/src/threads/combined/'],
274 ],
275 'sources!': [
276 'nspr/pr/src/io/prdir.c',
277 'nspr/pr/src/io/prfile.c',
278 'nspr/pr/src/io/prio.c',
279 'nspr/pr/src/io/prsocket.c',
280 # os_Darwin_x86.s and os_Darwin_x86_64.s are included by
281 # os_Darwin.s.
282 'nspr/pr/src/md/unix/os_Darwin_x86.s',
283 'nspr/pr/src/md/unix/os_Darwin_x86_64.s',
284 'nspr/pr/src/misc/pripcsem.c',
285 'nspr/pr/src/threads/prcthr.c',
286 'nspr/pr/src/threads/prdump.c',
287 'nspr/pr/src/threads/prmon.c',
288 'nspr/pr/src/threads/prsem.c',
289 ],
290 }],
291 ['OS=="mac"', {
292 'link_settings': {
293 'libraries': [
294 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework ',
295 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
296 ],
297 },
298 }],
299 ['OS=="ios"', {
300 'defines!': [
301 'HAVE_CRT_EXTERNS_H',
302 ],
303 }],
304 ['OS=="win"', {
305 'defines': [
306 'XP_PC',
307 'WIN32',
308 'WIN95',
309 '_PR_GLOBAL_THREADS_ONLY',
310 '_CRT_SECURE_NO_WARNINGS',
311 '_CRT_NONSTDC_NO_WARNINGS',
312 ],
313 'sources/': [
314 ['exclude', '^nspr/pr/src/md/unix/'],
315 ['exclude', '^nspr/pr/src/pthreads/'],
316 ],
317 'conditions': [
318 ['target_arch=="ia32"', {
319 'defines': [
320 '_X86_',
321 ],
322 }],
323 ],
324 }],
325 ['component == "static_library"', {
326 'defines': [
327 'NSPR_STATIC',
328 ],
329 'direct_dependent_settings': {
330 'defines': [
331 'NSPR_STATIC',
332 ],
333 },
334 }],
335 ['clang==1', {
336 'xcode_settings': {
337 'WARNING_CFLAGS': [
338 # nspr uses a bunch of deprecated functions (NSLinkModule etc) in
339 # prlink.c on mac.
340 '-Wno-deprecated-declarations',
341 ],
342 },
343 }],
344 ],
345 },
346 {
347 'target_name': 'nss',
348 'product_name': 'crnss',
349 'type': '<(component)',
350 'dependencies': [
351 'nss_static',
352 ],
353 'export_dependent_settings': [
354 'nss_static',
355 ],
356 'sources': [
357 # Ensure at least one object file is produced, so that MSVC does not
358 # warn when creating the static/shared library. See the note for
359 # the 'nssckbi' target for why the 'nss' target was split as such.
360 'nss/lib/nss/nssver.c',
361 ],
362 'conditions': [
363 ['exclude_nss_root_certs==0', {
364 'dependencies': [
365 'nssckbi',
366 ],
367 'export_dependent_settings': [
368 'nssckbi',
369 ],
370 }],
371 ['OS == "mac" and component == "shared_library"', {
372 'xcode_settings': {
373 'OTHER_LDFLAGS': ['-all_load'],
374 },
375 }],
376 ['OS == "win" and component == "shared_library"', {
377 'sources': [
378 'nss/exports_win.def',
379 ],
380 }],
381 ],
382 },
383 {
384 # This is really more of a pseudo-target to work around the fact that
385 # a single static_library target cannot contain two object files of th e
386 # same name (hash.o / hash.obj). Logically, this is part of the
387 # 'nss_static' target. By separating it out, it creates a possible
388 # circular dependency between 'nss_static' and 'nssckbi' when
389 # 'exclude_nss_root_certs' is not specified, as 'nss_static' depends o n
390 # the 'builtinsC_GetFunctionList' exported by this target. This is an
391 # artifact of how NSS is being statically built, which is not an
392 # officially supported configuration - normally, 'nssckbi.dll/so' woul d
393 # depend on libnss3.dll/so, and the higher layer caller would instruct
394 # libnss3.dll to dynamically load nssckbi.dll, breaking the circle.
395 #
396 # TODO(rsleevi): http://crbug.com/128134 - Break the circular dependen cy
397 # without requiring nssckbi to be built as a shared library.
398 'target_name': 'nssckbi',
399 'product_name': 'crnssckbi',
400 'type': 'static_library',
401 # This target is an implementation detail - the public dependencies
402 # should be on 'nss'.
403 'suppress_wildcard': 1,
404 'sources': [
405 'nss/lib/ckfw/builtins/anchor.c',
406 'nss/lib/ckfw/builtins/bfind.c',
407 'nss/lib/ckfw/builtins/binst.c',
408 'nss/lib/ckfw/builtins/bobject.c',
409 'nss/lib/ckfw/builtins/bsession.c',
410 'nss/lib/ckfw/builtins/bslot.c',
411 'nss/lib/ckfw/builtins/btoken.c',
412 'nss/lib/ckfw/builtins/builtins.h',
413 'nss/lib/ckfw/builtins/certdata.c',
414 'nss/lib/ckfw/builtins/ckbiver.c',
415 'nss/lib/ckfw/builtins/constants.c',
416 'nss/lib/ckfw/builtins/nssckbi.h',
417 'nss/lib/ckfw/ck.h',
418 'nss/lib/ckfw/ckfw.h',
419 'nss/lib/ckfw/ckfwm.h',
420 'nss/lib/ckfw/ckfwtm.h',
421 'nss/lib/ckfw/ckmd.h',
422 'nss/lib/ckfw/ckt.h',
423 'nss/lib/ckfw/crypto.c',
424 'nss/lib/ckfw/find.c',
425 'nss/lib/ckfw/hash.c',
426 'nss/lib/ckfw/instance.c',
427 'nss/lib/ckfw/mechanism.c',
428 'nss/lib/ckfw/mutex.c',
429 'nss/lib/ckfw/nssck.api',
430 'nss/lib/ckfw/nssckepv.h',
431 'nss/lib/ckfw/nssckft.h',
432 'nss/lib/ckfw/nssckfw.h',
433 'nss/lib/ckfw/nssckfwc.h',
434 'nss/lib/ckfw/nssckfwt.h',
435 'nss/lib/ckfw/nssckg.h',
436 'nss/lib/ckfw/nssckmdt.h',
437 'nss/lib/ckfw/nssckt.h',
438 'nss/lib/ckfw/object.c',
439 'nss/lib/ckfw/session.c',
440 'nss/lib/ckfw/sessobj.c',
441 'nss/lib/ckfw/slot.c',
442 'nss/lib/ckfw/token.c',
443 'nss/lib/ckfw/wrap.c',
444 ],
445 'dependencies': [
446 'nss_static',
447 ],
448 'export_dependent_settings': [
449 'nss_static',
450 ],
451 'include_dirs': [
452 'nss/lib/ckfw',
453 ],
454 'direct_dependent_settings': {
455 'include_dirs': [
456 'nss/lib/ckfw/builtins',
337 ], 457 ],
338 }, 458 },
339 }], 459 },
340 ], 460 {
341 }, 461 # This target contains files compiled for AVX. The code calling the
342 { 462 # functions in this target has to check if the current CPU supports AV X.
343 'target_name': 'nss', 463 'target_name': 'nss_static_avx',
344 'product_name': 'crnss', 464 'suppress_wildcard': 1,
345 'type': '<(component)', 465 'conditions': [
346 'dependencies': [ 466 ['OS!="win" or target_arch!="ia32"', {
347 'nss_static', 467 'type': 'none',
348 ], 468 }, {
349 'export_dependent_settings': [ 469 'type': 'static_library',
350 'nss_static', 470 'sources': [
351 ], 471 'nss/lib/freebl/intel-gcm-wrap.c',
352 'sources': [ 472 'nss/lib/freebl/intel-gcm-x86-masm.asm',
353 # Ensure at least one object file is produced, so that MSVC does not 473 'nss/lib/freebl/intel-gcm.h',
354 # warn when creating the static/shared library. See the note for 474 ],
355 # the 'nssckbi' target for why the 'nss' target was split as such. 475 'defines': [
356 'nss/lib/nss/nssver.c', 476 'INTEL_GCM',
357 ], 477 'NSS_X86_OR_X64',
358 'conditions': [ 478 'NSS_X86',
359 ['exclude_nss_root_certs==0', { 479 'MP_API_COMPATIBLE',
360 'dependencies': [ 480 'MP_ASSEMBLY_DIV_2DX1D',
361 'nssckbi', 481 'MP_ASSEMBLY_MULTIPLY',
362 ], 482 'MP_ASSEMBLY_SQUARE',
363 'export_dependent_settings': [ 483 'MP_ASSEMBLY_DIV_2DX1D',
364 'nssckbi', 484 'MP_USE_UINT_DIGIT',
365 ], 485 'MP_NO_MP_WORD',
366 }], 486 'MP_USE_UINT_DIGIT',
367 ['OS == "mac" and component == "shared_library"', { 487 'NSS_DISABLE_DBM',
368 'xcode_settings': { 488 'NSS_STATIC',
369 'OTHER_LDFLAGS': ['-all_load'], 489 'NSS_USE_STATIC_LIBS',
370 }, 490 'NSS_X86',
371 }], 491 'NSS_X86_OR_X64',
372 ['OS == "win" and component == "shared_library"', { 492 'RIJNDAEL_INCLUDE_TABLES',
493 'SHLIB_PREFIX=\"\"',
494 'SHLIB_SUFFIX=\"dll\"',
495 'SHLIB_VERSION=\"3\"',
496 'SOFTOKEN_LIB_NAME=\"softokn3.dll\"',
497 'SOFTOKEN_SHLIB_VERSION=\"3\"',
498 'USE_HW_AES',
499 'USE_UTIL_DIRECTLY',
500 'WIN32',
501 'WIN95',
502 'XP_PC',
503 '_WINDOWS',
504 '_X86_',
505 ],
506 'include_dirs': [
507 'nspr/pr/include',
508 'nspr/lib/ds',
509 'nspr/lib/libc/include',
510 'nss/lib/freebl/ecl',
511 'nss/lib/util',
512 ],
513 'msvs_disabled_warnings': [4018],
514 'msvs_settings': {
515 'MASM': {
516 'UseSafeExceptionHandlers': 'true',
517 },
518 'VCCLCompilerTool': {
519 'EnableEnhancedInstructionSet': '3', # Enable AVX.
520 },
521 },
522 }],
523 ],
524 },
525 {
526 'target_name': 'nss_static',
527 'type': 'static_library',
528 # This target is an implementation detail - the public dependencies
529 # should be on 'nss'.
530 'suppress_wildcard': 1,
373 'sources': [ 531 'sources': [
374 'nss/exports_win.def', 532 'nss/lib/base/arena.c',
375 ], 533 'nss/lib/base/base.h',
376 }], 534 'nss/lib/base/baset.h',
377 ], 535 'nss/lib/base/error.c',
378 }, 536 'nss/lib/base/errorval.c',
379 { 537 'nss/lib/base/hash.c',
380 # This is really more of a pseudo-target to work around the fact that 538 'nss/lib/base/hashops.c',
381 # a single static_library target cannot contain two object files of the 539 'nss/lib/base/item.c',
382 # same name (hash.o / hash.obj). Logically, this is part of the 540 'nss/lib/base/libc.c',
383 # 'nss_static' target. By separating it out, it creates a possible 541 'nss/lib/base/list.c',
384 # circular dependency between 'nss_static' and 'nssckbi' when 542 'nss/lib/base/nssbase.h',
385 # 'exclude_nss_root_certs' is not specified, as 'nss_static' depends on 543 'nss/lib/base/nssbaset.h',
386 # the 'builtinsC_GetFunctionList' exported by this target. This is an 544 'nss/lib/base/nssutf8.c',
387 # artifact of how NSS is being statically built, which is not an 545 'nss/lib/base/tracker.c',
388 # officially supported configuration - normally, 'nssckbi.dll/so' would 546 'nss/lib/certdb/alg1485.c',
389 # depend on libnss3.dll/so, and the higher layer caller would instruct 547 'nss/lib/certdb/cert.h',
390 # libnss3.dll to dynamically load nssckbi.dll, breaking the circle. 548 'nss/lib/certdb/certdb.c',
391 # 549 'nss/lib/certdb/certdb.h',
392 # TODO(rsleevi): http://crbug.com/128134 - Break the circular dependency 550 'nss/lib/certdb/certi.h',
393 # without requiring nssckbi to be built as a shared library. 551 'nss/lib/certdb/certt.h',
394 'target_name': 'nssckbi', 552 'nss/lib/certdb/certv3.c',
395 'product_name': 'crnssckbi', 553 'nss/lib/certdb/certxutl.c',
396 'type': 'static_library', 554 'nss/lib/certdb/certxutl.h',
397 # This target is an implementation detail - the public dependencies 555 'nss/lib/certdb/crl.c',
398 # should be on 'nss'. 556 'nss/lib/certdb/genname.c',
399 'suppress_wildcard': 1, 557 'nss/lib/certdb/genname.h',
400 'sources': [ 558 'nss/lib/certdb/polcyxtn.c',
401 'nss/lib/ckfw/builtins/anchor.c', 559 'nss/lib/certdb/secname.c',
402 'nss/lib/ckfw/builtins/bfind.c', 560 'nss/lib/certdb/stanpcertdb.c',
403 'nss/lib/ckfw/builtins/binst.c', 561 'nss/lib/certdb/xauthkid.c',
404 'nss/lib/ckfw/builtins/bobject.c', 562 'nss/lib/certdb/xbsconst.c',
405 'nss/lib/ckfw/builtins/bsession.c', 563 'nss/lib/certdb/xconst.c',
406 'nss/lib/ckfw/builtins/bslot.c', 564 'nss/lib/certdb/xconst.h',
407 'nss/lib/ckfw/builtins/btoken.c', 565 'nss/lib/certhigh/certhigh.c',
408 'nss/lib/ckfw/builtins/builtins.h', 566 'nss/lib/certhigh/certhtml.c',
409 'nss/lib/ckfw/builtins/certdata.c', 567 'nss/lib/certhigh/certreq.c',
410 'nss/lib/ckfw/builtins/ckbiver.c', 568 'nss/lib/certhigh/certvfy.c',
411 'nss/lib/ckfw/builtins/constants.c',
412 'nss/lib/ckfw/builtins/nssckbi.h',
413 'nss/lib/ckfw/ck.h',
414 'nss/lib/ckfw/ckfw.h',
415 'nss/lib/ckfw/ckfwm.h',
416 'nss/lib/ckfw/ckfwtm.h',
417 'nss/lib/ckfw/ckmd.h',
418 'nss/lib/ckfw/ckt.h',
419 'nss/lib/ckfw/crypto.c',
420 'nss/lib/ckfw/find.c',
421 'nss/lib/ckfw/hash.c',
422 'nss/lib/ckfw/instance.c',
423 'nss/lib/ckfw/mechanism.c',
424 'nss/lib/ckfw/mutex.c',
425 'nss/lib/ckfw/nssck.api',
426 'nss/lib/ckfw/nssckepv.h',
427 'nss/lib/ckfw/nssckft.h',
428 'nss/lib/ckfw/nssckfw.h',
429 'nss/lib/ckfw/nssckfwc.h',
430 'nss/lib/ckfw/nssckfwt.h',
431 'nss/lib/ckfw/nssckg.h',
432 'nss/lib/ckfw/nssckmdt.h',
433 'nss/lib/ckfw/nssckt.h',
434 'nss/lib/ckfw/object.c',
435 'nss/lib/ckfw/session.c',
436 'nss/lib/ckfw/sessobj.c',
437 'nss/lib/ckfw/slot.c',
438 'nss/lib/ckfw/token.c',
439 'nss/lib/ckfw/wrap.c',
440 ],
441 'dependencies': [
442 'nss_static',
443 ],
444 'export_dependent_settings': [
445 'nss_static',
446 ],
447 'include_dirs': [
448 'nss/lib/ckfw',
449 ],
450 'direct_dependent_settings': {
451 'include_dirs': [
452 'nss/lib/ckfw/builtins',
453 ],
454 },
455 },
456 {
457 # This target contains files compiled for AVX. The code calling the
458 # functions in this target has to check if the current CPU supports AVX.
459 'target_name': 'nss_static_avx',
460 'suppress_wildcard': 1,
461 'conditions': [
462 ['OS!="win" or target_arch!="ia32"', {
463 'type': 'none',
464 }, {
465 'type': 'static_library',
466 'sources': [
467 'nss/lib/freebl/intel-gcm-wrap.c',
468 'nss/lib/freebl/intel-gcm-x86-masm.asm',
469 'nss/lib/freebl/intel-gcm.h',
470 ],
471 'defines': [
472 'INTEL_GCM',
473 'NSS_X86_OR_X64',
474 'NSS_X86',
475 'MP_API_COMPATIBLE',
476 'MP_ASSEMBLY_DIV_2DX1D',
477 'MP_ASSEMBLY_MULTIPLY',
478 'MP_ASSEMBLY_SQUARE',
479 'MP_ASSEMBLY_DIV_2DX1D',
480 'MP_USE_UINT_DIGIT',
481 'MP_NO_MP_WORD',
482 'MP_USE_UINT_DIGIT',
483 'NSS_DISABLE_DBM',
484 'NSS_STATIC',
485 'NSS_USE_STATIC_LIBS',
486 'NSS_X86',
487 'NSS_X86_OR_X64',
488 'RIJNDAEL_INCLUDE_TABLES',
489 'SHLIB_PREFIX=\"\"',
490 'SHLIB_SUFFIX=\"dll\"',
491 'SHLIB_VERSION=\"3\"',
492 'SOFTOKEN_LIB_NAME=\"softokn3.dll\"',
493 'SOFTOKEN_SHLIB_VERSION=\"3\"',
494 'USE_HW_AES',
495 'USE_UTIL_DIRECTLY',
496 'WIN32',
497 'WIN95',
498 'XP_PC',
499 '_WINDOWS',
500 '_X86_',
501 ],
502 'include_dirs': [
503 'nspr/pr/include',
504 'nspr/lib/ds',
505 'nspr/lib/libc/include',
506 'nss/lib/freebl/ecl',
507 'nss/lib/util',
508 ],
509 'msvs_disabled_warnings': [4018],
510 'msvs_settings': {
511 'MASM': {
512 'UseSafeExceptionHandlers': 'true',
513 },
514 'VCCLCompilerTool': {
515 'EnableEnhancedInstructionSet': '3', # Enable AVX.
516 },
517 },
518 }],
519 ],
520 },
521 {
522 'target_name': 'nss_static',
523 'type': 'static_library',
524 # This target is an implementation detail - the public dependencies
525 # should be on 'nss'.
526 'suppress_wildcard': 1,
527 'sources': [
528 'nss/lib/base/arena.c',
529 'nss/lib/base/base.h',
530 'nss/lib/base/baset.h',
531 'nss/lib/base/error.c',
532 'nss/lib/base/errorval.c',
533 'nss/lib/base/hash.c',
534 'nss/lib/base/hashops.c',
535 'nss/lib/base/item.c',
536 'nss/lib/base/libc.c',
537 'nss/lib/base/list.c',
538 'nss/lib/base/nssbase.h',
539 'nss/lib/base/nssbaset.h',
540 'nss/lib/base/nssutf8.c',
541 'nss/lib/base/tracker.c',
542 'nss/lib/certdb/alg1485.c',
543 'nss/lib/certdb/cert.h',
544 'nss/lib/certdb/certdb.c',
545 'nss/lib/certdb/certdb.h',
546 'nss/lib/certdb/certi.h',
547 'nss/lib/certdb/certt.h',
548 'nss/lib/certdb/certv3.c',
549 'nss/lib/certdb/certxutl.c',
550 'nss/lib/certdb/certxutl.h',
551 'nss/lib/certdb/crl.c',
552 'nss/lib/certdb/genname.c',
553 'nss/lib/certdb/genname.h',
554 'nss/lib/certdb/polcyxtn.c',
555 'nss/lib/certdb/secname.c',
556 'nss/lib/certdb/stanpcertdb.c',
557 'nss/lib/certdb/xauthkid.c',
558 'nss/lib/certdb/xbsconst.c',
559 'nss/lib/certdb/xconst.c',
560 'nss/lib/certdb/xconst.h',
561 'nss/lib/certhigh/certhigh.c',
562 'nss/lib/certhigh/certhtml.c',
563 'nss/lib/certhigh/certreq.c',
564 'nss/lib/certhigh/certvfy.c',
565 'nss/lib/certhigh/certvfypkix.c',
566 'nss/lib/certhigh/certvfypkixprint.c',
567 'nss/lib/certhigh/crlv2.c',
568 'nss/lib/certhigh/ocsp.c',
569 'nss/lib/certhigh/ocsp.h',
570 'nss/lib/certhigh/ocspi.h',
571 'nss/lib/certhigh/ocspsig.c',
572 'nss/lib/certhigh/ocspt.h',
573 'nss/lib/certhigh/ocspti.h',
574 'nss/lib/certhigh/xcrldist.c',
575 'nss/lib/cryptohi/cryptohi.h',
576 'nss/lib/cryptohi/cryptoht.h',
577 'nss/lib/cryptohi/dsautil.c',
578 'nss/lib/cryptohi/key.h',
579 'nss/lib/cryptohi/keyhi.h',
580 'nss/lib/cryptohi/keyi.h',
581 'nss/lib/cryptohi/keyt.h',
582 'nss/lib/cryptohi/keythi.h',
583 'nss/lib/cryptohi/sechash.c',
584 'nss/lib/cryptohi/sechash.h',
585 'nss/lib/cryptohi/seckey.c',
586 'nss/lib/cryptohi/secsign.c',
587 'nss/lib/cryptohi/secvfy.c',
588 'nss/lib/dev/ckhelper.c',
589 'nss/lib/dev/ckhelper.h',
590 'nss/lib/dev/dev.h',
591 'nss/lib/dev/devm.h',
592 'nss/lib/dev/devslot.c',
593 'nss/lib/dev/devt.h',
594 'nss/lib/dev/devtm.h',
595 'nss/lib/dev/devtoken.c',
596 'nss/lib/dev/devutil.c',
597 'nss/lib/dev/nssdev.h',
598 'nss/lib/dev/nssdevt.h',
599 'nss/lib/freebl/aeskeywrap.c',
600 'nss/lib/freebl/alg2268.c',
601 'nss/lib/freebl/alghmac.c',
602 'nss/lib/freebl/alghmac.h',
603 'nss/lib/freebl/arcfive.c',
604 'nss/lib/freebl/arcfour.c',
605 'nss/lib/freebl/blapi.h',
606 'nss/lib/freebl/blapii.h',
607 'nss/lib/freebl/blapit.h',
608 'nss/lib/freebl/camellia.c',
609 'nss/lib/freebl/camellia.h',
610 'nss/lib/freebl/chacha20/chacha20.c',
611 'nss/lib/freebl/chacha20/chacha20.h',
612 'nss/lib/freebl/chacha20/chacha20_vec.c',
613 'nss/lib/freebl/chacha20poly1305.c',
614 'nss/lib/freebl/chacha20poly1305.h',
615 'nss/lib/freebl/ctr.c',
616 'nss/lib/freebl/ctr.h',
617 'nss/lib/freebl/cts.c',
618 'nss/lib/freebl/cts.h',
619 'nss/lib/freebl/des.c',
620 'nss/lib/freebl/des.h',
621 'nss/lib/freebl/desblapi.c',
622 'nss/lib/freebl/dh.c',
623 'nss/lib/freebl/drbg.c',
624 'nss/lib/freebl/dsa.c',
625 'nss/lib/freebl/ec.c',
626 'nss/lib/freebl/ec.h',
627 'nss/lib/freebl/ecdecode.c',
628 'nss/lib/freebl/ecl/ec2.h',
629 'nss/lib/freebl/ecl/ecl-curve.h',
630 'nss/lib/freebl/ecl/ecl-exp.h',
631 'nss/lib/freebl/ecl/ecl-priv.h',
632 'nss/lib/freebl/ecl/ecl.c',
633 'nss/lib/freebl/ecl/ecl.h',
634 'nss/lib/freebl/ecl/ecl_curve.c',
635 'nss/lib/freebl/ecl/ecl_gf.c',
636 'nss/lib/freebl/ecl/ecl_mult.c',
637 'nss/lib/freebl/ecl/ecp.h',
638 'nss/lib/freebl/ecl/ecp_256.c',
639 'nss/lib/freebl/ecl/ecp_256_32.c',
640 'nss/lib/freebl/ecl/ecp_384.c',
641 'nss/lib/freebl/ecl/ecp_521.c',
642 'nss/lib/freebl/ecl/ecp_aff.c',
643 'nss/lib/freebl/ecl/ecp_jac.c',
644 'nss/lib/freebl/ecl/ecp_jm.c',
645 'nss/lib/freebl/ecl/ecp_mont.c',
646 'nss/lib/freebl/ecl/ec_naf.c',
647 'nss/lib/freebl/gcm.c',
648 'nss/lib/freebl/gcm.h',
649 'nss/lib/freebl/intel-aes-x86-masm.asm',
650 'nss/lib/freebl/intel-aes.h',
651 'nss/lib/freebl/hmacct.c',
652 'nss/lib/freebl/hmacct.h',
653 'nss/lib/freebl/jpake.c',
654 'nss/lib/freebl/md2.c',
655 'nss/lib/freebl/md5.c',
656 'nss/lib/freebl/mpi/logtab.h',
657 'nss/lib/freebl/mpi/mpcpucache.c',
658 'nss/lib/freebl/mpi/mpi-config.h',
659 'nss/lib/freebl/mpi/mpi-priv.h',
660 'nss/lib/freebl/mpi/mpi.c',
661 'nss/lib/freebl/mpi/mpi.h',
662 'nss/lib/freebl/mpi/mpi_amd64.c',
663 'nss/lib/freebl/mpi/mpi_arm.c',
664 'nss/lib/freebl/mpi/mpi_arm_mac.c',
665 'nss/lib/freebl/mpi/mpi_x86_asm.c',
666 'nss/lib/freebl/mpi/mplogic.c',
667 'nss/lib/freebl/mpi/mplogic.h',
668 'nss/lib/freebl/mpi/mpmontg.c',
669 'nss/lib/freebl/mpi/mpprime.c',
670 'nss/lib/freebl/mpi/mpprime.h',
671 'nss/lib/freebl/mpi/mp_gf2m-priv.h',
672 'nss/lib/freebl/mpi/mp_gf2m.c',
673 'nss/lib/freebl/mpi/mp_gf2m.h',
674 'nss/lib/freebl/mpi/primes.c',
675 'nss/lib/freebl/nss_build_config_mac.h',
676 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c',
677 'nss/lib/freebl/poly1305/poly1305.c',
678 'nss/lib/freebl/poly1305/poly1305.h',
679 'nss/lib/freebl/pqg.c',
680 'nss/lib/freebl/pqg.h',
681 'nss/lib/freebl/rawhash.c',
682 'nss/lib/freebl/rijndael.c',
683 'nss/lib/freebl/rijndael.h',
684 'nss/lib/freebl/rijndael32.tab',
685 'nss/lib/freebl/rsa.c',
686 'nss/lib/freebl/rsapkcs.c',
687 'nss/lib/freebl/secmpi.h',
688 'nss/lib/freebl/secrng.h',
689 'nss/lib/freebl/seed.c',
690 'nss/lib/freebl/seed.h',
691 'nss/lib/freebl/sha256.h',
692 'nss/lib/freebl/sha512.c',
693 'nss/lib/freebl/sha_fast.c',
694 'nss/lib/freebl/sha_fast.h',
695 'nss/lib/freebl/shsign.h',
696 'nss/lib/freebl/shvfy.c',
697 'nss/lib/freebl/sysrand.c',
698 'nss/lib/freebl/tlsprfalg.c',
699 'nss/lib/freebl/unix_rand.c',
700 'nss/lib/freebl/win_rand.c',
701 'nss/lib/libpkix/include/pkix.h',
702 'nss/lib/libpkix/include/pkix_certsel.h',
703 'nss/lib/libpkix/include/pkix_certstore.h',
704 'nss/lib/libpkix/include/pkix_checker.h',
705 'nss/lib/libpkix/include/pkix_crlsel.h',
706 'nss/lib/libpkix/include/pkix_errorstrings.h',
707 'nss/lib/libpkix/include/pkix_params.h',
708 'nss/lib/libpkix/include/pkix_pl_pki.h',
709 'nss/lib/libpkix/include/pkix_pl_system.h',
710 'nss/lib/libpkix/include/pkix_results.h',
711 'nss/lib/libpkix/include/pkix_revchecker.h',
712 'nss/lib/libpkix/include/pkix_sample_modules.h',
713 'nss/lib/libpkix/include/pkix_util.h',
714 'nss/lib/libpkix/include/pkixt.h',
715 'nss/lib/libpkix/pkix/certsel/pkix_certselector.c',
716 'nss/lib/libpkix/pkix/certsel/pkix_certselector.h',
717 'nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c',
718 'nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.h',
719 'nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.c',
720 'nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.h',
721 'nss/lib/libpkix/pkix/checker/pkix_certchainchecker.c',
722 'nss/lib/libpkix/pkix/checker/pkix_certchainchecker.h',
723 'nss/lib/libpkix/pkix/checker/pkix_crlchecker.c',
724 'nss/lib/libpkix/pkix/checker/pkix_crlchecker.h',
725 'nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c',
726 'nss/lib/libpkix/pkix/checker/pkix_ekuchecker.h',
727 'nss/lib/libpkix/pkix/checker/pkix_expirationchecker.c',
728 'nss/lib/libpkix/pkix/checker/pkix_expirationchecker.h',
729 'nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.c',
730 'nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.h',
731 'nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.c',
732 'nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.h',
733 'nss/lib/libpkix/pkix/checker/pkix_ocspchecker.c',
734 'nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h',
735 'nss/lib/libpkix/pkix/checker/pkix_policychecker.c',
736 'nss/lib/libpkix/pkix/checker/pkix_policychecker.h',
737 'nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c',
738 'nss/lib/libpkix/pkix/checker/pkix_revocationchecker.h',
739 'nss/lib/libpkix/pkix/checker/pkix_revocationmethod.c',
740 'nss/lib/libpkix/pkix/checker/pkix_revocationmethod.h',
741 'nss/lib/libpkix/pkix/checker/pkix_signaturechecker.c',
742 'nss/lib/libpkix/pkix/checker/pkix_signaturechecker.h',
743 'nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.c',
744 'nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.h',
745 'nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.c',
746 'nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.h',
747 'nss/lib/libpkix/pkix/crlsel/pkix_crlselector.c',
748 'nss/lib/libpkix/pkix/crlsel/pkix_crlselector.h',
749 'nss/lib/libpkix/pkix/params/pkix_procparams.c',
750 'nss/lib/libpkix/pkix/params/pkix_procparams.h',
751 'nss/lib/libpkix/pkix/params/pkix_resourcelimits.c',
752 'nss/lib/libpkix/pkix/params/pkix_resourcelimits.h',
753 'nss/lib/libpkix/pkix/params/pkix_trustanchor.c',
754 'nss/lib/libpkix/pkix/params/pkix_trustanchor.h',
755 'nss/lib/libpkix/pkix/params/pkix_valparams.c',
756 'nss/lib/libpkix/pkix/params/pkix_valparams.h',
757 'nss/lib/libpkix/pkix/results/pkix_buildresult.c',
758 'nss/lib/libpkix/pkix/results/pkix_buildresult.h',
759 'nss/lib/libpkix/pkix/results/pkix_policynode.c',
760 'nss/lib/libpkix/pkix/results/pkix_policynode.h',
761 'nss/lib/libpkix/pkix/results/pkix_valresult.c',
762 'nss/lib/libpkix/pkix/results/pkix_valresult.h',
763 'nss/lib/libpkix/pkix/results/pkix_verifynode.c',
764 'nss/lib/libpkix/pkix/results/pkix_verifynode.h',
765 'nss/lib/libpkix/pkix/store/pkix_store.c',
766 'nss/lib/libpkix/pkix/store/pkix_store.h',
767 'nss/lib/libpkix/pkix/top/pkix_build.c',
768 'nss/lib/libpkix/pkix/top/pkix_build.h',
769 'nss/lib/libpkix/pkix/top/pkix_lifecycle.c',
770 'nss/lib/libpkix/pkix/top/pkix_lifecycle.h',
771 'nss/lib/libpkix/pkix/top/pkix_validate.c',
772 'nss/lib/libpkix/pkix/top/pkix_validate.h',
773 'nss/lib/libpkix/pkix/util/pkix_error.c',
774 'nss/lib/libpkix/pkix/util/pkix_error.h',
775 'nss/lib/libpkix/pkix/util/pkix_errpaths.c',
776 'nss/lib/libpkix/pkix/util/pkix_list.c',
777 'nss/lib/libpkix/pkix/util/pkix_list.h',
778 'nss/lib/libpkix/pkix/util/pkix_logger.c',
779 'nss/lib/libpkix/pkix/util/pkix_logger.h',
780 'nss/lib/libpkix/pkix/util/pkix_tools.c',
781 'nss/lib/libpkix/pkix/util/pkix_tools.h',
782 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c',
783 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h',
784 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c',
785 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.h',
786 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.c',
787 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.h',
788 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c',
789 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.h',
790 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c',
791 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h',
792 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c',
793 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h',
794 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c',
795 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h',
796 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c',
797 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h',
798 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h',
799 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c',
800 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.c',
801 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.h',
802 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c',
803 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.h',
804 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c',
805 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.h',
806 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.c',
807 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.h',
808 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.c',
809 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h',
810 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.c',
811 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.h',
812 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.c',
813 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.h',
814 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.c',
815 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.h',
816 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.c',
817 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.h',
818 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c',
819 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.h',
820 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c',
821 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.h',
822 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.c',
823 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.h',
824 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.c',
825 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.h',
826 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.c',
827 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.h',
828 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c',
829 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.h',
830 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c',
831 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.h',
832 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c',
833 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.h',
834 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c',
835 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h',
836 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c',
837 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.h',
838 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.c',
839 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.h',
840 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.c',
841 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.h',
842 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.c',
843 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.h',
844 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.c',
845 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h',
846 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_error.c',
847 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.c',
848 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.h',
849 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.c',
850 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.h',
851 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.c',
852 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.h',
853 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.c',
854 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.h',
855 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.c',
856 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.h',
857 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c',
858 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.h',
859 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c',
860 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.h',
861 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.c',
862 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.h',
863 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.c',
864 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.h',
865 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.c',
866 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.h',
867 'nss/lib/nss/nss.h',
868 'nss/lib/nss/nssinit.c',
869 'nss/lib/nss/nssrenam.h',
870 'nss/lib/nss/utilwrap.c',
871 'nss/lib/pk11wrap/debug_module.c',
872 'nss/lib/pk11wrap/dev3hack.c',
873 'nss/lib/pk11wrap/dev3hack.h',
874 'nss/lib/pk11wrap/pk11akey.c',
875 'nss/lib/pk11wrap/pk11auth.c',
876 'nss/lib/pk11wrap/pk11cert.c',
877 'nss/lib/pk11wrap/pk11cxt.c',
878 'nss/lib/pk11wrap/pk11err.c',
879 'nss/lib/pk11wrap/pk11func.h',
880 'nss/lib/pk11wrap/pk11kea.c',
881 'nss/lib/pk11wrap/pk11list.c',
882 'nss/lib/pk11wrap/pk11load.c',
883 'nss/lib/pk11wrap/pk11mech.c',
884 'nss/lib/pk11wrap/pk11merge.c',
885 'nss/lib/pk11wrap/pk11nobj.c',
886 'nss/lib/pk11wrap/pk11obj.c',
887 'nss/lib/pk11wrap/pk11pars.c',
888 'nss/lib/pk11wrap/pk11pbe.c',
889 'nss/lib/pk11wrap/pk11pk12.c',
890 'nss/lib/pk11wrap/pk11pqg.c',
891 'nss/lib/pk11wrap/pk11pqg.h',
892 'nss/lib/pk11wrap/pk11priv.h',
893 'nss/lib/pk11wrap/pk11pub.h',
894 'nss/lib/pk11wrap/pk11sdr.c',
895 'nss/lib/pk11wrap/pk11sdr.h',
896 'nss/lib/pk11wrap/pk11skey.c',
897 'nss/lib/pk11wrap/pk11slot.c',
898 'nss/lib/pk11wrap/pk11util.c',
899 'nss/lib/pk11wrap/secmod.h',
900 'nss/lib/pk11wrap/secmodi.h',
901 'nss/lib/pk11wrap/secmodt.h',
902 'nss/lib/pk11wrap/secmodti.h',
903 'nss/lib/pk11wrap/secpkcs5.h',
904 'nss/lib/pkcs7/certread.c',
905 'nss/lib/pkcs7/p7common.c',
906 'nss/lib/pkcs7/p7create.c',
907 'nss/lib/pkcs7/p7decode.c',
908 'nss/lib/pkcs7/p7encode.c',
909 'nss/lib/pkcs7/p7local.c',
910 'nss/lib/pkcs7/p7local.h',
911 'nss/lib/pkcs7/pkcs7t.h',
912 'nss/lib/pkcs7/secmime.c',
913 'nss/lib/pkcs7/secmime.h',
914 'nss/lib/pkcs7/secpkcs7.h',
915 'nss/lib/pki/asymmkey.c',
916 'nss/lib/pki/certdecode.c',
917 'nss/lib/pki/certificate.c',
918 'nss/lib/pki/cryptocontext.c',
919 'nss/lib/pki/nsspki.h',
920 'nss/lib/pki/nsspkit.h',
921 'nss/lib/pki/pki.h',
922 'nss/lib/pki/pki3hack.c',
923 'nss/lib/pki/pki3hack.h',
924 'nss/lib/pki/pkibase.c',
925 'nss/lib/pki/pkim.h',
926 'nss/lib/pki/pkistore.c',
927 'nss/lib/pki/pkistore.h',
928 'nss/lib/pki/pkit.h',
929 'nss/lib/pki/pkitm.h',
930 'nss/lib/pki/symmkey.c',
931 'nss/lib/pki/tdcache.c',
932 'nss/lib/pki/trustdomain.c',
933 'nss/lib/smime/cms.h',
934 'nss/lib/smime/cmslocal.h',
935 'nss/lib/smime/cmsreclist.h',
936 'nss/lib/smime/cmst.h',
937 'nss/lib/smime/smime.h',
938 'nss/lib/softoken/fipsaudt.c',
939 'nss/lib/softoken/fipstest.c',
940 'nss/lib/softoken/fipstokn.c',
941 'nss/lib/softoken/jpakesftk.c',
942 'nss/lib/softoken/lgglue.c',
943 'nss/lib/softoken/lgglue.h',
944 'nss/lib/softoken/lowkey.c',
945 'nss/lib/softoken/lowkeyi.h',
946 'nss/lib/softoken/lowkeyti.h',
947 'nss/lib/softoken/lowpbe.c',
948 'nss/lib/softoken/lowpbe.h',
949 'nss/lib/softoken/padbuf.c',
950 'nss/lib/softoken/pkcs11.c',
951 'nss/lib/softoken/pkcs11c.c',
952 'nss/lib/softoken/pkcs11i.h',
953 'nss/lib/softoken/pkcs11ni.h',
954 'nss/lib/softoken/pkcs11u.c',
955 'nss/lib/softoken/sdb.c',
956 'nss/lib/softoken/sdb.h',
957 'nss/lib/softoken/sftkdb.c',
958 'nss/lib/softoken/sftkdb.h',
959 'nss/lib/softoken/sftkdbt.h',
960 'nss/lib/softoken/sftkdbti.h',
961 'nss/lib/softoken/sftkhmac.c',
962 'nss/lib/softoken/sftkpars.c',
963 'nss/lib/softoken/sftkpars.h',
964 'nss/lib/softoken/sftkpwd.c',
965 'nss/lib/softoken/softkver.c',
966 'nss/lib/softoken/softkver.h',
967 'nss/lib/softoken/softoken.h',
968 'nss/lib/softoken/softoknt.h',
969 'nss/lib/softoken/tlsprf.c',
970 'nss/lib/ssl/sslerr.h',
971 'nss/lib/util/SECerrs.h',
972 'nss/lib/util/base64.h',
973 'nss/lib/util/ciferfam.h',
974 'nss/lib/util/derdec.c',
975 'nss/lib/util/derenc.c',
976 'nss/lib/util/dersubr.c',
977 'nss/lib/util/dertime.c',
978 'nss/lib/util/errstrs.c',
979 'nss/lib/util/hasht.h',
980 'nss/lib/util/nssb64.h',
981 'nss/lib/util/nssb64d.c',
982 'nss/lib/util/nssb64e.c',
983 'nss/lib/util/nssb64t.h',
984 'nss/lib/util/nssilckt.h',
985 'nss/lib/util/nssilock.c',
986 'nss/lib/util/nssilock.h',
987 'nss/lib/util/nsslocks.h',
988 'nss/lib/util/nssrwlk.c',
989 'nss/lib/util/nssrwlk.h',
990 'nss/lib/util/nssrwlkt.h',
991 'nss/lib/util/nssutil.h',
992 'nss/lib/util/oidstring.c',
993 'nss/lib/util/pkcs11.h',
994 'nss/lib/util/pkcs11f.h',
995 'nss/lib/util/pkcs11n.h',
996 'nss/lib/util/pkcs11p.h',
997 'nss/lib/util/pkcs11t.h',
998 'nss/lib/util/pkcs11u.h',
999 'nss/lib/util/pkcs1sig.c',
1000 'nss/lib/util/pkcs1sig.h',
1001 'nss/lib/util/portreg.c',
1002 'nss/lib/util/portreg.h',
1003 'nss/lib/util/quickder.c',
1004 'nss/lib/util/secalgid.c',
1005 'nss/lib/util/secasn1.h',
1006 'nss/lib/util/secasn1d.c',
1007 'nss/lib/util/secasn1e.c',
1008 'nss/lib/util/secasn1t.h',
1009 'nss/lib/util/secasn1u.c',
1010 'nss/lib/util/seccomon.h',
1011 'nss/lib/util/secder.h',
1012 'nss/lib/util/secdert.h',
1013 'nss/lib/util/secdig.c',
1014 'nss/lib/util/secdig.h',
1015 'nss/lib/util/secdigt.h',
1016 'nss/lib/util/secerr.h',
1017 'nss/lib/util/secitem.c',
1018 'nss/lib/util/secitem.h',
1019 'nss/lib/util/secoid.c',
1020 'nss/lib/util/secoid.h',
1021 'nss/lib/util/secoidt.h',
1022 'nss/lib/util/secport.c',
1023 'nss/lib/util/secport.h',
1024 'nss/lib/util/sectime.c',
1025 'nss/lib/util/templates.c',
1026 'nss/lib/util/utf8.c',
1027 'nss/lib/util/utilmod.c',
1028 'nss/lib/util/utilmodt.h',
1029 'nss/lib/util/utilpars.c',
1030 'nss/lib/util/utilpars.h',
1031 'nss/lib/util/utilparst.h',
1032 'nss/lib/util/utilrename.h',
1033 ],
1034 'sources!': [
1035 # mpi_arm.c is included by mpi_arm_mac.c.
1036 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need
1037 # to be excluded conditionally if we start to build NSS on Linux.
1038 'nss/lib/freebl/mpi/mpi_arm.c',
1039 # primes.c is included by mpprime.c.
1040 'nss/lib/freebl/mpi/primes.c',
1041 # unix_rand.c and win_rand.c are included by sysrand.c.
1042 'nss/lib/freebl/unix_rand.c',
1043 'nss/lib/freebl/win_rand.c',
1044 # debug_module.c is included by pk11load.c.
1045 'nss/lib/pk11wrap/debug_module.c',
1046 ],
1047 'dependencies': [
1048 'nspr',
1049 'nss_static_avx',
1050 '../sqlite/sqlite.gyp:sqlite',
1051 ],
1052 'export_dependent_settings': [
1053 'nspr',
1054 ],
1055 'defines': [
1056 'MP_API_COMPATIBLE',
1057 'NSS_DISABLE_DBM',
1058 'NSS_STATIC',
1059 'NSS_USE_STATIC_LIBS',
1060 'RIJNDAEL_INCLUDE_TABLES',
1061 'SHLIB_VERSION=\"3\"',
1062 'SOFTOKEN_SHLIB_VERSION=\"3\"',
1063 'USE_UTIL_DIRECTLY',
1064 ],
1065 'include_dirs': [
1066 'nss/lib/base',
1067 'nss/lib/certdb',
1068 'nss/lib/certhigh',
1069 'nss/lib/cryptohi',
1070 'nss/lib/dev',
1071 'nss/lib/freebl',
1072 'nss/lib/freebl/ecl',
1073 'nss/lib/freebl/mpi',
1074 'nss/lib/libpkix/include',
1075 'nss/lib/libpkix/pkix/certsel',
1076 'nss/lib/libpkix/pkix/checker',
1077 'nss/lib/libpkix/pkix/crlsel',
1078 'nss/lib/libpkix/pkix/params',
1079 'nss/lib/libpkix/pkix/results',
1080 'nss/lib/libpkix/pkix/store',
1081 'nss/lib/libpkix/pkix/top',
1082 'nss/lib/libpkix/pkix/util',
1083 'nss/lib/libpkix/pkix_pl_nss/module',
1084 'nss/lib/libpkix/pkix_pl_nss/pki',
1085 'nss/lib/libpkix/pkix_pl_nss/system',
1086 'nss/lib/nss',
1087 'nss/lib/pk11wrap',
1088 'nss/lib/pkcs7',
1089 'nss/lib/pki',
1090 'nss/lib/smime',
1091 'nss/lib/softoken',
1092 'nss/lib/ssl',
1093 'nss/lib/util',
1094 ],
1095 'direct_dependent_settings': {
1096 'defines': [
1097 'NSS_STATIC',
1098 'NSS_USE_STATIC_LIBS',
1099 'USE_UTIL_DIRECTLY',
1100 ],
1101 'include_dirs': [
1102 'nspr/pr/include',
1103 'nspr/lib/ds',
1104 'nspr/lib/libc/include',
1105 'nss/lib/base',
1106 'nss/lib/certdb',
1107 'nss/lib/certhigh',
1108 'nss/lib/cryptohi',
1109 'nss/lib/dev',
1110 'nss/lib/freebl',
1111 'nss/lib/freebl/ecl',
1112 'nss/lib/nss',
1113 'nss/lib/pk11wrap',
1114 'nss/lib/pkcs7',
1115 'nss/lib/pki',
1116 'nss/lib/smime',
1117 'nss/lib/softoken',
1118 'nss/lib/util',
1119 ],
1120 },
1121 'msvs_disabled_warnings': [4018, 4101, 4267, ],
1122 'variables': {
1123 'clang_warning_flags': [
1124 # nss doesn't explicitly cast between different enum types.
1125 '-Wno-conversion',
1126 # nss passes "const char*" through "void*".
1127 '-Wno-incompatible-pointer-types',
1128 # nss prefers `a && b || c` over `(a && b) || c`.
1129 '-Wno-logical-op-parentheses',
1130 # nss doesn't use exhaustive switches on enums
1131 '-Wno-switch',
1132 # nss has some `unsigned < 0` checks.
1133 '-Wno-tautological-compare',
1134 ],
1135 },
1136 'conditions': [
1137 ['exclude_nss_root_certs==1', {
1138 'defines': [
1139 'NSS_DISABLE_ROOT_CERTS',
1140 ],
1141 }],
1142 ['exclude_nss_libpkix==1', {
1143 'defines': [
1144 'NSS_DISABLE_LIBPKIX',
1145 ],
1146 'sources/': [
1147 ['exclude', '^nss/lib/libpkix/'],
1148 ],
1149 'sources!': [
1150 'nss/lib/certhigh/certvfypkix.c', 569 'nss/lib/certhigh/certvfypkix.c',
1151 'nss/lib/certhigh/certvfypkixprint.c', 570 'nss/lib/certhigh/certvfypkixprint.c',
1152 ], 571 'nss/lib/certhigh/crlv2.c',
1153 'include_dirs/': [ 572 'nss/lib/certhigh/ocsp.c',
1154 ['exclude', '^nss/lib/libpkix/'], 573 'nss/lib/certhigh/ocsp.h',
1155 ], 574 'nss/lib/certhigh/ocspi.h',
1156 }, { # else: exclude_nss_libpkix==0 575 'nss/lib/certhigh/ocspsig.c',
1157 # Disable the LDAP code in libpkix. 576 'nss/lib/certhigh/ocspt.h',
1158 'defines': [ 577 'nss/lib/certhigh/ocspti.h',
1159 'NSS_PKIX_NO_LDAP', 578 'nss/lib/certhigh/xcrldist.c',
1160 ], 579 'nss/lib/cryptohi/cryptohi.h',
1161 'sources!': [ 580 'nss/lib/cryptohi/cryptoht.h',
581 'nss/lib/cryptohi/dsautil.c',
582 'nss/lib/cryptohi/key.h',
583 'nss/lib/cryptohi/keyhi.h',
584 'nss/lib/cryptohi/keyi.h',
585 'nss/lib/cryptohi/keyt.h',
586 'nss/lib/cryptohi/keythi.h',
587 'nss/lib/cryptohi/sechash.c',
588 'nss/lib/cryptohi/sechash.h',
589 'nss/lib/cryptohi/seckey.c',
590 'nss/lib/cryptohi/secsign.c',
591 'nss/lib/cryptohi/secvfy.c',
592 'nss/lib/dev/ckhelper.c',
593 'nss/lib/dev/ckhelper.h',
594 'nss/lib/dev/dev.h',
595 'nss/lib/dev/devm.h',
596 'nss/lib/dev/devslot.c',
597 'nss/lib/dev/devt.h',
598 'nss/lib/dev/devtm.h',
599 'nss/lib/dev/devtoken.c',
600 'nss/lib/dev/devutil.c',
601 'nss/lib/dev/nssdev.h',
602 'nss/lib/dev/nssdevt.h',
603 'nss/lib/freebl/aeskeywrap.c',
604 'nss/lib/freebl/alg2268.c',
605 'nss/lib/freebl/alghmac.c',
606 'nss/lib/freebl/alghmac.h',
607 'nss/lib/freebl/arcfive.c',
608 'nss/lib/freebl/arcfour.c',
609 'nss/lib/freebl/blapi.h',
610 'nss/lib/freebl/blapii.h',
611 'nss/lib/freebl/blapit.h',
612 'nss/lib/freebl/camellia.c',
613 'nss/lib/freebl/camellia.h',
614 'nss/lib/freebl/chacha20/chacha20.c',
615 'nss/lib/freebl/chacha20/chacha20.h',
616 'nss/lib/freebl/chacha20/chacha20_vec.c',
617 'nss/lib/freebl/chacha20poly1305.c',
618 'nss/lib/freebl/chacha20poly1305.h',
619 'nss/lib/freebl/ctr.c',
620 'nss/lib/freebl/ctr.h',
621 'nss/lib/freebl/cts.c',
622 'nss/lib/freebl/cts.h',
623 'nss/lib/freebl/des.c',
624 'nss/lib/freebl/des.h',
625 'nss/lib/freebl/desblapi.c',
626 'nss/lib/freebl/dh.c',
627 'nss/lib/freebl/drbg.c',
628 'nss/lib/freebl/dsa.c',
629 'nss/lib/freebl/ec.c',
630 'nss/lib/freebl/ec.h',
631 'nss/lib/freebl/ecdecode.c',
632 'nss/lib/freebl/ecl/ec2.h',
633 'nss/lib/freebl/ecl/ecl-curve.h',
634 'nss/lib/freebl/ecl/ecl-exp.h',
635 'nss/lib/freebl/ecl/ecl-priv.h',
636 'nss/lib/freebl/ecl/ecl.c',
637 'nss/lib/freebl/ecl/ecl.h',
638 'nss/lib/freebl/ecl/ecl_curve.c',
639 'nss/lib/freebl/ecl/ecl_gf.c',
640 'nss/lib/freebl/ecl/ecl_mult.c',
641 'nss/lib/freebl/ecl/ecp.h',
642 'nss/lib/freebl/ecl/ecp_256.c',
643 'nss/lib/freebl/ecl/ecp_256_32.c',
644 'nss/lib/freebl/ecl/ecp_384.c',
645 'nss/lib/freebl/ecl/ecp_521.c',
646 'nss/lib/freebl/ecl/ecp_aff.c',
647 'nss/lib/freebl/ecl/ecp_jac.c',
648 'nss/lib/freebl/ecl/ecp_jm.c',
649 'nss/lib/freebl/ecl/ecp_mont.c',
650 'nss/lib/freebl/ecl/ec_naf.c',
651 'nss/lib/freebl/gcm.c',
652 'nss/lib/freebl/gcm.h',
653 'nss/lib/freebl/intel-aes-x86-masm.asm',
654 'nss/lib/freebl/intel-aes.h',
655 'nss/lib/freebl/hmacct.c',
656 'nss/lib/freebl/hmacct.h',
657 'nss/lib/freebl/jpake.c',
658 'nss/lib/freebl/md2.c',
659 'nss/lib/freebl/md5.c',
660 'nss/lib/freebl/mpi/logtab.h',
661 'nss/lib/freebl/mpi/mpcpucache.c',
662 'nss/lib/freebl/mpi/mpi-config.h',
663 'nss/lib/freebl/mpi/mpi-priv.h',
664 'nss/lib/freebl/mpi/mpi.c',
665 'nss/lib/freebl/mpi/mpi.h',
666 'nss/lib/freebl/mpi/mpi_amd64.c',
667 'nss/lib/freebl/mpi/mpi_arm.c',
668 'nss/lib/freebl/mpi/mpi_arm_mac.c',
669 'nss/lib/freebl/mpi/mpi_x86_asm.c',
670 'nss/lib/freebl/mpi/mplogic.c',
671 'nss/lib/freebl/mpi/mplogic.h',
672 'nss/lib/freebl/mpi/mpmontg.c',
673 'nss/lib/freebl/mpi/mpprime.c',
674 'nss/lib/freebl/mpi/mpprime.h',
675 'nss/lib/freebl/mpi/mp_gf2m-priv.h',
676 'nss/lib/freebl/mpi/mp_gf2m.c',
677 'nss/lib/freebl/mpi/mp_gf2m.h',
678 'nss/lib/freebl/mpi/primes.c',
679 'nss/lib/freebl/nss_build_config_mac.h',
680 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source. c',
681 'nss/lib/freebl/poly1305/poly1305.c',
682 'nss/lib/freebl/poly1305/poly1305.h',
683 'nss/lib/freebl/pqg.c',
684 'nss/lib/freebl/pqg.h',
685 'nss/lib/freebl/rawhash.c',
686 'nss/lib/freebl/rijndael.c',
687 'nss/lib/freebl/rijndael.h',
688 'nss/lib/freebl/rijndael32.tab',
689 'nss/lib/freebl/rsa.c',
690 'nss/lib/freebl/rsapkcs.c',
691 'nss/lib/freebl/secmpi.h',
692 'nss/lib/freebl/secrng.h',
693 'nss/lib/freebl/seed.c',
694 'nss/lib/freebl/seed.h',
695 'nss/lib/freebl/sha256.h',
696 'nss/lib/freebl/sha512.c',
697 'nss/lib/freebl/sha_fast.c',
698 'nss/lib/freebl/sha_fast.h',
699 'nss/lib/freebl/shsign.h',
700 'nss/lib/freebl/shvfy.c',
701 'nss/lib/freebl/sysrand.c',
702 'nss/lib/freebl/tlsprfalg.c',
703 'nss/lib/freebl/unix_rand.c',
704 'nss/lib/freebl/win_rand.c',
705 'nss/lib/libpkix/include/pkix.h',
706 'nss/lib/libpkix/include/pkix_certsel.h',
707 'nss/lib/libpkix/include/pkix_certstore.h',
708 'nss/lib/libpkix/include/pkix_checker.h',
709 'nss/lib/libpkix/include/pkix_crlsel.h',
710 'nss/lib/libpkix/include/pkix_errorstrings.h',
711 'nss/lib/libpkix/include/pkix_params.h',
712 'nss/lib/libpkix/include/pkix_pl_pki.h',
713 'nss/lib/libpkix/include/pkix_pl_system.h',
714 'nss/lib/libpkix/include/pkix_results.h',
715 'nss/lib/libpkix/include/pkix_revchecker.h',
716 'nss/lib/libpkix/include/pkix_sample_modules.h',
717 'nss/lib/libpkix/include/pkix_util.h',
718 'nss/lib/libpkix/include/pkixt.h',
719 'nss/lib/libpkix/pkix/certsel/pkix_certselector.c',
720 'nss/lib/libpkix/pkix/certsel/pkix_certselector.h',
721 'nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c',
722 'nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.h',
723 'nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.c',
724 'nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.h',
725 'nss/lib/libpkix/pkix/checker/pkix_certchainchecker.c',
726 'nss/lib/libpkix/pkix/checker/pkix_certchainchecker.h',
727 'nss/lib/libpkix/pkix/checker/pkix_crlchecker.c',
728 'nss/lib/libpkix/pkix/checker/pkix_crlchecker.h',
729 'nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c',
730 'nss/lib/libpkix/pkix/checker/pkix_ekuchecker.h',
731 'nss/lib/libpkix/pkix/checker/pkix_expirationchecker.c',
732 'nss/lib/libpkix/pkix/checker/pkix_expirationchecker.h',
733 'nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.c',
734 'nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.h',
735 'nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.c',
736 'nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.h',
737 'nss/lib/libpkix/pkix/checker/pkix_ocspchecker.c',
738 'nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h',
739 'nss/lib/libpkix/pkix/checker/pkix_policychecker.c',
740 'nss/lib/libpkix/pkix/checker/pkix_policychecker.h',
741 'nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c',
742 'nss/lib/libpkix/pkix/checker/pkix_revocationchecker.h',
743 'nss/lib/libpkix/pkix/checker/pkix_revocationmethod.c',
744 'nss/lib/libpkix/pkix/checker/pkix_revocationmethod.h',
745 'nss/lib/libpkix/pkix/checker/pkix_signaturechecker.c',
746 'nss/lib/libpkix/pkix/checker/pkix_signaturechecker.h',
747 'nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.c',
748 'nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.h',
749 'nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.c',
750 'nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.h',
751 'nss/lib/libpkix/pkix/crlsel/pkix_crlselector.c',
752 'nss/lib/libpkix/pkix/crlsel/pkix_crlselector.h',
753 'nss/lib/libpkix/pkix/params/pkix_procparams.c',
754 'nss/lib/libpkix/pkix/params/pkix_procparams.h',
755 'nss/lib/libpkix/pkix/params/pkix_resourcelimits.c',
756 'nss/lib/libpkix/pkix/params/pkix_resourcelimits.h',
757 'nss/lib/libpkix/pkix/params/pkix_trustanchor.c',
758 'nss/lib/libpkix/pkix/params/pkix_trustanchor.h',
759 'nss/lib/libpkix/pkix/params/pkix_valparams.c',
760 'nss/lib/libpkix/pkix/params/pkix_valparams.h',
761 'nss/lib/libpkix/pkix/results/pkix_buildresult.c',
762 'nss/lib/libpkix/pkix/results/pkix_buildresult.h',
763 'nss/lib/libpkix/pkix/results/pkix_policynode.c',
764 'nss/lib/libpkix/pkix/results/pkix_policynode.h',
765 'nss/lib/libpkix/pkix/results/pkix_valresult.c',
766 'nss/lib/libpkix/pkix/results/pkix_valresult.h',
767 'nss/lib/libpkix/pkix/results/pkix_verifynode.c',
768 'nss/lib/libpkix/pkix/results/pkix_verifynode.h',
769 'nss/lib/libpkix/pkix/store/pkix_store.c',
770 'nss/lib/libpkix/pkix/store/pkix_store.h',
771 'nss/lib/libpkix/pkix/top/pkix_build.c',
772 'nss/lib/libpkix/pkix/top/pkix_build.h',
773 'nss/lib/libpkix/pkix/top/pkix_lifecycle.c',
774 'nss/lib/libpkix/pkix/top/pkix_lifecycle.h',
775 'nss/lib/libpkix/pkix/top/pkix_validate.c',
776 'nss/lib/libpkix/pkix/top/pkix_validate.h',
777 'nss/lib/libpkix/pkix/util/pkix_error.c',
778 'nss/lib/libpkix/pkix/util/pkix_error.h',
779 'nss/lib/libpkix/pkix/util/pkix_errpaths.c',
780 'nss/lib/libpkix/pkix/util/pkix_list.c',
781 'nss/lib/libpkix/pkix/util/pkix_list.h',
782 'nss/lib/libpkix/pkix/util/pkix_logger.c',
783 'nss/lib/libpkix/pkix/util/pkix_logger.h',
784 'nss/lib/libpkix/pkix/util/pkix_tools.c',
785 'nss/lib/libpkix/pkix/util/pkix_tools.h',
786 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c',
787 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h',
788 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c',
789 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.h',
790 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.c',
791 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.h',
792 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c',
793 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.h',
1162 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c', 794 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c',
1163 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h', 795 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h',
1164 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c', 796 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c',
1165 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h', 797 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h',
1166 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c', 798 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c',
1167 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h', 799 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h',
1168 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c', 800 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c',
1169 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h', 801 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h',
1170 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h', 802 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h',
1171 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c', 803 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c',
1172 ], 804 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.c',
1173 }], 805 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.h',
1174 ['target_arch=="ia32"', { 806 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c',
807 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.h',
808 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c',
809 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.h',
810 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.c',
811 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.h',
812 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.c',
813 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h',
814 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.c',
815 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.h',
816 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.c',
817 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.h',
818 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.c',
819 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.h',
820 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.c',
821 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.h',
822 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c',
823 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.h',
824 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c',
825 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.h',
826 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.c',
827 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.h',
828 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.c',
829 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.h',
830 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.c',
831 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.h',
832 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c',
833 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.h',
834 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c',
835 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.h',
836 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c',
837 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.h',
838 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c',
839 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h',
840 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c',
841 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.h',
842 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.c',
843 'nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.h',
844 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.c',
845 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.h',
846 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.c',
847 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.h',
848 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.c',
849 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h',
850 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_error.c',
851 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.c',
852 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.h',
853 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.c',
854 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.h',
855 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.c',
856 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.h',
857 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.c',
858 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.h',
859 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.c',
860 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.h',
861 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c',
862 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.h',
863 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c',
864 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.h',
865 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.c',
866 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.h',
867 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.c',
868 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.h',
869 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.c',
870 'nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.h',
871 'nss/lib/nss/nss.h',
872 'nss/lib/nss/nssinit.c',
873 'nss/lib/nss/nssrenam.h',
874 'nss/lib/nss/utilwrap.c',
875 'nss/lib/pk11wrap/debug_module.c',
876 'nss/lib/pk11wrap/dev3hack.c',
877 'nss/lib/pk11wrap/dev3hack.h',
878 'nss/lib/pk11wrap/pk11akey.c',
879 'nss/lib/pk11wrap/pk11auth.c',
880 'nss/lib/pk11wrap/pk11cert.c',
881 'nss/lib/pk11wrap/pk11cxt.c',
882 'nss/lib/pk11wrap/pk11err.c',
883 'nss/lib/pk11wrap/pk11func.h',
884 'nss/lib/pk11wrap/pk11kea.c',
885 'nss/lib/pk11wrap/pk11list.c',
886 'nss/lib/pk11wrap/pk11load.c',
887 'nss/lib/pk11wrap/pk11mech.c',
888 'nss/lib/pk11wrap/pk11merge.c',
889 'nss/lib/pk11wrap/pk11nobj.c',
890 'nss/lib/pk11wrap/pk11obj.c',
891 'nss/lib/pk11wrap/pk11pars.c',
892 'nss/lib/pk11wrap/pk11pbe.c',
893 'nss/lib/pk11wrap/pk11pk12.c',
894 'nss/lib/pk11wrap/pk11pqg.c',
895 'nss/lib/pk11wrap/pk11pqg.h',
896 'nss/lib/pk11wrap/pk11priv.h',
897 'nss/lib/pk11wrap/pk11pub.h',
898 'nss/lib/pk11wrap/pk11sdr.c',
899 'nss/lib/pk11wrap/pk11sdr.h',
900 'nss/lib/pk11wrap/pk11skey.c',
901 'nss/lib/pk11wrap/pk11slot.c',
902 'nss/lib/pk11wrap/pk11util.c',
903 'nss/lib/pk11wrap/secmod.h',
904 'nss/lib/pk11wrap/secmodi.h',
905 'nss/lib/pk11wrap/secmodt.h',
906 'nss/lib/pk11wrap/secmodti.h',
907 'nss/lib/pk11wrap/secpkcs5.h',
908 'nss/lib/pkcs7/certread.c',
909 'nss/lib/pkcs7/p7common.c',
910 'nss/lib/pkcs7/p7create.c',
911 'nss/lib/pkcs7/p7decode.c',
912 'nss/lib/pkcs7/p7encode.c',
913 'nss/lib/pkcs7/p7local.c',
914 'nss/lib/pkcs7/p7local.h',
915 'nss/lib/pkcs7/pkcs7t.h',
916 'nss/lib/pkcs7/secmime.c',
917 'nss/lib/pkcs7/secmime.h',
918 'nss/lib/pkcs7/secpkcs7.h',
919 'nss/lib/pki/asymmkey.c',
920 'nss/lib/pki/certdecode.c',
921 'nss/lib/pki/certificate.c',
922 'nss/lib/pki/cryptocontext.c',
923 'nss/lib/pki/nsspki.h',
924 'nss/lib/pki/nsspkit.h',
925 'nss/lib/pki/pki.h',
926 'nss/lib/pki/pki3hack.c',
927 'nss/lib/pki/pki3hack.h',
928 'nss/lib/pki/pkibase.c',
929 'nss/lib/pki/pkim.h',
930 'nss/lib/pki/pkistore.c',
931 'nss/lib/pki/pkistore.h',
932 'nss/lib/pki/pkit.h',
933 'nss/lib/pki/pkitm.h',
934 'nss/lib/pki/symmkey.c',
935 'nss/lib/pki/tdcache.c',
936 'nss/lib/pki/trustdomain.c',
937 'nss/lib/smime/cms.h',
938 'nss/lib/smime/cmslocal.h',
939 'nss/lib/smime/cmsreclist.h',
940 'nss/lib/smime/cmst.h',
941 'nss/lib/smime/smime.h',
942 'nss/lib/softoken/fipsaudt.c',
943 'nss/lib/softoken/fipstest.c',
944 'nss/lib/softoken/fipstokn.c',
945 'nss/lib/softoken/jpakesftk.c',
946 'nss/lib/softoken/lgglue.c',
947 'nss/lib/softoken/lgglue.h',
948 'nss/lib/softoken/lowkey.c',
949 'nss/lib/softoken/lowkeyi.h',
950 'nss/lib/softoken/lowkeyti.h',
951 'nss/lib/softoken/lowpbe.c',
952 'nss/lib/softoken/lowpbe.h',
953 'nss/lib/softoken/padbuf.c',
954 'nss/lib/softoken/pkcs11.c',
955 'nss/lib/softoken/pkcs11c.c',
956 'nss/lib/softoken/pkcs11i.h',
957 'nss/lib/softoken/pkcs11ni.h',
958 'nss/lib/softoken/pkcs11u.c',
959 'nss/lib/softoken/sdb.c',
960 'nss/lib/softoken/sdb.h',
961 'nss/lib/softoken/sftkdb.c',
962 'nss/lib/softoken/sftkdb.h',
963 'nss/lib/softoken/sftkdbt.h',
964 'nss/lib/softoken/sftkdbti.h',
965 'nss/lib/softoken/sftkhmac.c',
966 'nss/lib/softoken/sftkpars.c',
967 'nss/lib/softoken/sftkpars.h',
968 'nss/lib/softoken/sftkpwd.c',
969 'nss/lib/softoken/softkver.c',
970 'nss/lib/softoken/softkver.h',
971 'nss/lib/softoken/softoken.h',
972 'nss/lib/softoken/softoknt.h',
973 'nss/lib/softoken/tlsprf.c',
974 'nss/lib/ssl/sslerr.h',
975 'nss/lib/util/SECerrs.h',
976 'nss/lib/util/base64.h',
977 'nss/lib/util/ciferfam.h',
978 'nss/lib/util/derdec.c',
979 'nss/lib/util/derenc.c',
980 'nss/lib/util/dersubr.c',
981 'nss/lib/util/dertime.c',
982 'nss/lib/util/errstrs.c',
983 'nss/lib/util/hasht.h',
984 'nss/lib/util/nssb64.h',
985 'nss/lib/util/nssb64d.c',
986 'nss/lib/util/nssb64e.c',
987 'nss/lib/util/nssb64t.h',
988 'nss/lib/util/nssilckt.h',
989 'nss/lib/util/nssilock.c',
990 'nss/lib/util/nssilock.h',
991 'nss/lib/util/nsslocks.h',
992 'nss/lib/util/nssrwlk.c',
993 'nss/lib/util/nssrwlk.h',
994 'nss/lib/util/nssrwlkt.h',
995 'nss/lib/util/nssutil.h',
996 'nss/lib/util/oidstring.c',
997 'nss/lib/util/pkcs11.h',
998 'nss/lib/util/pkcs11f.h',
999 'nss/lib/util/pkcs11n.h',
1000 'nss/lib/util/pkcs11p.h',
1001 'nss/lib/util/pkcs11t.h',
1002 'nss/lib/util/pkcs11u.h',
1003 'nss/lib/util/pkcs1sig.c',
1004 'nss/lib/util/pkcs1sig.h',
1005 'nss/lib/util/portreg.c',
1006 'nss/lib/util/portreg.h',
1007 'nss/lib/util/quickder.c',
1008 'nss/lib/util/secalgid.c',
1009 'nss/lib/util/secasn1.h',
1010 'nss/lib/util/secasn1d.c',
1011 'nss/lib/util/secasn1e.c',
1012 'nss/lib/util/secasn1t.h',
1013 'nss/lib/util/secasn1u.c',
1014 'nss/lib/util/seccomon.h',
1015 'nss/lib/util/secder.h',
1016 'nss/lib/util/secdert.h',
1017 'nss/lib/util/secdig.c',
1018 'nss/lib/util/secdig.h',
1019 'nss/lib/util/secdigt.h',
1020 'nss/lib/util/secerr.h',
1021 'nss/lib/util/secitem.c',
1022 'nss/lib/util/secitem.h',
1023 'nss/lib/util/secoid.c',
1024 'nss/lib/util/secoid.h',
1025 'nss/lib/util/secoidt.h',
1026 'nss/lib/util/secport.c',
1027 'nss/lib/util/secport.h',
1028 'nss/lib/util/sectime.c',
1029 'nss/lib/util/templates.c',
1030 'nss/lib/util/utf8.c',
1031 'nss/lib/util/utilmod.c',
1032 'nss/lib/util/utilmodt.h',
1033 'nss/lib/util/utilpars.c',
1034 'nss/lib/util/utilpars.h',
1035 'nss/lib/util/utilparst.h',
1036 'nss/lib/util/utilrename.h',
1037 ],
1175 'sources!': [ 1038 'sources!': [
1176 'nss/lib/freebl/mpi/mpi_amd64.c', 1039 # mpi_arm.c is included by mpi_arm_mac.c.
1177 ], 1040 # NOTE: mpi_arm.c can be used directly on Linux. mpi_arm.c will need
1178 }], 1041 # to be excluded conditionally if we start to build NSS on Linux.
1179 ['target_arch=="x64" and OS!="win"', { 1042 'nss/lib/freebl/mpi/mpi_arm.c',
1180 'sources!': [ 1043 # primes.c is included by mpprime.c.
1181 'nss/lib/freebl/chacha20/chacha20.c', 1044 'nss/lib/freebl/mpi/primes.c',
1182 'nss/lib/freebl/poly1305/poly1305.c', 1045 # unix_rand.c and win_rand.c are included by sysrand.c.
1183 » ], 1046 'nss/lib/freebl/unix_rand.c',
1184 }, { # else: target_arch!="x64" or OS=="win" 1047 'nss/lib/freebl/win_rand.c',
1185 'sources!': [ 1048 # debug_module.c is included by pk11load.c.
1186 'nss/lib/freebl/chacha20/chacha20_vec.c', 1049 'nss/lib/pk11wrap/debug_module.c',
1187 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source. c', 1050 ],
1188 » ], 1051 'dependencies': [
1189 }], 1052 'nspr',
1190 ['OS=="mac" or OS=="ios"', { 1053 'nss_static_avx',
1054 '../sqlite/sqlite.gyp:sqlite',
1055 ],
1056 'export_dependent_settings': [
1057 'nspr',
1058 ],
1191 'defines': [ 1059 'defines': [
1192 'XP_UNIX', 1060 'MP_API_COMPATIBLE',
1193 'DARWIN', 1061 'NSS_DISABLE_DBM',
1194 'HAVE_STRERROR', 1062 'NSS_STATIC',
1195 'HAVE_BSD_FLOCK', 1063 'NSS_USE_STATIC_LIBS',
1196 'SHLIB_SUFFIX=\"dylib\"', 1064 'RIJNDAEL_INCLUDE_TABLES',
1197 'SHLIB_PREFIX=\"lib\"', 1065 'SHLIB_VERSION=\"3\"',
1198 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"', 1066 'SOFTOKEN_SHLIB_VERSION=\"3\"',
1199 ], 1067 'USE_UTIL_DIRECTLY',
1200 'sources!': [ 1068 ],
1201 'nss/lib/freebl/mpi/mpi_amd64.c', 1069 'include_dirs': [
1202 ], 1070 'nss/lib/base',
1203 'variables': { 1071 'nss/lib/certdb',
1204 'forced_include_file': 'nss_build_config_mac.h', 1072 'nss/lib/certhigh',
1205 }, 1073 'nss/lib/cryptohi',
1206 'xcode_settings': { 1074 'nss/lib/dev',
1207 'conditions': [ 1075 'nss/lib/freebl',
1208 ['component == "shared_library"', { 1076 'nss/lib/freebl/ecl',
1209 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # no -fvisibility=hidden 1077 'nss/lib/freebl/mpi',
1210 }], 1078 'nss/lib/libpkix/include',
1079 'nss/lib/libpkix/pkix/certsel',
1080 'nss/lib/libpkix/pkix/checker',
1081 'nss/lib/libpkix/pkix/crlsel',
1082 'nss/lib/libpkix/pkix/params',
1083 'nss/lib/libpkix/pkix/results',
1084 'nss/lib/libpkix/pkix/store',
1085 'nss/lib/libpkix/pkix/top',
1086 'nss/lib/libpkix/pkix/util',
1087 'nss/lib/libpkix/pkix_pl_nss/module',
1088 'nss/lib/libpkix/pkix_pl_nss/pki',
1089 'nss/lib/libpkix/pkix_pl_nss/system',
1090 'nss/lib/nss',
1091 'nss/lib/pk11wrap',
1092 'nss/lib/pkcs7',
1093 'nss/lib/pki',
1094 'nss/lib/smime',
1095 'nss/lib/softoken',
1096 'nss/lib/ssl',
1097 'nss/lib/util',
1098 ],
1099 'direct_dependent_settings': {
1100 'defines': [
1101 'NSS_STATIC',
1102 'NSS_USE_STATIC_LIBS',
1103 'USE_UTIL_DIRECTLY',
1211 ], 1104 ],
1212 # Define processor architecture specific macros in 1105 'include_dirs': [
1213 # <(forced_include_file). 1106 'nspr/pr/include',
1214 'OTHER_CFLAGS': [ 1107 'nspr/lib/ds',
1215 '-include', '<(forced_include_file)', 1108 'nspr/lib/libc/include',
1109 'nss/lib/base',
1110 'nss/lib/certdb',
1111 'nss/lib/certhigh',
1112 'nss/lib/cryptohi',
1113 'nss/lib/dev',
1114 'nss/lib/freebl',
1115 'nss/lib/freebl/ecl',
1116 'nss/lib/nss',
1117 'nss/lib/pk11wrap',
1118 'nss/lib/pkcs7',
1119 'nss/lib/pki',
1120 'nss/lib/smime',
1121 'nss/lib/softoken',
1122 'nss/lib/util',
1216 ], 1123 ],
1217 }, 1124 },
1218 }, { # else: OS!="mac" and OS!="ios" 1125 'msvs_disabled_warnings': [4018, 4101, 4267, ],
1219 'sources!': [ 1126 'variables': {
1220 'nss/lib/freebl/mpi/mpi_arm_mac.c', 1127 'clang_warning_flags': [
1221 ], 1128 # nss doesn't explicitly cast between different enum types.
1222 }], 1129 '-Wno-conversion',
1223 ['OS=="win"', { 1130 # nss passes "const char*" through "void*".
1224 'defines': [ 1131 '-Wno-incompatible-pointer-types',
1225 'SHLIB_SUFFIX=\"dll\"', 1132 # nss prefers `a && b || c` over `(a && b) || c`.
1226 'SHLIB_PREFIX=\"\"', 1133 '-Wno-logical-op-parentheses',
1227 'SOFTOKEN_LIB_NAME=\"softokn3.dll\"', 1134 # nss doesn't use exhaustive switches on enums
1228 'XP_PC', 1135 '-Wno-switch',
1229 'WIN32', 1136 # nss has some `unsigned < 0` checks.
1230 'WIN95', 1137 '-Wno-tautological-compare',
1231 '_WINDOWS',
1232 ],
1233 'direct_dependent_settings': {
1234 'defines': [
1235 '_WINDOWS',
1236 ], 1138 ],
1237 }, 1139 },
1238 'conditions': [ 1140 'conditions': [
1141 ['exclude_nss_root_certs==1', {
1142 'defines': [
1143 'NSS_DISABLE_ROOT_CERTS',
1144 ],
1145 }],
1146 ['exclude_nss_libpkix==1', {
1147 'defines': [
1148 'NSS_DISABLE_LIBPKIX',
1149 ],
1150 'sources/': [
1151 ['exclude', '^nss/lib/libpkix/'],
1152 ],
1153 'sources!': [
1154 'nss/lib/certhigh/certvfypkix.c',
1155 'nss/lib/certhigh/certvfypkixprint.c',
1156 ],
1157 'include_dirs/': [
1158 ['exclude', '^nss/lib/libpkix/'],
1159 ],
1160 }, { # else: exclude_nss_libpkix==0
1161 # Disable the LDAP code in libpkix.
1162 'defines': [
1163 'NSS_PKIX_NO_LDAP',
1164 ],
1165 'sources!': [
1166 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c',
1167 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h',
1168 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c' ,
1169 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h' ,
1170 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c',
1171 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h',
1172 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c',
1173 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h',
1174 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h',
1175 'nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c',
1176 ],
1177 }],
1239 ['target_arch=="ia32"', { 1178 ['target_arch=="ia32"', {
1179 'sources!': [
1180 'nss/lib/freebl/mpi/mpi_amd64.c',
1181 ],
1182 }],
1183 ['target_arch=="x64" and OS!="win"', {
1184 'sources!': [
1185 'nss/lib/freebl/chacha20/chacha20.c',
1186 'nss/lib/freebl/poly1305/poly1305.c',
1187 ],
1188 }, { # else: target_arch!="x64" or OS=="win"
1189 'sources!': [
1190 'nss/lib/freebl/chacha20/chacha20_vec.c',
1191 'nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-sou rce.c',
1192 ],
1193 }],
1194 ['OS=="mac" or OS=="ios"', {
1240 'defines': [ 1195 'defines': [
1241 'NSS_X86_OR_X64', 1196 'XP_UNIX',
1242 'NSS_X86', 1197 'DARWIN',
1243 '_X86_', 1198 'HAVE_STRERROR',
1244 'MP_ASSEMBLY_MULTIPLY', 1199 'HAVE_BSD_FLOCK',
1245 'MP_ASSEMBLY_SQUARE', 1200 'SHLIB_SUFFIX=\"dylib\"',
1246 'MP_ASSEMBLY_DIV_2DX1D', 1201 'SHLIB_PREFIX=\"lib\"',
1247 'MP_USE_UINT_DIGIT', 1202 'SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"',
1248 'MP_NO_MP_WORD', 1203 ],
1249 'USE_HW_AES', 1204 'sources!': [
1250 'INTEL_GCM', 1205 'nss/lib/freebl/mpi/mpi_amd64.c',
1251 ], 1206 ],
1252 'msvs_settings': { 1207 'variables': {
1253 'MASM': { 1208 'forced_include_file': 'nss_build_config_mac.h',
1254 'UseSafeExceptionHandlers': 'true',
1255 },
1256 }, 1209 },
1257 }], 1210 'xcode_settings': {
1258 ['target_arch=="x64"', { 1211 'conditions': [
1212 ['component == "shared_library"', {
1213 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # no -fvisibility=hidde n
1214 }],
1215 ],
1216 # Define processor architecture specific macros in
1217 # <(forced_include_file).
1218 'OTHER_CFLAGS': [
1219 '-include', '<(forced_include_file)',
1220 ],
1221 },
1222 }, { # else: OS!="mac" and OS!="ios"
1223 'sources!': [
1224 'nss/lib/freebl/mpi/mpi_arm_mac.c',
1225 ],
1226 }],
1227 ['OS=="win"', {
1259 'defines': [ 1228 'defines': [
1260 'NSS_USE_64', 1229 'SHLIB_SUFFIX=\"dll\"',
1261 'NSS_X86_OR_X64', 1230 'SHLIB_PREFIX=\"\"',
1262 'NSS_X64', 1231 'SOFTOKEN_LIB_NAME=\"softokn3.dll\"',
1263 '_AMD64_', 1232 'XP_PC',
1264 'MP_CHAR_STORE_SLOW', 1233 'WIN32',
1265 'MP_IS_LITTLE_ENDIAN', 1234 'WIN95',
1266 'WIN64', 1235 '_WINDOWS',
1267 ], 1236 ],
1237 'direct_dependent_settings': {
1238 'defines': [
1239 '_WINDOWS',
1240 ],
1241 },
1242 'conditions': [
1243 ['target_arch=="ia32"', {
1244 'defines': [
1245 'NSS_X86_OR_X64',
1246 'NSS_X86',
1247 '_X86_',
1248 'MP_ASSEMBLY_MULTIPLY',
1249 'MP_ASSEMBLY_SQUARE',
1250 'MP_ASSEMBLY_DIV_2DX1D',
1251 'MP_USE_UINT_DIGIT',
1252 'MP_NO_MP_WORD',
1253 'USE_HW_AES',
1254 'INTEL_GCM',
1255 ],
1256 'msvs_settings': {
1257 'MASM': {
1258 'UseSafeExceptionHandlers': 'true',
1259 },
1260 },
1261 }],
1262 ['target_arch=="x64"', {
1263 'defines': [
1264 'NSS_USE_64',
1265 'NSS_X86_OR_X64',
1266 'NSS_X64',
1267 '_AMD64_',
1268 'MP_CHAR_STORE_SLOW',
1269 'MP_IS_LITTLE_ENDIAN',
1270 'WIN64',
1271 ],
1272 'sources!': [
1273 'nss/lib/freebl/intel-aes-x86-masm.asm',
1274 'nss/lib/freebl/mpi/mpi_amd64.c',
1275 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1276 ],
1277 }],
1278 ],
1279 }, { # else: OS!="win"
1268 'sources!': [ 1280 'sources!': [
1269 'nss/lib/freebl/intel-aes-x86-masm.asm', 1281 'nss/lib/freebl/intel-aes-x86-masm.asm',
1270 'nss/lib/freebl/mpi/mpi_amd64.c', 1282 # mpi_x86_asm.c contains MSVC inline assembly code.
1271 'nss/lib/freebl/mpi/mpi_x86_asm.c', 1283 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1272 ], 1284 ],
1273 }], 1285 }],
1274 ], 1286 ],
1275 }, { # else: OS!="win" 1287 },
1276 'sources!': [
1277 'nss/lib/freebl/intel-aes-x86-masm.asm',
1278 # mpi_x86_asm.c contains MSVC inline assembly code.
1279 'nss/lib/freebl/mpi/mpi_x86_asm.c',
1280 ],
1281 }],
1282 ], 1288 ],
1283 }, 1289 }],
1284 ], 1290 ],
1285 } 1291 }
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