mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 14:33:11 +01:00
efe5b81df9
Start moving src/crypto functionality out to a separate dep that can be shared with other projects that need to emulate Node.js crypto behavior. PR-URL: https://github.com/nodejs/node/pull/53803 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
28 lines
532 B
Python
28 lines
532 B
Python
{
|
|
'variables': {
|
|
'ncrypto_sources': [
|
|
'engine.cc',
|
|
'ncrypto.cc',
|
|
'ncrypto.h',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'ncrypto',
|
|
'type': 'static_library',
|
|
'include_dirs': ['.'],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': ['.'],
|
|
},
|
|
'sources': [ '<@(ncrypto_sources)' ],
|
|
'conditions': [
|
|
['node_shared_openssl=="false"', {
|
|
'dependencies': [
|
|
'../openssl/openssl.gyp:openssl'
|
|
]
|
|
}],
|
|
]
|
|
},
|
|
]
|
|
}
|