OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 | 6 |
7 if (is_linux) { | 7 if (is_linux) { |
8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL | 8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL |
9 # library but the system NSS libraries. Non-Linux platforms using NSS use the | 9 # library but the system NSS libraries. Non-Linux platforms using NSS use the |
10 # hermetic one in //third_party/nss. | 10 # hermetic one in //third_party/nss. |
11 # | 11 # |
12 # Generally you should depend on //crypto:platform instead of using this | 12 # Generally you should depend on //crypto:platform instead of using this |
13 # config since that will properly pick up NSS or OpenSSL depending on | 13 # config since that will properly pick up NSS or OpenSSL depending on |
14 # platform and build config. | 14 # platform and build config. |
15 pkg_config("system_nss_no_ssl_config") { | 15 pkg_config("system_nss_no_ssl_config") { |
16 packages = [ "nss" ] | 16 packages = [ "nss" ] |
17 extra_args = [ | 17 extra_args = [ |
18 "-v", | 18 "-v", |
19 "-lssl3", | 19 "-lssl3", |
20 ] | 20 ] |
21 } | 21 } |
22 } else if (is_ios) { | 22 } |
davidben
2016/04/26 17:14:11
How much do you want to bet this got out of date b
| |
23 config("nspr_config") { | |
24 defines = [ "NO_NSPR_10_SUPPORT" ] | |
25 include_dirs = [ | |
26 "nspr/pr/include", | |
27 "nspr/lib/ds", | |
28 "nspr/lib/libc/include", | |
29 ] | |
30 | |
31 if (!is_component_build) { | |
32 defines += [ "NSPR_STATIC" ] | |
33 } | |
34 } | |
35 | |
36 component("nspr") { | |
37 output_name = "crnspr" | |
38 sources = [ | |
39 "nspr/lib/ds/plarena.c", | |
40 "nspr/lib/ds/plarena.h", | |
41 "nspr/lib/ds/plarenas.h", | |
42 "nspr/lib/ds/plhash.c", | |
43 "nspr/lib/ds/plhash.h", | |
44 "nspr/lib/libc/include/plbase64.h", | |
45 "nspr/lib/libc/include/plerror.h", | |
46 "nspr/lib/libc/include/plgetopt.h", | |
47 "nspr/lib/libc/include/plstr.h", | |
48 "nspr/lib/libc/src/base64.c", | |
49 "nspr/lib/libc/src/plerror.c", | |
50 "nspr/lib/libc/src/plgetopt.c", | |
51 "nspr/lib/libc/src/strcase.c", | |
52 "nspr/lib/libc/src/strcat.c", | |
53 "nspr/lib/libc/src/strchr.c", | |
54 "nspr/lib/libc/src/strcmp.c", | |
55 "nspr/lib/libc/src/strcpy.c", | |
56 "nspr/lib/libc/src/strdup.c", | |
57 "nspr/lib/libc/src/strlen.c", | |
58 "nspr/lib/libc/src/strpbrk.c", | |
59 "nspr/lib/libc/src/strstr.c", | |
60 "nspr/lib/libc/src/strtok.c", | |
61 "nspr/pr/include/md/_darwin.cfg", | |
62 "nspr/pr/include/md/_darwin.h", | |
63 "nspr/pr/include/md/_pcos.h", | |
64 "nspr/pr/include/md/_pth.h", | |
65 "nspr/pr/include/md/_unix_errors.h", | |
66 "nspr/pr/include/md/_unixos.h", | |
67 "nspr/pr/include/md/_win32_errors.h", | |
68 "nspr/pr/include/md/_win95.cfg", | |
69 "nspr/pr/include/md/_win95.h", | |
70 "nspr/pr/include/md/prosdep.h", | |
71 "nspr/pr/include/nspr.h", | |
72 "nspr/pr/include/obsolete/pralarm.h", | |
73 "nspr/pr/include/obsolete/probslet.h", | |
74 "nspr/pr/include/obsolete/protypes.h", | |
75 "nspr/pr/include/obsolete/prsem.h", | |
76 "nspr/pr/include/pratom.h", | |
77 "nspr/pr/include/prbit.h", | |
78 "nspr/pr/include/prclist.h", | |
79 "nspr/pr/include/prcmon.h", | |
80 "nspr/pr/include/prcountr.h", | |
81 "nspr/pr/include/prcpucfg.h", | |
82 "nspr/pr/include/prcvar.h", | |
83 "nspr/pr/include/prdtoa.h", | |
84 "nspr/pr/include/prenv.h", | |
85 "nspr/pr/include/prerr.h", | |
86 "nspr/pr/include/prerror.h", | |
87 "nspr/pr/include/prinet.h", | |
88 "nspr/pr/include/prinit.h", | |
89 "nspr/pr/include/prinrval.h", | |
90 "nspr/pr/include/prio.h", | |
91 "nspr/pr/include/pripcsem.h", | |
92 "nspr/pr/include/private/pprio.h", | |
93 "nspr/pr/include/private/pprmwait.h", | |
94 "nspr/pr/include/private/pprthred.h", | |
95 "nspr/pr/include/private/primpl.h", | |
96 "nspr/pr/include/private/prpriv.h", | |
97 "nspr/pr/include/prlink.h", | |
98 "nspr/pr/include/prlock.h", | |
99 "nspr/pr/include/prlog.h", | |
100 "nspr/pr/include/prlong.h", | |
101 "nspr/pr/include/prmem.h", | |
102 "nspr/pr/include/prmon.h", | |
103 "nspr/pr/include/prmwait.h", | |
104 "nspr/pr/include/prnetdb.h", | |
105 "nspr/pr/include/prolock.h", | |
106 "nspr/pr/include/prpdce.h", | |
107 "nspr/pr/include/prprf.h", | |
108 "nspr/pr/include/prproces.h", | |
109 "nspr/pr/include/prrng.h", | |
110 "nspr/pr/include/prrwlock.h", | |
111 "nspr/pr/include/prshm.h", | |
112 "nspr/pr/include/prshma.h", | |
113 "nspr/pr/include/prsystem.h", | |
114 "nspr/pr/include/prthread.h", | |
115 "nspr/pr/include/prtime.h", | |
116 "nspr/pr/include/prtpool.h", | |
117 "nspr/pr/include/prtrace.h", | |
118 "nspr/pr/include/prtypes.h", | |
119 "nspr/pr/include/prvrsion.h", | |
120 "nspr/pr/include/prwin16.h", | |
121 "nspr/pr/src/io/prfdcach.c", | |
122 "nspr/pr/src/io/priometh.c", | |
123 "nspr/pr/src/io/pripv6.c", | |
124 "nspr/pr/src/io/prlayer.c", | |
125 "nspr/pr/src/io/prlog.c", | |
126 "nspr/pr/src/io/prmapopt.c", | |
127 "nspr/pr/src/io/prmmap.c", | |
128 "nspr/pr/src/io/prmwait.c", | |
129 "nspr/pr/src/io/prpolevt.c", | |
130 "nspr/pr/src/io/prprf.c", | |
131 "nspr/pr/src/io/prscanf.c", | |
132 "nspr/pr/src/io/prstdio.c", | |
133 "nspr/pr/src/linking/prlink.c", | |
134 "nspr/pr/src/malloc/prmalloc.c", | |
135 "nspr/pr/src/malloc/prmem.c", | |
136 "nspr/pr/src/md/prosdep.c", | |
137 "nspr/pr/src/md/unix/darwin.c", | |
138 "nspr/pr/src/md/unix/os_Darwin.s", | |
139 "nspr/pr/src/md/unix/unix.c", | |
140 "nspr/pr/src/md/unix/unix_errors.c", | |
141 "nspr/pr/src/md/unix/uxproces.c", | |
142 "nspr/pr/src/md/unix/uxrng.c", | |
143 "nspr/pr/src/md/unix/uxshm.c", | |
144 "nspr/pr/src/md/unix/uxwrap.c", | |
145 "nspr/pr/src/memory/prseg.c", | |
146 "nspr/pr/src/memory/prshm.c", | |
147 "nspr/pr/src/memory/prshma.c", | |
148 "nspr/pr/src/misc/pralarm.c", | |
149 "nspr/pr/src/misc/pratom.c", | |
150 "nspr/pr/src/misc/praton.c", | |
151 "nspr/pr/src/misc/prcountr.c", | |
152 "nspr/pr/src/misc/prdtoa.c", | |
153 "nspr/pr/src/misc/prenv.c", | |
154 "nspr/pr/src/misc/prerr.c", | |
155 "nspr/pr/src/misc/prerror.c", | |
156 "nspr/pr/src/misc/prerrortable.c", | |
157 "nspr/pr/src/misc/prinit.c", | |
158 "nspr/pr/src/misc/prinrval.c", | |
159 "nspr/pr/src/misc/pripc.c", | |
160 "nspr/pr/src/misc/prlog2.c", | |
161 "nspr/pr/src/misc/prlong.c", | |
162 "nspr/pr/src/misc/prnetdb.c", | |
163 "nspr/pr/src/misc/prolock.c", | |
164 "nspr/pr/src/misc/prrng.c", | |
165 "nspr/pr/src/misc/prsystem.c", | |
166 "nspr/pr/src/misc/prthinfo.c", | |
167 "nspr/pr/src/misc/prtime.c", | |
168 "nspr/pr/src/misc/prtpool.c", | |
169 "nspr/pr/src/misc/prtrace.c", | |
170 "nspr/pr/src/pthreads/ptio.c", | |
171 "nspr/pr/src/pthreads/ptmisc.c", | |
172 "nspr/pr/src/pthreads/ptsynch.c", | |
173 "nspr/pr/src/pthreads/ptthread.c", | |
174 "nspr/pr/src/threads/prcmon.c", | |
175 "nspr/pr/src/threads/prrwlock.c", | |
176 "nspr/pr/src/threads/prtpd.c", | |
177 ] | |
178 | |
179 public_configs = [ ":nspr_config" ] | |
180 | |
181 configs -= [ "//build/config/compiler:chromium_code" ] | |
182 configs += [ | |
183 "//build/config/compiler:no_chromium_code", | |
184 "//build/config/compiler:no_size_t_to_int_warning", | |
185 | |
186 # nspr passes "const char*" through "void*". | |
187 "//build/config/compiler:no_incompatible_pointer_warnings", | |
188 ] | |
189 | |
190 cflags = [] | |
191 defines = [ | |
192 "_NSPR_BUILD_", | |
193 "FORCE_PR_LOG", | |
194 "XP_UNIX", | |
195 "DARWIN", | |
196 "XP_MACOSX", | |
197 "_PR_PTHREADS", | |
198 "HAVE_BSD_FLOCK", | |
199 "HAVE_DLADDR", | |
200 "HAVE_LCHOWN", | |
201 "HAVE_SOCKLEN_T", | |
202 "HAVE_STRERROR", | |
203 ] | |
204 | |
205 include_dirs = [ "nspr/pr/include/private" ] | |
206 | |
207 if (current_cpu == "x86") { | |
208 defines += [ "_X86_" ] | |
209 } else if (current_cpu == "x64") { | |
210 defines += [ "_AMD64_" ] | |
211 } | |
212 | |
213 if (is_clang) { | |
214 cflags += [ | |
215 # nspr uses a bunch of deprecated functions (NSLinkModule etc) in | |
216 # prlink.c on mac. | |
217 "-Wno-deprecated-declarations", | |
218 | |
219 # nspr passes "int*" through "unsigned int*". | |
220 "-Wno-pointer-sign", | |
221 ] | |
222 | |
223 # nspr uses assert(!"foo") instead of assert(false && "foo"). | |
224 configs -= [ "//build/config/clang:extra_warnings" ] | |
225 } | |
226 } | |
227 | |
228 component("nss") { | |
229 output_name = "crnss" | |
230 sources = [ | |
231 # Ensure at least one object file is produced, so that MSVC does not | |
232 # warn when creating the static/shared library. See the note for | |
233 # the "nssckbi" target for why the "nss" target was split as such. | |
234 "nss/lib/nss/nssver.c", | |
235 ] | |
236 | |
237 public_deps = [ | |
238 ":nss_static", | |
239 ":nssckbi", | |
240 ] | |
241 } | |
242 | |
243 config("nssckbi_config") { | |
244 include_dirs = [ "nss/lib/ckfw/builtins" ] | |
245 } | |
246 | |
247 # This is really more of a pseudo-target to work around the fact that | |
248 # a single static_library target cannot contain two object files of the | |
249 # same name (hash.o / hash.obj). Logically, this is part of the | |
250 # "nss_static" target. By separating it out, it creates a possible | |
251 # circular dependency between "nss_static" and "nssckbi" when | |
252 # "exclude_nss_root_certs" is not specified, as "nss_static" depends on | |
253 # the "builtinsC_GetFunctionList" exported by this target. This is an | |
254 # artifact of how NSS is being statically built, which is not an | |
255 # officially supported configuration - normally, "nssckbi.dll/so" would | |
256 # depend on libnss3.dll/so, and the higher layer caller would instruct | |
257 # libnss3.dll to dynamically load nssckbi.dll, breaking the circle. | |
258 # | |
259 # TODO(rsleevi): http://crbug.com/128134 - Break the circular dependency | |
260 # without requiring nssckbi to be built as a shared library. | |
261 source_set("nssckbi") { | |
262 visibility = [ ":nss" ] # This target is internal implementation detail. | |
263 | |
264 sources = [ | |
265 "nss/lib/ckfw/builtins/anchor.c", | |
266 "nss/lib/ckfw/builtins/bfind.c", | |
267 "nss/lib/ckfw/builtins/binst.c", | |
268 "nss/lib/ckfw/builtins/bobject.c", | |
269 "nss/lib/ckfw/builtins/bsession.c", | |
270 "nss/lib/ckfw/builtins/bslot.c", | |
271 "nss/lib/ckfw/builtins/btoken.c", | |
272 "nss/lib/ckfw/builtins/builtins.h", | |
273 "nss/lib/ckfw/builtins/certdata.c", | |
274 "nss/lib/ckfw/builtins/ckbiver.c", | |
275 "nss/lib/ckfw/builtins/constants.c", | |
276 "nss/lib/ckfw/builtins/nssckbi.h", | |
277 "nss/lib/ckfw/ck.h", | |
278 "nss/lib/ckfw/ckfw.h", | |
279 "nss/lib/ckfw/ckfwm.h", | |
280 "nss/lib/ckfw/ckfwtm.h", | |
281 "nss/lib/ckfw/ckmd.h", | |
282 "nss/lib/ckfw/ckt.h", | |
283 "nss/lib/ckfw/crypto.c", | |
284 "nss/lib/ckfw/find.c", | |
285 "nss/lib/ckfw/hash.c", | |
286 "nss/lib/ckfw/instance.c", | |
287 "nss/lib/ckfw/mechanism.c", | |
288 "nss/lib/ckfw/mutex.c", | |
289 "nss/lib/ckfw/nssck.api", | |
290 "nss/lib/ckfw/nssckepv.h", | |
291 "nss/lib/ckfw/nssckft.h", | |
292 "nss/lib/ckfw/nssckfw.h", | |
293 "nss/lib/ckfw/nssckfwc.h", | |
294 "nss/lib/ckfw/nssckfwt.h", | |
295 "nss/lib/ckfw/nssckg.h", | |
296 "nss/lib/ckfw/nssckmdt.h", | |
297 "nss/lib/ckfw/nssckt.h", | |
298 "nss/lib/ckfw/object.c", | |
299 "nss/lib/ckfw/session.c", | |
300 "nss/lib/ckfw/sessobj.c", | |
301 "nss/lib/ckfw/slot.c", | |
302 "nss/lib/ckfw/token.c", | |
303 "nss/lib/ckfw/wrap.c", | |
304 ] | |
305 | |
306 configs -= [ "//build/config/compiler:chromium_code" ] | |
307 configs += [ "//build/config/compiler:no_chromium_code" ] | |
308 | |
309 include_dirs = [ "nss/lib/ckfw" ] | |
310 public_configs = [ ":nssckbi_config" ] | |
311 | |
312 public_deps = [ | |
313 ":nss_static", | |
314 ] | |
315 } | |
316 | |
317 config("nss_static_config") { | |
318 defines = [ | |
319 "NSS_STATIC", | |
320 "NSS_USE_STATIC_LIBS", | |
321 "USE_UTIL_DIRECTLY", | |
322 ] | |
323 include_dirs = [ | |
324 "nspr/pr/include", | |
325 "nspr/lib/ds", | |
326 "nspr/lib/libc/include", | |
327 "nss/lib/base", | |
328 "nss/lib/certdb", | |
329 "nss/lib/certhigh", | |
330 "nss/lib/cryptohi", | |
331 "nss/lib/dev", | |
332 "nss/lib/freebl", | |
333 "nss/lib/freebl/ecl", | |
334 "nss/lib/nss", | |
335 "nss/lib/pk11wrap", | |
336 "nss/lib/pkcs7", | |
337 "nss/lib/pki", | |
338 "nss/lib/smime", | |
339 "nss/lib/softoken", | |
340 "nss/lib/util", | |
341 ] | |
342 } | |
343 | |
344 config("nss_static_config_private") { | |
345 if (is_clang) { | |
346 cflags = [ | |
347 # nss doesn"t explicitly cast between different enum types. | |
348 "-Wno-conversion", | |
349 | |
350 # nss passes "const char*" through "void*". | |
351 "-Wno-incompatible-pointer-types", | |
352 | |
353 # nss prefers `a && b || c` over `(a && b) || c`. | |
354 "-Wno-logical-op-parentheses", | |
355 | |
356 # nss doesn"t use exhaustive switches on enums | |
357 "-Wno-switch", | |
358 | |
359 # nss has some `unsigned < 0` checks. | |
360 "-Wno-tautological-compare", | |
361 | |
362 # nss-urandom-abort.patch removed the only call to rng_systemFromNoise | |
363 "-Wno-unused-function", | |
364 ] | |
365 } | |
366 } | |
367 | |
368 source_set("nss_static") { | |
369 visibility = [ ":*" ] # Internal implementation detail. | |
370 | |
371 sources = [ | |
372 "nss/lib/base/arena.c", | |
373 "nss/lib/base/base.h", | |
374 "nss/lib/base/baset.h", | |
375 "nss/lib/base/error.c", | |
376 "nss/lib/base/errorval.c", | |
377 "nss/lib/base/hash.c", | |
378 "nss/lib/base/hashops.c", | |
379 "nss/lib/base/item.c", | |
380 "nss/lib/base/libc.c", | |
381 "nss/lib/base/list.c", | |
382 "nss/lib/base/nssbase.h", | |
383 "nss/lib/base/nssbaset.h", | |
384 "nss/lib/base/nssutf8.c", | |
385 "nss/lib/base/tracker.c", | |
386 "nss/lib/certdb/alg1485.c", | |
387 "nss/lib/certdb/cert.h", | |
388 "nss/lib/certdb/certdb.c", | |
389 "nss/lib/certdb/certdb.h", | |
390 "nss/lib/certdb/certi.h", | |
391 "nss/lib/certdb/certt.h", | |
392 "nss/lib/certdb/certv3.c", | |
393 "nss/lib/certdb/certxutl.c", | |
394 "nss/lib/certdb/certxutl.h", | |
395 "nss/lib/certdb/crl.c", | |
396 "nss/lib/certdb/genname.c", | |
397 "nss/lib/certdb/genname.h", | |
398 "nss/lib/certdb/polcyxtn.c", | |
399 "nss/lib/certdb/secname.c", | |
400 "nss/lib/certdb/stanpcertdb.c", | |
401 "nss/lib/certdb/xauthkid.c", | |
402 "nss/lib/certdb/xbsconst.c", | |
403 "nss/lib/certdb/xconst.c", | |
404 "nss/lib/certdb/xconst.h", | |
405 "nss/lib/certhigh/certhigh.c", | |
406 "nss/lib/certhigh/certhtml.c", | |
407 "nss/lib/certhigh/certreq.c", | |
408 "nss/lib/certhigh/certvfy.c", | |
409 "nss/lib/certhigh/certvfypkix.c", | |
410 "nss/lib/certhigh/crlv2.c", | |
411 "nss/lib/certhigh/ocsp.c", | |
412 "nss/lib/certhigh/ocsp.h", | |
413 "nss/lib/certhigh/ocspi.h", | |
414 "nss/lib/certhigh/ocspsig.c", | |
415 "nss/lib/certhigh/ocspt.h", | |
416 "nss/lib/certhigh/ocspti.h", | |
417 "nss/lib/certhigh/xcrldist.c", | |
418 "nss/lib/cryptohi/cryptohi.h", | |
419 "nss/lib/cryptohi/cryptoht.h", | |
420 "nss/lib/cryptohi/dsautil.c", | |
421 "nss/lib/cryptohi/key.h", | |
422 "nss/lib/cryptohi/keyhi.h", | |
423 "nss/lib/cryptohi/keyi.h", | |
424 "nss/lib/cryptohi/keyt.h", | |
425 "nss/lib/cryptohi/keythi.h", | |
426 "nss/lib/cryptohi/sechash.c", | |
427 "nss/lib/cryptohi/sechash.h", | |
428 "nss/lib/cryptohi/seckey.c", | |
429 "nss/lib/cryptohi/secsign.c", | |
430 "nss/lib/cryptohi/secvfy.c", | |
431 "nss/lib/dev/ckhelper.c", | |
432 "nss/lib/dev/ckhelper.h", | |
433 "nss/lib/dev/dev.h", | |
434 "nss/lib/dev/devm.h", | |
435 "nss/lib/dev/devslot.c", | |
436 "nss/lib/dev/devt.h", | |
437 "nss/lib/dev/devtm.h", | |
438 "nss/lib/dev/devtoken.c", | |
439 "nss/lib/dev/devutil.c", | |
440 "nss/lib/dev/nssdev.h", | |
441 "nss/lib/dev/nssdevt.h", | |
442 "nss/lib/freebl/aeskeywrap.c", | |
443 "nss/lib/freebl/alg2268.c", | |
444 "nss/lib/freebl/alghmac.c", | |
445 "nss/lib/freebl/alghmac.h", | |
446 "nss/lib/freebl/arcfive.c", | |
447 "nss/lib/freebl/arcfour.c", | |
448 "nss/lib/freebl/blapi.h", | |
449 "nss/lib/freebl/blapii.h", | |
450 "nss/lib/freebl/blapit.h", | |
451 "nss/lib/freebl/camellia.c", | |
452 "nss/lib/freebl/camellia.h", | |
453 "nss/lib/freebl/chacha20.c", | |
454 "nss/lib/freebl/chacha20.h", | |
455 "nss/lib/freebl/chacha20poly1305.c", | |
456 "nss/lib/freebl/chacha20poly1305.h", | |
457 "nss/lib/freebl/ctr.c", | |
458 "nss/lib/freebl/ctr.h", | |
459 "nss/lib/freebl/cts.c", | |
460 "nss/lib/freebl/cts.h", | |
461 "nss/lib/freebl/des.c", | |
462 "nss/lib/freebl/des.h", | |
463 "nss/lib/freebl/desblapi.c", | |
464 "nss/lib/freebl/dh.c", | |
465 "nss/lib/freebl/drbg.c", | |
466 "nss/lib/freebl/dsa.c", | |
467 "nss/lib/freebl/ec.c", | |
468 "nss/lib/freebl/ec.h", | |
469 "nss/lib/freebl/ecdecode.c", | |
470 "nss/lib/freebl/ecl/ec2.h", | |
471 "nss/lib/freebl/ecl/ec_naf.c", | |
472 "nss/lib/freebl/ecl/ecl-curve.h", | |
473 "nss/lib/freebl/ecl/ecl-exp.h", | |
474 "nss/lib/freebl/ecl/ecl-priv.h", | |
475 "nss/lib/freebl/ecl/ecl.c", | |
476 "nss/lib/freebl/ecl/ecl.h", | |
477 "nss/lib/freebl/ecl/ecl_curve.c", | |
478 "nss/lib/freebl/ecl/ecl_gf.c", | |
479 "nss/lib/freebl/ecl/ecl_mult.c", | |
480 "nss/lib/freebl/ecl/ecp.h", | |
481 "nss/lib/freebl/ecl/ecp_256.c", | |
482 "nss/lib/freebl/ecl/ecp_256_32.c", | |
483 "nss/lib/freebl/ecl/ecp_384.c", | |
484 "nss/lib/freebl/ecl/ecp_521.c", | |
485 "nss/lib/freebl/ecl/ecp_aff.c", | |
486 "nss/lib/freebl/ecl/ecp_jac.c", | |
487 "nss/lib/freebl/ecl/ecp_jm.c", | |
488 "nss/lib/freebl/ecl/ecp_mont.c", | |
489 "nss/lib/freebl/gcm.c", | |
490 "nss/lib/freebl/gcm.h", | |
491 "nss/lib/freebl/hmacct.c", | |
492 "nss/lib/freebl/hmacct.h", | |
493 "nss/lib/freebl/intel-aes.h", | |
494 "nss/lib/freebl/jpake.c", | |
495 "nss/lib/freebl/md2.c", | |
496 "nss/lib/freebl/md5.c", | |
497 "nss/lib/freebl/mpi/logtab.h", | |
498 "nss/lib/freebl/mpi/mp_gf2m-priv.h", | |
499 "nss/lib/freebl/mpi/mp_gf2m.c", | |
500 "nss/lib/freebl/mpi/mp_gf2m.h", | |
501 "nss/lib/freebl/mpi/mpcpucache.c", | |
502 "nss/lib/freebl/mpi/mpi-config.h", | |
503 "nss/lib/freebl/mpi/mpi-priv.h", | |
504 "nss/lib/freebl/mpi/mpi.c", | |
505 "nss/lib/freebl/mpi/mpi.h", | |
506 "nss/lib/freebl/mpi/mpi_arm.c", | |
507 "nss/lib/freebl/mpi/mpi_arm_mac.c", | |
508 "nss/lib/freebl/mpi/mplogic.c", | |
509 "nss/lib/freebl/mpi/mplogic.h", | |
510 "nss/lib/freebl/mpi/mpmontg.c", | |
511 "nss/lib/freebl/mpi/mpprime.c", | |
512 "nss/lib/freebl/mpi/mpprime.h", | |
513 "nss/lib/freebl/mpi/primes.c", | |
514 "nss/lib/freebl/nss_build_config_mac.h", | |
515 "nss/lib/freebl/poly1305.c", | |
516 "nss/lib/freebl/poly1305.h", | |
517 "nss/lib/freebl/pqg.c", | |
518 "nss/lib/freebl/pqg.h", | |
519 "nss/lib/freebl/rawhash.c", | |
520 "nss/lib/freebl/rijndael.c", | |
521 "nss/lib/freebl/rijndael.h", | |
522 "nss/lib/freebl/rijndael32.tab", | |
523 "nss/lib/freebl/rsa.c", | |
524 "nss/lib/freebl/rsapkcs.c", | |
525 "nss/lib/freebl/secmpi.h", | |
526 "nss/lib/freebl/secrng.h", | |
527 "nss/lib/freebl/seed.c", | |
528 "nss/lib/freebl/seed.h", | |
529 "nss/lib/freebl/sha256.h", | |
530 "nss/lib/freebl/sha512.c", | |
531 "nss/lib/freebl/sha_fast.c", | |
532 "nss/lib/freebl/sha_fast.h", | |
533 "nss/lib/freebl/shsign.h", | |
534 "nss/lib/freebl/shvfy.c", | |
535 "nss/lib/freebl/sysrand.c", | |
536 "nss/lib/freebl/tlsprfalg.c", | |
537 "nss/lib/freebl/unix_rand.c", | |
538 "nss/lib/freebl/win_rand.c", | |
539 "nss/lib/libpkix/include/pkix.h", | |
540 "nss/lib/libpkix/include/pkix_certsel.h", | |
541 "nss/lib/libpkix/include/pkix_certstore.h", | |
542 "nss/lib/libpkix/include/pkix_checker.h", | |
543 "nss/lib/libpkix/include/pkix_crlsel.h", | |
544 "nss/lib/libpkix/include/pkix_errorstrings.h", | |
545 "nss/lib/libpkix/include/pkix_params.h", | |
546 "nss/lib/libpkix/include/pkix_pl_pki.h", | |
547 "nss/lib/libpkix/include/pkix_pl_system.h", | |
548 "nss/lib/libpkix/include/pkix_results.h", | |
549 "nss/lib/libpkix/include/pkix_revchecker.h", | |
550 "nss/lib/libpkix/include/pkix_sample_modules.h", | |
551 "nss/lib/libpkix/include/pkix_util.h", | |
552 "nss/lib/libpkix/include/pkixt.h", | |
553 "nss/lib/libpkix/pkix/certsel/pkix_certselector.c", | |
554 "nss/lib/libpkix/pkix/certsel/pkix_certselector.h", | |
555 "nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c", | |
556 "nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.h", | |
557 "nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.c", | |
558 "nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.h", | |
559 "nss/lib/libpkix/pkix/checker/pkix_certchainchecker.c", | |
560 "nss/lib/libpkix/pkix/checker/pkix_certchainchecker.h", | |
561 "nss/lib/libpkix/pkix/checker/pkix_crlchecker.c", | |
562 "nss/lib/libpkix/pkix/checker/pkix_crlchecker.h", | |
563 "nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c", | |
564 "nss/lib/libpkix/pkix/checker/pkix_ekuchecker.h", | |
565 "nss/lib/libpkix/pkix/checker/pkix_expirationchecker.c", | |
566 "nss/lib/libpkix/pkix/checker/pkix_expirationchecker.h", | |
567 "nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.c", | |
568 "nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.h", | |
569 "nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.c", | |
570 "nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.h", | |
571 "nss/lib/libpkix/pkix/checker/pkix_ocspchecker.c", | |
572 "nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h", | |
573 "nss/lib/libpkix/pkix/checker/pkix_policychecker.c", | |
574 "nss/lib/libpkix/pkix/checker/pkix_policychecker.h", | |
575 "nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c", | |
576 "nss/lib/libpkix/pkix/checker/pkix_revocationchecker.h", | |
577 "nss/lib/libpkix/pkix/checker/pkix_revocationmethod.c", | |
578 "nss/lib/libpkix/pkix/checker/pkix_revocationmethod.h", | |
579 "nss/lib/libpkix/pkix/checker/pkix_signaturechecker.c", | |
580 "nss/lib/libpkix/pkix/checker/pkix_signaturechecker.h", | |
581 "nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.c", | |
582 "nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.h", | |
583 "nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.c", | |
584 "nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.h", | |
585 "nss/lib/libpkix/pkix/crlsel/pkix_crlselector.c", | |
586 "nss/lib/libpkix/pkix/crlsel/pkix_crlselector.h", | |
587 "nss/lib/libpkix/pkix/params/pkix_procparams.c", | |
588 "nss/lib/libpkix/pkix/params/pkix_procparams.h", | |
589 "nss/lib/libpkix/pkix/params/pkix_resourcelimits.c", | |
590 "nss/lib/libpkix/pkix/params/pkix_resourcelimits.h", | |
591 "nss/lib/libpkix/pkix/params/pkix_trustanchor.c", | |
592 "nss/lib/libpkix/pkix/params/pkix_trustanchor.h", | |
593 "nss/lib/libpkix/pkix/params/pkix_valparams.c", | |
594 "nss/lib/libpkix/pkix/params/pkix_valparams.h", | |
595 "nss/lib/libpkix/pkix/results/pkix_buildresult.c", | |
596 "nss/lib/libpkix/pkix/results/pkix_buildresult.h", | |
597 "nss/lib/libpkix/pkix/results/pkix_policynode.c", | |
598 "nss/lib/libpkix/pkix/results/pkix_policynode.h", | |
599 "nss/lib/libpkix/pkix/results/pkix_valresult.c", | |
600 "nss/lib/libpkix/pkix/results/pkix_valresult.h", | |
601 "nss/lib/libpkix/pkix/results/pkix_verifynode.c", | |
602 "nss/lib/libpkix/pkix/results/pkix_verifynode.h", | |
603 "nss/lib/libpkix/pkix/store/pkix_store.c", | |
604 "nss/lib/libpkix/pkix/store/pkix_store.h", | |
605 "nss/lib/libpkix/pkix/top/pkix_build.c", | |
606 "nss/lib/libpkix/pkix/top/pkix_build.h", | |
607 "nss/lib/libpkix/pkix/top/pkix_lifecycle.c", | |
608 "nss/lib/libpkix/pkix/top/pkix_lifecycle.h", | |
609 "nss/lib/libpkix/pkix/top/pkix_validate.c", | |
610 "nss/lib/libpkix/pkix/top/pkix_validate.h", | |
611 "nss/lib/libpkix/pkix/util/pkix_error.c", | |
612 "nss/lib/libpkix/pkix/util/pkix_error.h", | |
613 "nss/lib/libpkix/pkix/util/pkix_errpaths.c", | |
614 "nss/lib/libpkix/pkix/util/pkix_list.c", | |
615 "nss/lib/libpkix/pkix/util/pkix_list.h", | |
616 "nss/lib/libpkix/pkix/util/pkix_logger.c", | |
617 "nss/lib/libpkix/pkix/util/pkix_logger.h", | |
618 "nss/lib/libpkix/pkix/util/pkix_tools.c", | |
619 "nss/lib/libpkix/pkix/util/pkix_tools.h", | |
620 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c", | |
621 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h", | |
622 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c", | |
623 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.h", | |
624 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.c", | |
625 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.h", | |
626 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c", | |
627 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.h", | |
628 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.c", | |
629 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.h", | |
630 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c", | |
631 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.h", | |
632 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c", | |
633 "nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.h", | |
634 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.c", | |
635 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.h", | |
636 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.c", | |
637 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h", | |
638 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.c", | |
639 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.h", | |
640 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.c", | |
641 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.h", | |
642 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.c", | |
643 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.h", | |
644 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.c", | |
645 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.h", | |
646 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c", | |
647 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.h", | |
648 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c", | |
649 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.h", | |
650 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.c", | |
651 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.h", | |
652 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.c", | |
653 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.h", | |
654 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.c", | |
655 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.h", | |
656 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c", | |
657 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.h", | |
658 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c", | |
659 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.h", | |
660 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c", | |
661 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.h", | |
662 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c", | |
663 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h", | |
664 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c", | |
665 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.h", | |
666 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.c", | |
667 "nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.h", | |
668 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.c", | |
669 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.h", | |
670 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.c", | |
671 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.h", | |
672 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.c", | |
673 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h", | |
674 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_error.c", | |
675 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.c", | |
676 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.h", | |
677 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.c", | |
678 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.h", | |
679 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.c", | |
680 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.h", | |
681 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.c", | |
682 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.h", | |
683 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.c", | |
684 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.h", | |
685 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c", | |
686 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.h", | |
687 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c", | |
688 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.h", | |
689 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.c", | |
690 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.h", | |
691 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.c", | |
692 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.h", | |
693 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.c", | |
694 "nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.h", | |
695 "nss/lib/nss/nss.h", | |
696 "nss/lib/nss/nssinit.c", | |
697 "nss/lib/nss/nssoptions.c", | |
698 "nss/lib/nss/nssoptions.h", | |
699 "nss/lib/nss/nssrenam.h", | |
700 "nss/lib/nss/utilwrap.c", | |
701 "nss/lib/pk11wrap/debug_module.c", | |
702 "nss/lib/pk11wrap/dev3hack.c", | |
703 "nss/lib/pk11wrap/dev3hack.h", | |
704 "nss/lib/pk11wrap/pk11akey.c", | |
705 "nss/lib/pk11wrap/pk11auth.c", | |
706 "nss/lib/pk11wrap/pk11cert.c", | |
707 "nss/lib/pk11wrap/pk11cxt.c", | |
708 "nss/lib/pk11wrap/pk11err.c", | |
709 "nss/lib/pk11wrap/pk11func.h", | |
710 "nss/lib/pk11wrap/pk11kea.c", | |
711 "nss/lib/pk11wrap/pk11list.c", | |
712 "nss/lib/pk11wrap/pk11load.c", | |
713 "nss/lib/pk11wrap/pk11mech.c", | |
714 "nss/lib/pk11wrap/pk11merge.c", | |
715 "nss/lib/pk11wrap/pk11nobj.c", | |
716 "nss/lib/pk11wrap/pk11obj.c", | |
717 "nss/lib/pk11wrap/pk11pars.c", | |
718 "nss/lib/pk11wrap/pk11pbe.c", | |
719 "nss/lib/pk11wrap/pk11pk12.c", | |
720 "nss/lib/pk11wrap/pk11pqg.c", | |
721 "nss/lib/pk11wrap/pk11pqg.h", | |
722 "nss/lib/pk11wrap/pk11priv.h", | |
723 "nss/lib/pk11wrap/pk11pub.h", | |
724 "nss/lib/pk11wrap/pk11sdr.c", | |
725 "nss/lib/pk11wrap/pk11sdr.h", | |
726 "nss/lib/pk11wrap/pk11skey.c", | |
727 "nss/lib/pk11wrap/pk11slot.c", | |
728 "nss/lib/pk11wrap/pk11util.c", | |
729 "nss/lib/pk11wrap/secmod.h", | |
730 "nss/lib/pk11wrap/secmodi.h", | |
731 "nss/lib/pk11wrap/secmodt.h", | |
732 "nss/lib/pk11wrap/secmodti.h", | |
733 "nss/lib/pk11wrap/secpkcs5.h", | |
734 "nss/lib/pkcs7/certread.c", | |
735 "nss/lib/pkcs7/p7common.c", | |
736 "nss/lib/pkcs7/p7create.c", | |
737 "nss/lib/pkcs7/p7decode.c", | |
738 "nss/lib/pkcs7/p7encode.c", | |
739 "nss/lib/pkcs7/p7local.c", | |
740 "nss/lib/pkcs7/p7local.h", | |
741 "nss/lib/pkcs7/pkcs7t.h", | |
742 "nss/lib/pkcs7/secmime.c", | |
743 "nss/lib/pkcs7/secmime.h", | |
744 "nss/lib/pkcs7/secpkcs7.h", | |
745 "nss/lib/pki/asymmkey.c", | |
746 "nss/lib/pki/certdecode.c", | |
747 "nss/lib/pki/certificate.c", | |
748 "nss/lib/pki/cryptocontext.c", | |
749 "nss/lib/pki/nsspki.h", | |
750 "nss/lib/pki/nsspkit.h", | |
751 "nss/lib/pki/pki.h", | |
752 "nss/lib/pki/pki3hack.c", | |
753 "nss/lib/pki/pki3hack.h", | |
754 "nss/lib/pki/pkibase.c", | |
755 "nss/lib/pki/pkim.h", | |
756 "nss/lib/pki/pkistore.c", | |
757 "nss/lib/pki/pkistore.h", | |
758 "nss/lib/pki/pkit.h", | |
759 "nss/lib/pki/pkitm.h", | |
760 "nss/lib/pki/symmkey.c", | |
761 "nss/lib/pki/tdcache.c", | |
762 "nss/lib/pki/trustdomain.c", | |
763 "nss/lib/smime/cms.h", | |
764 "nss/lib/smime/cmslocal.h", | |
765 "nss/lib/smime/cmsreclist.h", | |
766 "nss/lib/smime/cmst.h", | |
767 "nss/lib/smime/smime.h", | |
768 "nss/lib/softoken/fipsaudt.c", | |
769 "nss/lib/softoken/fipstest.c", | |
770 "nss/lib/softoken/fipstokn.c", | |
771 "nss/lib/softoken/jpakesftk.c", | |
772 "nss/lib/softoken/lgglue.c", | |
773 "nss/lib/softoken/lgglue.h", | |
774 "nss/lib/softoken/lowkey.c", | |
775 "nss/lib/softoken/lowkeyi.h", | |
776 "nss/lib/softoken/lowkeyti.h", | |
777 "nss/lib/softoken/lowpbe.c", | |
778 "nss/lib/softoken/lowpbe.h", | |
779 "nss/lib/softoken/padbuf.c", | |
780 "nss/lib/softoken/pkcs11.c", | |
781 "nss/lib/softoken/pkcs11c.c", | |
782 "nss/lib/softoken/pkcs11i.h", | |
783 "nss/lib/softoken/pkcs11ni.h", | |
784 "nss/lib/softoken/pkcs11u.c", | |
785 "nss/lib/softoken/sdb.c", | |
786 "nss/lib/softoken/sdb.h", | |
787 "nss/lib/softoken/sftkdb.c", | |
788 "nss/lib/softoken/sftkdb.h", | |
789 "nss/lib/softoken/sftkdbt.h", | |
790 "nss/lib/softoken/sftkdbti.h", | |
791 "nss/lib/softoken/sftkhmac.c", | |
792 "nss/lib/softoken/sftkpars.c", | |
793 "nss/lib/softoken/sftkpars.h", | |
794 "nss/lib/softoken/sftkpwd.c", | |
795 "nss/lib/softoken/softkver.c", | |
796 "nss/lib/softoken/softkver.h", | |
797 "nss/lib/softoken/softoken.h", | |
798 "nss/lib/softoken/softoknt.h", | |
799 "nss/lib/softoken/tlsprf.c", | |
800 "nss/lib/ssl/sslerr.h", | |
801 "nss/lib/util/SECerrs.h", | |
802 "nss/lib/util/base64.h", | |
803 "nss/lib/util/ciferfam.h", | |
804 "nss/lib/util/derdec.c", | |
805 "nss/lib/util/derenc.c", | |
806 "nss/lib/util/dersubr.c", | |
807 "nss/lib/util/dertime.c", | |
808 "nss/lib/util/errstrs.c", | |
809 "nss/lib/util/hasht.h", | |
810 "nss/lib/util/nssb64.h", | |
811 "nss/lib/util/nssb64d.c", | |
812 "nss/lib/util/nssb64e.c", | |
813 "nss/lib/util/nssb64t.h", | |
814 "nss/lib/util/nssilckt.h", | |
815 "nss/lib/util/nssilock.c", | |
816 "nss/lib/util/nssilock.h", | |
817 "nss/lib/util/nsslocks.h", | |
818 "nss/lib/util/nssrwlk.c", | |
819 "nss/lib/util/nssrwlk.h", | |
820 "nss/lib/util/nssrwlkt.h", | |
821 "nss/lib/util/nssutil.h", | |
822 "nss/lib/util/oidstring.c", | |
823 "nss/lib/util/pkcs11.h", | |
824 "nss/lib/util/pkcs11f.h", | |
825 "nss/lib/util/pkcs11n.h", | |
826 "nss/lib/util/pkcs11p.h", | |
827 "nss/lib/util/pkcs11t.h", | |
828 "nss/lib/util/pkcs11u.h", | |
829 "nss/lib/util/pkcs1sig.c", | |
830 "nss/lib/util/pkcs1sig.h", | |
831 "nss/lib/util/portreg.c", | |
832 "nss/lib/util/portreg.h", | |
833 "nss/lib/util/quickder.c", | |
834 "nss/lib/util/secalgid.c", | |
835 "nss/lib/util/secasn1.h", | |
836 "nss/lib/util/secasn1d.c", | |
837 "nss/lib/util/secasn1e.c", | |
838 "nss/lib/util/secasn1t.h", | |
839 "nss/lib/util/secasn1u.c", | |
840 "nss/lib/util/seccomon.h", | |
841 "nss/lib/util/secder.h", | |
842 "nss/lib/util/secdert.h", | |
843 "nss/lib/util/secdig.c", | |
844 "nss/lib/util/secdig.h", | |
845 "nss/lib/util/secdigt.h", | |
846 "nss/lib/util/secerr.h", | |
847 "nss/lib/util/secitem.c", | |
848 "nss/lib/util/secitem.h", | |
849 "nss/lib/util/secoid.c", | |
850 "nss/lib/util/secoid.h", | |
851 "nss/lib/util/secoidt.h", | |
852 "nss/lib/util/secport.c", | |
853 "nss/lib/util/secport.h", | |
854 "nss/lib/util/sectime.c", | |
855 "nss/lib/util/templates.c", | |
856 "nss/lib/util/utf8.c", | |
857 "nss/lib/util/utilmod.c", | |
858 "nss/lib/util/utilmodt.h", | |
859 "nss/lib/util/utilpars.c", | |
860 "nss/lib/util/utilpars.h", | |
861 "nss/lib/util/utilparst.h", | |
862 "nss/lib/util/utilrename.h", | |
863 "nss/lib/util/verref.h", | |
864 ] | |
865 | |
866 sources -= [ | |
867 # mpi_arm.c is included by mpi_arm_mac.c. | |
868 "nss/lib/freebl/mpi/mpi_arm.c", | |
869 | |
870 # primes.c is included by mpprime.c. | |
871 "nss/lib/freebl/mpi/primes.c", | |
872 | |
873 # unix_rand.c and win_rand.c are included by sysrand.c. | |
874 "nss/lib/freebl/unix_rand.c", | |
875 "nss/lib/freebl/win_rand.c", | |
876 | |
877 # debug_module.c is included by pk11load.c. | |
878 "nss/lib/pk11wrap/debug_module.c", | |
879 ] | |
880 | |
881 configs -= [ | |
882 "//build/config/compiler:chromium_code", | |
883 "//build/config/gcc:symbol_visibility_hidden", | |
884 ] | |
885 | |
886 configs += [ | |
887 "//build/config/compiler:no_chromium_code", | |
888 "//build/config/compiler:no_size_t_to_int_warning", | |
889 | |
890 # nss passes "const char*" through "void*". | |
891 "//build/config/compiler:no_incompatible_pointer_warnings", | |
892 ":nss_static_config_private", | |
893 ] | |
894 public_configs = [ ":nss_static_config" ] | |
895 | |
896 cflags = [ | |
897 "-include", | |
898 rebase_path("//third_party/nss/nss/lib/freebl/nss_build_config_mac.h", | |
899 root_build_dir), | |
900 ] | |
901 | |
902 # Only need the defines and includes not in nss_static_config. | |
903 defines = [ | |
904 "MP_API_COMPATIBLE", | |
905 "NSS_DISABLE_DBM", | |
906 "NSS_PKIX_NO_LDAP", | |
907 "RIJNDAEL_INCLUDE_TABLES", | |
908 "SHLIB_VERSION=\"3\"", | |
909 "SOFTOKEN_SHLIB_VERSION=\"3\"", | |
910 "XP_UNIX", | |
911 "DARWIN", | |
912 "HAVE_STRERROR", | |
913 "HAVE_BSD_FLOCK", | |
914 "SHLIB_SUFFIX=\"dylib\"", | |
915 "SHLIB_PREFIX=\"lib\"", | |
916 "SOFTOKEN_LIB_NAME=\"libsoftokn3.dylib\"", | |
917 ] | |
918 include_dirs = [ | |
919 "nss/lib/freebl/mpi", | |
920 "nss/lib/libpkix/include", | |
921 "nss/lib/libpkix/pkix/certsel", | |
922 "nss/lib/libpkix/pkix/checker", | |
923 "nss/lib/libpkix/pkix/crlsel", | |
924 "nss/lib/libpkix/pkix/params", | |
925 "nss/lib/libpkix/pkix/results", | |
926 "nss/lib/libpkix/pkix/store", | |
927 "nss/lib/libpkix/pkix/top", | |
928 "nss/lib/libpkix/pkix/util", | |
929 "nss/lib/libpkix/pkix_pl_nss/module", | |
930 "nss/lib/libpkix/pkix_pl_nss/pki", | |
931 "nss/lib/libpkix/pkix_pl_nss/system", | |
932 "nss/lib/ssl", | |
933 ] | |
934 | |
935 public_deps = [ | |
936 ":nspr", | |
937 ] | |
938 deps = [ | |
939 ":nspr", | |
940 "//third_party/sqlite", | |
941 ] | |
942 } | |
943 } # iOS. | |
OLD | NEW |