kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/serving/pipeline/beamio/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 = "beamio",
     8      srcs = [
     9          "beamio.go",
    10          "entries.go",
    11          "leveldb.go",
    12          "shards.go",
    13      ],
    14      importpath = "kythe.io/kythe/go/serving/pipeline/beamio",
    15      deps = [
    16          "//kythe/go/storage/stream",
    17          "//kythe/go/util/log",
    18          "//kythe/go/util/riegeli",
    19          "//kythe/proto:storage_go_proto",
    20          "@com_github_apache_beam//sdks/go/pkg/beam",
    21          "@com_github_apache_beam//sdks/go/pkg/beam/core/util/reflectx",
    22          "@com_github_apache_beam//sdks/go/pkg/beam/io/filesystem",
    23          "@com_github_apache_beam//sdks/go/pkg/beam/transforms/stats",
    24          "@com_github_syndtr_goleveldb//leveldb/comparer",
    25          "@com_github_syndtr_goleveldb//leveldb/journal",
    26          "@com_github_syndtr_goleveldb//leveldb/opt",
    27          "@com_github_syndtr_goleveldb//leveldb/table",
    28      ],
    29  )
    30  
    31  go_test(
    32      name = "entries_test",
    33      srcs = ["entries_test.go"],
    34      library = "beamio",
    35      deps = [
    36          "//kythe/go/platform/delimited",
    37          "//kythe/go/util/compare",
    38          "//kythe/proto:storage_go_proto",
    39          "@com_github_apache_beam//sdks/go/pkg/beam",
    40          "@com_github_apache_beam//sdks/go/pkg/beam/io/filesystem/local",
    41          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
    42      ],
    43  )
    44  
    45  go_test(
    46      name = "leveldb_test",
    47      srcs = ["leveldb_test.go"],
    48      library = "beamio",
    49      deps = [
    50          "@com_github_apache_beam//sdks/go/pkg/beam",
    51          "@com_github_apache_beam//sdks/go/pkg/beam/io/filesystem/local",
    52          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
    53          "@com_github_apache_beam//sdks/go/pkg/beam/transforms/stats",
    54          "@com_github_jmhodges_levigo//:levigo",
    55      ],
    56  )
    57  
    58  go_test(
    59      name = "shards_test",
    60      srcs = ["shards_test.go"],
    61      library = "beamio",
    62      deps = [
    63          "@com_github_apache_beam//sdks/go/pkg/beam",
    64          "@com_github_apache_beam//sdks/go/pkg/beam/testing/passert",
    65          "@com_github_apache_beam//sdks/go/pkg/beam/testing/ptest",
    66          "@com_github_apache_beam//sdks/go/pkg/beam/transforms/stats",
    67      ],
    68  )