tor-browser

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

smime.gyp (1852B)


      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': 'smime',
     11       'type': 'static_library',
     12       'sources': [
     13         'cmsarray.c',
     14         'cmsasn1.c',
     15         'cmsattr.c',
     16         'cmscinfo.c',
     17         'cmscipher.c',
     18         'cmsdecode.c',
     19         'cmsdigdata.c',
     20         'cmsdigest.c',
     21         'cmsencdata.c',
     22         'cmsencode.c',
     23         'cmsenvdata.c',
     24         'cmsmessage.c',
     25         'cmspubkey.c',
     26         'cmsrecinfo.c',
     27         'cmsreclist.c',
     28         'cmssigdata.c',
     29         'cmssiginfo.c',
     30         'cmsudf.c',
     31         'cmsutil.c',
     32         'smimemessage.c',
     33         'smimeutil.c',
     34         'smimever.c'
     35       ],
     36       'dependencies': [
     37         '<(DEPTH)/exports.gyp:nss_exports',
     38       ]
     39     },
     40     {
     41       # This is here so Firefox can link this without having to
     42       # repeat the list of dependencies.
     43       'target_name': 'smime3_deps',
     44       'type': 'none',
     45       'dependencies': [
     46         'smime',
     47         '<(DEPTH)/lib/pkcs12/pkcs12.gyp:pkcs12',
     48         '<(DEPTH)/lib/pkcs7/pkcs7.gyp:pkcs7'
     49       ],
     50     },
     51     {
     52       'target_name': 'smime3',
     53       'type': 'shared_library',
     54       'dependencies': [
     55         'smime3_deps',
     56         '<(DEPTH)/lib/nss/nss.gyp:nss3',
     57         '<(DEPTH)/lib/util/util.gyp:nssutil3'
     58       ],
     59       'variables': {
     60         'mapfile': 'smime.def'
     61       }
     62     }
     63   ],
     64   'conditions': [
     65     [ 'moz_fold_libs==1', {
     66       'targets': [
     67         {
     68           'target_name': 'smime3_static',
     69           'type': 'static_library',
     70           'dependencies': [
     71             'smime3_deps',
     72           ],
     73         }
     74       ],
     75     }],
     76   ],
     77   'variables': {
     78     'module': 'nss'
     79   }
     80 }