diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2021-05-26 19:42:00 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2021-06-10 09:17:49 +0300 |
commit | 30e8b5e2a2638d26939eb6cb00c1ffb77fdba6f7 (patch) | |
tree | e131e2ad4cc707355cbe4c40db7ff94d2a9a77c8 /node.gyp | |
parent | f461158febdffe8eaa6468b1b716f2dbe40fd056 (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': [ |