• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Standard constraint_setting and constraint_values to be used in platforms.
2licenses(["notice"])
3
4package(
5    default_visibility = ["//visibility:public"],
6)
7
8constraint_value(
9    name = "android",
10    constraint_setting = "@platforms//os:os",
11)
12
13# Alias to the local_jdk's toolchain constraint to make local_jdk resolve
14# correctly with --tool_java_runtime_version=local_jdk and the checked-in JDK.
15alias(
16    name = "linux",
17    actual = "@platforms//os:linux",
18)
19
20constraint_value(
21    name = "linux_bionic",
22    constraint_setting = "@platforms//os:os",
23)
24
25constraint_value(
26    name = "windows",
27    constraint_setting = "@platforms//os:os",
28)
29
30constraint_value(
31    name = "fuchsia",
32    constraint_setting = "@platforms//os:os",
33)
34