Skip to content

Commit

Permalink
gyp: enable postmortem support, fix dtrace paths
Browse files Browse the repository at this point in the history
Fix: #461
PR-URL: #706
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
indutny committed Feb 3, 2015
1 parent 8b88ff8 commit 6a5d731
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
# Don't bake anything extra into the snapshot.
'v8_use_external_startup_data%': 0,

# Disable V8's post-mortem debugging; frequently broken and hardly used.
'v8_postmortem_support%': 'false',

'conditions': [
['OS == "win"', {
'os_posix': 0,
'v8_postmortem_support%': 'false',
}, {
'os_posix': 1,
'v8_postmortem_support%': 'true',
}],
['GENERATOR == "ninja" or OS== "mac"', {
'OBJ_DIR': '<(PRODUCT_DIR)/obj',
Expand Down
6 changes: 3 additions & 3 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,10 @@
{
'action_name': 'node_dtrace_provider_o',
'inputs': [
'<(OBJ_DIR)/node/src/node_dtrace.o',
'<(OBJ_DIR)/iojs/src/node_dtrace.o',
],
'outputs': [
'<(OBJ_DIR)/node/src/node_dtrace_provider.o'
'<(OBJ_DIR)/iojs/src/node_dtrace_provider.o'
],
'action': [ 'dtrace', '-G', '-xnolibs', '-s', 'src/node_provider.d',
'<@(_inputs)', '-o', '<@(_outputs)' ]
Expand Down Expand Up @@ -579,7 +579,7 @@
'<(SHARED_INTERMEDIATE_DIR)/v8constants.h'
],
'outputs': [
'<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
'<(OBJ_DIR)/iojs/src/node_dtrace_ustack.o'
],
'conditions': [
[ 'target_arch=="ia32"', {
Expand Down

0 comments on commit 6a5d731

Please sign in to comment.