12345678910111213141516171819202122 |
- load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
- go_library(
- name = "go_default_library",
- srcs = ["server.go"],
- importpath = "google.golang.org/grpc/examples/route_guide/server",
- visibility = ["//visibility:private"],
- deps = [
- "//:go_default_library",
- "//credentials:go_default_library",
- "//examples/route_guide/routeguide:go_default_library",
- "//testdata:go_default_library",
- "@com_github_golang_protobuf//proto:go_default_library",
- "@org_golang_x_net//context:go_default_library",
- ],
- )
- go_binary(
- name = "server",
- embed = [":go_default_library"],
- visibility = ["//visibility:public"],
- )
|