security/manager/ssl/src/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 EXPORTS += [
michael@0 8 'CryptoTask.h',
michael@0 9 'nsCrypto.h',
michael@0 10 'nsNSSShutDown.h',
michael@0 11 'nsRandomGenerator.h',
michael@0 12 'ScopedNSSTypes.h',
michael@0 13 ]
michael@0 14
michael@0 15 EXPORTS.mozilla += [
michael@0 16 'PublicSSL.h',
michael@0 17 ]
michael@0 18
michael@0 19 UNIFIED_SOURCES += [
michael@0 20 'CryptoTask.cpp',
michael@0 21 'nsCertificatePrincipal.cpp',
michael@0 22 'nsCertOverrideService.cpp',
michael@0 23 'nsCertPicker.cpp',
michael@0 24 'nsCertVerificationThread.cpp',
michael@0 25 'nsClientAuthRemember.cpp',
michael@0 26 'nsCMS.cpp',
michael@0 27 'nsCMSSecureMessage.cpp',
michael@0 28 'nsCrypto.cpp',
michael@0 29 'nsDataSignatureVerifier.cpp',
michael@0 30 'nsKeygenHandler.cpp',
michael@0 31 'nsKeygenThread.cpp',
michael@0 32 'nsKeyModule.cpp',
michael@0 33 'nsNSSASN1Object.cpp',
michael@0 34 'nsNSSCallbacks.cpp',
michael@0 35 'nsNSSCertCache.cpp',
michael@0 36 'nsNSSCertHelper.cpp',
michael@0 37 'nsNSSCertificate.cpp',
michael@0 38 'nsNSSCertificateFakeTransport.cpp',
michael@0 39 'nsNSSCertTrust.cpp',
michael@0 40 'nsNSSCertValidity.cpp',
michael@0 41 'nsNSSCleaner.cpp',
michael@0 42 'nsNSSErrors.cpp',
michael@0 43 'nsNSSIOLayer.cpp',
michael@0 44 'nsNSSModule.cpp',
michael@0 45 'nsNSSShutDown.cpp',
michael@0 46 'nsNTLMAuthModule.cpp',
michael@0 47 'nsPK11TokenDB.cpp',
michael@0 48 'nsPKCS11Slot.cpp',
michael@0 49 'nsPKCS12Blob.cpp',
michael@0 50 'nsProtectedAuthThread.cpp',
michael@0 51 'nsPSMBackgroundThread.cpp',
michael@0 52 'nsRandomGenerator.cpp',
michael@0 53 'nsRecentBadCerts.cpp',
michael@0 54 'nsSDR.cpp',
michael@0 55 'NSSErrorsService.cpp',
michael@0 56 'nsSSLSocketProvider.cpp',
michael@0 57 'nsSSLStatus.cpp',
michael@0 58 'nsStreamCipher.cpp',
michael@0 59 'nsTLSSocketProvider.cpp',
michael@0 60 'nsUsageArrayHelper.cpp',
michael@0 61 'PSMRunnable.cpp',
michael@0 62 'SharedSSLState.cpp',
michael@0 63 'SSLServerCertVerification.cpp',
michael@0 64 'TransportSecurityInfo.cpp',
michael@0 65 ]
michael@0 66
michael@0 67 # nsNSSCertificateDB.cpp needs to include nscert.h before everything else.
michael@0 68 # The rest cannot be built in unified mode because they want to force NSPR
michael@0 69 # logging.
michael@0 70 SOURCES += [
michael@0 71 'nsCryptoHash.cpp',
michael@0 72 'nsNSSCertificateDB.cpp',
michael@0 73 'nsNSSComponent.cpp',
michael@0 74 'nsNSSVersion.cpp',
michael@0 75 'PSMContentListener.cpp',
michael@0 76 ]
michael@0 77
michael@0 78 if not CONFIG['MOZ_DISABLE_CRYPTOLEGACY']:
michael@0 79 UNIFIED_SOURCES += [
michael@0 80 'nsSmartCardMonitor.cpp',
michael@0 81 ]
michael@0 82
michael@0 83 if CONFIG['MOZ_XUL']:
michael@0 84 UNIFIED_SOURCES += [
michael@0 85 'nsCertTree.cpp',
michael@0 86 ]
michael@0 87
michael@0 88 UNIFIED_SOURCES += [
michael@0 89 'md4.c',
michael@0 90 ]
michael@0 91
michael@0 92 FAIL_ON_WARNINGS = True
michael@0 93
michael@0 94 FINAL_LIBRARY = 'xul'
michael@0 95
michael@0 96 LOCAL_INCLUDES += [
michael@0 97 '../../../certverifier',
michael@0 98 '../../../pkix/include',
michael@0 99 ]
michael@0 100
michael@0 101 if CONFIG['NSS_DISABLE_DBM']:
michael@0 102 DEFINES['NSS_DISABLE_DBM'] = '1'
michael@0 103
michael@0 104 DEFINES['SSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES'] = 'True'
michael@0 105 DEFINES['NSS_ENABLE_ECC'] = 'True'
michael@0 106 for var in ('DLL_PREFIX', 'DLL_SUFFIX'):
michael@0 107 DEFINES[var] = '"%s"' % CONFIG[var]

mercurial