Skip to content

Commit 10051b6

Browse files
zcbenzrdw-msft
authored andcommitted
build: fix building js2c with GN
This is a follow-up to nodejs#51605. PR-URL: nodejs#51818 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 44f31f6 commit 10051b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unofficial.gni

+3
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,10 @@ template("node_gn_build") {
266266
sources = [
267267
"tools/js2c.cc",
268268
"tools/executable_wrapper.h",
269+
"src/embedded_data.cc",
270+
"src/embedded_data.h",
269271
]
272+
include_dirs = [ "src" ]
270273
}
271274

272275
action("run_node_js2c") {

0 commit comments

Comments
 (0)