tor-browser

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

nss_tool.gyp (1809B)


      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     '../cmd/platlibs.gypi',
      8   ],
      9   'targets' : [
     10     {
     11       'target_name' : 'nss',
     12       'type' : 'executable',
     13       'sources' : [
     14         'nss_tool.cc',
     15         'common/argparse.cc',
     16         'common/util.cc',
     17         'db/dbtool.cc',
     18         'enc/enctool.cc',
     19         'digest/digesttool.cc'
     20       ],
     21       'include_dirs': [
     22         'common',
     23       ],
     24       'dependencies' : [
     25         '<(DEPTH)/cpputil/cpputil.gyp:cpputil',
     26         '<(DEPTH)/exports.gyp:dbm_exports',
     27         '<(DEPTH)/exports.gyp:nss_exports',
     28       ],
     29     },
     30     {
     31       'target_name': 'hw-support',
     32       'type': 'executable',
     33       'sources': [
     34         'hw-support.c',
     35       ],
     36       'conditions': [
     37         [ 'OS=="win"', {
     38           'libraries': [
     39             'advapi32.lib',
     40           ],
     41         }],
     42       ],
     43       'dependencies' : [
     44         '<(DEPTH)/exports.gyp:nss_exports',
     45         '<(DEPTH)/lib/util/util.gyp:nssutil3',
     46         '<(DEPTH)/lib/nss/nss.gyp:nss_static',
     47         '<(DEPTH)/lib/pk11wrap/pk11wrap.gyp:pk11wrap_static',
     48         '<(DEPTH)/lib/cryptohi/cryptohi.gyp:cryptohi',
     49         '<(DEPTH)/lib/certhigh/certhigh.gyp:certhi',
     50         '<(DEPTH)/lib/certdb/certdb.gyp:certdb',
     51         '<(DEPTH)/lib/base/base.gyp:nssb',
     52         '<(DEPTH)/lib/dev/dev.gyp:nssdev',
     53         '<(DEPTH)/lib/pki/pki.gyp:nsspki',
     54       ],
     55       'include_dirs': [
     56         '<(DEPTH)/lib/freebl',
     57         '<(DEPTH)/lib/freebl/mpi',
     58       ],
     59       'defines': [
     60         'NSS_USE_STATIC_LIBS'
     61       ],
     62       'variables': {
     63         'module': 'nss',
     64         'use_static_libs': 1
     65       },
     66     },
     67   ],
     68 }