Browse Source

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 <info@bnoordhuis.nl>
v1.8.0-commit
Fedor Indutny 10 years ago
parent
commit
6a5d731f60
  1. 5
      common.gypi
  2. 6
      node.gyp

5
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',

6
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"', {

Loading…
Cancel
Save