This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

windows: correct outputs list in "node_etw" gyp target

The gyp target node_etw didn't list its output dependencies. This
was causing virgin builds to fail with a "failed to open file for
write" error.

With this corrected outputs list, gyp reliably pre-creates
required output directories.
  • Loading branch information...
1 parent 9b61f57 commit 953b049a89f803b0a152e776b8590e78ada180e4 @sblom sblom committed with piscisaureus Oct 25, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 node.gyp
View
@@ -253,8 +253,11 @@
{
'action_name': 'node_etw',
'inputs': [ 'src/res/node_etw_provider.man' ],
- 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)' ],
- 'action': [ 'mc <@(_inputs) -h <@(_outputs) -r <@(_outputs)' ]
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.h',
+ ],
+ 'action': [ 'mc <@(_inputs) -h <(SHARED_INTERMEDIATE_DIR) -r <(SHARED_INTERMEDIATE_DIR)' ]
}
]
} ]

0 comments on commit 953b049

Please sign in to comment.