You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1005 B
35 lines
1005 B
{
|
|
'variables': {
|
|
'node_shared_openssl%': 'true'
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'KeyModule',
|
|
'sources': [
|
|
'src/eckey.cc'
|
|
],
|
|
'conditions': [
|
|
['node_shared_openssl=="false"', {
|
|
# so when "node_shared_openssl" is "false", then OpenSSL has been
|
|
# bundled into the node executable. So we need to include the same
|
|
# header files that were used when building node.
|
|
'include_dirs': [
|
|
'<(node_root_dir)/deps/openssl/openssl/include'
|
|
],
|
|
"conditions" : [
|
|
["target_arch=='ia32'", {
|
|
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/piii" ]
|
|
}],
|
|
["target_arch=='x64'", {
|
|
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/k8" ]
|
|
}],
|
|
["target_arch=='arm'", {
|
|
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/arm" ]
|
|
}]
|
|
]
|
|
}]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|
|
|