xref: /aosp_15_r20/external/bazelbuild-platforms/BUILD (revision ef3a692c0746f7dadd4fb3b5728d17696f151f9c)
1load("@rules_license//rules:license.bzl", "license")
2
3package(
4    default_applicable_licenses = [":license"],
5    default_visibility = ["//visibility:public"],
6)
7
8license(
9    name = "license",
10    license_kinds = [
11        "@rules_license//licenses/spdx:Apache-2.0",
12    ],
13    license_text = "LICENSE",
14)
15
16exports_files([
17    "LICENSE",
18    "MODULE.bazel",
19])
20
21filegroup(
22    name = "srcs",
23    srcs = [
24        "BUILD",
25        "WORKSPACE",
26        "//cpu:srcs",
27        "//os:srcs",
28        "//host:srcs",
29    ],
30)
31
32# For use in Incompatible Target Skipping:
33# https://docs.bazel.build/versions/main/platforms.html#skipping-incompatible-targets
34#
35# Specifically this lets targets declare incompatibility with some set of
36# platforms. See
37# https://docs.bazel.build/versions/main/platforms.html#more-expressive-constraints
38# for some more details.
39constraint_setting(name = "incompatible_setting")
40
41constraint_value(
42    name = "incompatible",
43    constraint_setting = ":incompatible_setting",
44)
45