mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
Signed-off-by: Tim Perry <pimterry@gmail.com> PR-URL: https://github.com/nodejs/node/pull/62217 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
34 lines
935 B
Python
34 lines
935 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'testsetengine',
|
|
'type': 'none',
|
|
'includes': ['../common.gypi'],
|
|
'conditions': [
|
|
['(OS=="mac" or OS=="linux") and '
|
|
'node_use_openssl=="true" and '
|
|
'node_shared=="false" and '
|
|
'node_shared_openssl=="false"', {
|
|
'type': 'shared_library',
|
|
'sources': [ 'testsetengine.cc' ],
|
|
'product_extension': 'engine',
|
|
'include_dirs': ['../../../deps/openssl/openssl/include'],
|
|
'conditions': [
|
|
['OS=="mac"', {
|
|
'xcode_settings': {
|
|
'OTHER_CFLAGS': ['-Wno-deprecated-declarations'],
|
|
'OTHER_LDFLAGS': ['-undefined', 'dynamic_lookup'],
|
|
},
|
|
}],
|
|
['OS=="linux"', {
|
|
'cflags': [
|
|
'-Wno-deprecated-declarations',
|
|
],
|
|
}],
|
|
],
|
|
}],
|
|
],
|
|
}
|
|
]
|
|
}
|