Skip to content

Commit 5c7876b

Browse files
committed
Use third_party provided gogo proto file
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent d59acde commit 5c7876b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

bazel/gogo.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _gogo_grpc_proto_impl(ctx):
2323
ctx.file("WORKSPACE", 'workspace(name = "{}")'.format(ctx.name))
2424
ctx.file("BUILD.bazel", "")
2525
ctx.symlink(
26-
ctx.path(Label("@com_github_gogo_protobuf//gogoproto:gogo.proto")),
26+
ctx.path(Label("//third_party/gogoproto:gogo.proto")),
2727
"gogoproto/gogo.proto",
2828
)
2929
ctx.file("gogoproto/BUILD.bazel", """

third_party/gogoproto/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Create filegroup with a name bazel
2+
filegoup = filegroup(
3+
name = "bazel",
4+
srcs = ["gogo.proto"],
5+
visibility = ["//visibility:public"],
6+
)

0 commit comments

Comments
 (0)