@@ -893,10 +893,10 @@ index 0000000000000000000000000000000000000000..fb000f8ee7647c375bc190d1729d67bb
893893+ }
894894diff --git a/deps/nghttp2/BUILD.gn b/deps/nghttp2/BUILD.gn
895895new file mode 100644
896- index 0000000000000000000000000000000000000000..9abde472d88923db835b12982b7f2ccb1f260196
896+ index 0000000000000000000000000000000000000000..23eed033d31eced6a85c794eee550655af7a9a1d
897897--- /dev/null
898898+++ b/deps/nghttp2/BUILD.gn
899- @@ -0,0 +1,47 @@
899+ @@ -0,0 +1,48 @@
900900+ config("nghttp2_config") {
901901+ defines = [ "NGHTTP2_STATICLIB" ]
902902+ include_dirs = [ "lib/includes" ]
@@ -923,6 +923,7 @@ index 0000000000000000000000000000000000000000..9abde472d88923db835b12982b7f2ccb
923923+ "lib/nghttp2_buf.c",
924924+ "lib/nghttp2_callbacks.c",
925925+ "lib/nghttp2_debug.c",
926+ + "lib/nghttp2_extpri.c",
926927+ "lib/nghttp2_frame.c",
927928+ "lib/nghttp2_hd.c",
928929+ "lib/nghttp2_hd_huffman.c",
@@ -1192,10 +1193,10 @@ index 0000000000000000000000000000000000000000..2c9d2826c85bdd033f1df1d6188df636
11921193+ }
11931194diff --git a/filenames.json b/filenames.json
11941195new file mode 100644
1195- index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9b477239e
1196+ index 0000000000000000000000000000000000000000..a991bef2b98766a1cfb248d2af97101af305de82
11961197--- /dev/null
11971198+++ b/filenames.json
1198- @@ -0,0 +1,638 @@
1199+ @@ -0,0 +1,653 @@
11991200+ // This file is automatically generated by generate_gn_filenames_json.py
12001201+ // DO NOT EDIT
12011202+ {
@@ -1301,7 +1302,6 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
13011302+ "dest_dir": "include/node//uv/",
13021303+ "files": [
13031304+ "deps/uv/include/uv/aix.h",
1304- + "deps/uv/include/uv/android-ifaddrs.h",
13051305+ "deps/uv/include/uv/bsd.h",
13061306+ "deps/uv/include/uv/darwin.h",
13071307+ "deps/uv/include/uv/errno.h",
@@ -1414,6 +1414,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
14141414+ "lib/internal/error_serdes.js",
14151415+ "lib/internal/errors.js",
14161416+ "lib/internal/event_target.js",
1417+ + "lib/internal/file.js",
14171418+ "lib/internal/fixed_queue.js",
14181419+ "lib/internal/freelist.js",
14191420+ "lib/internal/freeze_intrinsics.js",
@@ -1422,6 +1423,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
14221423+ "lib/internal/fs/dir.js",
14231424+ "lib/internal/fs/promises.js",
14241425+ "lib/internal/fs/read_file_context.js",
1426+ + "lib/internal/fs/recursive_watch.js",
14251427+ "lib/internal/fs/rimraf.js",
14261428+ "lib/internal/fs/streams.js",
14271429+ "lib/internal/fs/sync_write_stream.js",
@@ -1451,6 +1453,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
14511453+ "lib/internal/main/test_runner.js",
14521454+ "lib/internal/main/watch_mode.js",
14531455+ "lib/internal/main/worker_thread.js",
1456+ + "lib/internal/mime.js",
14541457+ "lib/internal/modules/cjs/helpers.js",
14551458+ "lib/internal/modules/cjs/loader.js",
14561459+ "lib/internal/modules/esm/assert.js",
@@ -1537,7 +1540,11 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
15371540+ "lib/internal/test/binding.js",
15381541+ "lib/internal/test/transfer.js",
15391542+ "lib/internal/test_runner/harness.js",
1543+ + "lib/internal/test_runner/mock.js",
15401544+ "lib/internal/test_runner/runner.js",
1545+ + "lib/internal/test_runner/tap_checker.js",
1546+ + "lib/internal/test_runner/tap_lexer.js",
1547+ + "lib/internal/test_runner/tap_parser.js",
15411548+ "lib/internal/test_runner/tap_stream.js",
15421549+ "lib/internal/test_runner/test.js",
15431550+ "lib/internal/test_runner/utils.js",
@@ -1561,6 +1568,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
15611568+ "lib/internal/v8_prof_polyfill.js",
15621569+ "lib/internal/v8_prof_processor.js",
15631570+ "lib/internal/validators.js",
1571+ + "lib/internal/vm.js",
15641572+ "lib/internal/vm/module.js",
15651573+ "lib/internal/wasm_web_api.js",
15661574+ "lib/internal/watch_mode/files_watcher.js",
@@ -1637,6 +1645,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
16371645+ "src/api/hooks.cc",
16381646+ "src/api/utils.cc",
16391647+ "src/async_wrap.cc",
1648+ + "src/base_object.cc",
16401649+ "src/cares_wrap.cc",
16411650+ "src/cleanup_queue.cc",
16421651+ "src/connect_wrap.cc",
@@ -1685,10 +1694,12 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
16851694+ "src/node_process_events.cc",
16861695+ "src/node_process_methods.cc",
16871696+ "src/node_process_object.cc",
1697+ + "src/node_realm.cc",
16881698+ "src/node_report.cc",
16891699+ "src/node_report_module.cc",
16901700+ "src/node_report_utils.cc",
16911701+ "src/node_serdes.cc",
1702+ + "src/node_shadow_realm.cc",
16921703+ "src/node_snapshotable.cc",
16931704+ "src/node_sockaddr.cc",
16941705+ "src/node_stat_watcher.cc",
@@ -1743,6 +1754,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
17431754+ "src/connection_wrap.h",
17441755+ "src/debug_utils.h",
17451756+ "src/debug_utils-inl.h",
1757+ + "src/env_properties.h",
17461758+ "src/env.h",
17471759+ "src/env-inl.h",
17481760+ "src/handle_wrap.h",
@@ -1790,16 +1802,20 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
17901802+ "src/node_platform.h",
17911803+ "src/node_process.h",
17921804+ "src/node_process-inl.h",
1805+ + "src/node_realm.h",
1806+ + "src/node_realm-inl.h",
17931807+ "src/node_report.h",
17941808+ "src/node_revert.h",
17951809+ "src/node_root_certs.h",
1810+ + "src/node_shadow_realm.h",
17961811+ "src/node_snapshotable.h",
17971812+ "src/node_snapshot_builder.h",
17981813+ "src/node_sockaddr.h",
17991814+ "src/node_sockaddr-inl.h",
18001815+ "src/node_stat_watcher.h",
18011816+ "src/node_union_bytes.h",
18021817+ "src/node_url.h",
1818+ + "src/node_util.h",
18031819+ "src/node_version.h",
18041820+ "src/node_v8.h",
18051821+ "src/node_v8_platform-inl.h",
@@ -2075,7 +2091,7 @@ index 0000000000000000000000000000000000000000..d1d6b51e8c0c5bc6a5d09e217eb30483
20752091+ args = rebase_path(inputs + outputs, root_build_dir)
20762092+ }
20772093diff --git a/src/node_version.h b/src/node_version.h
2078- index 68c7df653ebb84d9e0c5d34a1cfa4fa3bd4ce690..2762b9f8ae782518ecc9c21f09880c10025155aa 100644
2094+ index d6b2f18cf8599ed7994954c808379565b740ac83..cd73f646bb3e9dbc4d9f4a3f24ef5970ec33b3a5 100644
20792095--- a/src/node_version.h
20802096+++ b/src/node_version.h
20812097@@ -89,7 +89,10 @@
@@ -2091,10 +2107,10 @@ index 68c7df653ebb84d9e0c5d34a1cfa4fa3bd4ce690..2762b9f8ae782518ecc9c21f09880c10
20912107 // which the Node binary being built supports.
20922108diff --git a/tools/generate_gn_filenames_json.py b/tools/generate_gn_filenames_json.py
20932109new file mode 100755
2094- index 0000000000000000000000000000000000000000..87621ba1d7f1c80aadb81461824b0c2edab1de22
2110+ index 0000000000000000000000000000000000000000..616dc0c61ed4ea1bf2fb9e4768ba2ec566a83e42
20952111--- /dev/null
20962112+++ b/tools/generate_gn_filenames_json.py
2097- @@ -0,0 +1,75 @@
2113+ @@ -0,0 +1,81 @@
20982114+ #!/usr/bin/env python3
20992115+ import json
21002116+ import os
@@ -2143,6 +2159,12 @@ index 0000000000000000000000000000000000000000..87621ba1d7f1c80aadb81461824b0c2e
21432159+ def filter_v8_files(files):
21442160+ if any(f.startswith('deps/v8/') for f in files):
21452161+ files = [f.replace('deps/v8/', '//v8/', 1) for f in files]
2162+ +
2163+ + if any(f == '<@(node_builtin_shareable_builtins)' for f in files):
2164+ + files.remove('<@(node_builtin_shareable_builtins)')
2165+ + shared_builtins = ['deps/cjs-module-lexer/lexer.js', 'deps/cjs-module-lexer/dist/lexer.js', 'deps/undici/undici.js']
2166+ + files.extend(shared_builtins)
2167+ +
21462168+ return files
21472169+
21482170+ lib_files = SearchFiles('lib', 'js')
0 commit comments