tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ssl.gyp (2303B)


      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': 'ssl',
     11       'type': 'static_library',
     12       'sources': [
     13         'authcert.c',
     14         'cmpcert.c',
     15         'dtlscon.c',
     16         'dtls13con.c',
     17         'prelib.c',
     18         'selfencrypt.c',
     19         'ssl3con.c',
     20         'ssl3ecc.c',
     21         'ssl3ext.c',
     22         'ssl3exthandle.c',
     23         'ssl3gthr.c',
     24         'sslauth.c',
     25         'sslbloom.c',
     26         'sslcert.c',
     27         'sslcon.c',
     28         'ssldef.c',
     29         'sslencode.c',
     30         'sslenum.c',
     31         'sslerr.c',
     32         'sslerrstrs.c',
     33         'sslgrp.c',
     34         'sslinfo.c',
     35         'sslinit.c',
     36         'sslmutex.c',
     37         'sslnonce.c',
     38         'sslprimitive.c',
     39         'sslreveal.c',
     40         'sslsecur.c',
     41         'sslsnce.c',
     42         'sslsock.c',
     43         'sslspec.c',
     44         'ssltrace.c',
     45         'sslver.c',
     46         'tls13con.c',
     47         'tls13ech.c',
     48         'tls13echv.c',
     49         'tls13exthandle.c',
     50         'tls13hashstate.c',
     51         'tls13hkdf.c',
     52         'tls13psk.c',
     53         'tls13replay.c',
     54         'tls13signature.c',
     55         'tls13subcerts.c',
     56       ],
     57       'conditions': [
     58         [ 'OS=="win"', {
     59           'sources': [
     60             'win32err.c',
     61           ],
     62           'defines': [
     63             'IN_LIBSSL',
     64           ],
     65         }, {
     66           # Not Windows.
     67           'sources': [
     68             'unix_err.c'
     69           ],
     70         }],
     71         [ 'fuzz_tls==1', {
     72           'defines': [
     73             'UNSAFE_FUZZER_MODE',
     74           ],
     75         }],
     76         [ 'enable_sslkeylogfile==1', {
     77           'defines': [
     78             'NSS_ALLOW_SSLKEYLOGFILE',
     79           ],
     80         }],
     81       ],
     82       'dependencies': [
     83         '<(DEPTH)/exports.gyp:nss_exports',
     84       ],
     85     },
     86     {
     87       'target_name': 'ssl3',
     88       'type': 'shared_library',
     89       'dependencies': [
     90         'ssl',
     91         '<(DEPTH)/lib/nss/nss.gyp:nss3',
     92         '<(DEPTH)/lib/util/util.gyp:nssutil3',
     93         '<(DEPTH)/lib/freebl/freebl.gyp:freebl',
     94       ],
     95       'variables': {
     96         'mapfile': 'ssl.def'
     97       }
     98     }
     99   ],
    100   'variables': {
    101     'module': 'nss'
    102   }
    103 }