github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/internal/pkg/inputprocessor/action/cppcompile/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "cppcompile",
     5      srcs = [
     6          "flagsparser.go",
     7          "preprocessor.go",
     8      ],
     9      importpath = "github.com/bazelbuild/reclient/internal/pkg/inputprocessor/action/cppcompile",
    10      visibility = ["//visibility:public"],
    11      deps = [
    12          "//api/scandeps",
    13          "//internal/pkg/cppdependencyscanner",
    14          "//internal/pkg/inputprocessor",
    15          "//internal/pkg/inputprocessor/clangparser",
    16          "//internal/pkg/inputprocessor/depscache",
    17          "//internal/pkg/inputprocessor/flags",
    18          "//internal/pkg/logger",
    19          "//internal/pkg/logger/event",
    20          "//internal/pkg/pathtranslator",
    21          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/cache",
    22          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command",
    23          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/digest",
    24          "@com_github_golang_glog//:glog",
    25          "@org_golang_x_sync//semaphore",
    26      ],
    27  )
    28  
    29  go_test(
    30      name = "cppcompile_test",
    31      srcs = [
    32          "flagsparser_test.go",
    33          "preprocessor_darwin_test.go",
    34          "preprocessor_test.go",
    35      ],
    36      embed = [":cppcompile"],
    37      deps = [
    38          "//api/scandeps",
    39          "//internal/pkg/execroot",
    40          "//internal/pkg/inputprocessor",
    41          "//internal/pkg/inputprocessor/depscache",
    42          "//internal/pkg/inputprocessor/flags",
    43          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command",
    44          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/filemetadata",
    45          "@com_github_google_go_cmp//cmp",
    46          "@com_github_google_go_cmp//cmp/cmpopts",
    47      ],
    48  )