File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,15 @@ declare_args() {
77 # The location of Node.js in source code tree.
88 node_path = " //node"
99
10- # The location of V8, use the one from node's deps by default.
10+ # The location of V8 - use the one from node's deps by default.
1111 node_v8_path = " $node_path /deps/v8"
1212
13+ # The location of OpenSSL - use the one from node's deps by default.
1314 node_openssl_path = " $node_path /deps/openssl"
1415
16+ # The location of simdutf - use the one from node's deps by default.
17+ node_simdutf_path = " $node_path /deps/simdutf"
18+
1519 # The NODE_MODULE_VERSION defined in node_version.h.
1620 node_module_version = exec_script (" $node_path /tools/getmoduleversion.py" , [], " value" )
1721
Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ template("node_gn_build") {
158158 " deps/nghttp2" ,
159159 " deps/ngtcp2" ,
160160 " deps/postject" ,
161- " deps/simdutf" ,
162161 " deps/sqlite" ,
163162 " deps/uvwasi" ,
164163 " //third_party/zlib" ,
164+ " $node_simdutf_path " ,
165165 " $node_v8_path :v8_libplatform" ,
166166 ]
167167
@@ -283,8 +283,8 @@ template("node_gn_build") {
283283
284284 executable (" node_js2c" ) {
285285 deps = [
286- " deps/simdutf" ,
287286 " deps/uv" ,
287+ " $node_simdutf_path " ,
288288 ]
289289 sources = [
290290 " tools/js2c.cc" ,
@@ -341,7 +341,7 @@ template("node_gn_build") {
341341 " deps/googletest" ,
342342 " deps/googletest:gtest_main" ,
343343 " deps/nbytes" ,
344- " deps/simdutf " ,
344+ " $node_simdutf_path " ,
345345 ]
346346
347347 sources = gypi_values .node_cctest_sources
You can’t perform that action at this time.
0 commit comments