sea: add --build-sea to generate SEA directly with Node.js binary · nodejs/node@b351910 · GitHub
Skip to content

Commit b351910

Browse files
joyeecheungaduh95
authored andcommitted
sea: add --build-sea to generate SEA directly with Node.js binary
Instead of relying on a WASM build of postject to perform the injection, add LIEF as dependency and generate the SEA directly from core via a new CLI option --build-sea which takes the SEA config. This simplifies SEA generation for users and makes it easier to debug/maintain the SEA building process. PR-URL: #61167 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 957292e commit b351910

40 files changed

Lines changed: 2041 additions & 139 deletions

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ tools/*/*.i.tmp
145145
# Ignore dependencies fetched by tools/v8/fetch_deps.py
146146
/deps/.cipd
147147
!deps/LIEF/**
148+
deps/LIEF/*.vcxproj*
149+
deps/LIEF/*.sln
148150

149151
# === Rules for Windows vcbuild.bat ===
150152
/temp-vcbuild

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,8 @@ The externally maintained libraries used by Node.js are:
12541254
SOFTWARE.
12551255
"""
12561256

1257-
- postject, located at test/fixtures/postject-copy, is licensed as follows:
1257+
- postject, located at test/fixtures/postject-copy and used as a basis for
1258+
src/node_sea_bin.cc, is licensed as follows:
12581259
"""
12591260
Postject is licensed for use as follows:
12601261

configure.py

Lines changed: 14 additions & 0 deletions

0 commit comments

Comments
 (0)