github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/cmd/stress/BUILD.bazel.in (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = select({
     6          "@io_bazel_rules_go//go/platform:android": [
     7              "stress.go",
     8          ],
     9          "@io_bazel_rules_go//go/platform:darwin": [
    10              "stress.go",
    11          ],
    12          "@io_bazel_rules_go//go/platform:dragonfly": [
    13              "stress.go",
    14          ],
    15          "@io_bazel_rules_go//go/platform:freebsd": [
    16              "stress.go",
    17          ],
    18          "@io_bazel_rules_go//go/platform:linux": [
    19              "stress.go",
    20          ],
    21          "@io_bazel_rules_go//go/platform:nacl": [
    22              "stress.go",
    23          ],
    24          "@io_bazel_rules_go//go/platform:netbsd": [
    25              "stress.go",
    26          ],
    27          "@io_bazel_rules_go//go/platform:openbsd": [
    28              "stress.go",
    29          ],
    30          "@io_bazel_rules_go//go/platform:solaris": [
    31              "stress.go",
    32          ],
    33          "@io_bazel_rules_go//go/platform:windows": [
    34              "stress.go",
    35          ],
    36          "//conditions:default": [],
    37      }),
    38      importpath = "golang.org/x/tools/cmd/stress",
    39      visibility = ["//visibility:private"],
    40  )
    41  
    42  go_binary(
    43      name = "stress",
    44      embed = [":go_default_library"],
    45      visibility = ["//visibility:public"],
    46  )