Skip to content

Commit

Permalink
Generate node.lib from atom.lib and chromiumcontent.dll.lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Aug 31, 2013
1 parent a5bc2fd commit 766347f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions atom.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -470,5 +470,37 @@
}, # target helper
],
}], # OS==Mac
['OS=="win"', {
'targets': [
{
'target_name': 'generate_node_lib',
'type': 'none',
'dependencies': [
'<(project_name)',
],
'actions': [
{
'action_name': 'Create node.lib',
'inputs': [
'<(PRODUCT_DIR)/atom.lib',
'<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
],
'outputs': [
'<(PRODUCT_DIR)/node.lib',
],
'action': [
'lib.exe',
'/nologo',
# We can't use <(_outputs) here because that escapes the
# backslash in the path, which confuses lib.exe.
'/OUT:<(PRODUCT_DIR)\\node.lib',
'<@(_inputs)',
],
'msvs_cygwin_shell': 0,
},
],
}, # target generate_node_lib
],
}], # OS==win
],
}

0 comments on commit 766347f

Please sign in to comment.