Allow to run cpp tests under grpc/tests/ using bazel. (#6040)

This is the first step to upgrade grpc dependency to the latest version.

- Patch protobuf 3.6.1. and grpc 1.15.1 to fix build errors when using the latest Bazel version (3.4.1).
- Add grpc/tests:grpc_test. One can kick off tests in Bazel by calling `bazel test grpc/tests/...`.
- Add missing build targets in tests/BUILD in order to support grpc/tests/BUILD
This commit is contained in:
Shengzhe
2020-07-21 11:08:01 -07:00
committed by GitHub
parent 6d0aae73cd
commit c8fa0afdfc
11 changed files with 166 additions and 6 deletions

View File

@@ -55,8 +55,8 @@ cc_library(
"idl_gen_php.cpp",
"idl_gen_python.cpp",
"idl_gen_rust.cpp",
"idl_gen_text.cpp",
"idl_gen_swift.cpp",
"idl_gen_text.cpp",
"util.cpp",
],
hdrs = [