Skip to content

Commit 3cba901

Browse files
committed
src: parse inspector profiles with simdjson
nodejs/node#51783
1 parent 0bb56f1 commit 3cba901

1 file changed

Lines changed: 13 additions & 19 deletions

File tree

‎patches/node/build_add_gn_build_files.patch‎

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ really in 20/21. We have to wait until 22 is released to be able to
1111
build with upstream GN files.
1212

1313
diff --git a/BUILD.gn b/BUILD.gn
14-
index 1ed186b597eece7c34cb69c8e1e20870555a040d..226fe430f4e62577c53778389cabe7c3864a0db1 100644
14+
index 1ed186b597eece7c34cb69c8e1e20870555a040d..1bff99bbae85528da660124f3e52f83c0e3d4687 100644
1515
--- a/BUILD.gn
1616
+++ b/BUILD.gn
17-
@@ -1,14 +1,405 @@
17+
@@ -1,14 +1,406 @@
1818
-##############################################################################
1919
-# #
2020
-# DO NOT EDIT THIS FILE! #
@@ -285,6 +285,7 @@ index 1ed186b597eece7c34cb69c8e1e20870555a040d..226fe430f4e62577c53778389cabe7c3
285285
+ "deps/googletest:gtest",
286286
+ "deps/ada",
287287
+ "deps/simdutf",
288+
+ "deps/simdjson",
288289
+ "deps/uvwasi",
289290
+ "//third_party/zlib",
290291
+ "//third_party/brotli:dec",
@@ -860,24 +861,16 @@ index 274352b0e2449f8db49d9a49c6b92a69f97e8363..f04c7ca24af6cdbe8d739bcd55172110
860861
+ ]
861862
}
862863
diff --git a/deps/simdjson/BUILD.gn b/deps/simdjson/BUILD.gn
863-
index d0580ccf354d2000fb0075fd3bb4579f93477927..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
864+
index d0580ccf354d2000fb0075fd3bb4579f93477927..eeb2995e559017be196e6a4c7fde56151353abfb 100644
864865
--- a/deps/simdjson/BUILD.gn
865866
+++ b/deps/simdjson/BUILD.gn
866-
@@ -1,14 +0,0 @@
867-
-##############################################################################
868-
-# #
869-
-# DO NOT EDIT THIS FILE! #
870-
-# #
871-
-##############################################################################
872-
-
873-
-# This file is used by GN for building, which is NOT the build system used for
874-
-# building official binaries.
875-
-# Please modify the gyp files if you are making changes to build system.
876-
-
877-
-import("unofficial.gni")
878-
-
879-
-simdjson_gn_build("simdjson") {
867+
@@ -11,4 +11,4 @@
868+
import("unofficial.gni")
869+
870+
simdjson_gn_build("simdjson") {
880871
-}
872+
+}
873+
\ No newline at end of file
881874
diff --git a/deps/simdutf/BUILD.gn b/deps/simdutf/BUILD.gn
882875
index 119d49456911e99944294bd00b3f182a8f0e35b5..ce38c3633a228306622a7237067393d25332c59c 100644
883876
--- a/deps/simdutf/BUILD.gn
@@ -1949,10 +1942,10 @@ index 0000000000000000000000000000000000000000..7900ee5299a8ff2cd73fa99bcf43fe3d
19491942
+ ]
19501943
+}
19511944
diff --git a/src/inspector/BUILD.gn b/src/inspector/BUILD.gn
1952-
index 909fd14345fcd988c381e640280f4b33f2e0c351..3b430a666a7d5cb52ec41f8d828284625f916701 100644
1945+
index 909fd14345fcd988c381e640280f4b33f2e0c351..df37f6b6836ca2ed59d39f758079e8f7a79751d2 100644
19531946
--- a/src/inspector/BUILD.gn
19541947
+++ b/src/inspector/BUILD.gn
1955-
@@ -1,14 +1,208 @@
1948+
@@ -1,14 +1,209 @@
19561949
-##############################################################################
19571950
-# #
19581951
-# DO NOT EDIT THIS FILE! #
@@ -2029,6 +2022,7 @@ index 909fd14345fcd988c381e640280f4b33f2e0c351..3b430a666a7d5cb52ec41f8d82828462
20292022
+ ":v8_inspector_compress_protocol_json",
20302023
+ "../../deps/uv",
20312024
+ "../../deps/simdutf",
2025+
+ "../../deps/simdjson",
20322026
+ "//third_party/icu:icuuc",
20332027
+ ]
20342028
+ configs += [

0 commit comments

Comments
 (0)