• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 bar
5# gazelle:exclude foo
6
7go_test(
8    name = "go_default_test",
9    size = "small",
10    srcs = ["cgo_multi_dir_test.go"],
11    embed = [":go_default_library"],
12)
13
14go_library(
15    name = "go_default_library",
16    srcs = [
17        "bar/bar.go",
18        "foo/foo.go",
19    ],
20    cgo = True,
21    importpath = "github.com/bazelbuild/rules_go/tests/cgo_multi_dir",
22)
23