Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Blomquist <sblom@microsoft.com>2012-10-26 03:51:46 +0400
committerBert Belder <bertbelder@gmail.com>2012-10-29 17:27:30 +0400
commit953b049a89f803b0a152e776b8590e78ada180e4 (patch)
tree35be41bce65594fd29b0327accdcabb6ae9a6848 /node.gyp
parent9b61f570d86f994e9677d255c8fd413f38f4fe9c (diff)
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.
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp7
1 files changed, 5 insertions, 2 deletions
diff --git a/node.gyp b/node.gyp
index 939870a5615..c7928d67876 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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)' ]
}
]
} ]