From fd5ba0a2178aa911ab55fb82f78d5e895f5f3fc6 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 21 Feb 2024 12:54:09 +0900 Subject: [PATCH] build: fix building js2c with GN This is a follow-up to https://github.com/nodejs/node/pull/51605. --- unofficial.gni | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unofficial.gni b/unofficial.gni index 5199d84fa46268..6047dfd9c0d8a1 100644 --- a/unofficial.gni +++ b/unofficial.gni @@ -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") {