File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 470470 }, # target helper
471471 ],
472472 }], # OS==Mac
473+ ['OS=="win"' , {
474+ 'targets' : [
475+ {
476+ 'target_name' : 'generate_node_lib' ,
477+ 'type' : 'none' ,
478+ 'dependencies' : [
479+ '<(project_name)' ,
480+ ],
481+ 'actions' : [
482+ {
483+ 'action_name' : 'Create node.lib' ,
484+ 'inputs' : [
485+ '<(PRODUCT_DIR)/atom.lib' ,
486+ '<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib' ,
487+ ],
488+ 'outputs' : [
489+ '<(PRODUCT_DIR)/node.lib' ,
490+ ],
491+ 'action' : [
492+ 'lib.exe' ,
493+ '/nologo' ,
494+ # We can't use <(_outputs) here because that escapes the
495+ # backslash in the path, which confuses lib.exe.
496+ '/OUT:<(PRODUCT_DIR)\\ node.lib' ,
497+ '<@(_inputs)' ,
498+ ],
499+ 'msvs_cygwin_shell' : 0 ,
500+ },
501+ ],
502+ }, # target generate_node_lib
503+ ],
504+ }], # OS==win
473505 ],
474506}
You can’t perform that action at this time.
0 commit comments