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/ckfw/builtins/builtins.gyp:nssckbi',
16 'lib/softoken/softoken.gyp:softokn3',
19 [ 'OS=="solaris" and target_arch=="sparc64"', {
21 'lib/freebl/freebl.gyp:freebl_64int_3',
22 'lib/freebl/freebl.gyp:freebl_64fpu_3',
26 'lib/freebl/freebl.gyp:freebl3',
29 [ 'moz_fold_libs==0', {
31 'lib/nss/nss.gyp:nss3',
32 'lib/smime/smime.gyp:smime3',
33 'lib/sqlite/sqlite.gyp:sqlite3',
34 'lib/ssl/ssl.gyp:ssl3',
35 'lib/util/util.gyp:nssutil3',
40 'lib/freebl/freebl.gyp:freeblpriv3',
43 [ 'OS=="linux" and mozilla_client==0', {
45 'lib/sysinit/sysinit.gyp:nsssysinit',
50 'lib/softoken/legacydb/legacydb.gyp:nssdbm3',
56 'target_name': 'nss_static_libs',
59 'cmd/lib/lib.gyp:sectool',
60 'lib/base/base.gyp:nssb',
61 'lib/certdb/certdb.gyp:certdb',
62 'lib/certhigh/certhigh.gyp:certhi',
63 'lib/ckfw/ckfw.gyp:nssckfw',
64 'lib/crmf/crmf.gyp:crmf',
65 'lib/cryptohi/cryptohi.gyp:cryptohi',
66 'lib/dev/dev.gyp:nssdev',
67 'lib/freebl/freebl.gyp:freebl',
68 'lib/jar/jar.gyp:jar',
69 'lib/libpkix/libpkix.gyp:libpkix',
70 # mozpkix and mozpkix-testlib are static C++ libs
71 'lib/mozpkix/mozpkix.gyp:mozpkix',
72 'lib/mozpkix/mozpkix.gyp:mozpkix-testlib',
73 'lib/nss/nss.gyp:nss_static',
74 'lib/pk11wrap/pk11wrap.gyp:pk11wrap',
75 'lib/pkcs12/pkcs12.gyp:pkcs12',
76 'lib/pkcs7/pkcs7.gyp:pkcs7',
77 'lib/pki/pki.gyp:nsspki',
78 'lib/smime/smime.gyp:smime',
79 'lib/softoken/softoken.gyp:softokn',
80 'lib/ssl/ssl.gyp:ssl',
81 'lib/util/util.gyp:nssutil',
84 [ 'OS=="linux" and mozilla_client==0', {
86 'lib/sysinit/sysinit.gyp:nsssysinit_static',
91 'lib/dbm/src/src.gyp:dbm',
92 'lib/softoken/legacydb/legacydb.gyp:nssdbm',
95 [ 'use_system_sqlite==0', {
97 'lib/sqlite/sqlite.gyp:sqlite',
100 [ 'moz_fold_libs==1', {
102 'lib/nss/nss.gyp:nss3_static',
103 'lib/smime/smime.gyp:smime3_static',
109 'target_name': 'nss_cmds',
112 'cmd/certutil/certutil.gyp:certutil',
113 'cmd/modutil/modutil.gyp:modutil',
114 'cmd/pk12util/pk12util.gyp:pk12util',
115 'cmd/shlibsign/shlibsign.gyp:shlibsign',
118 [ 'comm_client==1', {
120 'cmd/smimetools/smimetools.gyp:cmsutil',
121 'cmd/atob/atob.gyp:atob',
122 'cmd/btoa/btoa.gyp:btoa',
125 [ 'mozilla_client==0', {
127 'cmd/crlutil/crlutil.gyp:crlutil',
128 'cmd/pwdecrypt/pwdecrypt.gyp:pwdecrypt',
129 'cmd/signtool/signtool.gyp:signtool',
130 'cmd/signver/signver.gyp:signver',
131 'cmd/smimetools/smimetools.gyp:cmsutil',
132 'cmd/ssltap/ssltap.gyp:ssltap',
133 'cmd/symkeyutil/symkeyutil.gyp:symkeyutil',
134 'nss-tool/nss_tool.gyp:nss',
135 'nss-tool/nss_tool.gyp:hw-support',
141 }, { # else, i.e. mozpkix_only==1
142 # Build only mozpkix.
145 'target_name': 'nss_mozpkix_libs',
148 # mozpkix and mozpkix-testlib are static C++ libs
149 'lib/mozpkix/mozpkix.gyp:mozpkix',
150 'lib/mozpkix/mozpkix.gyp:mozpkix-testlib',
155 [ 'disable_tests==0', {
158 'target_name': 'nss_tests',
161 'cmd/addbuiltin/addbuiltin.gyp:addbuiltin',
162 'cmd/atob/atob.gyp:atob',
163 'cmd/bltest/bltest.gyp:bltest',
164 'cmd/btoa/btoa.gyp:btoa',
165 'cmd/chktest/chktest.gyp:chktest',
166 'cmd/crmftest/crmftest.gyp:crmftest',
167 'cmd/dbtest/dbtest.gyp:dbtest',
168 'cmd/derdump/derdump.gyp:derdump',
169 'cmd/digest/digest.gyp:digest',
170 'cmd/ecperf/ecperf.gyp:ecperf',
171 'cmd/fbectest/fbectest.gyp:fbectest',
172 'cmd/httpserv/httpserv.gyp:httpserv',
173 'cmd/listsuites/listsuites.gyp:listsuites',
174 'cmd/makepqg/makepqg.gyp:makepqg',
175 'cmd/multinit/multinit.gyp:multinit',
176 'cmd/nss-policy-check/nss-policy-check.gyp:nss-policy-check',
177 'cmd/ocspclnt/ocspclnt.gyp:ocspclnt',
178 'cmd/ocspresp/ocspresp.gyp:ocspresp',
179 'cmd/oidcalc/oidcalc.gyp:oidcalc',
180 'cmd/p7content/p7content.gyp:p7content',
181 'cmd/p7env/p7env.gyp:p7env',
182 'cmd/p7sign/p7sign.gyp:p7sign',
183 'cmd/p7verify/p7verify.gyp:p7verify',
184 'cmd/pk11ectest/pk11ectest.gyp:pk11ectest',
185 'cmd/pk11gcmtest/pk11gcmtest.gyp:pk11gcmtest',
186 'cmd/pk11mode/pk11mode.gyp:pk11mode',
187 'cmd/pk11importtest/pk11importtest.gyp:pk11importtest',
188 'cmd/pk1sign/pk1sign.gyp:pk1sign',
190 'cmd/rsaperf/rsaperf.gyp:rsaperf',
191 'cmd/rsapoptst/rsapoptst.gyp:rsapoptst',
192 'cmd/sdrtest/sdrtest.gyp:sdrtest',
193 'cmd/selfserv/selfserv.gyp:selfserv',
194 'cmd/shlibsign/mangle/mangle.gyp:mangle',
195 'cmd/strsclnt/strsclnt.gyp:strsclnt',
196 'cmd/tests/tests.gyp:baddbdir',
197 'cmd/tests/tests.gyp:conflict',
198 'cmd/tests/tests.gyp:dertimetest',
199 'cmd/tests/tests.gyp:encodeinttest',
200 'cmd/tests/tests.gyp:nonspr10',
201 'cmd/tests/tests.gyp:remtest',
202 'cmd/tests/tests.gyp:secmodtest',
203 'cmd/tstclnt/tstclnt.gyp:tstclnt',
204 'cmd/vfychain/vfychain.gyp:vfychain',
205 'cmd/vfyserv/vfyserv.gyp:vfyserv',
206 'cmd/mpitests/mpitests.gyp:mpi_tests',
207 'gtests/certhigh_gtest/certhigh_gtest.gyp:certhigh_gtest',
208 'gtests/cryptohi_gtest/cryptohi_gtest.gyp:cryptohi_gtest',
209 'gtests/der_gtest/der_gtest.gyp:der_gtest',
210 'gtests/certdb_gtest/certdb_gtest.gyp:certdb_gtest',
211 'gtests/freebl_gtest/freebl_gtest.gyp:prng_gtest',
212 'gtests/freebl_gtest/freebl_gtest.gyp:blake2b_gtest',
213 'gtests/freebl_gtest/freebl_gtest.gyp:freebl_gtest',
214 'gtests/mozpkix_gtest/mozpkix_gtest.gyp:mozpkix_gtest',
215 'gtests/nss_bogo_shim/nss_bogo_shim.gyp:nss_bogo_shim',
216 'gtests/pkcs11testmodule/pkcs11testmodule.gyp:pkcs11testmodule',
217 'gtests/pk11_gtest/pk11_gtest.gyp:pk11_gtest',
218 'gtests/smime_gtest/smime_gtest.gyp:smime_gtest',
219 'gtests/softoken_gtest/softoken_gtest.gyp:softoken_gtest',
220 'gtests/ssl_gtest/ssl_gtest.gyp:ssl_gtest',
221 'gtests/util_gtest/util_gtest.gyp:util_gtest',
222 'lib/ckfw/builtins/testlib/builtins-testlib.gyp:nssckbi-testlib',
227 'cmd/lowhashtest/lowhashtest.gyp:lowhashtest',
230 [ 'OS=="linux" and mozilla_client==0', {
232 'gtests/sysinit_gtest/sysinit_gtest.gyp:sysinit_gtest',
235 [ 'disable_libpkix==0', {
237 'cmd/pkix-errcodes/pkix-errcodes.gyp:pkix-errcodes',
240 [ 'disable_fips==0', {
242 'cmd/fipstest/fipstest.gyp:fipstest',
252 'target_name': 'nss_sign_shared_libs',
255 'cmd/shlibsign/shlibsign.gyp:shlibsign',
259 'action_name': 'shlibsign',
260 'msvs_cygwin_shell': 0,
262 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freebl3.<(dll_suffix)',
263 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freeblpriv3.<(dll_suffix)',
264 '<(nss_dist_obj_dir)/lib/<(dll_prefix)nssdbm3.<(dll_suffix)',
265 '<(nss_dist_obj_dir)/lib/<(dll_prefix)softokn3.<(dll_suffix)',
268 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freebl3.chk',
269 '<(nss_dist_obj_dir)/lib/<(dll_prefix)freeblpriv3.chk',
270 '<(nss_dist_obj_dir)/lib/<(dll_prefix)nssdbm3.chk',
271 '<(nss_dist_obj_dir)/lib/<(dll_prefix)softokn3.chk'
275 'inputs/': [['exclude', 'freeblpriv']],
276 'outputs/': [['exclude', 'freeblpriv']]
279 'inputs/': [['exclude', 'nssdbm3']],
280 'outputs/': [['exclude', 'nssdbm3']]
283 'action': ['<(python)', '<(DEPTH)/coreconf/shlibsign.py', '<@(_inputs)']
292 'target_name': 'fuzz_warning',
296 'action_name': 'fuzz_warning',
297 'action': ['cat', 'fuzz/warning.txt'],
298 'inputs': ['fuzz/warning.txt'],
299 'ninja_use_console': 1,
300 'outputs': ['dummy'],
309 'target_name': 'fuzz',
312 'fuzz/fuzz.gyp:nssfuzz',
317 [ 'mozilla_central==1', {
320 'target_name': 'test_nssckbi',
323 'lib/ckfw/builtins/testlib/builtins-testlib.gyp:nssckbi-testlib',