blob: 3caae5b17583d886ae9cbe4bdd8b574314eb7435 [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 = ["topo.proto"],
7 visibility = ["//visibility:public"],
8)
9
10go_proto_library(
11 name = "proto_go_proto",
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020012 importpath = "code.hackerspace.pl/hscloud/dc/topo/proto",
Sergiusz Bazanski838cf652019-07-16 23:31:25 +020013 proto = ":proto_proto",
14 visibility = ["//visibility:public"],
15)
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020016
17go_library(
18 name = "go_default_library",
Sergiusz Bazanski838cf652019-07-16 23:31:25 +020019 embed = [":proto_go_proto"],
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020020 importpath = "code.hackerspace.pl/hscloud/dc/topo/proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020021 visibility = ["//visibility:public"],
22)