...
1load("@rules_proto//proto:defs.bzl", "proto_library")
2load("@io_bazel_rules_go//go:def.bzl", "go_library")
3load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
4
5package(default_visibility = ["//visibility:public"])
6
7proto_library(
8 name = "sub2_proto",
9 srcs = ["message.proto"],
10)
11
12go_proto_library(
13 name = "sub2_go_proto",
14 importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/internal/proto/sub2",
15 proto = ":sub2_proto",
16)
17
18go_library(
19 name = "go_default_library",
20 embed = [":sub2_go_proto"],
21 importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/internal/proto/sub2",
22)
View as plain text