Skip to content

Commit 8b48a74

Browse files
committed
[java] Reverting change to build devTools
To keep it working across platforms macOS 12.3 and above will need to link python3 to python
1 parent 00398ff commit 8b48a74

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

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 = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
19+
cmd = "$(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 = "python3 $(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
33+
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
3434
tools = [
3535
"//common/devtools:pdl_to_json",
3636
],

0 commit comments

Comments
 (0)