blob: 14b05693b4290fe4a5ad0c6ead2f5bd052bbcbbb [file] [log] [blame]
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
Sergiusz Bazanski838cf652019-07-16 23:31:25 +02002load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
3
4proto_library(
5 name = "proto_proto",
6 srcs = ["proxy.proto"],
7 visibility = ["//visibility:public"],
8)
9
10go_proto_library(
11 name = "proto_go_proto",
12 compilers = ["@io_bazel_rules_go//proto:go_grpc"],
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020013 importpath = "code.hackerspace.pl/hscloud/dc/cmc-proxy/proto",
Sergiusz Bazanski838cf652019-07-16 23:31:25 +020014 proto = ":proto_proto",
15 visibility = ["//visibility:public"],
16)
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020017
18go_library(
19 name = "go_default_library",
Sergiusz Bazanski838cf652019-07-16 23:31:25 +020020 embed = [":proto_go_proto"],
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020021 importpath = "code.hackerspace.pl/hscloud/dc/cmc-proxy/proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020022 visibility = ["//visibility:public"],
23)