summaryrefslogtreecommitdiff
path: root/test/addons/openssl-key-engine/binding.gyp
blob: 6f9a8c32c14e29f5e3664843d10275dd12d59889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  'targets': [
    {
      'target_name': 'testkeyengine',
      'type': 'none',
      'includes': ['../common.gypi'],
      'conditions': [
        ['OS=="mac" and '
         'node_use_openssl=="true" and '
         'node_shared=="false" and '
         'node_shared_openssl=="false"', {
          'type': 'shared_library',
          'sources': [ 'testkeyengine.cc' ],
          'product_extension': 'engine',
          'include_dirs': ['../../../deps/openssl/openssl/include'],
          'link_settings': {
            'libraries': [
              '../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
            ]
          },
        }],
      ]
    }
  ]
}