diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2018-12-03 13:40:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 13:40:56 -0800 |
commit | f8696b5136108fd2d46e553fdd550e1be6ba2677 (patch) | |
tree | 115bd3170a5caedcb15600d92f4095f844b3a060 /tools | |
parent | 1e1d4c262134c2641329a42f262c1687d8113f0e (diff) | |
parent | 237cc52ffd58c6f46a68d5662fd69cac05b52ec2 (diff) |
Merge pull request #17363 from nicolasnoble/fix-bazel-0.20
Fix bazel 0.20's deprecated workspace imports.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/sanity/check_bazel_workspace.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/sanity/check_bazel_workspace.py b/tools/run_tests/sanity/check_bazel_workspace.py index 35da88d70e..1486d0bd27 100755 --- a/tools/run_tests/sanity/check_bazel_workspace.py +++ b/tools/run_tests/sanity/check_bazel_workspace.py @@ -111,6 +111,8 @@ bazel_file += '\ngrpc_deps()\n' bazel_file += '\ngrpc_test_only_deps()\n' build_rules = { 'native': eval_state, + 'http_archive': lambda **args: eval_state.http_archive(**args), + 'load': lambda a, b: None, } exec bazel_file in build_rules for name in _GRPC_DEP_NAMES: @@ -150,6 +152,8 @@ for name in _GRPC_DEP_NAMES: names_and_urls_with_overridden_name, overridden_name=name) rules = { 'native': state, + 'http_archive': lambda **args: state.http_archive(**args), + 'load': lambda a, b: None, } exec bazel_file in rules assert name not in names_and_urls_with_overridden_name.keys() |