Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
11e61afdc9fdbea03f79e99f889fb2adb23f8b84
/
.
/
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
,
)