2
0
Fork 0
mirror of https://github.com/bazelbuild/platforms synced 2024-11-28 15:33:39 +00:00
platforms/cpu/BUILD
Googler 5b8fd3c752 Automated rollback of commit e50397c444.
*** Reason for rollback ***

Breaks //third_party/arcore/unity/instant_preview/plugin/unity_plugin:unity_plugin_build_test_mac

[]

*** Original change description ***

Add Apple CPU and OS constraint values to bazel_platforms.

RELNOTES: None
PiperOrigin-RevId: 260800549
Change-Id: I30f8caf94eb6fc9bd2fc37ce6c51b76dcd34e98e
2019-07-30 14:51:58 -07:00

45 lines
757 B
Python

# Standard cpu name constraint_setting and constraint_values
licenses(["notice"])
package(
default_visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob(["**"]),
)
# To add a new constraint_value see https://github.com/bazelbuild/platforms.
constraint_setting(name = "cpu")
constraint_value(
name = "x86_32",
constraint_setting = ":cpu",
)
constraint_value(
name = "x86_64",
constraint_setting = ":cpu",
)
constraint_value(
name = "ppc",
constraint_setting = ":cpu",
)
constraint_value(
name = "arm",
constraint_setting = ":cpu",
)
constraint_value(
name = "aarch64",
constraint_setting = ":cpu",
)
constraint_value(
name = "s390x",
constraint_setting = ":cpu",
)