Permalink
34 lines (33 sloc) 664 Bytes
{
'targets': [
{
'target_name': 'bcrypt_lib',
'sources': [
'src/blowfish.cc',
'src/bcrypt.cc',
'src/bcrypt_node.cc'
],
'include_dirs' : [
"<!(node -e \"require('nan')\")"
],
'conditions': [
[ 'OS=="win"', {
'defines': [
'uint=unsigned int',
],
}],
],
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
}
]
}