To skip some tests on IBMi PASE, we use uname to detect the true os name, but on Windows machines there is no uname available. PR-URL: https://github.com/nodejs/node/pull/32833 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
25 lines
642 B
Python
25 lines
642 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'binding',
|
|
'conditions': [
|
|
['OS=="aix"', {
|
|
'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/zlib'],
|
|
}],
|
|
],
|
|
}, {
|
|
'sources': ['binding.cc'],
|
|
'include_dirs': ['../../../deps/zlib'],
|
|
}],
|
|
],
|
|
'includes': ['../common.gypi'],
|
|
},
|
|
]
|
|
}
|