xref: /aosp_15_r20/external/bazelbuild-rules_go/tests/legacy/slash_names/BUILD.bazel (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3# TODO(#746) exclude because gazelle does not recognise the rule below
4# gazelle:exclude a
5# gazelle:exclude b
6
7go_library(
8    name = "a/pkg",
9    srcs = ["a/pkg/pkg.go"],
10    importpath = "github.com/bazelbuild/rules_go/tests/slash_names/a/pkg",
11)
12
13go_library(
14    name = "b/pkg",
15    srcs = ["b/pkg/pkg.go"],
16    importpath = "github.com/bazelbuild/rules_go/tests/slash_names/b/pkg",
17)
18
19go_test(
20    name = "go_default_test",
21    size = "small",
22    srcs = ["slash_test.go"],
23    deps = [
24        ":a/pkg",
25        ":b/pkg",
26    ],
27)
28