| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = ["birdie.go"], |
| importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/birdie", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//bgpwtf/cccampix/proto:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@org_golang_google_grpc//:go_default_library", |
| "@org_golang_google_grpc//credentials:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "birdie", |
| embed = [":go_default_library"], |
| static = "on", |
| visibility = ["//visibility:public"], |
| ) |