mozpkix.gyp (1526B)
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/. 4 { 5 'includes': [ 6 '../../coreconf/config.gypi' 7 ], 8 'targets': [ 9 { 10 'target_name': 'mozpkix', 11 'type': 'static_library', 12 'standalone_static_library': 1, 13 'sources': [ 14 'lib/pkixbuild.cpp', 15 'lib/pkixc.cpp', 16 'lib/pkixcert.cpp', 17 'lib/pkixcheck.cpp', 18 'lib/pkixder.cpp', 19 'lib/pkixnames.cpp', 20 'lib/pkixnss.cpp', 21 'lib/pkixocsp.cpp', 22 'lib/pkixresult.cpp', 23 'lib/pkixtime.cpp', 24 'lib/pkixverify.cpp', 25 ], 26 'dependencies': [ 27 '<(DEPTH)/exports.gyp:nss_mozpkix_exports', 28 ], 29 'conditions': [ 30 [ 'mozpkix_only==0', { 31 'dependencies': [ 32 '<(DEPTH)/exports.gyp:nss_exports' 33 ], 34 }], 35 ], 36 }, 37 { 38 'target_name': 'mozpkix-testlib', 39 'type': 'static_library', 40 'standalone_static_library': 1, 41 'sources': [ 42 'test-lib/pkixtestalg.cpp', 43 'test-lib/pkixtestnss.cpp', 44 'test-lib/pkixtestutil.cpp', 45 ], 46 'dependencies': [ 47 '<(DEPTH)/exports.gyp:nss_mozpkix_exports', 48 ], 49 'conditions': [ 50 [ 'mozpkix_only==0', { 51 'dependencies': [ 52 '<(DEPTH)/exports.gyp:nss_exports' 53 ], 54 }], 55 ], 56 }, 57 ], 58 'variables': { 59 'module': 'nss', 60 } 61 }