File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ declare_args() {
16
16
# The location of simdutf - use the one from node's deps by default.
17
17
node_simdutf_path = " //third_party/simdutf"
18
18
19
+ # The location of inspector_protocol - use the one from node's deps by default.
20
+ node_inspector_protocol_path = " //third_party/inspector_protocol"
21
+
19
22
# The NODE_MODULE_VERSION defined in node_version.h.
20
23
node_module_version = exec_script (" $node_path /tools/getmoduleversion.py" , [], " value" )
21
24
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ template("inspector_gn_build") {
13
13
}
14
14
15
15
node_gen_dir = get_label_info (" ../.." , " target_gen_dir" )
16
- protocol_tool_path = " ../../deps/inspector_protocol "
16
+ protocol_tool_path = " $node_inspector_protocol_path "
17
17
18
18
gypi_values = exec_script (
19
19
" ../../tools/gypi_to_gn.py" ,
Original file line number Diff line number Diff line change @@ -195,13 +195,14 @@ template("node_gn_build") {
195
195
}
196
196
if (node_enable_inspector ) {
197
197
deps += [
198
- " src/inspector :crdtp" ,
198
+ " $node_inspector_protocol_path :crdtp" ,
199
199
" src/inspector:node_protocol_generated_sources" ,
200
200
" src/inspector:v8_inspector_compress_protocol_json" ,
201
201
]
202
202
include_dirs = [
203
203
" $target_gen_dir /src" ,
204
204
" $target_gen_dir /src/inspector" ,
205
+ " $node_inspector_protocol_path " ,
205
206
]
206
207
node_inspector = exec_script (
207
208
" ./tools/gypi_to_gn.py" ,
You can’t perform that action at this time.
0 commit comments