| # Copyright 2018 gRPC authors. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package") |
| |
| licenses(["notice"]) # Apache v2 |
| |
| grpc_package(name = "handshaker") |
| |
| grpc_cc_library( |
| name = "alts_handshaker_service_api_test_lib", |
| srcs = ["alts_handshaker_service_api_test_lib.cc"], |
| hdrs = ["alts_handshaker_service_api_test_lib.h"], |
| deps = [ |
| "//:alts_util", |
| "//:grpc", |
| ], |
| ) |
| |
| grpc_cc_test( |
| name = "alts_handshaker_client_test", |
| srcs = ["alts_handshaker_client_test.cc"], |
| language = "C++", |
| deps = [ |
| ":alts_handshaker_service_api_test_lib", |
| "//:tsi", |
| "//:tsi_interface", |
| "//:grpc", |
| ], |
| ) |
| |
| grpc_cc_test( |
| name = "alts_handshaker_service_api_test", |
| srcs = ["alts_handshaker_service_api_test.cc"], |
| language = "C++", |
| deps = [ |
| ":alts_handshaker_service_api_test_lib", |
| "//:grpc", |
| ], |
| ) |
| |
| grpc_cc_test( |
| name = "alts_tsi_handshaker_test", |
| srcs = ["alts_tsi_handshaker_test.cc"], |
| language = "C++", |
| deps = [ |
| ":alts_handshaker_service_api_test_lib", |
| "//:gpr", |
| "//:gpr_base", |
| "//:grpc", |
| "//:tsi", |
| ], |
| ) |
| |
| grpc_cc_test( |
| name = "alts_tsi_utils_test", |
| srcs = ["alts_tsi_utils_test.cc"], |
| language = "C++", |
| deps = [ |
| ":alts_handshaker_service_api_test_lib", |
| "//:grpc", |
| "//:tsi", |
| ], |
| ) |
| |
| grpc_cc_test( |
| name = "transport_security_common_api_test", |
| srcs = ["transport_security_common_api_test.cc"], |
| language = "C++", |
| deps = [ |
| "//:alts_util", |
| "//:grpc", |
| ], |
| ) |
| |