Serge Bazanski | f3312ef | 2020-08-01 17:15:52 +0200 | [diff] [blame] | 1 | load("@rules_proto//proto:defs.bzl", "proto_library") |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 2 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 3 | load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") |
| 4 | |
| 5 | proto_library( |
| 6 | name = "proto_proto", |
| 7 | srcs = ["prodvider.proto"], |
| 8 | visibility = ["//visibility:public"], |
| 9 | ) |
| 10 | |
| 11 | go_proto_library( |
| 12 | name = "proto_go_proto", |
| 13 | compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
| 14 | importpath = "code.hackerspace.pl/hscloud/cluster/prodvider/proto", |
| 15 | proto = ":proto_proto", |
| 16 | visibility = ["//visibility:public"], |
| 17 | ) |
| 18 | |
| 19 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 20 | name = "proto", |
Sergiusz Bazanski | b13b7ff | 2019-08-29 20:12:24 +0200 | [diff] [blame] | 21 | embed = [":proto_go_proto"], |
| 22 | importpath = "code.hackerspace.pl/hscloud/cluster/prodvider/proto", |
| 23 | visibility = ["//visibility:public"], |
| 24 | ) |