Skip to content

Commit

Permalink
Use repo-relative labels in rule attribute defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jun 7, 2022
1 parent 521bdd8 commit 208918e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extras/gomock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ _gomock_source = rule(
mandatory = False,
),
"_go_context_data": attr.label(
default = "@io_bazel_rules_go//:go_context_data",
default = "//:go_context_data",
),
},
toolchains = [GO_TOOLCHAIN],
Expand Down Expand Up @@ -275,7 +275,7 @@ _gomock_prog_gen = rule(
mandatory = False,
),
"_go_context_data": attr.label(
default = "@io_bazel_rules_go//:go_context_data",
default = "//:go_context_data",
),
},
toolchains = [GO_TOOLCHAIN],
Expand Down Expand Up @@ -357,7 +357,7 @@ _gomock_prog_exec = rule(
mandatory = False,
),
"_go_context_data": attr.label(
default = "@io_bazel_rules_go//:go_context_data",
default = "//:go_context_data",
),
},
toolchains = [GO_TOOLCHAIN],
Expand Down

0 comments on commit 208918e

Please sign in to comment.