Skip to content

Commit 8bed44b

Browse files
committed
Make WORKSPACE compatible with Bazel 0.20.0 for Python
1 parent 7d68723 commit 8bed44b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WORKSPACE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
workspace(name = "com_github_grpc_grpc")
22

3+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
34
load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps")
45
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
56

@@ -16,7 +17,7 @@ register_toolchains(
1617
"//third_party/toolchains:cc-toolchain-clang-x86_64-default",
1718
)
1819

19-
new_http_archive(
20+
http_archive(
2021
name = "cython",
2122
build_file = "//third_party:cython.BUILD",
2223
sha256 = "d68138a2381afbdd0876c3cb2a22389043fa01c4badede1228ee073032b07a27",

0 commit comments

Comments
 (0)