github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/cmd/scandeps/sampleclient/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "sampleclient_lib",
     5      srcs = ["main.go"],
     6      importpath = "github.com/bazelbuild/reclient/cmd/scandeps/sampleclient",
     7      tags = [
     8          "manual",
     9      ],
    10      visibility = ["//visibility:private"],
    11      deps = [
    12          "//api/scandeps",
    13          "//internal/pkg/ipc",
    14          "@com_github_golang_glog//:glog",
    15          "@com_github_google_uuid//:uuid",
    16          "@org_golang_google_grpc//codes",
    17          "@org_golang_google_grpc//status",
    18          "@org_golang_google_protobuf//types/known/emptypb",
    19      ],
    20  )
    21  
    22  go_binary(
    23      name = "sampleclient",
    24      embed = [":sampleclient_lib"],
    25      target_compatible_with = select({
    26          "//:goma_input_processor_config": [],
    27          "//conditions:default": ["@platforms//:incompatible"],
    28      }),
    29      visibility = ["//visibility:public"],
    30  )