2022-12-07 21:52:06 +00:00
|
|
|
load("@rules_license//rules:license.bzl", "license")
|
2019-06-11 15:00:46 +00:00
|
|
|
|
2022-12-07 21:52:06 +00:00
|
|
|
package(
|
|
|
|
default_applicable_licenses = [":license"],
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
license(
|
|
|
|
name = "license",
|
|
|
|
license_kinds = [
|
2023-02-09 15:56:04 +00:00
|
|
|
"@rules_license//licenses/spdx:Apache-2.0",
|
2022-12-07 21:52:06 +00:00
|
|
|
],
|
|
|
|
license_text = "LICENSE",
|
|
|
|
)
|
2019-06-05 14:08:34 +00:00
|
|
|
|
2023-02-09 15:42:00 +00:00
|
|
|
exports_files([
|
|
|
|
"LICENSE",
|
|
|
|
"MODULE.bazel",
|
|
|
|
])
|
2019-06-11 15:00:46 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "srcs",
|
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
"WORKSPACE",
|
|
|
|
"//cpu:srcs",
|
|
|
|
"//os:srcs",
|
|
|
|
],
|
|
|
|
)
|
2020-11-18 06:15:11 +00:00
|
|
|
|
|
|
|
# For use in Incompatible Target Skipping:
|
2021-06-15 17:10:48 +00:00
|
|
|
# https://docs.bazel.build/versions/main/platforms.html#skipping-incompatible-targets
|
2020-11-18 06:15:11 +00:00
|
|
|
#
|
|
|
|
# Specifically this lets targets declare incompatibility with some set of
|
|
|
|
# platforms. See
|
2021-06-15 17:10:48 +00:00
|
|
|
# https://docs.bazel.build/versions/main/platforms.html#more-expressive-constraints
|
2020-11-18 06:15:11 +00:00
|
|
|
# for some more details.
|
|
|
|
constraint_setting(name = "incompatible_setting")
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "incompatible",
|
|
|
|
constraint_setting = ":incompatible_setting",
|
|
|
|
)
|