File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ genrule(
16
16
outs = [
17
17
"browser_protocol.json" ,
18
18
],
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 $@" ,
20
20
tools = [
21
21
"//common/devtools:pdl_to_json" ,
22
22
],
@@ -30,7 +30,7 @@ genrule(
30
30
outs = [
31
31
"js_protocol.json" ,
32
32
],
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 $@" ,
34
34
tools = [
35
35
"//common/devtools:pdl_to_json" ,
36
36
],
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ genrule(
16
16
outs = [
17
17
"browser_protocol.json" ,
18
18
],
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 $@" ,
20
20
tools = [
21
21
"//common/devtools:pdl_to_json" ,
22
22
],
@@ -30,7 +30,7 @@ genrule(
30
30
outs = [
31
31
"js_protocol.json" ,
32
32
],
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 $@" ,
34
34
tools = [
35
35
"//common/devtools:pdl_to_json" ,
36
36
],
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ genrule(
16
16
outs = [
17
17
"browser_protocol.json" ,
18
18
],
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 $@" ,
20
20
tools = [
21
21
"//common/devtools:pdl_to_json" ,
22
22
],
@@ -30,7 +30,7 @@ genrule(
30
30
outs = [
31
31
"js_protocol.json" ,
32
32
],
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 $@" ,
34
34
tools = [
35
35
"//common/devtools:pdl_to_json" ,
36
36
],
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ genrule(
16
16
outs = [
17
17
"browser_protocol.json" ,
18
18
],
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 $@" ,
20
20
tools = [
21
21
"//common/devtools:pdl_to_json" ,
22
22
],
@@ -30,7 +30,7 @@ genrule(
30
30
outs = [
31
31
"js_protocol.json" ,
32
32
],
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 $@" ,
34
34
tools = [
35
35
"//common/devtools:pdl_to_json" ,
36
36
],
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
2
3
3
import subprocess
4
4
You can’t perform that action at this time.
0 commit comments