Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
e3b7f4e731f15a836dc7307513dc9afb276462e6
/
.
/
tools
/
platforms.bzl
blob: fb2f69dba7952102325f19d6a572c94ff5fef79e [
file
] [
log
] [
blame
]
load
(
"@bazel_skylib//lib:selects.bzl"
,
"selects"
)
def
_any_of
(
constraint_values
):
return
selects
.
with_or
({
tuple
(
constraint_values
):
[],
"//conditions:default"
:
[
"@platforms//:incompatible"
],
})
platforms
=
struct
(
any_of
=
_any_of
,
)