xref: /aosp_15_r20/external/bazelbuild-rules_go/tests/legacy/providers/test.bzl (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1load("//go:def.bzl", "GoLibrary")
2
3def _test_impl(ctx):
4    pass
5
6test_source = rule(
7    implementation = _test_impl,
8    attrs = {
9        "srcs": attr.label(
10            mandatory = True,
11            providers = [GoLibrary],
12        ),
13    },
14)
15