summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-01-15 21:57:29 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-01-23 20:23:23 +0800
commitd3806f9f3cded6bce9831f5d8ff88372ba7e5861 (patch)
tree0ee4ee76357220d88fd44c2bf3f782e34b5cd957 /node.gyp
parenta93c825d7843e72d3e534939639f49ce8e26b16b (diff)
downloadandroid-node-v8-d3806f9f3cded6bce9831f5d8ff88372ba7e5861.tar.gz
android-node-v8-d3806f9f3cded6bce9831f5d8ff88372ba7e5861.tar.bz2
android-node-v8-d3806f9f3cded6bce9831f5d8ff88372ba7e5861.zip
console: refactor inspector console extension installation
- Instead of creating the console extensions eagerly during bootstrap and storing them on an object, wrap the code into a function to be called during `installAdditionalCommandLineAPI` only when the extensions are actually needed, which may not even happen if the user do not use the console in an inspector session, and does not need to happen during bootstrap unconditionally. - Simplify the console methods wrapping and move the `consoleFromVM` storage to `internal/util/inspector.js` PR-URL: https://github.com/nodejs/node/pull/25450 Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 0 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 91a6304049..6a536c9285 100644
--- a/node.gyp
+++ b/node.gyp
@@ -97,7 +97,6 @@
'lib/internal/cluster/worker.js',
'lib/internal/console/constructor.js',
'lib/internal/console/global.js',
- 'lib/internal/console/inspector.js',
'lib/internal/coverage-gen/with_profiler.js',
'lib/internal/crypto/certificate.js',
'lib/internal/crypto/cipher.js',