This intended to replace usage of the unsupported _external field, offering an official API for native addons to access OpenSSL directly while reducing the JS API and internal field exposure. PR-URL: https://github.com/nodejs/node/pull/62254 Reviewed-By: Anna Henningsen <anna@addaleax.net>
29 lines
839 B
Python
29 lines
839 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'binding',
|
|
'includes': ['../common.gypi'],
|
|
'conditions': [
|
|
['node_use_openssl=="true"', {
|
|
'conditions': [
|
|
['OS in "aix os400"', {
|
|
'variables': {
|
|
# Used to differentiate `AIX` and `OS400`(IBM i).
|
|
'aix_variant_name': '<!(uname -s)',
|
|
},
|
|
'conditions': [
|
|
[ '"<(aix_variant_name)"!="OS400"', { # Not `OS400`(IBM i)
|
|
'sources': ['binding.cc'],
|
|
'include_dirs': ['../../../deps/openssl/openssl/include'],
|
|
}],
|
|
],
|
|
}, {
|
|
'sources': ['binding.cc'],
|
|
'include_dirs': ['../../../deps/openssl/openssl/include'],
|
|
}],
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
}
|