github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/third_party/org_golang_x_tools/go/callgraph/rta/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 = ["rta.go"],
     6      importpath = "golang.org/x/tools/go/callgraph/rta",
     7      visibility = ["//visibility:public"],
     8      deps = [
     9          "//go/callgraph:go_default_library",
    10          "//go/ssa:go_default_library",
    11          "//go/types/typeutil:go_default_library",
    12      ],
    13  )
    14  
    15  go_test(
    16      name = "go_default_xtest",
    17      srcs = select({
    18          "@io_bazel_rules_go//go/platform:darwin": [
    19              "rta_test.go",
    20          ],
    21          "@io_bazel_rules_go//go/platform:dragonfly": [
    22              "rta_test.go",
    23          ],
    24          "@io_bazel_rules_go//go/platform:freebsd": [
    25              "rta_test.go",
    26          ],
    27          "@io_bazel_rules_go//go/platform:linux": [
    28              "rta_test.go",
    29          ],
    30          "@io_bazel_rules_go//go/platform:nacl": [
    31              "rta_test.go",
    32          ],
    33          "@io_bazel_rules_go//go/platform:netbsd": [
    34              "rta_test.go",
    35          ],
    36          "@io_bazel_rules_go//go/platform:openbsd": [
    37              "rta_test.go",
    38          ],
    39          "@io_bazel_rules_go//go/platform:plan9": [
    40              "rta_test.go",
    41          ],
    42          "@io_bazel_rules_go//go/platform:solaris": [
    43              "rta_test.go",
    44          ],
    45          "@io_bazel_rules_go//go/platform:windows": [
    46              "rta_test.go",
    47          ],
    48          "//conditions:default": [],
    49      }),
    50      data = glob(["testdata/**"]),
    51      deps = select({
    52          "@io_bazel_rules_go//go/platform:darwin": [
    53              ":go_default_library",
    54              "//go/callgraph:go_default_library",
    55              "//go/loader:go_default_library",
    56              "//go/ssa: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:go_default_library",
    64              "//go/ssa/ssautil:go_default_library",
    65          ],
    66          "@io_bazel_rules_go//go/platform:freebsd": [
    67              ":go_default_library",
    68              "//go/callgraph:go_default_library",
    69              "//go/loader:go_default_library",
    70              "//go/ssa:go_default_library",
    71              "//go/ssa/ssautil:go_default_library",
    72          ],
    73          "@io_bazel_rules_go//go/platform:linux": [
    74              ":go_default_library",
    75              "//go/callgraph:go_default_library",
    76              "//go/loader:go_default_library",
    77              "//go/ssa:go_default_library",
    78              "//go/ssa/ssautil:go_default_library",
    79          ],
    80          "@io_bazel_rules_go//go/platform:nacl": [
    81              ":go_default_library",
    82              "//go/callgraph:go_default_library",
    83              "//go/loader:go_default_library",
    84              "//go/ssa:go_default_library",
    85              "//go/ssa/ssautil:go_default_library",
    86          ],
    87          "@io_bazel_rules_go//go/platform:netbsd": [
    88              ":go_default_library",
    89              "//go/callgraph:go_default_library",
    90              "//go/loader:go_default_library",
    91              "//go/ssa:go_default_library",
    92              "//go/ssa/ssautil:go_default_library",
    93          ],
    94          "@io_bazel_rules_go//go/platform:openbsd": [
    95              ":go_default_library",
    96              "//go/callgraph:go_default_library",
    97              "//go/loader:go_default_library",
    98              "//go/ssa:go_default_library",
    99              "//go/ssa/ssautil:go_default_library",
   100          ],
   101          "@io_bazel_rules_go//go/platform:plan9": [
   102              ":go_default_library",
   103              "//go/callgraph:go_default_library",
   104              "//go/loader:go_default_library",
   105              "//go/ssa:go_default_library",
   106              "//go/ssa/ssautil:go_default_library",
   107          ],
   108          "@io_bazel_rules_go//go/platform:solaris": [
   109              ":go_default_library",
   110              "//go/callgraph:go_default_library",
   111              "//go/loader:go_default_library",
   112              "//go/ssa:go_default_library",
   113              "//go/ssa/ssautil:go_default_library",
   114          ],
   115          "@io_bazel_rules_go//go/platform:windows": [
   116              ":go_default_library",
   117              "//go/callgraph:go_default_library",
   118              "//go/loader:go_default_library",
   119              "//go/ssa:go_default_library",
   120              "//go/ssa/ssautil:go_default_library",
   121          ],
   122          "//conditions:default": [],
   123      }),
   124  )