github.com/tencent/goom@v1.0.1/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  load("@bazel_gazelle//:def.bzl", "gazelle")
     3  
     4  # gazelle:go_naming_convention go_default_library
     5  # gazelle:prefix github.com/tencent/goom
     6  # gazelle:proto disable
     7  gazelle(
     8      name = "gazelle",
     9  )
    10  
    11  go_library(
    12      name = "go_default_library",
    13      gc_goopts = ["-l"],
    14      srcs = [
    15          "builder.go",
    16          "cache.go",
    17          "debug.go",
    18          "guard.go",
    19          "iface.go",
    20          "matcher.go",
    21          "mocker.go",
    22          "reflect.go",
    23          "var.go",
    24          "when.go",
    25      ],
    26      importpath = "github.com/tencent/goom",
    27      visibility = ["//visibility:public"],
    28      deps = [
    29          "//erro:go_default_library",
    30          "//internal/hack:go_default_library",
    31          "//internal/iface:go_default_library",
    32          "//internal/logger:go_default_library",
    33          "//internal/patch:go_default_library",
    34          "//internal/proxy:go_default_library",
    35          "//internal/unexports:go_default_library",
    36          "//arg:go_default_library",
    37      ],
    38  )
    39  
    40  go_test(
    41      name = "go_default_test",
    42      srcs = [
    43          "builder_test.go",
    44          "iface_test.go",
    45          "mocker_test.go",
    46          "when_test.go",
    47      ],
    48      embed = [":go_default_library"],
    49      deps = [
    50          "//erro:go_default_library",
    51          "//arg:go_default_library",
    52          "//test:go_default_library",
    53          "@com_github_stretchr_testify//suite:go_default_library",
    54      ],
    55  )