2023-07-28 17:14:50 +00:00
|
|
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
2019-07-20 14:36:00 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
2023-07-28 17:14:50 +00:00
|
|
|
load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
|
2019-07-20 14:36:00 +00:00
|
|
|
|
|
|
|
proto_library(
|
|
|
|
name = "ix_proto",
|
|
|
|
srcs = ["ix.proto"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_proto_library(
|
|
|
|
name = "ix_go_proto",
|
|
|
|
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
|
|
|
importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto",
|
|
|
|
proto = ":ix_proto",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
2023-07-28 17:14:50 +00:00
|
|
|
name = "proto",
|
2019-07-20 14:36:00 +00:00
|
|
|
embed = [":ix_go_proto"],
|
|
|
|
importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2019-08-01 18:16:27 +00:00
|
|
|
|
2020-07-03 05:05:15 +00:00
|
|
|
py_proto_library(
|
|
|
|
name = "ix_py_proto",
|
|
|
|
visibility = ["//visibility:public"],
|
2023-07-28 17:14:50 +00:00
|
|
|
deps = [":ix_proto"],
|
2019-08-01 18:16:27 +00:00
|
|
|
)
|
|
|
|
|
2020-07-03 05:05:15 +00:00
|
|
|
py_grpc_library(
|
|
|
|
name = "ix_grpc_proto",
|
|
|
|
srcs = [":ix_proto"],
|
2019-08-01 18:16:27 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2023-07-28 17:14:50 +00:00
|
|
|
deps = [":ix_py_proto"],
|
2019-08-01 18:16:27 +00:00
|
|
|
)
|