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() {
1616 # The location of simdutf - use the one from node's deps by default.
1717 node_simdutf_path = " //third_party/simdutf"
1818
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+
1922 # The NODE_MODULE_VERSION defined in node_version.h.
2023 node_module_version = exec_script (" $node_path /tools/getmoduleversion.py" , [], " value" )
2124
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ template("inspector_gn_build") {
1313 }
1414
1515 node_gen_dir = get_label_info (" ../.." , " target_gen_dir" )
16- protocol_tool_path = " ../../deps/inspector_protocol "
16+ protocol_tool_path = " $node_inspector_protocol_path "
1717
1818 gypi_values = exec_script (
1919 " ../../tools/gypi_to_gn.py" ,
Original file line number Diff line number Diff line change @@ -195,13 +195,14 @@ template("node_gn_build") {
195195 }
196196 if (node_enable_inspector ) {
197197 deps += [
198- " src/inspector :crdtp" ,
198+ " $node_inspector_protocol_path :crdtp" ,
199199 " src/inspector:node_protocol_generated_sources" ,
200200 " src/inspector:v8_inspector_compress_protocol_json" ,
201201 ]
202202 include_dirs = [
203203 " $target_gen_dir /src" ,
204204 " $target_gen_dir /src/inspector" ,
205+ " $node_inspector_protocol_path " ,
205206 ]
206207 node_inspector = exec_script (
207208 " ./tools/gypi_to_gn.py" ,
You can’t perform that action at this time.
0 commit comments