Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f48ca2

Browse filesBrowse files
codebytereruyadorno
authored andcommitted
build: use variable for crypto dep path
PR-URL: #55928 Reviewed-By: Cheng Zhao <zcbenz@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6e7e9a1 commit 9f48ca2
Copy full SHA for 9f48ca2

File tree

Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed
Open diff view settings
Collapse file

‎deps/ncrypto/unofficial.gni‎

Copy file name to clipboardExpand all lines: deps/ncrypto/unofficial.gni
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ template("ncrypto_gn_build") {
2727
forward_variables_from(invoker, "*")
2828
public_configs = [ ":ncrypto_config" ]
2929
sources = gypi_values.ncrypto_sources
30-
deps = [ "../openssl" ]
30+
deps = [ "$node_openssl_path" ]
3131
}
3232
}
Collapse file

‎node.gni‎

Copy file name to clipboardExpand all lines: node.gni
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ declare_args() {
1010
# The location of V8, use the one from node's deps by default.
1111
node_v8_path = "$node_path/deps/v8"
1212

13+
node_openssl_path = "$node_path/deps/openssl"
14+
1315
# The NODE_MODULE_VERSION defined in node_version.h.
1416
node_module_version = exec_script("$node_path/tools/getmoduleversion.py", [], "value")
1517

Collapse file

‎unofficial.gni‎

Copy file name to clipboardExpand all lines: unofficial.gni
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ template("node_gn_build") {
185185
}
186186
if (node_use_openssl) {
187187
deps += [ "deps/ncrypto" ]
188-
public_deps += [ "deps/openssl" ]
188+
public_deps += [ "$node_openssl_path" ]
189189
sources += gypi_values.node_crypto_sources
190190
}
191191
if (node_enable_inspector) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.