build: fix building js2c with GN

This is a follow-up to https://github.com/nodejs/node/pull/51605.

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Cheng Zhao 2024-02-21 12:54:09 +09:00
parent f29d2b7053
commit 0992002d99

View File

@ -266,7 +266,10 @@ template("node_gn_build") {
sources = [
"tools/js2c.cc",
"tools/executable_wrapper.h",
"src/embedded_data.cc",
"src/embedded_data.h",
]
include_dirs = [ "src" ]
}
action("run_node_js2c") {