-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
29 lines (26 loc) · 825 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
load("@bazel_tools//tools/python:toolchain.bzl", "py_runtime_pair")
py_runtime(
name = "py3_windows_runtime",
files = ["@python3_windows//:files"],
interpreter = "@python3_windows//:interpreter",
python_version = "PY3",
visibility = ["//visibility:public"],
)
py_runtime_pair(
name = "py_windows_runtime_pair",
py3_runtime = ":py3_windows_runtime",
visibility = ["//visibility:public"],
)
toolchain(
name = "py_windows_toolchain",
exec_compatible_with = [
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
],
target_compatible_with = [
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
],
toolchain = ":py_windows_runtime_pair",
toolchain_type = "@bazel_tools//tools/python:toolchain_type",
)