summaryrefslogtreecommitdiff
path: root/src/inspector/node_inspector.gypi
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-02-08 19:56:08 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-02-18 17:37:33 +0800
commit2ae45d3b17f9c51fccffc4041e195e04b4b18c15 (patch)
treea2ce198ab594bc50ba510dcd3be8037ab0dc6eb3 /src/inspector/node_inspector.gypi
parent584dc4893c8c5be0a3c39c0179809e60b774cb95 (diff)
downloadandroid-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.tar.gz
android-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.tar.bz2
android-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.zip
process: start coverage collection before bootstrap
This patch moves the dispatch of `Profiler.takePreciseCoverage` to a point before the bootstrap scripts are run to ensure that we can collect coverage data for all the scripts run after the inspector agent is ready. Before this patch `lib/internal/bootstrap/primordials.js` was not covered by `make coverage`, after this patch it is. PR-URL: https://github.com/nodejs/node/pull/26006 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector/node_inspector.gypi')
-rw-r--r--src/inspector/node_inspector.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspector/node_inspector.gypi b/src/inspector/node_inspector.gypi
index 21f98cd900..9483a0712e 100644
--- a/src/inspector/node_inspector.gypi
+++ b/src/inspector/node_inspector.gypi
@@ -45,6 +45,7 @@
'../../src/inspector_io.cc',
'../../src/inspector_agent.h',
'../../src/inspector_io.h',
+ '../../src/inspector_coverage.cc',
'../../src/inspector_js_api.cc',
'../../src/inspector_socket.cc',
'../../src/inspector_socket.h',