aboutsummaryrefslogtreecommitdiff
path: root/tests/rule_based_toolchain/testdata/BUILD
blob: 4bfb3e6189fc52630ffc3a71b2ef8159063e7501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
load("@bazel_skylib//rules:native_binary.bzl", "native_binary")

package(default_visibility = ["//tests/rule_based_toolchain:__subpackages__"])

exports_files(
    glob(
        ["*"],
        exclude = ["BUILD"],
    ),
)

native_binary(
    name = "bin_wrapper",
    src = "bin_wrapper.sh",
    out = "bin_wrapper",
    data = [":bin"],
)

filegroup(
    name = "multiple",
    srcs = [
        "multiple1",
        "multiple2",
    ],
)

# Analysis_test is unable to depend on source files directly, but it can depend
# on a filegroup containing a single file.
filegroup(
    name = "bin_filegroup",
    srcs = ["bin"],
)