tor-browser

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

pk11_gtest.gyp (3121B)


      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': 'pk11_gtest',
     12       'type': 'executable',
     13       'sources': [
     14         'json_reader.cc',
     15         'pk11_aes_cmac_unittest.cc',
     16         'pk11_aes_gcm_unittest.cc',
     17         'pk11_aeskeywrap_unittest.cc',
     18         'pk11_aeskeywrapkwp_unittest.cc',
     19         'pk11_aeskeywrappad_unittest.cc',
     20         'pk11_cbc_unittest.cc',
     21         'pk11_chacha20poly1305_unittest.cc',
     22         'pk11_cipherop_unittest.cc',
     23         'pk11_curve25519_unittest.cc',
     24         'pk11_der_private_key_import_unittest.cc',
     25         'pk11_des_unittest.cc',
     26         'pk11_dsa_unittest.cc',
     27         'pk11_ecdsa_unittest.cc',
     28         'pk11_eddsa_unittest.cc',
     29         'pk11_ecdh_unittest.cc',
     30         'pk11_encrypt_derive_unittest.cc',
     31         'pk11_find_certs_unittest.cc',
     32         'pk11_hkdf_unittest.cc',
     33         'pk11_hmac_unittest.cc',
     34         'pk11_hpke_unittest.cc',
     35         'pk11_ike_unittest.cc',
     36         'pk11_import_unittest.cc',
     37         'pk11_kbkdf.cc',
     38         'pk11_kem_unittest.cc',
     39         'pk11_keygen.cc',
     40         'pk11_key_unittest.cc',
     41         'pk11_module_unittest.cc',
     42         'pk11_pbe_unittest.cc',
     43         'pk11_pbkdf2_unittest.cc',
     44         'pk11_prf_unittest.cc',
     45         'pk11_prng_unittest.cc',
     46         'pk11_rsaencrypt_unittest.cc',
     47         'pk11_rsaoaep_unittest.cc',
     48         'pk11_rsapkcs1_unittest.cc',
     49         'pk11_rsapss_unittest.cc',
     50         'pk11_seed_cbc_unittest.cc',
     51         'pk11_symkey_unittest.cc',
     52         'pk11_signature_test.cc',
     53         'pk11_x25519_unittest.cc',
     54         '<(DEPTH)/gtests/common/gtests.cc'
     55       ],
     56       'dependencies': [
     57         '<(DEPTH)/exports.gyp:nss_exports',
     58         '<(DEPTH)/cpputil/cpputil.gyp:cpputil',
     59         '<(DEPTH)/gtests/google_test/google_test.gyp:gtest',
     60         '<(DEPTH)/lib/util/util.gyp:nssutil3',
     61       ],
     62       'conditions': [
     63         [ 'static_libs==1', {
     64           'dependencies': [
     65             '<(DEPTH)/lib/base/base.gyp:nssb',
     66             '<(DEPTH)/lib/certdb/certdb.gyp:certdb',
     67             '<(DEPTH)/lib/certhigh/certhigh.gyp:certhi',
     68             '<(DEPTH)/lib/cryptohi/cryptohi.gyp:cryptohi',
     69             '<(DEPTH)/lib/dev/dev.gyp:nssdev',
     70             '<(DEPTH)/lib/nss/nss.gyp:nss_static',
     71             '<(DEPTH)/lib/pk11wrap/pk11wrap.gyp:pk11wrap_static',
     72             '<(DEPTH)/lib/pki/pki.gyp:nsspki',
     73             '<(DEPTH)/lib/ssl/ssl.gyp:ssl',
     74             '<(DEPTH)/lib/libpkix/libpkix.gyp:libpkix',
     75           ],
     76         }, {
     77           'dependencies': [
     78             '<(DEPTH)/lib/nss/nss.gyp:nss3',
     79             '<(DEPTH)/lib/ssl/ssl.gyp:ssl3',
     80           ],
     81         }],
     82         ['ct_verif==1', {
     83             'defines': ['CT_VERIF'],
     84         }],
     85       ],
     86     }
     87   ],
     88   'target_defaults': {
     89     'defines': [
     90       'DLL_PREFIX=\"<(dll_prefix)\"',
     91       'DLL_SUFFIX=\"<(dll_suffix)\"'
     92     ]
     93   },
     94   'variables': {
     95     'module': 'nss'
     96   }
     97 }