diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-02 23:54:19 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-02 23:54:19 +0400 |
commit | 78d245f5b21eede58e79138330690d63cf3d86f8 (patch) | |
tree | 205a01d5009031b21706d5d0780099bba927a42c /node.gyp | |
parent | 34bf6e46beb4b94e9ed3c51da8589d604f19bc4e (diff) | |
parent | 47abdd9c43ae97ed11cb8cc4c770b43043718308 (diff) | |
download | node-78d245f5b21eede58e79138330690d63cf3d86f8.tar.gz |
Merge remote-tracking branch 'origin/v0.10'
Conflicts:
configure
lib/_stream_readable.js
lib/http.js
src/node_dtrace.cc
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 34 |
1 files changed, 32 insertions, 2 deletions
@@ -187,8 +187,12 @@ }], [ 'node_use_dtrace=="true"', { 'defines': [ 'HAVE_DTRACE=1' ], - 'dependencies': [ 'node_dtrace_header' ], + 'dependencies': [ + 'node_dtrace_header', + 'specialize_node_d', + ], 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)' ], + # # DTrace is supported on linux, solaris, mac, and bsd. There are # three object files associated with DTrace support, but they're @@ -544,10 +548,36 @@ ] } ], ] - } + }, ] } ], ] + }, + { + 'target_name': 'specialize_node_d', + 'type': 'none', + 'conditions': [ + [ 'node_use_dtrace=="true"', { + 'actions': [ + { + 'action_name': 'specialize_node_d', + 'inputs': [ + 'src/node.d' + ], + 'outputs': [ + '<(PRODUCT_DIR)/node.d', + ], + 'action': [ + 'tools/specialize_node_d.py', + '<@(_outputs)', + '<@(_inputs)', + '<@(OS)', + '<@(target_arch)', + ], + }, + ], + } ], + ] } ] # end targets } |