From 6a5d731f602b547074f4367a7eb3964395080c94 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 3 Feb 2015 16:59:35 +0300 Subject: [PATCH] gyp: enable postmortem support, fix dtrace paths Fix: iojs/io.js#461 PR-URL: https://github.com/iojs/io.js/pull/706 Reviewed-By: Ben Noordhuis --- common.gypi | 5 ++--- node.gyp | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/common.gypi b/common.gypi index e323fc3..ea7779e 100644 --- a/common.gypi +++ b/common.gypi @@ -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', diff --git a/node.gyp b/node.gyp index d58ec25..2874f13 100644 --- a/node.gyp +++ b/node.gyp @@ -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)' ] @@ -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"', { -- 2.7.4