File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,27 @@ filegroup(
11
11
visibility = ["//visibility:public" ],
12
12
)
13
13
14
+ load ("@rules_python//python:defs.bzl" , "py_runtime_pair" )
15
+
16
+ py_runtime (
17
+ name = "py3_runtime" ,
18
+ interpreter_path = "/usr/bin/python3" ,
19
+ python_version = "PY3" ,
20
+ stub_shebang = "#!/usr/bin/python3" ,
21
+ )
22
+
23
+ py_runtime_pair (
24
+ name = "py_runtime_pair" ,
25
+ py2_runtime = None ,
26
+ py3_runtime = ":py3_runtime" ,
27
+ )
28
+
29
+ toolchain (
30
+ name = "py_toolchain" ,
31
+ toolchain = ":py_runtime_pair" ,
32
+ toolchain_type = "@rules_python//python:toolchain_type" ,
33
+ )
34
+
14
35
alias (
15
36
name = "grid" ,
16
37
actual = "//java/src/org/openqa/selenium/grid:executable-grid" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ workspace(
6
6
},
7
7
)
8
8
9
+ register_toolchains (":py_toolchain" )
10
+
9
11
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
10
12
11
13
http_archive (
You can’t perform that action at this time.
0 commit comments