Skip to content

Commit

Permalink
go_default_library should not be a go_proto_library (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-french authored Aug 23, 2023
1 parent 4f43986 commit 691e01a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build_proto/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,21 @@ proto_library(
)

go_proto_library(
name = "go_default_library",
name = "build_proto_go_proto",
importpath = "github.com/bazelbuild/buildtools/build_proto",
proto = ":blaze_query_proto",
visibility = ["//visibility:public"],
)

go_library(
name = "build_proto",
embed = [":go_default_library"],
embed = [":build_proto_go_proto"],
importpath = "github.com/bazelbuild/buildtools/build_proto",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":build_proto",
visibility = ["//visibility:public"],
)

0 comments on commit 691e01a

Please sign in to comment.