Skip to content

Commit 00398ff

Browse files
committed
[java] Using python3 to build devTools in Java
Also using it to get repo status
1 parent 447ab1f commit 00398ff

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

‎common/devtools/chromium/v85/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ genrule(
1616
outs = [
1717
"browser_protocol.json",
1818
],
19-
cmd = "$(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
2020
tools = [
2121
"//common/devtools:pdl_to_json",
2222
],
@@ -30,7 +30,7 @@ genrule(
3030
outs = [
3131
"js_protocol.json",
3232
],
33-
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
3434
tools = [
3535
"//common/devtools:pdl_to_json",
3636
],

‎common/devtools/chromium/v97/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ genrule(
1616
outs = [
1717
"browser_protocol.json",
1818
],
19-
cmd = "$(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
2020
tools = [
2121
"//common/devtools:pdl_to_json",
2222
],
@@ -30,7 +30,7 @@ genrule(
3030
outs = [
3131
"js_protocol.json",
3232
],
33-
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
3434
tools = [
3535
"//common/devtools:pdl_to_json",
3636
],

‎common/devtools/chromium/v98/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ genrule(
1616
outs = [
1717
"browser_protocol.json",
1818
],
19-
cmd = "$(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
2020
tools = [
2121
"//common/devtools:pdl_to_json",
2222
],
@@ -30,7 +30,7 @@ genrule(
3030
outs = [
3131
"js_protocol.json",
3232
],
33-
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
3434
tools = [
3535
"//common/devtools:pdl_to_json",
3636
],

‎common/devtools/chromium/v99/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ genrule(
1616
outs = [
1717
"browser_protocol.json",
1818
],
19-
cmd = "$(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
2020
tools = [
2121
"//common/devtools:pdl_to_json",
2222
],
@@ -30,7 +30,7 @@ genrule(
3030
outs = [
3131
"js_protocol.json",
3232
],
33-
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
3434
tools = [
3535
"//common/devtools:pdl_to_json",
3636
],

‎scripts/build-info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import subprocess
44

0 commit comments

Comments
 (0)