tor-browser

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

softoken_gtest.gyp (1778B)


      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     '../common/gtest.gypi',
      8   ],
      9   'targets': [
     10     {
     11       'target_name': 'softoken_gtest',
     12       'type': 'executable',
     13       'sources': [
     14         'softoken_gtest.cc',
     15         'softoken_nssckbi_testlib_gtest.cc',
     16       ],
     17       'dependencies': [
     18         '<(DEPTH)/exports.gyp:nss_exports',
     19         '<(DEPTH)/cpputil/cpputil.gyp:cpputil',
     20         '<(DEPTH)/lib/util/util.gyp:nssutil3',
     21         '<(DEPTH)/gtests/google_test/google_test.gyp:gtest',
     22       ],
     23       'conditions': [
     24         [ 'static_libs==1', {
     25           'dependencies': [
     26             '<(DEPTH)/lib/nss/nss.gyp:nss_static',
     27             '<(DEPTH)/lib/pk11wrap/pk11wrap.gyp:pk11wrap_static',
     28             '<(DEPTH)/lib/cryptohi/cryptohi.gyp:cryptohi',
     29             '<(DEPTH)/lib/certhigh/certhigh.gyp:certhi',
     30             '<(DEPTH)/lib/certdb/certdb.gyp:certdb',
     31             '<(DEPTH)/lib/base/base.gyp:nssb',
     32             '<(DEPTH)/lib/dev/dev.gyp:nssdev',
     33             '<(DEPTH)/lib/pki/pki.gyp:nsspki',
     34             '<(DEPTH)/lib/ssl/ssl.gyp:ssl',
     35             '<(DEPTH)/lib/libpkix/libpkix.gyp:libpkix',
     36           ],
     37         }, {
     38           'dependencies': [
     39             '<(DEPTH)/lib/nss/nss.gyp:nss3',
     40             '<(DEPTH)/lib/ssl/ssl.gyp:ssl3',
     41             '<(DEPTH)/lib/sqlite/sqlite.gyp:sqlite3',
     42           ],
     43         }],
     44       ],
     45     }
     46   ],
     47   'target_defaults': {
     48     'include_dirs': [
     49       '../../lib/util'
     50     ],
     51     'defines': [
     52       'DLL_PREFIX=\"<(dll_prefix)\"',
     53       'DLL_SUFFIX=\"<(dll_suffix)\"'
     54     ]
     55   },
     56   'variables': {
     57     'module': 'nss'
     58   }
     59 }