chore: update invocation of convert_protocol_to_json.py

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2792623

python3 is being used in parts of the upstream build, but the copy of
convert_protocol_to_json.py invoked in v8/third_party/inspector_protocol
is not python3-friendly. Node has a py2+3-friendly version of it in its
tools directory, so call it instead.
This commit is contained in:
Charles Kerr
2021-04-01 17:01:22 -05:00
committed by Samuel Attard
parent 7effb909b6
commit a237fc9aff

View File

@@ -1571,7 +1571,7 @@ index 0000000000000000000000000000000000000000..f3c5c798c0aefcb8cf9b1570a7b4817c
+ ]
+ sources = copied_pdl
+ outputs = invoker.outputs
+ script = "//v8/third_party/inspector_protocol/convert_protocol_to_json.py"
+ script = "$inspector_protocol_dir/convert_protocol_to_json.py"
+ args = rebase_path(sources + outputs, root_build_dir)
+ }
+}