1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 'target_name': 'nss_libs',
15 'lib/softoken/softoken.gyp:softokn3',
18 [ 'OS=="solaris" and target_arch=="sparc64"', {
20 'lib/freebl/freebl.gyp:freebl_64int_3',
21 'lib/freebl/freebl.gyp:freebl_64fpu_3',
25 'lib/freebl/freebl.gyp:freebl3',
28 [ 'moz_fold_libs==0', {
30 'lib/nss/nss.gyp:nss3',
31 'lib/smime/smime.gyp:smime3',
32 'lib/sqlite/sqlite.gyp:sqlite3',
33 'lib/ssl/ssl.gyp:ssl3',
34 'lib/util/util.gyp:nssutil3',
39 'lib/freebl/freebl.gyp:freeblpriv3',
42 [ 'OS=="linux" and mozilla_client==0', {
44 'lib/sysinit/sysinit.gyp:nsssysinit',
49 'lib/softoken/legacydb/legacydb.gyp:nssdbm3',
52 [ 'disable_ckbi==0', {
54 'lib/ckfw/builtins/builtins.gyp:nssckbi',
60 'target_name': 'nss_static_libs',
63 'cmd/lib/lib.gyp:sectool',
64 'lib/base/base.gyp:nssb',
65 'lib/certdb/certdb.gyp:certdb',
66 'lib/certhigh/certhigh.gyp:certhi',
67 'lib/ckfw/ckfw.gyp:nssckfw',
68 'lib/crmf/crmf.gyp:crmf',
69 'lib/cryptohi/cryptohi.gyp:cryptohi',
70 'lib/dev/dev.gyp:nssdev',
71 'lib/freebl/freebl.gyp:freebl',
72 'lib/jar/jar.gyp:jar',
73 'lib/libpkix/libpkix.gyp:libpkix',
74 # mozpkix and mozpkix-testlib are static C++ libs
75 'lib/mozpkix/mozpkix.gyp:mozpkix',
76 'lib/mozpkix/mozpkix.gyp:mozpkix-testlib',
77 'lib/nss/nss.gyp:nss_static',
78 'lib/pk11wrap/pk11wrap.gyp:pk11wrap',
79 'lib/pkcs12/pkcs12.gyp:pkcs12',
80 'lib/pkcs7/pkcs7.gyp:pkcs7',
81 'lib/pki/pki.gyp:nsspki',
82 'lib/smime/smime.gyp:smime',
83 'lib/softoken/softoken.gyp:softokn',
84 'lib/ssl/ssl.gyp:ssl',
85 'lib/util/util.gyp:nssutil',
88 [ 'OS=="linux" and mozilla_client==0', {
90 'lib/sysinit/sysinit.gyp:nsssysinit_static',
95 'lib/dbm/src/src.gyp:dbm',
96 'lib/softoken/legacydb/legacydb.gyp:nssdbm',
99 [ 'use_system_sqlite==0', {
101 'lib/sqlite/sqlite.gyp:sqlite',
104 [ 'moz_fold_libs==1', {
106 'lib/nss/nss.gyp:nss3_static',
107 'lib/smime/smime.gyp:smime3_static',
113 'target_name': 'nss_cmds',
116 'cmd/certutil/certutil.gyp:certutil',
117 'cmd/pk12util/pk12util.gyp:pk12util',
120 [ 'comm_client==1', {
122 'cmd/smimetools/smimetools.gyp:cmsutil',
123 'cmd/atob/atob.gyp:atob',
124 'cmd/btoa/btoa.gyp:btoa',
127 [ 'mozilla_client==0', {
129 'cmd/crlutil/crlutil.gyp:crlutil',
130 'cmd/dbtool/dbtool.gyp:dbtool',
131 'cmd/modutil/modutil.gyp:modutil',
132 'cmd/pwdecrypt/pwdecrypt.gyp:pwdecrypt',
133 'cmd/shlibsign/shlibsign.gyp:shlibsign',
134 'cmd/signtool/signtool.gyp:signtool',
135 'cmd/signver/signver.gyp:signver',
136 'cmd/smimetools/smimetools.gyp:cmsutil',
137 'cmd/ssltap/ssltap.gyp:ssltap',
138 'cmd/symkeyutil/symkeyutil.gyp:symkeyutil',
139 'cmd/validation/validation.gyp:validation',
140 'nss-tool/nss_tool.gyp:nss',
141 'nss-tool/nss_tool.gyp:hw-support',
147 }, { # else, i.e. mozpkix_only==1
148 # Build only mozpkix.
151 'target_name': 'nss_mozpkix_libs',
154 # mozpkix and mozpkix-testlib are static C++ libs
155 'lib/mozpkix/mozpkix.gyp:mozpkix',
156 'lib/mozpkix/mozpkix.gyp:mozpkix-testlib',
161 [ 'disable_tests==0', {
164 'target_name': 'nss_tests',
167 'cmd/addbuiltin/addbuiltin.gyp:addbuiltin',
168 'cmd/atob/atob.gyp:atob',
169 'cmd/bltest/bltest.gyp:bltest',
170 'cmd/btoa/btoa.gyp:btoa',
171 'cmd/chktest/chktest.gyp:chktest',
172 'cmd/crmftest/crmftest.gyp:crmftest',
173 'cmd/dbtest/dbtest.gyp:dbtest',
174 'cmd/derdump/derdump.gyp:derdump',
175 'cmd/digest/digest.gyp:digest',
176 'cmd/ecperf/ecperf.gyp:ecperf',
177 'cmd/fbectest/fbectest.gyp:fbectest',
178 'cmd/httpserv/httpserv.gyp:httpserv',
179 'cmd/listsuites/listsuites.gyp:listsuites',
180 'cmd/makepqg/makepqg.gyp:makepqg',
181 'cmd/multinit/multinit.gyp:multinit',
182 'cmd/nss-policy-check/nss-policy-check.gyp:nss-policy-check',
183 'cmd/ocspclnt/ocspclnt.gyp:ocspclnt',
184 'cmd/ocspresp/ocspresp.gyp:ocspresp',
185 'cmd/oidcalc/oidcalc.gyp:oidcalc',
186 'cmd/p7content/p7content.gyp:p7content',
187 'cmd/p7env/p7env.gyp:p7env',
188 'cmd/p7sign/p7sign.gyp:p7sign',
189 'cmd/p7verify/p7verify.gyp:p7verify',
190 'cmd/pk11ectest/pk11ectest.gyp:pk11ectest',
191 'cmd/pk11gcmtest/pk11gcmtest.gyp:pk11gcmtest',
192 'cmd/pk11mode/pk11mode.gyp:pk11mode',
193 'cmd/pk11importtest/pk11importtest.gyp:pk11importtest',
194 'cmd/pk1sign/pk1sign.gyp:pk1sign',
196 'cmd/rsaperf/rsaperf.gyp:rsaperf',
197 'cmd/rsapoptst/rsapoptst.gyp:rsapoptst',
198 'cmd/sdbthreadtst/sdbthreadtst.gyp:sdbthreadtst',
199 'cmd/sdrtest/sdrtest.gyp:sdrtest',
200 'cmd/selfserv/selfserv.gyp:selfserv',
201 'cmd/shlibsign/mangle/mangle.gyp:mangle',
202 'cmd/strsclnt/strsclnt.gyp:strsclnt',
203 'cmd/tests/tests.gyp:baddbdir',
204 'cmd/tests/tests.gyp:conflict',
205 'cmd/tests/tests.gyp:dertimetest',
206 'cmd/tests/tests.gyp:encodeinttest',
207 'cmd/tests/tests.gyp:nonspr10',
208 'cmd/tests/tests.gyp:remtest',
209 'cmd/tests/tests.gyp:secmodtest',
210 'cmd/tstclnt/tstclnt.gyp:tstclnt',
211 'cmd/vfychain/vfychain.gyp:vfychain',
212 'cmd/vfyserv/vfyserv.gyp:vfyserv',
213 'cmd/mpitests/mpitests.gyp:mpi_tests',
214 'gtests/base_gtest/base_gtest.gyp:base_gtest',
215 'gtests/certhigh_gtest/certhigh_gtest.gyp:certhigh_gtest',
216 'gtests/cryptohi_gtest/cryptohi_gtest.gyp:cryptohi_gtest',
217 'gtests/der_gtest/der_gtest.gyp:der_gtest',
218 'gtests/certdb_gtest/certdb_gtest.gyp:certdb_gtest',
219 'gtests/freebl_gtest/freebl_gtest.gyp:freebl_gtest',
220 'gtests/mozpkix_gtest/mozpkix_gtest.gyp:mozpkix_gtest',
221 'gtests/nss_bogo_shim/nss_bogo_shim.gyp:nss_bogo_shim',
222 'gtests/pkcs11testmodule/pkcs11testmodule.gyp:pkcs11testmodule',
223 'gtests/pk11_gtest/pk11_gtest.gyp:pk11_gtest',
224 'gtests/smime_gtest/smime_gtest.gyp:smime_gtest',
225 'gtests/softoken_gtest/softoken_gtest.gyp:softoken_gtest',
226 'gtests/ssl_gtest/ssl_gtest.gyp:ssl_gtest',
227 'gtests/util_gtest/util_gtest.gyp:util_gtest',
228 'lib/ckfw/builtins/testlib/builtins-testlib.gyp:nssckbi-testlib',
233 'cmd/lowhashtest/lowhashtest.gyp:lowhashtest',
236 [ 'OS=="linux" and mozilla_client==0', {
238 'gtests/sysinit_gtest/sysinit_gtest.gyp:sysinit_gtest',
241 [ 'disable_libpkix==0', {
243 'cmd/pkix-errcodes/pkix-errcodes.gyp:pkix-errcodes',
246 [ 'disable_fips==0', {
248 'cmd/fipstest/fipstest.gyp:fipstest',
258 'target_name': 'nss_sign_shared_libs',
261 'cmd/shlibsign/shlibsign.gyp:shlibsign',
265 'action_name': 'shlibsign',
266 'msvs_cygwin_shell': 0,
268 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freebl3.<(dll_suffix)',
269 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freeblpriv3.<(dll_suffix)',
270 '<(nss_dist_obj_dir)/lib/<(dll_prefix)nssdbm3.<(dll_suffix)',
271 '<(nss_dist_obj_dir)/lib/<(dll_prefix)softokn3.<(dll_suffix)',
274 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freebl3.chk',
275 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freeblpriv3.chk',
276 '<(nss_dist_obj_dir)/lib/<(dll_prefix)nssdbm3.chk',
277 '<(nss_dist_obj_dir)/lib/<(dll_prefix)softokn3.chk'
281 'inputs/': [['exclude', 'freeblpriv']],
282 'outputs/': [['exclude', 'freeblpriv']]
285 'inputs/': [['exclude', 'nssdbm3']],
286 'outputs/': [['exclude', 'nssdbm3']]
289 'action': ['<(python)', '<(DEPTH)/coreconf/shlibsign.py', '<@(_inputs)']
298 'target_name': 'fuzz_warning',
302 'action_name': 'fuzz_warning',
303 'action': ['cat', 'fuzz/warning.txt'],
304 'inputs': ['fuzz/warning.txt'],
305 'ninja_use_console': 1,
306 'outputs': ['dummy'],
315 'target_name': 'fuzz',
318 'fuzz/fuzz.gyp:nssfuzz',
323 [ 'mozilla_central==1', {
326 'target_name': 'test_nssckbi',
329 'lib/ckfw/builtins/testlib/builtins-testlib.gyp:nssckbi-testlib',