Merge pull request #541 from agnat/feature/define_target_name

Add target name preprocessor define
This commit is contained in:
Nathan Rajlich 2015-05-24 14:58:23 -07:00
commit ad336cce6e

View file

@ -9,6 +9,7 @@
'<(node_root_dir)/deps/uv/include',
'<(node_root_dir)/deps/v8/include'
],
'defines': ['NODE_GYP_MODULE_NAME=>(_target_name)'],
'target_conditions': [
['_type=="loadable_module"', {