github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/go/testdata/gen_and_exclude/BUILD.want (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2  
     3  go_library(
     4      name = "gen_and_exclude",
     5      srcs = [
     6          "gen.go",
     7          "gen_linux.go",
     8          "gen_static_darwin.go",
     9          "static.go",
    10      ],
    11      _gazelle_imports = select({
    12          "@io_bazel_rules_go//go/platform:darwin": [
    13              "github.com/jr_hacker/darwin",
    14          ],
    15          "@io_bazel_rules_go//go/platform:ios": [
    16              "github.com/jr_hacker/darwin",
    17          ],
    18          "//conditions:default": [],
    19      }),
    20      importpath = "example.com/repo/gen_and_exclude",
    21      visibility = ["//visibility:public"],
    22  )