mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
This updates to the 2027-1 toolchains. This also is the first version with the `rules_bzlmodrio_toolchains -> wpilib_toolchains` rename, so the surface area of the change is a little bit big. The opencv dep has bzlmod'ified as part of this as well.
21 lines
539 B
Python
21 lines
539 B
Python
load("@rules_python//python:defs.bzl", "py_binary")
|
|
|
|
exports_files(["defs.bzl"])
|
|
|
|
py_binary(
|
|
name = "gen_versionscript",
|
|
srcs = ["gen_versionscript.py"],
|
|
main = "gen_versionscript.py",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "gen_resources",
|
|
srcs = ["gen_resources.py"],
|
|
target_compatible_with = select({
|
|
"@wpilib_toolchains//constraints/is_systemcore:systemcore": ["@platforms//:incompatible"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|