aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/sanity/check_bazel_workspace.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/sanity/check_bazel_workspace.py')
-rwxr-xr-xtools/run_tests/sanity/check_bazel_workspace.py4
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()