1# Standard cpu name constraint_setting and constraint_values
2licenses(["notice"])
3
4package(
5    default_visibility = ["//visibility:public"],
6)
7
8constraint_value(
9    name = "arm",
10    constraint_setting = "@platforms//cpu:cpu",
11)
12
13constraint_value(
14    name = "arm64",
15    constraint_setting = "@platforms//cpu:cpu",
16)
17
18constraint_value(
19    name = "x86",
20    constraint_setting = "@platforms//cpu:cpu",
21)
22
23# Alias to the local_jdk's toolchain constraint to make local_jdk resolve
24# correctly with --tool_java_runtime_version=local_jdk and the checked-in JDK.
25alias(
26    name = "x86_64",
27    actual = "@platforms//cpu:x86_64"
28)
29