diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-01-04 14:24:24 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-01-04 14:24:24 +0000 |
commit | dc1565216a5d20ae0d75872151523252309a1292 (patch) | |
tree | d57454ba9a40386552179eddf60d28bd1e8f3d54 /nss/lib/ssl/ssl.gyp | |
parent | 26c046fbc57d53136b4fb3b5e0d18298318125d4 (diff) | |
download | nss-dc1565216a5d20ae0d75872151523252309a1292.tar.gz |
nss-3.28.1nss-3.28.1
Diffstat (limited to 'nss/lib/ssl/ssl.gyp')
-rw-r--r-- | nss/lib/ssl/ssl.gyp | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/nss/lib/ssl/ssl.gyp b/nss/lib/ssl/ssl.gyp new file mode 100644 index 0000000..0306ab6 --- /dev/null +++ b/nss/lib/ssl/ssl.gyp @@ -0,0 +1,98 @@ +# 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': 'ssl', + 'type': 'static_library', + 'sources': [ + 'authcert.c', + 'cmpcert.c', + 'dtlscon.c', + 'prelib.c', + 'ssl3con.c', + 'ssl3ecc.c', + 'ssl3ext.c', + 'ssl3exthandle.c', + 'ssl3gthr.c', + 'sslauth.c', + 'sslcert.c', + 'sslcon.c', + 'ssldef.c', + 'sslenum.c', + 'sslerr.c', + 'sslerrstrs.c', + 'sslgrp.c', + 'sslinfo.c', + 'sslinit.c', + 'sslmutex.c', + 'sslnonce.c', + 'sslreveal.c', + 'sslsecur.c', + 'sslsnce.c', + 'sslsock.c', + 'ssltrace.c', + 'sslver.c', + 'tls13con.c', + 'tls13exthandle.c', + 'tls13hkdf.c', + ], + 'conditions': [ + [ 'OS=="win"', { + 'sources': [ + 'win32err.c', + ], + 'defines': [ + 'IN_LIBSSL', + ], + }, { + # Not Windows. + 'sources': [ + 'unix_err.c' + ], + }], + [ 'ssl_enable_zlib==1', { + 'dependencies': [ + '<(DEPTH)/lib/zlib/zlib.gyp:nss_zlib' + ], + 'defines': [ + 'NSS_SSL_ENABLE_ZLIB', + ], + }], + [ 'fuzz==1', { + 'defines': [ + 'UNSAFE_FUZZER_MODE', + ], + }], + ], + 'dependencies': [ + '<(DEPTH)/exports.gyp:nss_exports', + '<(DEPTH)/lib/freebl/freebl.gyp:freebl', + ], + }, + { + 'target_name': 'ssl3', + 'type': 'shared_library', + 'dependencies': [ + 'ssl', + '<(DEPTH)/lib/nss/nss.gyp:nss3', + '<(DEPTH)/lib/util/util.gyp:nssutil3', + ], + 'variables': { + 'mapfile': 'ssl.def' + } + } + ], + 'target_defaults': { + 'defines': [ + 'NSS_ALLOW_SSLKEYLOGFILE=1' + ] + }, + 'variables': { + 'module': 'nss' + } +} |