From 8bed44b2c47577fe255eb5b9fe754a2756cefed7 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 4 Dec 2018 19:43:04 -0800 Subject: [PATCH] Make WORKSPACE compatible with Bazel 0.20.0 for Python --- WORKSPACE | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 5f159c867ce..81371bf4187 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,5 +1,6 @@ workspace(name = "com_github_grpc_grpc") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") @@ -16,7 +17,7 @@ register_toolchains( "//third_party/toolchains:cc-toolchain-clang-x86_64-default", ) -new_http_archive( +http_archive( name = "cython", build_file = "//third_party:cython.BUILD", sha256 = "d68138a2381afbdd0876c3cb2a22389043fa01c4badede1228ee073032b07a27",