kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/serving/pipeline/BUILD (about)

     1  # gazelle:go_test file
     2  load("//tools:build_rules/shims.bzl", "go_library", "go_test")
     3  
     4  package(default_visibility = ["//kythe:default_visibility"])
     5  
     6  go_library(
     7      name = "pipeline",
     8      srcs = [
     9          "beam.go",
    10          "encoding.go",
    11          "filetree.go",
    12          "pipeline.go",
    13      ],
    14      importpath = "kythe.io/kythe/go/serving/pipeline",
    15      deps = [
    16          "//kythe/go/services/filetree",
    17          "//kythe/go/services/graphstore",
    18          "//kythe/go/serving/filetree",
    19          "//kythe/go/serving/graph",
    20          "//kythe/go/serving/graph/columnar",
    21          "//kythe/go/serving/pipeline/nodes",
    22          "//kythe/go/serving/xrefs",
    23          "//kythe/go/serving/xrefs/assemble",
    24          "//kythe/go/serving/xrefs/columnar",
    25          "//kythe/go/storage/keyvalue",
    26          "//kythe/go/storage/stream",
    27          "//kythe/go/storage/table",
    28          "//kythe/go/util/compare",
    29          "//kythe/go/util/disksort",
    30          "//kythe/go/util/kytheuri",
    31          "//kythe/go/util/log",
    32          "//kythe/go/util/schema",
    33          "//kythe/go/util/schema/edges",
    34          "//kythe/go/util/schema/facts",
    35          "//kythe/go/util/schema/nodes",
    36          "//kythe/go/util/sortutil",
    37          "//kythe/go/util/span",
    38          "//kythe/proto:common_go_proto",
    39          "//kythe/proto:filetree_go_proto",
    40          "//kythe/proto:graph_serving_go_proto",
    41          "//kythe/proto:internal_go_proto",
    42          "//kythe/proto:pipeline_go_proto",
    43          "//kythe/proto:schema_go_proto",
    44          "//kythe/proto:serving_go_proto",
    45          "//kythe/proto:storage_go_proto",
    46          "//kythe/proto:xref_serving_go_proto",
    47          "@com_github_apache_beam//sdks/go/pkg/beam",
    48          "@com_github_apache_beam//sdks/go/pkg/beam/transforms/filter",
    49          "@org_bitbucket_creachadair_stringset//:stringset",
    50          "@org_golang_google_protobuf//proto",
    51      ],
    52  )
    53  
    54  go_test(
    55      name = "beam_test",
    56      srcs = ["beam_test.go"],
    57      library = ":pipeline",
    58      deps = [
    59          "//kythe/go/serving/pipeline/beamtest",
    60          "//kythe/proto:common_go_proto",
    61          "//kythe/proto:pipeline_go_proto",
    62          "//kythe/proto:schema_go_proto",
    63          "//kythe/proto:serving_go_proto",
    64          "//kythe/proto:storage_go_proto",
    65          "@com_github_apache_beam//sdks/go/pkg/beam",
    66          "@com_github_apache_beam//sdks/go/pkg/beam/testing/passert",
    67          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
    68          "@com_github_apache_beam//sdks/go/pkg/beam/x/debug",
    69          "@com_github_google_go_cmp//cmp",
    70          "@com_github_google_go_cmp//cmp/cmpopts",
    71          "@org_golang_google_protobuf//proto",
    72      ],
    73  )
    74  
    75  go_test(
    76      name = "beam_integration_test",
    77      srcs = ["beam_integration_test.go"],
    78      library = ":pipeline",
    79      deps = [
    80          "//kythe/go/services/graph",
    81          "//kythe/go/services/xrefs",
    82          "//kythe/go/serving/graph",
    83          "//kythe/go/serving/xrefs",
    84          "//kythe/go/storage/inmemory",
    85          "//kythe/go/storage/keyvalue",
    86          "//kythe/go/util/compare",
    87          "//kythe/go/util/kytheuri",
    88          "//kythe/go/util/schema/edges",
    89          "//kythe/go/util/schema/facts",
    90          "//kythe/go/util/schema/nodes",
    91          "//kythe/proto:common_go_proto",
    92          "//kythe/proto:graph_go_proto",
    93          "//kythe/proto:schema_go_proto",
    94          "//kythe/proto:storage_go_proto",
    95          "//kythe/proto:xref_go_proto",
    96          "@com_github_apache_beam//sdks/go/pkg/beam",
    97          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
    98          "@org_golang_google_protobuf//proto",
    99      ],
   100  )
   101  
   102  go_test(
   103      name = "filetree_test",
   104      srcs = ["filetree_test.go"],
   105      library = ":pipeline",
   106      deps = [
   107          "//kythe/proto:schema_go_proto",
   108          "//kythe/proto:serving_go_proto",
   109          "//kythe/proto:storage_go_proto",
   110          "@com_github_apache_beam//sdks/go/pkg/beam",
   111          "@com_github_apache_beam//sdks/go/pkg/beam/testing/passert",
   112          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
   113          "@com_github_apache_beam//sdks/go/pkg/beam/x/debug",
   114      ],
   115  )