@@ -11,7 +11,7 @@ really in 20/21. We have to wait until 22 is released to be able to
1111build with upstream GN files.
1212
1313diff --git a/configure.py b/configure.py
14- index 4560bac7b8e3c707ecea5a425f642efb9de9ed36..e9c2a4391f4058a21a259cacaac4fde5d199288e 100755
14+ index 2415940835036226799a7ea14c6687cc0d56c523..0feb07afbccad97a92cee00954443407eb20ac67 100755
1515--- a/configure.py
1616+++ b/configure.py
1717@@ -1722,7 +1722,7 @@ def configure_v8(o, configs):
@@ -24,7 +24,7 @@ index 4560bac7b8e3c707ecea5a425f642efb9de9ed36..e9c2a4391f4058a21a259cacaac4fde5
2424 o['variables']['v8_enable_external_code_space'] = 1 if options.enable_pointer_compression else 0
2525 o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
2626diff --git a/node.gni b/node.gni
27- index 35ccd0487f20cece033d58827ecb7ed016908ee4..62cd49c6a87074912a1cb6792576c8d4f239b669 100644
27+ index b049f0692980c3e26771c3209c3bdd2e9a4d637b..e2407027ab05e59b2f0f1c213b98ea469db7a91b 100644
2828--- a/node.gni
2929+++ b/node.gni
3030@@ -5,10 +5,10 @@
@@ -40,7 +40,7 @@ index 35ccd0487f20cece033d58827ecb7ed016908ee4..62cd49c6a87074912a1cb6792576c8d4
4040
4141 # The location of OpenSSL - use the one from node's deps by default.
4242 node_openssl_path = "$node_path/deps/openssl"
43- @@ -39 ,12 +39 ,15 @@ declare_args() {
43+ @@ -42 ,12 +42 ,15 @@ declare_args() {
4444 # The variable is called "openssl" for parity with node's GYP build.
4545 node_use_openssl = true
4646
@@ -57,7 +57,7 @@ index 35ccd0487f20cece033d58827ecb7ed016908ee4..62cd49c6a87074912a1cb6792576c8d4
5757
5858 # Custom build tag.
5959 node_tag = ""
60- @@ -64 ,10 +67 ,16 @@ declare_args() {
60+ @@ -67 ,10 +70 ,16 @@ declare_args() {
6161 # TODO(zcbenz): There are few broken things for now:
6262 # 1. cross-os compilation is not supported.
6363 # 2. node_mksnapshot crashes when cross-compiling for x64 from arm64.
@@ -76,10 +76,10 @@ index 35ccd0487f20cece033d58827ecb7ed016908ee4..62cd49c6a87074912a1cb6792576c8d4
7676
7777 assert(!node_enable_inspector || node_use_openssl,
7878diff --git a/src/node_builtins.cc b/src/node_builtins.cc
79- index 092341dbfbabe15b15ed43057d399f754505f6fd..f14b45850e42585f5686b7201e2b8281ed8c24e1 100644
79+ index abf1583cdac9f139056cf4809f14e28e62f6d24c..8b104e175ccf8de90c138337f83f8f6ce1348ac7 100644
8080--- a/src/node_builtins.cc
8181+++ b/src/node_builtins.cc
82- @@ -788 ,6 +788 ,7 @@ void BuiltinLoader::RegisterExternalReferences(
82+ @@ -789 ,6 +789 ,7 @@ void BuiltinLoader::RegisterExternalReferences(
8383 registry->Register(GetNatives);
8484
8585 RegisterExternalReferencesForInternalizedBuiltinCode(registry);
@@ -279,7 +279,7 @@ index 856878c33681a73d41016729dabe48b0a6a80589..91a11852d206b65485fe90fd037a0bd1
279279 if sys.platform == 'win32':
280280 files = [ x.replace('\\', '/') for x in files ]
281281diff --git a/unofficial.gni b/unofficial.gni
282- index 44641b92678ab2f28e6f5de75a92878f9f3d322d..a6cfd45b109c7b38fcf1529468ff64d3c1c8bd1b 100644
282+ index da565473f1ae96b4d009935f7733e6ab15ea9de2..26ebc811272ef2990f8d090c54e7f5294aab9d37 100644
283283--- a/unofficial.gni
284284+++ b/unofficial.gni
285285@@ -22,6 +22,11 @@ template("node_gn_build") {
@@ -354,8 +354,8 @@ index 44641b92678ab2f28e6f5de75a92878f9f3d322d..a6cfd45b109c7b38fcf1529468ff64d3
354354+ }
355355 if (node_enable_inspector) {
356356 deps += [
357- "src/inspector :crdtp",
358- @@ -214 ,6 +232 ,10 @@ template("node_gn_build") {
357+ "$node_inspector_protocol_path :crdtp",
358+ @@ -215 ,6 +233 ,10 @@ template("node_gn_build") {
359359 }
360360 }
361361
@@ -366,15 +366,15 @@ index 44641b92678ab2f28e6f5de75a92878f9f3d322d..a6cfd45b109c7b38fcf1529468ff64d3
366366 executable(target_name) {
367367 forward_variables_from(invoker, "*")
368368
369- @@ -288 ,6 +310 ,7 @@ template("node_gn_build") {
369+ @@ -289 ,6 +311 ,7 @@ template("node_gn_build") {
370370 }
371371
372372 executable("node_js2c") {
373373+ defines = []
374374 deps = [
375375 "deps/uv",
376376 "$node_simdutf_path",
377- @@ -298 ,26 +321 ,75 @@ template("node_gn_build") {
377+ @@ -299 ,26 +322 ,75 @@ template("node_gn_build") {
378378 "src/embedded_data.cc",
379379 "src/embedded_data.h",
380380 ]
@@ -460,7 +460,7 @@ index 44641b92678ab2f28e6f5de75a92878f9f3d322d..a6cfd45b109c7b38fcf1529468ff64d3
460460 outputs = [ "$target_gen_dir/node_javascript.cc" ]
461461
462462 # Get the path to node_js2c executable of the host toolchain.
463- @@ -331 ,11 +403 ,11 @@ template("node_gn_build") {
463+ @@ -332 ,11 +404 ,11 @@ template("node_gn_build") {
464464 get_label_info(":node_js2c($host_toolchain)", "name") +
465465 host_executable_suffix
466466
0 commit comments