blob: f746253dab88c6073cc9ea7344d54fe17a2e33bb [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "pubsub_recorder_lib",
srcs = ["pubsub_recorder.go"],
importpath = "go.skia.org/infra/scripts/pubsub_recorder",
visibility = ["//visibility:private"],
deps = [
"//go/common",
"//go/sklog",
"//go/util",
"@com_google_cloud_go_pubsub//:pubsub",
],
)
go_binary(
name = "pubsub_recorder",
embed = [":pubsub_recorder_lib"],
visibility = ["//visibility:public"],
)