blob: bd1cded5eda053ab97ff8b1546121e9aacc65959 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "file-backup_lib",
srcs = ["main.go"],
importpath = "go.skia.org/infra/skolo/go/file-backup",
visibility = ["//visibility:private"],
deps = [
"//go/auth",
"//go/common",
"//go/exec",
"//go/fileutil",
"//go/httputils",
"//go/metrics2",
"//go/sklog",
"//go/util",
"@com_google_cloud_go_storage//:storage",
"@org_golang_google_api//option",
"@org_golang_x_oauth2//google",
],
)
go_binary(
name = "file-backup",
embed = [":router_backup_ansible_lib"],
visibility = ["//visibility:public"],
)
go_library(
name = "router_backup_ansible_lib",
srcs = ["main.go"],
importpath = "go.skia.org/infra/skolo/go/router_backup_ansible",
visibility = ["//visibility:private"],
deps = [
"//go/common",
"//go/exec",
"//go/fileutil",
"//go/httputils",
"//go/metrics2",
"//go/sklog",
"//go/util",
"@com_google_cloud_go_storage//:storage",
"@org_golang_google_api//option",
"@org_golang_x_oauth2//google",
],
)