summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.gypi8
1 files changed, 7 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index a74e5c0226..d4c610576e 100644
--- a/common.gypi
+++ b/common.gypi
@@ -8,7 +8,13 @@
'library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
'component%': 'static_library', # NB. these names match with what V8 expects
'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
- 'v8_postmortem_support': 'true', # V8's postmortem metadata
+
+ # Enable V8's post-mortem debugging only on unix flavors.
+ 'conditions': [
+ ['OS != "win"', {
+ 'v8_postmortem_support': 'true'
+ }]
+ ],
},
'target_defaults': {