summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-04-03 03:07:31 +0200
committerBert Belder <bertbelder@gmail.com>2012-04-03 03:07:47 +0200
commit930fabe43f83343e7f1a41cbfa506cd08be6bfa5 (patch)
tree2227c75e9c5ebc99194e7096bef2160ee4c14e3d /common.gypi
parent30994aad30c4f0ee5658f7b1da8a3c4d506af0c7 (diff)
downloadandroid-node-v8-930fabe43f83343e7f1a41cbfa506cd08be6bfa5.tar.gz
android-node-v8-930fabe43f83343e7f1a41cbfa506cd08be6bfa5.tar.bz2
android-node-v8-930fabe43f83343e7f1a41cbfa506cd08be6bfa5.zip
Disable V8 postmortem debugging on Windows
It is not supported by V8.
Diffstat (limited to 'common.gypi')
-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': {