diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-07-01 23:47:37 +0200 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 21:38:05 +1000 |
commit | 9a03ae63566f761539bd3a18f0b08c34c4ba0e13 (patch) | |
tree | 94782ca8be6adaed03a1f545b113cab2e2fd180b /node.gyp | |
parent | d571680638dc45715994ec54d6bf5aa28e311eb8 (diff) | |
download | android-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.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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', ], |