| load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") |
| load("@com_github_grpc_grpc//bazel:python_rules.bzl", "py_proto_library", "py_grpc_library") |
| |
| |
| 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( |
| name = "go_default_library", |
| embed = [":ix_go_proto"], |
| importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto", |
| visibility = ["//visibility:public"], |
| ) |
| |
| py_proto_library( |
| name = "ix_py_proto", |
| deps = [":ix_proto"], |
| visibility = ["//visibility:public"], |
| ) |
| |
| py_grpc_library( |
| name = "ix_grpc_proto", |
| srcs = [":ix_proto"], |
| deps = [":ix_py_proto"], |
| visibility = ["//visibility:public"], |
| ) |