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

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = ["cha.go"],
     6      importpath = "golang.org/x/tools/go/callgraph/cha",
     7      visibility = ["//visibility:public"],
     8      deps = [
     9          "//go/callgraph:go_default_library",
    10          "//go/ssa:go_default_library",
    11          "//go/ssa/ssautil:go_default_library",
    12          "//go/types/typeutil:go_default_library",
    13      ],
    14  )
    15  
    16  go_test(
    17      name = "go_default_xtest",
    18      srcs = select({
    19          "@io_bazel_rules_go//go/platform:darwin": [
    20              "cha_test.go",
    21          ],
    22          "@io_bazel_rules_go//go/platform:dragonfly": [
    23              "cha_test.go",
    24          ],
    25          "@io_bazel_rules_go//go/platform:freebsd": [
    26              "cha_test.go",
    27          ],
    28          "@io_bazel_rules_go//go/platform:linux": [
    29              "cha_test.go",
    30          ],
    31          "@io_bazel_rules_go//go/platform:nacl": [
    32              "cha_test.go",
    33          ],
    34          "@io_bazel_rules_go//go/platform:netbsd": [
    35              "cha_test.go",
    36          ],
    37          "@io_bazel_rules_go//go/platform:openbsd": [
    38              "cha_test.go",
    39          ],
    40          "@io_bazel_rules_go//go/platform:plan9": [
    41              "cha_test.go",
    42          ],
    43          "@io_bazel_rules_go//go/platform:solaris": [
    44              "cha_test.go",
    45          ],
    46          "@io_bazel_rules_go//go/platform:windows": [
    47              "cha_test.go",
    48          ],
    49          "//conditions:default": [],
    50      }),
    51      data = glob(["testdata/**"]),
    52      deps = select({
    53          "@io_bazel_rules_go//go/platform:darwin": [
    54              ":go_default_library",
    55              "//go/callgraph:go_default_library",
    56              "//go/loader:go_default_library",
    57              "//go/ssa/ssautil:go_default_library",
    58          ],
    59          "@io_bazel_rules_go//go/platform:dragonfly": [
    60              ":go_default_library",
    61              "//go/callgraph:go_default_library",
    62              "//go/loader:go_default_library",
    63              "//go/ssa/ssautil:go_default_library",
    64          ],
    65          "@io_bazel_rules_go//go/platform:freebsd": [
    66              ":go_default_library",
    67              "//go/callgraph:go_default_library",
    68              "//go/loader:go_default_library",
    69              "//go/ssa/ssautil:go_default_library",
    70          ],
    71          "@io_bazel_rules_go//go/platform:linux": [
    72              ":go_default_library",
    73              "//go/callgraph:go_default_library",
    74              "//go/loader:go_default_library",
    75              "//go/ssa/ssautil:go_default_library",
    76          ],
    77          "@io_bazel_rules_go//go/platform:nacl": [
    78              ":go_default_library",
    79              "//go/callgraph:go_default_library",
    80              "//go/loader:go_default_library",
    81              "//go/ssa/ssautil:go_default_library",
    82          ],
    83          "@io_bazel_rules_go//go/platform:netbsd": [
    84              ":go_default_library",
    85              "//go/callgraph:go_default_library",
    86              "//go/loader:go_default_library",
    87              "//go/ssa/ssautil:go_default_library",
    88          ],
    89          "@io_bazel_rules_go//go/platform:openbsd": [
    90              ":go_default_library",
    91              "//go/callgraph:go_default_library",
    92              "//go/loader:go_default_library",
    93              "//go/ssa/ssautil:go_default_library",
    94          ],
    95          "@io_bazel_rules_go//go/platform:plan9": [
    96              ":go_default_library",
    97              "//go/callgraph:go_default_library",
    98              "//go/loader:go_default_library",
    99              "//go/ssa/ssautil:go_default_library",
   100          ],
   101          "@io_bazel_rules_go//go/platform:solaris": [
   102              ":go_default_library",
   103              "//go/callgraph:go_default_library",
   104              "//go/loader:go_default_library",
   105              "//go/ssa/ssautil:go_default_library",
   106          ],
   107          "@io_bazel_rules_go//go/platform:windows": [
   108              ":go_default_library",
   109              "//go/callgraph:go_default_library",
   110              "//go/loader:go_default_library",
   111              "//go/ssa/ssautil:go_default_library",
   112          ],
   113          "//conditions:default": [],
   114      }),
   115  )