summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/mozpkix/mozpkix.gyp
blob: 1c552ba5fa3f5a604d0a5b1e976658eefc0e8257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
{
  'includes': [
    '../../coreconf/config.gypi'
  ],
  'targets': [
    {
      'target_name': 'mozpkix',
      'type': 'static_library',
      'standalone_static_library': 1,
      'sources': [
        'lib/pkixbuild.cpp',
        'lib/pkixcert.cpp',
        'lib/pkixcheck.cpp',
        'lib/pkixder.cpp',
        'lib/pkixnames.cpp',
        'lib/pkixnss.cpp',
        'lib/pkixocsp.cpp',
        'lib/pkixresult.cpp',
        'lib/pkixtime.cpp',
        'lib/pkixverify.cpp',
      ],
      'dependencies': [
        '<(DEPTH)/exports.gyp:nss_mozpkix_exports',
      ],
      'conditions': [
        [ 'mozpkix_only==0', {
          'dependencies': [
            '<(DEPTH)/exports.gyp:nss_exports'
          ],
        }],
      ],
    },
    {
      'target_name': 'mozpkix-testlib',
      'type': 'static_library',
      'standalone_static_library': 1,
      'sources': [
        'test-lib/pkixtestalg.cpp',
        'test-lib/pkixtestnss.cpp',
        'test-lib/pkixtestutil.cpp',
      ],
      'dependencies': [
        '<(DEPTH)/exports.gyp:nss_mozpkix_exports',
      ],
      'conditions': [
        [ 'mozpkix_only==0', {
          'dependencies': [
            '<(DEPTH)/exports.gyp:nss_exports'
          ],
        }],
      ],
    },
  ],
  'variables': {
    'module': 'nss',
  }
}