kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/config/runextractor/compdb/BUILD (about)

     1  load("//tools:build_rules/shims.bzl", "go_library", "go_test")
     2  
     3  package(default_visibility = ["//kythe:default_visibility"])
     4  
     5  go_library(
     6      name = "compdb",
     7      srcs = ["compdb.go"],
     8      importpath = "kythe.io/kythe/go/extractors/config/runextractor/compdb",
     9      deps = [
    10          "//kythe/go/util/log",
    11          "@org_bitbucket_creachadair_shell//:shell",
    12          "@org_golang_x_sync//semaphore",
    13      ],
    14  )
    15  
    16  go_test(
    17      name = "compdb_test",
    18      srcs = ["compdb_test.go"],
    19      data = [
    20          "testdata/compilation_database.json",
    21          "testdata/compilation_database_arguments.json",
    22          "testdata/test_file.cc",
    23          "//kythe/cxx/extractor:cxx_extractor",
    24      ],
    25      library = ":compdb",
    26      rundir = ".",  # Use Bazel conventions for PWD.
    27      deps = [
    28          "//kythe/go/platform/kzip",
    29      ],
    30  )