@@ -893,10 +893,10 @@ index 0000000000000000000000000000000000000000..fb000f8ee7647c375bc190d1729d67bb
893
893
+ }
894
894
diff --git a/deps/nghttp2/BUILD.gn b/deps/nghttp2/BUILD.gn
895
895
new file mode 100644
896
- index 0000000000000000000000000000000000000000..9abde472d88923db835b12982b7f2ccb1f260196
896
+ index 0000000000000000000000000000000000000000..23eed033d31eced6a85c794eee550655af7a9a1d
897
897
--- /dev/null
898
898
+++ b/deps/nghttp2/BUILD.gn
899
- @@ -0,0 +1,47 @@
899
+ @@ -0,0 +1,48 @@
900
900
+ config("nghttp2_config") {
901
901
+ defines = [ "NGHTTP2_STATICLIB" ]
902
902
+ include_dirs = [ "lib/includes" ]
@@ -923,6 +923,7 @@ index 0000000000000000000000000000000000000000..9abde472d88923db835b12982b7f2ccb
923
923
+ "lib/nghttp2_buf.c",
924
924
+ "lib/nghttp2_callbacks.c",
925
925
+ "lib/nghttp2_debug.c",
926
+ + "lib/nghttp2_extpri.c",
926
927
+ "lib/nghttp2_frame.c",
927
928
+ "lib/nghttp2_hd.c",
928
929
+ "lib/nghttp2_hd_huffman.c",
@@ -1192,10 +1193,10 @@ index 0000000000000000000000000000000000000000..2c9d2826c85bdd033f1df1d6188df636
1192
1193
+ }
1193
1194
diff --git a/filenames.json b/filenames.json
1194
1195
new file mode 100644
1195
- index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9b477239e
1196
+ index 0000000000000000000000000000000000000000..a991bef2b98766a1cfb248d2af97101af305de82
1196
1197
--- /dev/null
1197
1198
+++ b/filenames.json
1198
- @@ -0,0 +1,638 @@
1199
+ @@ -0,0 +1,653 @@
1199
1200
+ // This file is automatically generated by generate_gn_filenames_json.py
1200
1201
+ // DO NOT EDIT
1201
1202
+ {
@@ -1301,7 +1302,6 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1301
1302
+ "dest_dir": "include/node//uv/",
1302
1303
+ "files": [
1303
1304
+ "deps/uv/include/uv/aix.h",
1304
- + "deps/uv/include/uv/android-ifaddrs.h",
1305
1305
+ "deps/uv/include/uv/bsd.h",
1306
1306
+ "deps/uv/include/uv/darwin.h",
1307
1307
+ "deps/uv/include/uv/errno.h",
@@ -1414,6 +1414,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1414
1414
+ "lib/internal/error_serdes.js",
1415
1415
+ "lib/internal/errors.js",
1416
1416
+ "lib/internal/event_target.js",
1417
+ + "lib/internal/file.js",
1417
1418
+ "lib/internal/fixed_queue.js",
1418
1419
+ "lib/internal/freelist.js",
1419
1420
+ "lib/internal/freeze_intrinsics.js",
@@ -1422,6 +1423,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1422
1423
+ "lib/internal/fs/dir.js",
1423
1424
+ "lib/internal/fs/promises.js",
1424
1425
+ "lib/internal/fs/read_file_context.js",
1426
+ + "lib/internal/fs/recursive_watch.js",
1425
1427
+ "lib/internal/fs/rimraf.js",
1426
1428
+ "lib/internal/fs/streams.js",
1427
1429
+ "lib/internal/fs/sync_write_stream.js",
@@ -1451,6 +1453,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1451
1453
+ "lib/internal/main/test_runner.js",
1452
1454
+ "lib/internal/main/watch_mode.js",
1453
1455
+ "lib/internal/main/worker_thread.js",
1456
+ + "lib/internal/mime.js",
1454
1457
+ "lib/internal/modules/cjs/helpers.js",
1455
1458
+ "lib/internal/modules/cjs/loader.js",
1456
1459
+ "lib/internal/modules/esm/assert.js",
@@ -1537,7 +1540,11 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1537
1540
+ "lib/internal/test/binding.js",
1538
1541
+ "lib/internal/test/transfer.js",
1539
1542
+ "lib/internal/test_runner/harness.js",
1543
+ + "lib/internal/test_runner/mock.js",
1540
1544
+ "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",
1541
1548
+ "lib/internal/test_runner/tap_stream.js",
1542
1549
+ "lib/internal/test_runner/test.js",
1543
1550
+ "lib/internal/test_runner/utils.js",
@@ -1561,6 +1568,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1561
1568
+ "lib/internal/v8_prof_polyfill.js",
1562
1569
+ "lib/internal/v8_prof_processor.js",
1563
1570
+ "lib/internal/validators.js",
1571
+ + "lib/internal/vm.js",
1564
1572
+ "lib/internal/vm/module.js",
1565
1573
+ "lib/internal/wasm_web_api.js",
1566
1574
+ "lib/internal/watch_mode/files_watcher.js",
@@ -1637,6 +1645,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1637
1645
+ "src/api/hooks.cc",
1638
1646
+ "src/api/utils.cc",
1639
1647
+ "src/async_wrap.cc",
1648
+ + "src/base_object.cc",
1640
1649
+ "src/cares_wrap.cc",
1641
1650
+ "src/cleanup_queue.cc",
1642
1651
+ "src/connect_wrap.cc",
@@ -1685,10 +1694,12 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1685
1694
+ "src/node_process_events.cc",
1686
1695
+ "src/node_process_methods.cc",
1687
1696
+ "src/node_process_object.cc",
1697
+ + "src/node_realm.cc",
1688
1698
+ "src/node_report.cc",
1689
1699
+ "src/node_report_module.cc",
1690
1700
+ "src/node_report_utils.cc",
1691
1701
+ "src/node_serdes.cc",
1702
+ + "src/node_shadow_realm.cc",
1692
1703
+ "src/node_snapshotable.cc",
1693
1704
+ "src/node_sockaddr.cc",
1694
1705
+ "src/node_stat_watcher.cc",
@@ -1743,6 +1754,7 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1743
1754
+ "src/connection_wrap.h",
1744
1755
+ "src/debug_utils.h",
1745
1756
+ "src/debug_utils-inl.h",
1757
+ + "src/env_properties.h",
1746
1758
+ "src/env.h",
1747
1759
+ "src/env-inl.h",
1748
1760
+ "src/handle_wrap.h",
@@ -1790,16 +1802,20 @@ index 0000000000000000000000000000000000000000..b445ccdd7ba2f0b5661d4761f995a4c9
1790
1802
+ "src/node_platform.h",
1791
1803
+ "src/node_process.h",
1792
1804
+ "src/node_process-inl.h",
1805
+ + "src/node_realm.h",
1806
+ + "src/node_realm-inl.h",
1793
1807
+ "src/node_report.h",
1794
1808
+ "src/node_revert.h",
1795
1809
+ "src/node_root_certs.h",
1810
+ + "src/node_shadow_realm.h",
1796
1811
+ "src/node_snapshotable.h",
1797
1812
+ "src/node_snapshot_builder.h",
1798
1813
+ "src/node_sockaddr.h",
1799
1814
+ "src/node_sockaddr-inl.h",
1800
1815
+ "src/node_stat_watcher.h",
1801
1816
+ "src/node_union_bytes.h",
1802
1817
+ "src/node_url.h",
1818
+ + "src/node_util.h",
1803
1819
+ "src/node_version.h",
1804
1820
+ "src/node_v8.h",
1805
1821
+ "src/node_v8_platform-inl.h",
@@ -2075,7 +2091,7 @@ index 0000000000000000000000000000000000000000..d1d6b51e8c0c5bc6a5d09e217eb30483
2075
2091
+ args = rebase_path(inputs + outputs, root_build_dir)
2076
2092
+ }
2077
2093
diff --git a/src/node_version.h b/src/node_version.h
2078
- index 68c7df653ebb84d9e0c5d34a1cfa4fa3bd4ce690..2762b9f8ae782518ecc9c21f09880c10025155aa 100644
2094
+ index d6b2f18cf8599ed7994954c808379565b740ac83..cd73f646bb3e9dbc4d9f4a3f24ef5970ec33b3a5 100644
2079
2095
--- a/src/node_version.h
2080
2096
+++ b/src/node_version.h
2081
2097
@@ -89,7 +89,10 @@
@@ -2091,10 +2107,10 @@ index 68c7df653ebb84d9e0c5d34a1cfa4fa3bd4ce690..2762b9f8ae782518ecc9c21f09880c10
2091
2107
// which the Node binary being built supports.
2092
2108
diff --git a/tools/generate_gn_filenames_json.py b/tools/generate_gn_filenames_json.py
2093
2109
new file mode 100755
2094
- index 0000000000000000000000000000000000000000..87621ba1d7f1c80aadb81461824b0c2edab1de22
2110
+ index 0000000000000000000000000000000000000000..616dc0c61ed4ea1bf2fb9e4768ba2ec566a83e42
2095
2111
--- /dev/null
2096
2112
+++ b/tools/generate_gn_filenames_json.py
2097
- @@ -0,0 +1,75 @@
2113
+ @@ -0,0 +1,81 @@
2098
2114
+ #!/usr/bin/env python3
2099
2115
+ import json
2100
2116
+ import os
@@ -2143,6 +2159,12 @@ index 0000000000000000000000000000000000000000..87621ba1d7f1c80aadb81461824b0c2e
2143
2159
+ def filter_v8_files(files):
2144
2160
+ if any(f.startswith('deps/v8/') for f in files):
2145
2161
+ 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
+ +
2146
2168
+ return files
2147
2169
+
2148
2170
+ lib_files = SearchFiles('lib', 'js')
0 commit comments