diff options
Diffstat (limited to 'proto/repositories.bzl')
-rw-r--r-- | proto/repositories.bzl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/proto/repositories.bzl b/proto/repositories.bzl index 15ab514..94abe21 100644 --- a/proto/repositories.bzl +++ b/proto/repositories.bzl @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Dependencies and toolchains required to use rules_proto.""" +"""Dependencies required to use rules_proto.""" load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") @@ -40,8 +40,10 @@ def rules_proto_dependencies(): sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360", ) -def rules_proto_toolchains(): - """An utility method to load all Protobuf toolchains.""" - - # Nothing to do here (yet). - pass + maybe( + http_archive, + name = "bazel_features", + sha256 = "b8789c83c893d7ef3041d3f2795774936b27ff61701a705df52fd41d6ddbf692", + strip_prefix = "bazel_features-1.2.0", + url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.2.0/bazel_features-v1.2.0.tar.gz", + ) |