summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-07-01 23:47:37 +0200
committerRod Vagg <rod@vagg.org>2015-09-06 21:38:05 +1000
commit9a03ae63566f761539bd3a18f0b08c34c4ba0e13 (patch)
tree94782ca8be6adaed03a1f545b113cab2e2fd180b /node.gyp
parentd571680638dc45715994ec54d6bf5aa28e311eb8 (diff)
downloadandroid-node-v8-9a03ae63566f761539bd3a18f0b08c34c4ba0e13.tar.gz
android-node-v8-9a03ae63566f761539bd3a18f0b08c34c4ba0e13.tar.bz2
android-node-v8-9a03ae63566f761539bd3a18f0b08c34c4ba0e13.zip
src: enable v8 deprecation warnings and fix them
Turn on V8 API deprecation warnings. Fix up the no-arg Isolate::New() calls in src/node.cc and src/debug-agent.cc. PR-URL: https://github.com/nodejs/io.js/pull/2091 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 7716287d34..0bc27ae4f6 100644
--- a/node.gyp
+++ b/node.gyp
@@ -180,6 +180,8 @@
'NODE_ARCH="<(target_arch)"',
'NODE_PLATFORM="<(OS)"',
'NODE_WANT_INTERNALS=1',
+ # Warn when using deprecated V8 APIs.
+ 'V8_DEPRECATION_WARNINGS=1',
],