diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2021-05-26 19:42:00 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-06-11 08:24:59 +0300 |
commit | 9bf9ddb49044762e75ab013f89830d9f65ed8d3f (patch) | |
tree | 593cf4fdf21117c420ad18f2660429cb5cd4e5cb /node.gyp | |
parent | 711916a271f63299bba9f6289ac79a23e0d8ce38 (diff) |
tools: refactor snapshot builder
This patch:
- Moves the snapshot building code to src/ so that we can reuse it
later when generating custom snapshots from an entry point accepted
by the node binary.
- Create a SnapshotData struct that incorporates all the data useful
for a snapshot blob, including both the V8 data and the Node.js
data.
PR-URL: https://github.com/nodejs/node/pull/38902
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1554,8 +1554,6 @@ 'src/node_snapshot_stub.cc', 'src/node_code_cache_stub.cc', 'tools/snapshot/node_mksnapshot.cc', - 'tools/snapshot/snapshot_builder.cc', - 'tools/snapshot/snapshot_builder.h', ], 'conditions': [ |