xref: /aosp_15_r20/external/grpc-grpc/test/cpp/client/BUILD (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1# Copyright 2017 gRPC authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package")
16
17licenses(["notice"])
18
19grpc_package(name = "test/cpp/client")
20
21grpc_cc_test(
22    name = "credentials_test",
23    srcs = ["credentials_test.cc"],
24    data = [
25        "//src/core/tsi/test_creds:ca.pem",
26        "//src/core/tsi/test_creds:server1.key",
27        "//src/core/tsi/test_creds:server1.pem",
28    ],
29    external_deps = [
30        "gtest",
31    ],
32    deps = [
33        "//:gpr",
34        "//:grpc",
35        "//:grpc++",
36        "//src/core:grpc_crl_provider",
37        "//test/core/util:grpc_test_util",
38        "//test/cpp/util:tls_test_utils",
39    ],
40)
41
42grpc_cc_test(
43    name = "destroy_grpclb_channel_with_active_connect_stress_test",
44    srcs = ["destroy_grpclb_channel_with_active_connect_stress_test.cc"],
45    external_deps = ["gtest"],
46    tags = [
47        "nomsan",  # 4/22/22 - seems to tickle the RBE compiler badly causing timeouts
48    ],
49    deps = [
50        "//:gpr",
51        "//:grpc",
52        "//:grpc++",
53        "//:grpc_resolver_fake",
54        "//src/core:channel_args",
55        "//test/core/util:grpc_test_util",
56        "//test/cpp/util:test_util",
57    ],
58)
59