Bug 1914685 - [wpt-sync] Update web-platform-tests to 26c88095d89792c886494e30c85aca3...
[gecko.git] / security / nss / lib / pk11wrap / pk11wrap.gyp
blob03bb5220b81cbb199ac9c2eda73bb836657426a4
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/.
5   'includes': [
6     '../../coreconf/config.gypi'
7   ],
8   'targets': [
9     {
10       'target_name': 'pk11wrap_static',
11       'type': 'static_library',
12       'defines': [
13         'NSS_STATIC_SOFTOKEN',
14       ],
15       'dependencies': [
16         'pk11wrap_base',
17         '<(DEPTH)/exports.gyp:nss_exports',
18         '<(DEPTH)/lib/softoken/softoken.gyp:softokn_static',
19       ],
20     },
21     {
22       'target_name': 'pk11wrap',
23       'type': 'static_library',
24       'dependencies': [
25         'pk11wrap_base',
26         '<(DEPTH)/exports.gyp:nss_exports',
27       ],
28     },
29     {
30       'target_name': 'pk11wrap_base',
31       'type': 'none',
32       'direct_dependent_settings': {
33         'sources': [
34           'dev3hack.c',
35           'pk11akey.c',
36           'pk11auth.c',
37           'pk11cert.c',
38           'pk11cxt.c',
39           'pk11err.c',
40           'pk11hpke.c',
41           'pk11kea.c',
42           'pk11list.c',
43           'pk11load.c',
44           'pk11mech.c',
45           'pk11merge.c',
46           'pk11nobj.c',
47           'pk11obj.c',
48           'pk11pars.c',
49           'pk11pbe.c',
50           'pk11pk12.c',
51           'pk11pqg.c',
52           'pk11sdr.c',
53           'pk11skey.c',
54           'pk11slot.c',
55           'pk11util.c'
56         ],
57       },
58     },
59   ],
60   'target_defaults': {
61     'defines': [
62       'SHLIB_SUFFIX=\"<(dll_suffix)\"',
63       'SHLIB_PREFIX=\"<(dll_prefix)\"',
64       'NSS_SHLIB_VERSION=\"3\"',
65       'SOFTOKEN_SHLIB_VERSION=\"3\"'
66     ],
67   },
68   'variables': {
69     'module': 'nss'
70   }