summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-01-07 19:05:33 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-07 22:12:17 +0100
commit8a83ebaede7591e7bd3745d0ca27ecde2531b100 (patch)
tree9e733c1bb92e28e601416d4069f3cf15c236279c /common.gypi
parentdad73f645cde6920e79db956e7ef82ed640d7615 (diff)
downloadandroid-node-v8-8a83ebaede7591e7bd3745d0ca27ecde2531b100.tar.gz
android-node-v8-8a83ebaede7591e7bd3745d0ca27ecde2531b100.tar.bz2
android-node-v8-8a83ebaede7591e7bd3745d0ca27ecde2531b100.zip
build: fix up build after v8 upgrade
* Define and disable new flag `v8_use_external_startup_data`. * Disable v8_postmortem_support, it's broken again. Fedor (@indutny) has volunteered to fix it up in the near future. PR-URL: https://github.com/iojs/io.js/pull/243 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi9
1 files changed, 6 insertions, 3 deletions
diff --git a/common.gypi b/common.gypi
index fd436a5bce..f8cc82ce0d 100644
--- a/common.gypi
+++ b/common.gypi
@@ -20,14 +20,17 @@
# Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1,
- # Enable V8's post-mortem debugging only on unix flavors.
+ # 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',