Skip to content

Commit 2176495

Browse files
zcbenzrichardlau
authored andcommitted
build: fix building js2c with GN
This is a follow-up to #51605. PR-URL: #51818 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent be40c82 commit 2176495

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)