blob: dc90a4e172cc8411daa56a2d9bb91ade0adbf8d3 [file] [log] [blame]
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +01001# Copyright 2017, Google Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met:
7#
8# * Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# * Redistributions in binary form must reproduce the above
11# copyright notice, this list of conditions and the following disclaimer
12# in the documentation and/or other materials provided with the
13# distribution.
14# * Neither the name of Google Inc. nor the names of its
15# contributors may be used to endorse or promote products derived from
16# this software without specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30licenses(["notice"]) # 3-clause BSD
31
32cc_library(
33 name = "test_config",
34 srcs = [
35 "test_config_cc.cc",
36 ],
37 hdrs = [
38 "test_config.h",
39 ],
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010040 visibility = ["//test:__subpackages__"],
David Garcia Quintas388b24d2017-02-21 14:58:32 -080041 deps = [
42 "//:gpr",
43 "//external:gflags",
44 ],
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010045)
46
47cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -080048 name = "grpc++_proto_reflection_desc_db",
49 srcs = [
50 "proto_reflection_descriptor_database.cc",
51 ],
52 hdrs = [
53 "proto_reflection_descriptor_database.h",
54 ],
55 visibility = ["//test:__subpackages__"],
56 deps = [
57 "//:grpc++_config_proto",
58 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
59 ],
60)
61
62cc_library(
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010063 name = "test_util",
64 srcs = [
David Garcia Quintas388b24d2017-02-21 14:58:32 -080065 # "test/cpp/end2end/test_service_impl.cc",
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010066 "byte_buffer_proto_helper.cc",
67 "create_test_channel.cc",
68 "string_ref_helper.cc",
69 "subprocess.cc",
70 "test_credentials_provider.cc",
71 ],
72 hdrs = [
73 "byte_buffer_proto_helper.h",
74 "create_test_channel.h",
75 "string_ref_helper.h",
76 "subprocess.h",
77 "test_credentials_provider.h",
78 ],
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010079 visibility = ["//test:__subpackages__"],
David Garcia Quintas388b24d2017-02-21 14:58:32 -080080 deps = [
81 "//:grpc++",
82 "//test/core/end2end:ssl_test_data",
83 "//test/core/util:gpr_test_util",
84 ],
Nicolas "Pixel" Nobleabd88702017-02-17 21:56:10 +010085)