summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorKarl Skomski <karl@skomski.com>2015-09-07 23:57:18 +0200
committerRod Vagg <rod@vagg.org>2015-09-08 23:19:23 +1000
commit297b9ae147b590f03597e00d8bb4eee8ea7c347d (patch)
tree716795982d6b887b3197adf682362ac96ec7c0ab /common.gypi
parent22097a227d7d0e7dc9ebf9c4c27a1c3cb9d93a62 (diff)
downloadandroid-node-v8-297b9ae147b590f03597e00d8bb4eee8ea7c347d.tar.gz
android-node-v8-297b9ae147b590f03597e00d8bb4eee8ea7c347d.tar.bz2
android-node-v8-297b9ae147b590f03597e00d8bb4eee8ea7c347d.zip
build: fix v8_enable_handle_zapping override
It was previously ignored by features.gypi and therefore enabled by default for release builds. See https://code.google.com/p/chromium/issues/detail?id=318206 PR-URL: https://github.com/nodejs/node/pull/2731 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.gypi b/common.gypi
index 7819816bbb..c57cc5b7b3 100644
--- a/common.gypi
+++ b/common.gypi
@@ -56,7 +56,7 @@
'configurations': {
'Debug': {
'variables': {
- 'v8_enable_handle_zapping%': 1,
+ 'v8_enable_handle_zapping': 1,
},
'defines': [ 'DEBUG', '_DEBUG' ],
'cflags': [ '-g', '-O0' ],
@@ -83,7 +83,7 @@
},
'Release': {
'variables': {
- 'v8_enable_handle_zapping%': 0,
+ 'v8_enable_handle_zapping': 0,
},
'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
'conditions': [