security/manager/ssl/src/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial