Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1 | # GRPC global cmake file |
| 2 | # This currently builds C and C++ code. |
| 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
| 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 7 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Copyright 2015 gRPC authors. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 15 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 21 | |
| 22 | |
| 23 | |
| 24 | cmake_minimum_required(VERSION 2.8) |
| 25 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 26 | set(PACKAGE_NAME "grpc") |
Mehrdad Afshari | 4388404 | 2018-01-19 14:25:15 -0800 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.10.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Stefan Hacker | 471a5dc | 2018-01-14 13:38:20 +0100 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "lib/cmake/${PACKAGE_NAME}" CACHE STRING "Installation directory for cmake config files") |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 37 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 38 | # Options |
| 39 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 40 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 41 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 42 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 43 | # Disable gRPC_INSTALL by default if building as a submodule |
| 44 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 45 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 46 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 47 | "Generate installation target: gRPC_ZLIB_PROVIDER, gRPC_CARES_PROVIDER, gRPC_SSL_PROVIDER and gRPC_PROTOBUF_PROVIDER must all be \"package\"") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 48 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 49 | # Providers for third-party dependencies (gRPC_*_PROVIDER properties): |
| 50 | # "module": build the dependency using sources from git submodule (under third_party) |
| 51 | # "package": use cmake's find_package functionality to locate a pre-installed dependency |
| 52 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 53 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 54 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 55 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 56 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 57 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 58 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 59 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 60 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 61 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 62 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 63 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 64 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 65 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 66 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 67 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 68 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 69 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 70 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 71 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 72 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 73 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 74 | set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 75 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 76 | if(UNIX) |
| 77 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 78 | set(_gRPC_PLATFORM_LINUX ON) |
| 79 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 80 | set(_gRPC_PLATFORM_MAC ON) |
| 81 | else() |
| 82 | set(_gRPC_PLATFORM_POSIX ON) |
| 83 | endif() |
| 84 | endif() |
| 85 | if(WIN32) |
| 86 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 87 | endif() |
| 88 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 89 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 90 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 91 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 92 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 93 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 94 | # needed to compile protobuf |
| 95 | add_definitions(/wd4065 /wd4506) |
| 96 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 97 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 98 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 99 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 100 | endif() |
| 101 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 102 | if (gRPC_USE_PROTO_LITE) |
| 103 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 104 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 105 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 106 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 107 | endif() |
| 108 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 109 | include(cmake/zlib.cmake) |
| 110 | include(cmake/cares.cmake) |
| 111 | include(cmake/protobuf.cmake) |
| 112 | include(cmake/ssl.cmake) |
| 113 | include(cmake/gflags.cmake) |
| 114 | include(cmake/benchmark.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 115 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 116 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 117 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 118 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 119 | endif() |
| 120 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 121 | if(_gRPC_PLATFORM_MAC) |
| 122 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 123 | elseif(UNIX) |
| 124 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 125 | endif() |
| 126 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 127 | if(WIN32 AND MSVC) |
| 128 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 129 | endif() |
| 130 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 131 | # Create directory for generated .proto files |
| 132 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 133 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 134 | |
| 135 | # protobuf_generate_grpc_cpp |
| 136 | # -------------------------- |
| 137 | # |
| 138 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 139 | # GRPC plugin:: |
| 140 | # |
| 141 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 142 | # |
| 143 | # ``ARGN`` |
| 144 | # ``.proto`` files |
| 145 | # |
| 146 | function(protobuf_generate_grpc_cpp) |
| 147 | if(NOT ARGN) |
| 148 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 149 | return() |
| 150 | endif() |
| 151 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 152 | set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 153 | foreach(FIL ${ARGN}) |
| 154 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 155 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 156 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 157 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 158 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 159 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 160 | add_custom_command( |
| 161 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 162 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 163 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 164 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 165 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 166 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 167 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 168 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 169 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 170 | ${_protobuf_include_path} |
| 171 | ${REL_FIL} |
| 172 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 173 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 174 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 175 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 176 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 177 | set_source_files_properties("${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" PROPERTIES GENERATED TRUE) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 178 | endforeach() |
| 179 | endfunction() |
| 180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 181 | add_custom_target(plugins |
| 182 | DEPENDS |
| 183 | grpc_cpp_plugin |
| 184 | grpc_csharp_plugin |
| 185 | grpc_node_plugin |
| 186 | grpc_objective_c_plugin |
| 187 | grpc_php_plugin |
| 188 | grpc_python_plugin |
| 189 | grpc_ruby_plugin |
| 190 | ) |
| 191 | |
| 192 | add_custom_target(tools_c |
| 193 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 194 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 195 | grpc_create_jwt |
| 196 | grpc_print_google_default_creds_token |
| 197 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 198 | gen_hpack_tables |
| 199 | gen_legal_metadata_characters |
| 200 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | add_custom_target(tools_cxx |
| 204 | DEPENDS |
| 205 | ) |
| 206 | |
| 207 | add_custom_target(tools |
| 208 | DEPENDS tools_c tools_cxx) |
| 209 | |
| 210 | if (gRPC_BUILD_TESTS) |
| 211 | add_custom_target(buildtests_c) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 212 | add_dependencies(buildtests_c algorithm_test) |
| 213 | add_dependencies(buildtests_c alloc_test) |
| 214 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 215 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 216 | add_dependencies(buildtests_c bad_server_response_test) |
| 217 | add_dependencies(buildtests_c bin_decoder_test) |
| 218 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 219 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 220 | add_dependencies(buildtests_c channel_create_test) |
| 221 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 222 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 223 | add_dependencies(buildtests_c chttp2_varint_test) |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 224 | add_dependencies(buildtests_c cmdline_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 225 | add_dependencies(buildtests_c combiner_test) |
| 226 | add_dependencies(buildtests_c compression_test) |
| 227 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 228 | add_dependencies(buildtests_c connection_refused_test) |
| 229 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 230 | add_dependencies(buildtests_c dns_resolver_cooldown_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 231 | add_dependencies(buildtests_c dns_resolver_test) |
| 232 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 233 | add_dependencies(buildtests_c dualstack_socket_test) |
| 234 | endif() |
| 235 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 236 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 237 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 238 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 239 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 240 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 241 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 242 | add_dependencies(buildtests_c fake_transport_security_test) |
| 243 | endif() |
| 244 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 245 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 246 | endif() |
| 247 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 248 | add_dependencies(buildtests_c fd_posix_test) |
| 249 | endif() |
| 250 | add_dependencies(buildtests_c fling_client) |
| 251 | add_dependencies(buildtests_c fling_server) |
| 252 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 253 | add_dependencies(buildtests_c fling_stream_test) |
| 254 | endif() |
| 255 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 256 | add_dependencies(buildtests_c fling_test) |
| 257 | endif() |
| 258 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 259 | add_dependencies(buildtests_c goaway_server_test) |
| 260 | endif() |
| 261 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 262 | add_dependencies(buildtests_c gpr_cpu_test) |
| 263 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 264 | add_dependencies(buildtests_c gpr_host_port_test) |
| 265 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 266 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 267 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 268 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 269 | add_dependencies(buildtests_c gpr_string_test) |
| 270 | add_dependencies(buildtests_c gpr_sync_test) |
| 271 | add_dependencies(buildtests_c gpr_thd_test) |
| 272 | add_dependencies(buildtests_c gpr_time_test) |
| 273 | add_dependencies(buildtests_c gpr_tls_test) |
| 274 | add_dependencies(buildtests_c gpr_useful_test) |
| 275 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 276 | add_dependencies(buildtests_c grpc_b64_test) |
| 277 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 278 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 279 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 280 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 281 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 282 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 283 | add_dependencies(buildtests_c grpc_credentials_test) |
| 284 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 285 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 286 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 287 | add_dependencies(buildtests_c grpc_json_token_test) |
| 288 | endif() |
| 289 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 290 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 291 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 292 | if(_gRPC_PLATFORM_LINUX) |
| 293 | add_dependencies(buildtests_c handshake_client) |
| 294 | endif() |
| 295 | if(_gRPC_PLATFORM_LINUX) |
| 296 | add_dependencies(buildtests_c handshake_server) |
| 297 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 298 | if(_gRPC_PLATFORM_LINUX) |
| 299 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 300 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 301 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 302 | add_dependencies(buildtests_c hpack_parser_test) |
| 303 | add_dependencies(buildtests_c hpack_table_test) |
| 304 | add_dependencies(buildtests_c http_parser_test) |
| 305 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 306 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 307 | add_dependencies(buildtests_c httpcli_test) |
| 308 | endif() |
| 309 | if(_gRPC_PLATFORM_LINUX) |
| 310 | add_dependencies(buildtests_c httpscli_test) |
| 311 | endif() |
| 312 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 313 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 314 | add_dependencies(buildtests_c json_rewrite) |
| 315 | add_dependencies(buildtests_c json_rewrite_test) |
| 316 | add_dependencies(buildtests_c json_stream_error_test) |
| 317 | add_dependencies(buildtests_c json_test) |
| 318 | add_dependencies(buildtests_c lame_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 319 | add_dependencies(buildtests_c load_file_test) |
| 320 | add_dependencies(buildtests_c memory_profile_client) |
| 321 | add_dependencies(buildtests_c memory_profile_server) |
| 322 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 323 | add_dependencies(buildtests_c memory_profile_test) |
| 324 | endif() |
| 325 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 326 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 327 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 328 | add_dependencies(buildtests_c murmur_hash_test) |
| 329 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 330 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 331 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 332 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 333 | if(_gRPC_PLATFORM_LINUX) |
| 334 | add_dependencies(buildtests_c pollset_set_test) |
| 335 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 336 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 337 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 338 | endif() |
| 339 | add_dependencies(buildtests_c resolve_address_test) |
| 340 | add_dependencies(buildtests_c resource_quota_test) |
| 341 | add_dependencies(buildtests_c secure_channel_create_test) |
| 342 | add_dependencies(buildtests_c secure_endpoint_test) |
| 343 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 344 | add_dependencies(buildtests_c server_chttp2_test) |
| 345 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 346 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 347 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 348 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 349 | add_dependencies(buildtests_c slice_test) |
| 350 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 351 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 352 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 353 | add_dependencies(buildtests_c socket_utils_test) |
| 354 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 355 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 356 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 357 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 358 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 359 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 360 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 362 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 363 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 364 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 365 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 366 | add_dependencies(buildtests_c tcp_posix_test) |
| 367 | endif() |
| 368 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 369 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 370 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 371 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 372 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 373 | add_dependencies(buildtests_c timeout_encoding_test) |
| 374 | add_dependencies(buildtests_c timer_heap_test) |
| 375 | add_dependencies(buildtests_c timer_list_test) |
| 376 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 377 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 378 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 379 | add_dependencies(buildtests_c transport_security_test) |
| 380 | endif() |
| 381 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 382 | add_dependencies(buildtests_c udp_server_test) |
| 383 | endif() |
| 384 | add_dependencies(buildtests_c uri_parser_test) |
| 385 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 386 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 387 | endif() |
| 388 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 389 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 390 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 391 | add_dependencies(buildtests_c duplicate_header_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 392 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 393 | add_dependencies(buildtests_c headers_bad_client_test) |
| 394 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 395 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 396 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 397 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 398 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 399 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 400 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 401 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 402 | endif() |
| 403 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 404 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 405 | endif() |
| 406 | add_dependencies(buildtests_c h2_census_test) |
| 407 | add_dependencies(buildtests_c h2_compress_test) |
| 408 | add_dependencies(buildtests_c h2_fakesec_test) |
| 409 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 410 | add_dependencies(buildtests_c h2_fd_test) |
| 411 | endif() |
| 412 | add_dependencies(buildtests_c h2_full_test) |
| 413 | if(_gRPC_PLATFORM_LINUX) |
| 414 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 415 | endif() |
| 416 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 417 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 418 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 419 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 420 | add_dependencies(buildtests_c h2_oauth2_test) |
| 421 | add_dependencies(buildtests_c h2_proxy_test) |
| 422 | add_dependencies(buildtests_c h2_sockpair_test) |
| 423 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 424 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 425 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 426 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 427 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 428 | add_dependencies(buildtests_c h2_uds_test) |
| 429 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 430 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 431 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 432 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 433 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 434 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 435 | endif() |
| 436 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 437 | if(_gRPC_PLATFORM_LINUX) |
| 438 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 439 | endif() |
| 440 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 441 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 442 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 443 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 444 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 445 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 446 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 447 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 448 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 449 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 450 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 451 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 452 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 453 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 454 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 455 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 456 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 457 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 458 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 459 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 460 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 461 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 462 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 463 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 464 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 465 | |
| 466 | add_custom_target(buildtests_cxx) |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 467 | add_dependencies(buildtests_cxx alarm_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 468 | add_dependencies(buildtests_cxx async_end2end_test) |
| 469 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 470 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 471 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 472 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 473 | add_dependencies(buildtests_cxx bm_arena) |
| 474 | endif() |
| 475 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 476 | add_dependencies(buildtests_cxx bm_call_create) |
| 477 | endif() |
| 478 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 479 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 480 | endif() |
| 481 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 482 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 483 | endif() |
| 484 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 485 | add_dependencies(buildtests_cxx bm_closure) |
| 486 | endif() |
| 487 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 488 | add_dependencies(buildtests_cxx bm_cq) |
| 489 | endif() |
| 490 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 491 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 492 | endif() |
| 493 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 494 | add_dependencies(buildtests_cxx bm_error) |
| 495 | endif() |
| 496 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 497 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 498 | endif() |
| 499 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 500 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 501 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 502 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 503 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 504 | endif() |
| 505 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 506 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 507 | endif() |
| 508 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 509 | add_dependencies(buildtests_cxx bm_metadata) |
| 510 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 511 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 512 | add_dependencies(buildtests_cxx bm_pollset) |
| 513 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 514 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 515 | add_dependencies(buildtests_cxx channel_filter_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 516 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 517 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 518 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 520 | add_dependencies(buildtests_cxx client_crash_test) |
| 521 | endif() |
| 522 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 523 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 524 | add_dependencies(buildtests_cxx codegen_test_full) |
| 525 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 526 | add_dependencies(buildtests_cxx credentials_test) |
| 527 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 528 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 529 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 530 | add_dependencies(buildtests_cxx cxx_time_test) |
| 531 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 532 | add_dependencies(buildtests_cxx error_details_test) |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 533 | add_dependencies(buildtests_cxx exception_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 534 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 535 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 536 | add_dependencies(buildtests_cxx golden_file_test) |
| 537 | add_dependencies(buildtests_cxx grpc_cli) |
| 538 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 539 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 540 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 541 | add_dependencies(buildtests_cxx grpclb_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 542 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 543 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 544 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 545 | add_dependencies(buildtests_cxx http2_client) |
| 546 | endif() |
| 547 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 548 | add_dependencies(buildtests_cxx inlined_vector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 549 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 550 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 551 | endif() |
| 552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 553 | add_dependencies(buildtests_cxx interop_client) |
| 554 | endif() |
| 555 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 556 | add_dependencies(buildtests_cxx interop_server) |
| 557 | endif() |
| 558 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 559 | add_dependencies(buildtests_cxx interop_test) |
| 560 | endif() |
| 561 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 562 | add_dependencies(buildtests_cxx json_run_localhost) |
| 563 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 564 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 565 | add_dependencies(buildtests_cxx metrics_client) |
| 566 | add_dependencies(buildtests_cxx mock_test) |
| 567 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 568 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 569 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 570 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 571 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 572 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 573 | endif() |
| 574 | add_dependencies(buildtests_cxx qps_json_driver) |
| 575 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 576 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 577 | endif() |
| 578 | add_dependencies(buildtests_cxx qps_worker) |
| 579 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 580 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 581 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 582 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 583 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 584 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 585 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 586 | endif() |
| 587 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 588 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 589 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 590 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 591 | add_dependencies(buildtests_cxx server_crash_test) |
| 592 | endif() |
| 593 | add_dependencies(buildtests_cxx server_crash_test_client) |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 594 | add_dependencies(buildtests_cxx server_early_return_test) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 595 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 596 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 597 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 598 | add_dependencies(buildtests_cxx status_test) |
| 599 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 600 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 601 | endif() |
| 602 | add_dependencies(buildtests_cxx stress_test) |
| 603 | add_dependencies(buildtests_cxx thread_manager_test) |
| 604 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 605 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 606 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 607 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 608 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 609 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 610 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 611 | endif() |
| 612 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 613 | add_dependencies(buildtests_cxx resolver_component_test) |
| 614 | endif() |
| 615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 616 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 617 | endif() |
| 618 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 619 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 620 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 621 | |
| 622 | add_custom_target(buildtests |
| 623 | DEPENDS buildtests_c buildtests_cxx) |
| 624 | endif (gRPC_BUILD_TESTS) |
| 625 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 626 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 627 | add_library(gpr |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 628 | src/core/lib/gpr/alloc.cc |
| 629 | src/core/lib/gpr/arena.cc |
| 630 | src/core/lib/gpr/atm.cc |
| 631 | src/core/lib/gpr/avl.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 632 | src/core/lib/gpr/cpu_iphone.cc |
| 633 | src/core/lib/gpr/cpu_linux.cc |
| 634 | src/core/lib/gpr/cpu_posix.cc |
| 635 | src/core/lib/gpr/cpu_windows.cc |
| 636 | src/core/lib/gpr/env_linux.cc |
| 637 | src/core/lib/gpr/env_posix.cc |
| 638 | src/core/lib/gpr/env_windows.cc |
| 639 | src/core/lib/gpr/fork.cc |
| 640 | src/core/lib/gpr/host_port.cc |
| 641 | src/core/lib/gpr/log.cc |
| 642 | src/core/lib/gpr/log_android.cc |
| 643 | src/core/lib/gpr/log_linux.cc |
| 644 | src/core/lib/gpr/log_posix.cc |
| 645 | src/core/lib/gpr/log_windows.cc |
| 646 | src/core/lib/gpr/mpscq.cc |
| 647 | src/core/lib/gpr/murmur_hash.cc |
| 648 | src/core/lib/gpr/string.cc |
| 649 | src/core/lib/gpr/string_posix.cc |
| 650 | src/core/lib/gpr/string_util_windows.cc |
| 651 | src/core/lib/gpr/string_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 652 | src/core/lib/gpr/sync.cc |
| 653 | src/core/lib/gpr/sync_posix.cc |
| 654 | src/core/lib/gpr/sync_windows.cc |
| 655 | src/core/lib/gpr/thd.cc |
| 656 | src/core/lib/gpr/thd_posix.cc |
| 657 | src/core/lib/gpr/thd_windows.cc |
| 658 | src/core/lib/gpr/time.cc |
| 659 | src/core/lib/gpr/time_posix.cc |
| 660 | src/core/lib/gpr/time_precise.cc |
| 661 | src/core/lib/gpr/time_windows.cc |
| 662 | src/core/lib/gpr/tls_pthread.cc |
| 663 | src/core/lib/gpr/tmpfile_msys.cc |
| 664 | src/core/lib/gpr/tmpfile_posix.cc |
| 665 | src/core/lib/gpr/tmpfile_windows.cc |
| 666 | src/core/lib/gpr/wrap_memcpy.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 667 | src/core/lib/profiling/basic_timers.cc |
| 668 | src/core/lib/profiling/stap_timers.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 669 | ) |
| 670 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 671 | if(WIN32 AND MSVC) |
| 672 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 673 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 674 | ) |
| 675 | if (gRPC_INSTALL) |
| 676 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 677 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 678 | ) |
| 679 | endif() |
| 680 | endif() |
| 681 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 682 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 683 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 684 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 686 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 687 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 688 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 689 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 690 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 691 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 692 | ) |
| 693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 694 | target_link_libraries(gpr |
| 695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 696 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 697 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 698 | foreach(_hdr |
| 699 | include/grpc/support/alloc.h |
| 700 | include/grpc/support/atm.h |
| 701 | include/grpc/support/atm_gcc_atomic.h |
| 702 | include/grpc/support/atm_gcc_sync.h |
| 703 | include/grpc/support/atm_windows.h |
| 704 | include/grpc/support/avl.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 705 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 706 | include/grpc/support/log.h |
| 707 | include/grpc/support/log_windows.h |
| 708 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 709 | include/grpc/support/string_util.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 710 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 711 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 712 | include/grpc/support/sync_generic.h |
| 713 | include/grpc/support/sync_posix.h |
| 714 | include/grpc/support/sync_windows.h |
| 715 | include/grpc/support/thd.h |
| 716 | include/grpc/support/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 717 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 718 | include/grpc/impl/codegen/atm.h |
| 719 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 720 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 721 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 722 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 723 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 724 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 725 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 726 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 727 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 728 | include/grpc/impl/codegen/sync_generic.h |
| 729 | include/grpc/impl/codegen/sync_posix.h |
| 730 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 731 | ) |
| 732 | string(REPLACE "include/" "" _path ${_hdr}) |
| 733 | get_filename_component(_path ${_path} PATH) |
| 734 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 735 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 736 | ) |
| 737 | endforeach() |
| 738 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 739 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 740 | if (gRPC_INSTALL) |
| 741 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 742 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 743 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 744 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 745 | ) |
| 746 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 748 | if (gRPC_BUILD_TESTS) |
| 749 | |
| 750 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 751 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 752 | ) |
| 753 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 754 | if(WIN32 AND MSVC) |
| 755 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 756 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 757 | ) |
| 758 | if (gRPC_INSTALL) |
| 759 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 760 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 761 | ) |
| 762 | endif() |
| 763 | endif() |
| 764 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 765 | |
| 766 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 767 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 769 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 770 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 771 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 772 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 773 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 774 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 775 | ) |
| 776 | |
| 777 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 779 | gpr |
| 780 | ) |
| 781 | |
| 782 | |
| 783 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 784 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 785 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 786 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 787 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 788 | src/core/lib/channel/channel_args.cc |
| 789 | src/core/lib/channel/channel_stack.cc |
| 790 | src/core/lib/channel/channel_stack_builder.cc |
| 791 | src/core/lib/channel/connected_channel.cc |
| 792 | src/core/lib/channel/handshaker.cc |
| 793 | src/core/lib/channel/handshaker_factory.cc |
| 794 | src/core/lib/channel/handshaker_registry.cc |
| 795 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 796 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 797 | src/core/lib/compression/message_compress.cc |
| 798 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 799 | src/core/lib/compression/stream_compression_gzip.cc |
| 800 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 801 | src/core/lib/debug/stats.cc |
| 802 | src/core/lib/debug/stats_data.cc |
| 803 | src/core/lib/http/format_request.cc |
| 804 | src/core/lib/http/httpcli.cc |
| 805 | src/core/lib/http/parser.cc |
| 806 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 807 | src/core/lib/iomgr/combiner.cc |
| 808 | src/core/lib/iomgr/endpoint.cc |
| 809 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 810 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 811 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 812 | src/core/lib/iomgr/error.cc |
| 813 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 814 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 815 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 816 | src/core/lib/iomgr/ev_poll_posix.cc |
| 817 | src/core/lib/iomgr/ev_posix.cc |
| 818 | src/core/lib/iomgr/ev_windows.cc |
| 819 | src/core/lib/iomgr/exec_ctx.cc |
| 820 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 821 | src/core/lib/iomgr/fork_posix.cc |
| 822 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 823 | src/core/lib/iomgr/gethostname_fallback.cc |
| 824 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 825 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 826 | src/core/lib/iomgr/iocp_windows.cc |
| 827 | src/core/lib/iomgr/iomgr.cc |
| 828 | src/core/lib/iomgr/iomgr_posix.cc |
| 829 | src/core/lib/iomgr/iomgr_uv.cc |
| 830 | src/core/lib/iomgr/iomgr_windows.cc |
| 831 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 832 | src/core/lib/iomgr/load_file.cc |
| 833 | src/core/lib/iomgr/lockfree_event.cc |
| 834 | src/core/lib/iomgr/network_status_tracker.cc |
| 835 | src/core/lib/iomgr/polling_entity.cc |
| 836 | src/core/lib/iomgr/pollset_set_uv.cc |
| 837 | src/core/lib/iomgr/pollset_set_windows.cc |
| 838 | src/core/lib/iomgr/pollset_uv.cc |
| 839 | src/core/lib/iomgr/pollset_windows.cc |
| 840 | src/core/lib/iomgr/resolve_address_posix.cc |
| 841 | src/core/lib/iomgr/resolve_address_uv.cc |
| 842 | src/core/lib/iomgr/resolve_address_windows.cc |
| 843 | src/core/lib/iomgr/resource_quota.cc |
| 844 | src/core/lib/iomgr/sockaddr_utils.cc |
| 845 | src/core/lib/iomgr/socket_factory_posix.cc |
| 846 | src/core/lib/iomgr/socket_mutator.cc |
| 847 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 848 | src/core/lib/iomgr/socket_utils_linux.cc |
| 849 | src/core/lib/iomgr/socket_utils_posix.cc |
| 850 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 851 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 852 | src/core/lib/iomgr/socket_windows.cc |
| 853 | src/core/lib/iomgr/tcp_client_posix.cc |
| 854 | src/core/lib/iomgr/tcp_client_uv.cc |
| 855 | src/core/lib/iomgr/tcp_client_windows.cc |
| 856 | src/core/lib/iomgr/tcp_posix.cc |
| 857 | src/core/lib/iomgr/tcp_server_posix.cc |
| 858 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 859 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 860 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 861 | src/core/lib/iomgr/tcp_server_uv.cc |
| 862 | src/core/lib/iomgr/tcp_server_windows.cc |
| 863 | src/core/lib/iomgr/tcp_uv.cc |
| 864 | src/core/lib/iomgr/tcp_windows.cc |
| 865 | src/core/lib/iomgr/time_averaged_stats.cc |
| 866 | src/core/lib/iomgr/timer_generic.cc |
| 867 | src/core/lib/iomgr/timer_heap.cc |
| 868 | src/core/lib/iomgr/timer_manager.cc |
| 869 | src/core/lib/iomgr/timer_uv.cc |
| 870 | src/core/lib/iomgr/udp_server.cc |
| 871 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 872 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 873 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 874 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 875 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 876 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 877 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 878 | src/core/lib/json/json.cc |
| 879 | src/core/lib/json/json_reader.cc |
| 880 | src/core/lib/json/json_string.cc |
| 881 | src/core/lib/json/json_writer.cc |
| 882 | src/core/lib/slice/b64.cc |
| 883 | src/core/lib/slice/percent_encoding.cc |
| 884 | src/core/lib/slice/slice.cc |
| 885 | src/core/lib/slice/slice_buffer.cc |
| 886 | src/core/lib/slice/slice_hash_table.cc |
| 887 | src/core/lib/slice/slice_intern.cc |
| 888 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 889 | src/core/lib/surface/api_trace.cc |
| 890 | src/core/lib/surface/byte_buffer.cc |
| 891 | src/core/lib/surface/byte_buffer_reader.cc |
| 892 | src/core/lib/surface/call.cc |
| 893 | src/core/lib/surface/call_details.cc |
| 894 | src/core/lib/surface/call_log_batch.cc |
| 895 | src/core/lib/surface/channel.cc |
| 896 | src/core/lib/surface/channel_init.cc |
| 897 | src/core/lib/surface/channel_ping.cc |
| 898 | src/core/lib/surface/channel_stack_type.cc |
| 899 | src/core/lib/surface/completion_queue.cc |
| 900 | src/core/lib/surface/completion_queue_factory.cc |
| 901 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 902 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 903 | src/core/lib/surface/metadata_array.cc |
| 904 | src/core/lib/surface/server.cc |
| 905 | src/core/lib/surface/validate_metadata.cc |
| 906 | src/core/lib/surface/version.cc |
| 907 | src/core/lib/transport/bdp_estimator.cc |
| 908 | src/core/lib/transport/byte_stream.cc |
| 909 | src/core/lib/transport/connectivity_state.cc |
| 910 | src/core/lib/transport/error_utils.cc |
| 911 | src/core/lib/transport/metadata.cc |
| 912 | src/core/lib/transport/metadata_batch.cc |
| 913 | src/core/lib/transport/pid_controller.cc |
| 914 | src/core/lib/transport/service_config.cc |
| 915 | src/core/lib/transport/static_metadata.cc |
| 916 | src/core/lib/transport/status_conversion.cc |
| 917 | src/core/lib/transport/timeout_encoding.cc |
| 918 | src/core/lib/transport/transport.cc |
| 919 | src/core/lib/transport/transport_op_string.cc |
| 920 | src/core/lib/debug/trace.cc |
| 921 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 922 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 923 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 924 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 925 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 926 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 927 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 928 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 929 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 930 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 931 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 932 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 933 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 934 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 935 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 936 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 937 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 938 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 939 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 940 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 941 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 942 | src/core/ext/transport/chttp2/transport/varint.cc |
| 943 | src/core/ext/transport/chttp2/transport/writing.cc |
| 944 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 945 | src/core/ext/filters/http/client/http_client_filter.cc |
| 946 | src/core/ext/filters/http/http_filters_plugin.cc |
| 947 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 948 | src/core/ext/filters/http/server/http_server_filter.cc |
| 949 | src/core/lib/http/httpcli_security_connector.cc |
| 950 | src/core/lib/security/context/security_context.cc |
| 951 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 952 | src/core/lib/security/credentials/credentials.cc |
| 953 | src/core/lib/security/credentials/credentials_metadata.cc |
| 954 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 955 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 956 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 957 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 958 | src/core/lib/security/credentials/jwt/json_token.cc |
| 959 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 960 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 961 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 962 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 963 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 964 | src/core/lib/security/transport/client_auth_filter.cc |
| 965 | src/core/lib/security/transport/lb_targets_info.cc |
| 966 | src/core/lib/security/transport/secure_endpoint.cc |
| 967 | src/core/lib/security/transport/security_connector.cc |
| 968 | src/core/lib/security/transport/security_handshaker.cc |
| 969 | src/core/lib/security/transport/server_auth_filter.cc |
| 970 | src/core/lib/security/transport/tsi_error.cc |
| 971 | src/core/lib/security/util/json_util.cc |
| 972 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 973 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 974 | src/core/tsi/fake_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 975 | src/core/tsi/ssl_transport_security.cc |
| 976 | src/core/tsi/transport_security_grpc.cc |
| 977 | src/core/tsi/transport_security.cc |
| 978 | src/core/tsi/transport_security_adapter.cc |
| 979 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 980 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 981 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 982 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 983 | src/core/ext/filters/client_channel/client_channel.cc |
| 984 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 985 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 986 | src/core/ext/filters/client_channel/connector.cc |
| 987 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 988 | src/core/ext/filters/client_channel/http_proxy.cc |
| 989 | src/core/ext/filters/client_channel/lb_policy.cc |
| 990 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 991 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 992 | src/core/ext/filters/client_channel/parse_address.cc |
| 993 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 994 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 995 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 996 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 997 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 998 | src/core/ext/filters/client_channel/subchannel.cc |
| 999 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1000 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1001 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1002 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1003 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1004 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1005 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1006 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1007 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1008 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1009 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1010 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1011 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1012 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1013 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1014 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1015 | third_party/nanopb/pb_common.c |
| 1016 | third_party/nanopb/pb_decode.c |
| 1017 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1018 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1019 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
Mark D. Roth | 5e9848e | 2017-10-06 13:59:32 -0700 | [diff] [blame] | 1020 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1021 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1022 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1023 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1024 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1025 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1026 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1027 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1028 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1029 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1030 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1031 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1032 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1033 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1034 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1035 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1036 | ) |
| 1037 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1038 | if(WIN32 AND MSVC) |
| 1039 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1040 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1041 | ) |
| 1042 | if (gRPC_INSTALL) |
| 1043 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1044 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1045 | ) |
| 1046 | endif() |
| 1047 | endif() |
| 1048 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1049 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1050 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1051 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1053 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1054 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1055 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1056 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1057 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1058 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1059 | ) |
| 1060 | |
| 1061 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1062 | ${_gRPC_BASELIB_LIBRARIES} |
| 1063 | ${_gRPC_SSL_LIBRARIES} |
| 1064 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1065 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1067 | gpr |
| 1068 | ) |
| 1069 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1070 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1071 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1072 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1073 | include/grpc/impl/codegen/compression_types.h |
| 1074 | include/grpc/impl/codegen/connectivity_state.h |
| 1075 | include/grpc/impl/codegen/grpc_types.h |
| 1076 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1077 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1078 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1079 | include/grpc/impl/codegen/atm.h |
| 1080 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1081 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1082 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1083 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1084 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1085 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1086 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1087 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1088 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1089 | include/grpc/impl/codegen/sync_generic.h |
| 1090 | include/grpc/impl/codegen/sync_posix.h |
| 1091 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1092 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1093 | include/grpc/byte_buffer.h |
| 1094 | include/grpc/byte_buffer_reader.h |
| 1095 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1096 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1097 | include/grpc/grpc.h |
| 1098 | include/grpc/grpc_posix.h |
| 1099 | include/grpc/grpc_security_constants.h |
| 1100 | include/grpc/load_reporting.h |
| 1101 | include/grpc/slice.h |
| 1102 | include/grpc/slice_buffer.h |
| 1103 | include/grpc/status.h |
| 1104 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1105 | include/grpc/census.h |
| 1106 | ) |
| 1107 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1108 | get_filename_component(_path ${_path} PATH) |
| 1109 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1110 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1111 | ) |
| 1112 | endforeach() |
| 1113 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1114 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1115 | if (gRPC_INSTALL) |
| 1116 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1117 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1118 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1119 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1120 | ) |
| 1121 | endif() |
| 1122 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1123 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1124 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1125 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1126 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1127 | src/core/lib/channel/channel_args.cc |
| 1128 | src/core/lib/channel/channel_stack.cc |
| 1129 | src/core/lib/channel/channel_stack_builder.cc |
| 1130 | src/core/lib/channel/connected_channel.cc |
| 1131 | src/core/lib/channel/handshaker.cc |
| 1132 | src/core/lib/channel/handshaker_factory.cc |
| 1133 | src/core/lib/channel/handshaker_registry.cc |
| 1134 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1135 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1136 | src/core/lib/compression/message_compress.cc |
| 1137 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1138 | src/core/lib/compression/stream_compression_gzip.cc |
| 1139 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1140 | src/core/lib/debug/stats.cc |
| 1141 | src/core/lib/debug/stats_data.cc |
| 1142 | src/core/lib/http/format_request.cc |
| 1143 | src/core/lib/http/httpcli.cc |
| 1144 | src/core/lib/http/parser.cc |
| 1145 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1146 | src/core/lib/iomgr/combiner.cc |
| 1147 | src/core/lib/iomgr/endpoint.cc |
| 1148 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1149 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1150 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1151 | src/core/lib/iomgr/error.cc |
| 1152 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1153 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1154 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1155 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1156 | src/core/lib/iomgr/ev_posix.cc |
| 1157 | src/core/lib/iomgr/ev_windows.cc |
| 1158 | src/core/lib/iomgr/exec_ctx.cc |
| 1159 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1160 | src/core/lib/iomgr/fork_posix.cc |
| 1161 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1162 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1163 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1164 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1165 | src/core/lib/iomgr/iocp_windows.cc |
| 1166 | src/core/lib/iomgr/iomgr.cc |
| 1167 | src/core/lib/iomgr/iomgr_posix.cc |
| 1168 | src/core/lib/iomgr/iomgr_uv.cc |
| 1169 | src/core/lib/iomgr/iomgr_windows.cc |
| 1170 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1171 | src/core/lib/iomgr/load_file.cc |
| 1172 | src/core/lib/iomgr/lockfree_event.cc |
| 1173 | src/core/lib/iomgr/network_status_tracker.cc |
| 1174 | src/core/lib/iomgr/polling_entity.cc |
| 1175 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1176 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1177 | src/core/lib/iomgr/pollset_uv.cc |
| 1178 | src/core/lib/iomgr/pollset_windows.cc |
| 1179 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1180 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1181 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1182 | src/core/lib/iomgr/resource_quota.cc |
| 1183 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1184 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1185 | src/core/lib/iomgr/socket_mutator.cc |
| 1186 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1187 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1188 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1189 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1190 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1191 | src/core/lib/iomgr/socket_windows.cc |
| 1192 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1193 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1194 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1195 | src/core/lib/iomgr/tcp_posix.cc |
| 1196 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1197 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1198 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1199 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1200 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1201 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1202 | src/core/lib/iomgr/tcp_uv.cc |
| 1203 | src/core/lib/iomgr/tcp_windows.cc |
| 1204 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1205 | src/core/lib/iomgr/timer_generic.cc |
| 1206 | src/core/lib/iomgr/timer_heap.cc |
| 1207 | src/core/lib/iomgr/timer_manager.cc |
| 1208 | src/core/lib/iomgr/timer_uv.cc |
| 1209 | src/core/lib/iomgr/udp_server.cc |
| 1210 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1211 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1212 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1213 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1214 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1215 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1216 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1217 | src/core/lib/json/json.cc |
| 1218 | src/core/lib/json/json_reader.cc |
| 1219 | src/core/lib/json/json_string.cc |
| 1220 | src/core/lib/json/json_writer.cc |
| 1221 | src/core/lib/slice/b64.cc |
| 1222 | src/core/lib/slice/percent_encoding.cc |
| 1223 | src/core/lib/slice/slice.cc |
| 1224 | src/core/lib/slice/slice_buffer.cc |
| 1225 | src/core/lib/slice/slice_hash_table.cc |
| 1226 | src/core/lib/slice/slice_intern.cc |
| 1227 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1228 | src/core/lib/surface/api_trace.cc |
| 1229 | src/core/lib/surface/byte_buffer.cc |
| 1230 | src/core/lib/surface/byte_buffer_reader.cc |
| 1231 | src/core/lib/surface/call.cc |
| 1232 | src/core/lib/surface/call_details.cc |
| 1233 | src/core/lib/surface/call_log_batch.cc |
| 1234 | src/core/lib/surface/channel.cc |
| 1235 | src/core/lib/surface/channel_init.cc |
| 1236 | src/core/lib/surface/channel_ping.cc |
| 1237 | src/core/lib/surface/channel_stack_type.cc |
| 1238 | src/core/lib/surface/completion_queue.cc |
| 1239 | src/core/lib/surface/completion_queue_factory.cc |
| 1240 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1241 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1242 | src/core/lib/surface/metadata_array.cc |
| 1243 | src/core/lib/surface/server.cc |
| 1244 | src/core/lib/surface/validate_metadata.cc |
| 1245 | src/core/lib/surface/version.cc |
| 1246 | src/core/lib/transport/bdp_estimator.cc |
| 1247 | src/core/lib/transport/byte_stream.cc |
| 1248 | src/core/lib/transport/connectivity_state.cc |
| 1249 | src/core/lib/transport/error_utils.cc |
| 1250 | src/core/lib/transport/metadata.cc |
| 1251 | src/core/lib/transport/metadata_batch.cc |
| 1252 | src/core/lib/transport/pid_controller.cc |
| 1253 | src/core/lib/transport/service_config.cc |
| 1254 | src/core/lib/transport/static_metadata.cc |
| 1255 | src/core/lib/transport/status_conversion.cc |
| 1256 | src/core/lib/transport/timeout_encoding.cc |
| 1257 | src/core/lib/transport/transport.cc |
| 1258 | src/core/lib/transport/transport_op_string.cc |
| 1259 | src/core/lib/debug/trace.cc |
| 1260 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1261 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1262 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1263 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1264 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1265 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1266 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1267 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1268 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1269 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1270 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1271 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1272 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1273 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1274 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1275 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1276 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1277 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1278 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1279 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1280 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1281 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1282 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1283 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1284 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1285 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1286 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1287 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1288 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1289 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1290 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1291 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1292 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1293 | src/core/ext/filters/client_channel/client_channel.cc |
| 1294 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1295 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1296 | src/core/ext/filters/client_channel/connector.cc |
| 1297 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1298 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1299 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1300 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1301 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1302 | src/core/ext/filters/client_channel/parse_address.cc |
| 1303 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1304 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1305 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1306 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1307 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1308 | src/core/ext/filters/client_channel/subchannel.cc |
| 1309 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1310 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1311 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1312 | src/core/lib/http/httpcli_security_connector.cc |
| 1313 | src/core/lib/security/context/security_context.cc |
| 1314 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1315 | src/core/lib/security/credentials/credentials.cc |
| 1316 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1317 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1318 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1319 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1320 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1321 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1322 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1323 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1324 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1325 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1326 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1327 | src/core/lib/security/transport/client_auth_filter.cc |
| 1328 | src/core/lib/security/transport/lb_targets_info.cc |
| 1329 | src/core/lib/security/transport/secure_endpoint.cc |
| 1330 | src/core/lib/security/transport/security_connector.cc |
| 1331 | src/core/lib/security/transport/security_handshaker.cc |
| 1332 | src/core/lib/security/transport/server_auth_filter.cc |
| 1333 | src/core/lib/security/transport/tsi_error.cc |
| 1334 | src/core/lib/security/util/json_util.cc |
| 1335 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 1336 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1337 | src/core/tsi/fake_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1338 | src/core/tsi/ssl_transport_security.cc |
| 1339 | src/core/tsi/transport_security_grpc.cc |
| 1340 | src/core/tsi/transport_security.cc |
| 1341 | src/core/tsi/transport_security_adapter.cc |
| 1342 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1343 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1344 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1345 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1346 | ) |
| 1347 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1348 | if(WIN32 AND MSVC) |
| 1349 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1350 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1351 | ) |
| 1352 | if (gRPC_INSTALL) |
| 1353 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1354 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1355 | ) |
| 1356 | endif() |
| 1357 | endif() |
| 1358 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1359 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1360 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1361 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1363 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1364 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1365 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1366 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1367 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1368 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1369 | ) |
| 1370 | |
| 1371 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1372 | ${_gRPC_BASELIB_LIBRARIES} |
| 1373 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1374 | ${_gRPC_ZLIB_LIBRARIES} |
| 1375 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1376 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1377 | gpr |
| 1378 | ) |
| 1379 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1380 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1381 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1382 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1383 | include/grpc/impl/codegen/compression_types.h |
| 1384 | include/grpc/impl/codegen/connectivity_state.h |
| 1385 | include/grpc/impl/codegen/grpc_types.h |
| 1386 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1387 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1388 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1389 | include/grpc/impl/codegen/atm.h |
| 1390 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1391 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1392 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1393 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1394 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1395 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1396 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1397 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1398 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1399 | include/grpc/impl/codegen/sync_generic.h |
| 1400 | include/grpc/impl/codegen/sync_posix.h |
| 1401 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1402 | include/grpc/grpc_cronet.h |
| 1403 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1404 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1405 | ) |
| 1406 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1407 | get_filename_component(_path ${_path} PATH) |
| 1408 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1409 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1410 | ) |
| 1411 | endforeach() |
| 1412 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1413 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1414 | if (gRPC_INSTALL) |
| 1415 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1416 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1417 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1418 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1419 | ) |
| 1420 | endif() |
| 1421 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1422 | if (gRPC_BUILD_TESTS) |
| 1423 | |
| 1424 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1425 | test/core/end2end/data/client_certs.cc |
| 1426 | test/core/end2end/data/server1_cert.cc |
| 1427 | test/core/end2end/data/server1_key.cc |
| 1428 | test/core/end2end/data/test_root_cert.cc |
| 1429 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1430 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1431 | test/core/end2end/cq_verifier.cc |
| 1432 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1433 | test/core/end2end/fixtures/proxy.cc |
| 1434 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1435 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1436 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1437 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1438 | test/core/util/memory_counters.cc |
| 1439 | test/core/util/mock_endpoint.cc |
| 1440 | test/core/util/parse_hexstring.cc |
| 1441 | test/core/util/passthru_endpoint.cc |
| 1442 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1443 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1444 | test/core/util/port_server_client.cc |
| 1445 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 1446 | test/core/util/subprocess_posix.cc |
| 1447 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1448 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1449 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1450 | test/core/util/cmdline.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1451 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1452 | src/core/lib/channel/channel_args.cc |
| 1453 | src/core/lib/channel/channel_stack.cc |
| 1454 | src/core/lib/channel/channel_stack_builder.cc |
| 1455 | src/core/lib/channel/connected_channel.cc |
| 1456 | src/core/lib/channel/handshaker.cc |
| 1457 | src/core/lib/channel/handshaker_factory.cc |
| 1458 | src/core/lib/channel/handshaker_registry.cc |
| 1459 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1460 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1461 | src/core/lib/compression/message_compress.cc |
| 1462 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1463 | src/core/lib/compression/stream_compression_gzip.cc |
| 1464 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1465 | src/core/lib/debug/stats.cc |
| 1466 | src/core/lib/debug/stats_data.cc |
| 1467 | src/core/lib/http/format_request.cc |
| 1468 | src/core/lib/http/httpcli.cc |
| 1469 | src/core/lib/http/parser.cc |
| 1470 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1471 | src/core/lib/iomgr/combiner.cc |
| 1472 | src/core/lib/iomgr/endpoint.cc |
| 1473 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1474 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1475 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1476 | src/core/lib/iomgr/error.cc |
| 1477 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1478 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1479 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1480 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1481 | src/core/lib/iomgr/ev_posix.cc |
| 1482 | src/core/lib/iomgr/ev_windows.cc |
| 1483 | src/core/lib/iomgr/exec_ctx.cc |
| 1484 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1485 | src/core/lib/iomgr/fork_posix.cc |
| 1486 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1487 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1488 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1489 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1490 | src/core/lib/iomgr/iocp_windows.cc |
| 1491 | src/core/lib/iomgr/iomgr.cc |
| 1492 | src/core/lib/iomgr/iomgr_posix.cc |
| 1493 | src/core/lib/iomgr/iomgr_uv.cc |
| 1494 | src/core/lib/iomgr/iomgr_windows.cc |
| 1495 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1496 | src/core/lib/iomgr/load_file.cc |
| 1497 | src/core/lib/iomgr/lockfree_event.cc |
| 1498 | src/core/lib/iomgr/network_status_tracker.cc |
| 1499 | src/core/lib/iomgr/polling_entity.cc |
| 1500 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1501 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1502 | src/core/lib/iomgr/pollset_uv.cc |
| 1503 | src/core/lib/iomgr/pollset_windows.cc |
| 1504 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1505 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1506 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1507 | src/core/lib/iomgr/resource_quota.cc |
| 1508 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1509 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1510 | src/core/lib/iomgr/socket_mutator.cc |
| 1511 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1512 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1513 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1514 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1515 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1516 | src/core/lib/iomgr/socket_windows.cc |
| 1517 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1518 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1519 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1520 | src/core/lib/iomgr/tcp_posix.cc |
| 1521 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1522 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1523 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1524 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1525 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1526 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1527 | src/core/lib/iomgr/tcp_uv.cc |
| 1528 | src/core/lib/iomgr/tcp_windows.cc |
| 1529 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1530 | src/core/lib/iomgr/timer_generic.cc |
| 1531 | src/core/lib/iomgr/timer_heap.cc |
| 1532 | src/core/lib/iomgr/timer_manager.cc |
| 1533 | src/core/lib/iomgr/timer_uv.cc |
| 1534 | src/core/lib/iomgr/udp_server.cc |
| 1535 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1536 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1537 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1538 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1539 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1540 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1541 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1542 | src/core/lib/json/json.cc |
| 1543 | src/core/lib/json/json_reader.cc |
| 1544 | src/core/lib/json/json_string.cc |
| 1545 | src/core/lib/json/json_writer.cc |
| 1546 | src/core/lib/slice/b64.cc |
| 1547 | src/core/lib/slice/percent_encoding.cc |
| 1548 | src/core/lib/slice/slice.cc |
| 1549 | src/core/lib/slice/slice_buffer.cc |
| 1550 | src/core/lib/slice/slice_hash_table.cc |
| 1551 | src/core/lib/slice/slice_intern.cc |
| 1552 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1553 | src/core/lib/surface/api_trace.cc |
| 1554 | src/core/lib/surface/byte_buffer.cc |
| 1555 | src/core/lib/surface/byte_buffer_reader.cc |
| 1556 | src/core/lib/surface/call.cc |
| 1557 | src/core/lib/surface/call_details.cc |
| 1558 | src/core/lib/surface/call_log_batch.cc |
| 1559 | src/core/lib/surface/channel.cc |
| 1560 | src/core/lib/surface/channel_init.cc |
| 1561 | src/core/lib/surface/channel_ping.cc |
| 1562 | src/core/lib/surface/channel_stack_type.cc |
| 1563 | src/core/lib/surface/completion_queue.cc |
| 1564 | src/core/lib/surface/completion_queue_factory.cc |
| 1565 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1566 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1567 | src/core/lib/surface/metadata_array.cc |
| 1568 | src/core/lib/surface/server.cc |
| 1569 | src/core/lib/surface/validate_metadata.cc |
| 1570 | src/core/lib/surface/version.cc |
| 1571 | src/core/lib/transport/bdp_estimator.cc |
| 1572 | src/core/lib/transport/byte_stream.cc |
| 1573 | src/core/lib/transport/connectivity_state.cc |
| 1574 | src/core/lib/transport/error_utils.cc |
| 1575 | src/core/lib/transport/metadata.cc |
| 1576 | src/core/lib/transport/metadata_batch.cc |
| 1577 | src/core/lib/transport/pid_controller.cc |
| 1578 | src/core/lib/transport/service_config.cc |
| 1579 | src/core/lib/transport/static_metadata.cc |
| 1580 | src/core/lib/transport/status_conversion.cc |
| 1581 | src/core/lib/transport/timeout_encoding.cc |
| 1582 | src/core/lib/transport/transport.cc |
| 1583 | src/core/lib/transport/transport_op_string.cc |
| 1584 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1585 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1586 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1587 | src/core/ext/filters/client_channel/client_channel.cc |
| 1588 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1589 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1590 | src/core/ext/filters/client_channel/connector.cc |
| 1591 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1592 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1593 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1594 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1595 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1596 | src/core/ext/filters/client_channel/parse_address.cc |
| 1597 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1598 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1599 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1600 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1601 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1602 | src/core/ext/filters/client_channel/subchannel.cc |
| 1603 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1604 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1605 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1606 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1607 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1608 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1609 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1610 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1611 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1612 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1613 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1614 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1615 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1616 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1617 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1618 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1619 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1620 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1621 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1622 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1623 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1624 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1625 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1626 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1627 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1628 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1629 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1630 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1631 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1632 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1633 | ) |
| 1634 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1635 | if(WIN32 AND MSVC) |
| 1636 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1637 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1638 | ) |
| 1639 | if (gRPC_INSTALL) |
| 1640 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1641 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1642 | ) |
| 1643 | endif() |
| 1644 | endif() |
| 1645 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1646 | |
| 1647 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1648 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1650 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1651 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1652 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1653 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1654 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1655 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1656 | ) |
| 1657 | |
| 1658 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1659 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1660 | gpr_test_util |
| 1661 | gpr |
| 1662 | grpc |
| 1663 | ) |
| 1664 | |
| 1665 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1666 | include/grpc/support/alloc.h |
| 1667 | include/grpc/support/atm.h |
| 1668 | include/grpc/support/atm_gcc_atomic.h |
| 1669 | include/grpc/support/atm_gcc_sync.h |
| 1670 | include/grpc/support/atm_windows.h |
| 1671 | include/grpc/support/avl.h |
| 1672 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1673 | include/grpc/support/log.h |
| 1674 | include/grpc/support/log_windows.h |
| 1675 | include/grpc/support/port_platform.h |
| 1676 | include/grpc/support/string_util.h |
| 1677 | include/grpc/support/sync.h |
| 1678 | include/grpc/support/sync_custom.h |
| 1679 | include/grpc/support/sync_generic.h |
| 1680 | include/grpc/support/sync_posix.h |
| 1681 | include/grpc/support/sync_windows.h |
| 1682 | include/grpc/support/thd.h |
| 1683 | include/grpc/support/time.h |
| 1684 | include/grpc/support/tls.h |
| 1685 | include/grpc/support/tls_gcc.h |
| 1686 | include/grpc/support/tls_msvc.h |
| 1687 | include/grpc/support/tls_pthread.h |
| 1688 | include/grpc/support/useful.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1689 | include/grpc/impl/codegen/atm.h |
| 1690 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1691 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1692 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1693 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1694 | include/grpc/impl/codegen/gpr_slice.h |
| 1695 | include/grpc/impl/codegen/gpr_types.h |
| 1696 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1697 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1698 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1699 | include/grpc/impl/codegen/sync_generic.h |
| 1700 | include/grpc/impl/codegen/sync_posix.h |
| 1701 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1702 | include/grpc/impl/codegen/byte_buffer.h |
| 1703 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1704 | include/grpc/impl/codegen/compression_types.h |
| 1705 | include/grpc/impl/codegen/connectivity_state.h |
| 1706 | include/grpc/impl/codegen/grpc_types.h |
| 1707 | include/grpc/impl/codegen/propagation_bits.h |
| 1708 | include/grpc/impl/codegen/slice.h |
| 1709 | include/grpc/impl/codegen/status.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1710 | ) |
| 1711 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1712 | get_filename_component(_path ${_path} PATH) |
| 1713 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1714 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1715 | ) |
| 1716 | endforeach() |
| 1717 | |
| 1718 | endif (gRPC_BUILD_TESTS) |
| 1719 | if (gRPC_BUILD_TESTS) |
| 1720 | |
| 1721 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1722 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1723 | test/core/end2end/cq_verifier.cc |
| 1724 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1725 | test/core/end2end/fixtures/proxy.cc |
| 1726 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1727 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1728 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1729 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1730 | test/core/util/memory_counters.cc |
| 1731 | test/core/util/mock_endpoint.cc |
| 1732 | test/core/util/parse_hexstring.cc |
| 1733 | test/core/util/passthru_endpoint.cc |
| 1734 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1735 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1736 | test/core/util/port_server_client.cc |
| 1737 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 1738 | test/core/util/subprocess_posix.cc |
| 1739 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1740 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1741 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1742 | test/core/util/cmdline.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1743 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1744 | src/core/lib/channel/channel_args.cc |
| 1745 | src/core/lib/channel/channel_stack.cc |
| 1746 | src/core/lib/channel/channel_stack_builder.cc |
| 1747 | src/core/lib/channel/connected_channel.cc |
| 1748 | src/core/lib/channel/handshaker.cc |
| 1749 | src/core/lib/channel/handshaker_factory.cc |
| 1750 | src/core/lib/channel/handshaker_registry.cc |
| 1751 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1752 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1753 | src/core/lib/compression/message_compress.cc |
| 1754 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1755 | src/core/lib/compression/stream_compression_gzip.cc |
| 1756 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1757 | src/core/lib/debug/stats.cc |
| 1758 | src/core/lib/debug/stats_data.cc |
| 1759 | src/core/lib/http/format_request.cc |
| 1760 | src/core/lib/http/httpcli.cc |
| 1761 | src/core/lib/http/parser.cc |
| 1762 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1763 | src/core/lib/iomgr/combiner.cc |
| 1764 | src/core/lib/iomgr/endpoint.cc |
| 1765 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1766 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1767 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1768 | src/core/lib/iomgr/error.cc |
| 1769 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1770 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1771 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1772 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1773 | src/core/lib/iomgr/ev_posix.cc |
| 1774 | src/core/lib/iomgr/ev_windows.cc |
| 1775 | src/core/lib/iomgr/exec_ctx.cc |
| 1776 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1777 | src/core/lib/iomgr/fork_posix.cc |
| 1778 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1779 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1780 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1781 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1782 | src/core/lib/iomgr/iocp_windows.cc |
| 1783 | src/core/lib/iomgr/iomgr.cc |
| 1784 | src/core/lib/iomgr/iomgr_posix.cc |
| 1785 | src/core/lib/iomgr/iomgr_uv.cc |
| 1786 | src/core/lib/iomgr/iomgr_windows.cc |
| 1787 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1788 | src/core/lib/iomgr/load_file.cc |
| 1789 | src/core/lib/iomgr/lockfree_event.cc |
| 1790 | src/core/lib/iomgr/network_status_tracker.cc |
| 1791 | src/core/lib/iomgr/polling_entity.cc |
| 1792 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1793 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1794 | src/core/lib/iomgr/pollset_uv.cc |
| 1795 | src/core/lib/iomgr/pollset_windows.cc |
| 1796 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1797 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1798 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1799 | src/core/lib/iomgr/resource_quota.cc |
| 1800 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1801 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1802 | src/core/lib/iomgr/socket_mutator.cc |
| 1803 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1804 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1805 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1806 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1807 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1808 | src/core/lib/iomgr/socket_windows.cc |
| 1809 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1810 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1811 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1812 | src/core/lib/iomgr/tcp_posix.cc |
| 1813 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1814 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1815 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1816 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1817 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1818 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1819 | src/core/lib/iomgr/tcp_uv.cc |
| 1820 | src/core/lib/iomgr/tcp_windows.cc |
| 1821 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1822 | src/core/lib/iomgr/timer_generic.cc |
| 1823 | src/core/lib/iomgr/timer_heap.cc |
| 1824 | src/core/lib/iomgr/timer_manager.cc |
| 1825 | src/core/lib/iomgr/timer_uv.cc |
| 1826 | src/core/lib/iomgr/udp_server.cc |
| 1827 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1828 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1829 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1830 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1831 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1832 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1833 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1834 | src/core/lib/json/json.cc |
| 1835 | src/core/lib/json/json_reader.cc |
| 1836 | src/core/lib/json/json_string.cc |
| 1837 | src/core/lib/json/json_writer.cc |
| 1838 | src/core/lib/slice/b64.cc |
| 1839 | src/core/lib/slice/percent_encoding.cc |
| 1840 | src/core/lib/slice/slice.cc |
| 1841 | src/core/lib/slice/slice_buffer.cc |
| 1842 | src/core/lib/slice/slice_hash_table.cc |
| 1843 | src/core/lib/slice/slice_intern.cc |
| 1844 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1845 | src/core/lib/surface/api_trace.cc |
| 1846 | src/core/lib/surface/byte_buffer.cc |
| 1847 | src/core/lib/surface/byte_buffer_reader.cc |
| 1848 | src/core/lib/surface/call.cc |
| 1849 | src/core/lib/surface/call_details.cc |
| 1850 | src/core/lib/surface/call_log_batch.cc |
| 1851 | src/core/lib/surface/channel.cc |
| 1852 | src/core/lib/surface/channel_init.cc |
| 1853 | src/core/lib/surface/channel_ping.cc |
| 1854 | src/core/lib/surface/channel_stack_type.cc |
| 1855 | src/core/lib/surface/completion_queue.cc |
| 1856 | src/core/lib/surface/completion_queue_factory.cc |
| 1857 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1858 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1859 | src/core/lib/surface/metadata_array.cc |
| 1860 | src/core/lib/surface/server.cc |
| 1861 | src/core/lib/surface/validate_metadata.cc |
| 1862 | src/core/lib/surface/version.cc |
| 1863 | src/core/lib/transport/bdp_estimator.cc |
| 1864 | src/core/lib/transport/byte_stream.cc |
| 1865 | src/core/lib/transport/connectivity_state.cc |
| 1866 | src/core/lib/transport/error_utils.cc |
| 1867 | src/core/lib/transport/metadata.cc |
| 1868 | src/core/lib/transport/metadata_batch.cc |
| 1869 | src/core/lib/transport/pid_controller.cc |
| 1870 | src/core/lib/transport/service_config.cc |
| 1871 | src/core/lib/transport/static_metadata.cc |
| 1872 | src/core/lib/transport/status_conversion.cc |
| 1873 | src/core/lib/transport/timeout_encoding.cc |
| 1874 | src/core/lib/transport/transport.cc |
| 1875 | src/core/lib/transport/transport_op_string.cc |
| 1876 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1877 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1878 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1879 | src/core/ext/filters/client_channel/client_channel.cc |
| 1880 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1881 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1882 | src/core/ext/filters/client_channel/connector.cc |
| 1883 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1884 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1885 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1886 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1887 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1888 | src/core/ext/filters/client_channel/parse_address.cc |
| 1889 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1890 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1891 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1892 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1893 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1894 | src/core/ext/filters/client_channel/subchannel.cc |
| 1895 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1896 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1897 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1898 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1899 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1900 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1901 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1902 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1903 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1904 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1905 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1906 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1907 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1908 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1909 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1910 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1911 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1912 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1913 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1914 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1915 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1916 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1917 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1918 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1919 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1920 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1921 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1922 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1923 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1924 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1925 | ) |
| 1926 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1927 | if(WIN32 AND MSVC) |
| 1928 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1929 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1930 | ) |
| 1931 | if (gRPC_INSTALL) |
| 1932 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1933 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1934 | ) |
| 1935 | endif() |
| 1936 | endif() |
| 1937 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1938 | |
| 1939 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1940 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1942 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1943 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1944 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1945 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1946 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1947 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1948 | ) |
| 1949 | |
| 1950 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1951 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1952 | gpr |
| 1953 | gpr_test_util |
| 1954 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1955 | ) |
| 1956 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1957 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1958 | include/grpc/support/alloc.h |
| 1959 | include/grpc/support/atm.h |
| 1960 | include/grpc/support/atm_gcc_atomic.h |
| 1961 | include/grpc/support/atm_gcc_sync.h |
| 1962 | include/grpc/support/atm_windows.h |
| 1963 | include/grpc/support/avl.h |
| 1964 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1965 | include/grpc/support/log.h |
| 1966 | include/grpc/support/log_windows.h |
| 1967 | include/grpc/support/port_platform.h |
| 1968 | include/grpc/support/string_util.h |
| 1969 | include/grpc/support/sync.h |
| 1970 | include/grpc/support/sync_custom.h |
| 1971 | include/grpc/support/sync_generic.h |
| 1972 | include/grpc/support/sync_posix.h |
| 1973 | include/grpc/support/sync_windows.h |
| 1974 | include/grpc/support/thd.h |
| 1975 | include/grpc/support/time.h |
| 1976 | include/grpc/support/tls.h |
| 1977 | include/grpc/support/tls_gcc.h |
| 1978 | include/grpc/support/tls_msvc.h |
| 1979 | include/grpc/support/tls_pthread.h |
| 1980 | include/grpc/support/useful.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1981 | include/grpc/impl/codegen/atm.h |
| 1982 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1983 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1984 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1985 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1986 | include/grpc/impl/codegen/gpr_slice.h |
| 1987 | include/grpc/impl/codegen/gpr_types.h |
| 1988 | include/grpc/impl/codegen/port_platform.h |
| 1989 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1990 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1991 | include/grpc/impl/codegen/sync_generic.h |
| 1992 | include/grpc/impl/codegen/sync_posix.h |
| 1993 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1994 | include/grpc/impl/codegen/byte_buffer.h |
| 1995 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1996 | include/grpc/impl/codegen/compression_types.h |
| 1997 | include/grpc/impl/codegen/connectivity_state.h |
| 1998 | include/grpc/impl/codegen/grpc_types.h |
| 1999 | include/grpc/impl/codegen/propagation_bits.h |
| 2000 | include/grpc/impl/codegen/slice.h |
| 2001 | include/grpc/impl/codegen/status.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2002 | ) |
| 2003 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2004 | get_filename_component(_path ${_path} PATH) |
| 2005 | install(FILES ${_hdr} |
| 2006 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2007 | ) |
| 2008 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2009 | |
| 2010 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2011 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2012 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2013 | src/core/lib/surface/init.cc |
| 2014 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2015 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2016 | src/core/lib/channel/channel_args.cc |
| 2017 | src/core/lib/channel/channel_stack.cc |
| 2018 | src/core/lib/channel/channel_stack_builder.cc |
| 2019 | src/core/lib/channel/connected_channel.cc |
| 2020 | src/core/lib/channel/handshaker.cc |
| 2021 | src/core/lib/channel/handshaker_factory.cc |
| 2022 | src/core/lib/channel/handshaker_registry.cc |
| 2023 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2024 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2025 | src/core/lib/compression/message_compress.cc |
| 2026 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2027 | src/core/lib/compression/stream_compression_gzip.cc |
| 2028 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2029 | src/core/lib/debug/stats.cc |
| 2030 | src/core/lib/debug/stats_data.cc |
| 2031 | src/core/lib/http/format_request.cc |
| 2032 | src/core/lib/http/httpcli.cc |
| 2033 | src/core/lib/http/parser.cc |
| 2034 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2035 | src/core/lib/iomgr/combiner.cc |
| 2036 | src/core/lib/iomgr/endpoint.cc |
| 2037 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2038 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2039 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2040 | src/core/lib/iomgr/error.cc |
| 2041 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2042 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2043 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2044 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2045 | src/core/lib/iomgr/ev_posix.cc |
| 2046 | src/core/lib/iomgr/ev_windows.cc |
| 2047 | src/core/lib/iomgr/exec_ctx.cc |
| 2048 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2049 | src/core/lib/iomgr/fork_posix.cc |
| 2050 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2051 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2052 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2053 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2054 | src/core/lib/iomgr/iocp_windows.cc |
| 2055 | src/core/lib/iomgr/iomgr.cc |
| 2056 | src/core/lib/iomgr/iomgr_posix.cc |
| 2057 | src/core/lib/iomgr/iomgr_uv.cc |
| 2058 | src/core/lib/iomgr/iomgr_windows.cc |
| 2059 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2060 | src/core/lib/iomgr/load_file.cc |
| 2061 | src/core/lib/iomgr/lockfree_event.cc |
| 2062 | src/core/lib/iomgr/network_status_tracker.cc |
| 2063 | src/core/lib/iomgr/polling_entity.cc |
| 2064 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2065 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2066 | src/core/lib/iomgr/pollset_uv.cc |
| 2067 | src/core/lib/iomgr/pollset_windows.cc |
| 2068 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2069 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2070 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2071 | src/core/lib/iomgr/resource_quota.cc |
| 2072 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2073 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2074 | src/core/lib/iomgr/socket_mutator.cc |
| 2075 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2076 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2077 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2078 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2079 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2080 | src/core/lib/iomgr/socket_windows.cc |
| 2081 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2082 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2083 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2084 | src/core/lib/iomgr/tcp_posix.cc |
| 2085 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2086 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2087 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2088 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2089 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2090 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2091 | src/core/lib/iomgr/tcp_uv.cc |
| 2092 | src/core/lib/iomgr/tcp_windows.cc |
| 2093 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2094 | src/core/lib/iomgr/timer_generic.cc |
| 2095 | src/core/lib/iomgr/timer_heap.cc |
| 2096 | src/core/lib/iomgr/timer_manager.cc |
| 2097 | src/core/lib/iomgr/timer_uv.cc |
| 2098 | src/core/lib/iomgr/udp_server.cc |
| 2099 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2100 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2101 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2102 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2103 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2104 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2105 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2106 | src/core/lib/json/json.cc |
| 2107 | src/core/lib/json/json_reader.cc |
| 2108 | src/core/lib/json/json_string.cc |
| 2109 | src/core/lib/json/json_writer.cc |
| 2110 | src/core/lib/slice/b64.cc |
| 2111 | src/core/lib/slice/percent_encoding.cc |
| 2112 | src/core/lib/slice/slice.cc |
| 2113 | src/core/lib/slice/slice_buffer.cc |
| 2114 | src/core/lib/slice/slice_hash_table.cc |
| 2115 | src/core/lib/slice/slice_intern.cc |
| 2116 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2117 | src/core/lib/surface/api_trace.cc |
| 2118 | src/core/lib/surface/byte_buffer.cc |
| 2119 | src/core/lib/surface/byte_buffer_reader.cc |
| 2120 | src/core/lib/surface/call.cc |
| 2121 | src/core/lib/surface/call_details.cc |
| 2122 | src/core/lib/surface/call_log_batch.cc |
| 2123 | src/core/lib/surface/channel.cc |
| 2124 | src/core/lib/surface/channel_init.cc |
| 2125 | src/core/lib/surface/channel_ping.cc |
| 2126 | src/core/lib/surface/channel_stack_type.cc |
| 2127 | src/core/lib/surface/completion_queue.cc |
| 2128 | src/core/lib/surface/completion_queue_factory.cc |
| 2129 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2130 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2131 | src/core/lib/surface/metadata_array.cc |
| 2132 | src/core/lib/surface/server.cc |
| 2133 | src/core/lib/surface/validate_metadata.cc |
| 2134 | src/core/lib/surface/version.cc |
| 2135 | src/core/lib/transport/bdp_estimator.cc |
| 2136 | src/core/lib/transport/byte_stream.cc |
| 2137 | src/core/lib/transport/connectivity_state.cc |
| 2138 | src/core/lib/transport/error_utils.cc |
| 2139 | src/core/lib/transport/metadata.cc |
| 2140 | src/core/lib/transport/metadata_batch.cc |
| 2141 | src/core/lib/transport/pid_controller.cc |
| 2142 | src/core/lib/transport/service_config.cc |
| 2143 | src/core/lib/transport/static_metadata.cc |
| 2144 | src/core/lib/transport/status_conversion.cc |
| 2145 | src/core/lib/transport/timeout_encoding.cc |
| 2146 | src/core/lib/transport/transport.cc |
| 2147 | src/core/lib/transport/transport_op_string.cc |
| 2148 | src/core/lib/debug/trace.cc |
| 2149 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2150 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2151 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2152 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2153 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2154 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2155 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2156 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2157 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2158 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2159 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2160 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2161 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2162 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2163 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2164 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2165 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2166 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2167 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2168 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2169 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2170 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2171 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2172 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2173 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2174 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2175 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2176 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2177 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2178 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2179 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2180 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2181 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2182 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2183 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2184 | src/core/ext/filters/client_channel/client_channel.cc |
| 2185 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2186 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2187 | src/core/ext/filters/client_channel/connector.cc |
| 2188 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2189 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2190 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2191 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2192 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2193 | src/core/ext/filters/client_channel/parse_address.cc |
| 2194 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2195 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2196 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2197 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2198 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2199 | src/core/ext/filters/client_channel/subchannel.cc |
| 2200 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2201 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2202 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2203 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2204 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2205 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2206 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2207 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2208 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2209 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2210 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2211 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2212 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2213 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2214 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2215 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2216 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2217 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2218 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2219 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2220 | third_party/nanopb/pb_common.c |
| 2221 | third_party/nanopb/pb_decode.c |
| 2222 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2223 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
Mark D. Roth | 5e9848e | 2017-10-06 13:59:32 -0700 | [diff] [blame] | 2224 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2225 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2226 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2227 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2228 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2229 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2230 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2231 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2232 | ) |
| 2233 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2234 | if(WIN32 AND MSVC) |
| 2235 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2236 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2237 | ) |
| 2238 | if (gRPC_INSTALL) |
| 2239 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2240 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2241 | ) |
| 2242 | endif() |
| 2243 | endif() |
| 2244 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2245 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2246 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2247 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2249 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2250 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2251 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2252 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2253 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2254 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2255 | ) |
| 2256 | |
| 2257 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2258 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2259 | ${_gRPC_ZLIB_LIBRARIES} |
| 2260 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2262 | gpr |
| 2263 | ) |
| 2264 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2265 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2266 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2267 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2268 | include/grpc/impl/codegen/compression_types.h |
| 2269 | include/grpc/impl/codegen/connectivity_state.h |
| 2270 | include/grpc/impl/codegen/grpc_types.h |
| 2271 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2272 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2273 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2274 | include/grpc/impl/codegen/atm.h |
| 2275 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2276 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2277 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2278 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2279 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2280 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2281 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2282 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2283 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2284 | include/grpc/impl/codegen/sync_generic.h |
| 2285 | include/grpc/impl/codegen/sync_posix.h |
| 2286 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2287 | include/grpc/byte_buffer.h |
| 2288 | include/grpc/byte_buffer_reader.h |
| 2289 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2290 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2291 | include/grpc/grpc.h |
| 2292 | include/grpc/grpc_posix.h |
| 2293 | include/grpc/grpc_security_constants.h |
| 2294 | include/grpc/load_reporting.h |
| 2295 | include/grpc/slice.h |
| 2296 | include/grpc/slice_buffer.h |
| 2297 | include/grpc/status.h |
| 2298 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2299 | include/grpc/census.h |
| 2300 | ) |
| 2301 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2302 | get_filename_component(_path ${_path} PATH) |
| 2303 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2304 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2305 | ) |
| 2306 | endforeach() |
| 2307 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2308 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2309 | if (gRPC_INSTALL) |
| 2310 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2311 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2312 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2313 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2314 | ) |
| 2315 | endif() |
| 2316 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2317 | if (gRPC_BUILD_TESTS) |
| 2318 | |
| 2319 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2320 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2321 | ) |
| 2322 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2323 | if(WIN32 AND MSVC) |
| 2324 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2325 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2326 | ) |
| 2327 | if (gRPC_INSTALL) |
| 2328 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2329 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2330 | ) |
| 2331 | endif() |
| 2332 | endif() |
| 2333 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2334 | |
| 2335 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2336 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2338 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2339 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2340 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2341 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2342 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2343 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2344 | ) |
| 2345 | |
| 2346 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2347 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2348 | test_tcp_server |
| 2349 | grpc_test_util |
| 2350 | grpc |
| 2351 | gpr_test_util |
| 2352 | gpr |
| 2353 | ) |
| 2354 | |
| 2355 | |
| 2356 | endif (gRPC_BUILD_TESTS) |
| 2357 | if (gRPC_BUILD_TESTS) |
| 2358 | |
| 2359 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2360 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2361 | ) |
| 2362 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2363 | if(WIN32 AND MSVC) |
| 2364 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2365 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2366 | ) |
| 2367 | if (gRPC_INSTALL) |
| 2368 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2369 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2370 | ) |
| 2371 | endif() |
| 2372 | endif() |
| 2373 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2374 | |
| 2375 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2376 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2378 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2379 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2380 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2381 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2382 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2383 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2384 | ) |
| 2385 | |
| 2386 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2388 | grpc_test_util |
| 2389 | grpc |
| 2390 | gpr_test_util |
| 2391 | gpr |
| 2392 | ) |
| 2393 | |
| 2394 | |
| 2395 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2396 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2397 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2398 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2399 | src/cpp/client/secure_credentials.cc |
| 2400 | src/cpp/common/auth_property_iterator.cc |
| 2401 | src/cpp/common/secure_auth_context.cc |
| 2402 | src/cpp/common/secure_channel_arguments.cc |
| 2403 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2404 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2405 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2406 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2407 | src/cpp/client/client_context.cc |
| 2408 | src/cpp/client/create_channel.cc |
| 2409 | src/cpp/client/create_channel_internal.cc |
| 2410 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2411 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2412 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2413 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2414 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2415 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2416 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2417 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2418 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2419 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2420 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2421 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2422 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2423 | src/cpp/server/create_default_thread_pool.cc |
| 2424 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2425 | src/cpp/server/health/default_health_check_service.cc |
| 2426 | src/cpp/server/health/health.pb.c |
| 2427 | src/cpp/server/health/health_check_service.cc |
| 2428 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2429 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2430 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2431 | src/cpp/server/server_context.cc |
| 2432 | src/cpp/server/server_credentials.cc |
| 2433 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2434 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2435 | src/cpp/util/byte_buffer_cc.cc |
| 2436 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2437 | src/cpp/util/status.cc |
| 2438 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2439 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2440 | src/cpp/codegen/codegen_init.cc |
| 2441 | ) |
| 2442 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2443 | if(WIN32 AND MSVC) |
| 2444 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2445 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2446 | ) |
| 2447 | if (gRPC_INSTALL) |
| 2448 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2449 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2450 | ) |
| 2451 | endif() |
| 2452 | endif() |
| 2453 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2454 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2455 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2456 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2458 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2459 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2460 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2461 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2462 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2463 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2464 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2465 | ) |
| 2466 | |
| 2467 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2468 | ${_gRPC_BASELIB_LIBRARIES} |
| 2469 | ${_gRPC_SSL_LIBRARIES} |
| 2470 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2471 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2472 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2473 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2474 | ) |
| 2475 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2476 | foreach(_hdr |
| 2477 | include/grpc++/alarm.h |
| 2478 | include/grpc++/channel.h |
| 2479 | include/grpc++/client_context.h |
| 2480 | include/grpc++/completion_queue.h |
| 2481 | include/grpc++/create_channel.h |
| 2482 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2483 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2484 | include/grpc++/generic/async_generic_service.h |
| 2485 | include/grpc++/generic/generic_stub.h |
| 2486 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2487 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2488 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2489 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2490 | include/grpc++/impl/client_unary_call.h |
| 2491 | include/grpc++/impl/codegen/core_codegen.h |
| 2492 | include/grpc++/impl/grpc_library.h |
| 2493 | include/grpc++/impl/method_handler_impl.h |
| 2494 | include/grpc++/impl/rpc_method.h |
| 2495 | include/grpc++/impl/rpc_service_method.h |
| 2496 | include/grpc++/impl/serialization_traits.h |
| 2497 | include/grpc++/impl/server_builder_option.h |
| 2498 | include/grpc++/impl/server_builder_plugin.h |
| 2499 | include/grpc++/impl/server_initializer.h |
| 2500 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2501 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2502 | include/grpc++/security/auth_context.h |
| 2503 | include/grpc++/security/auth_metadata_processor.h |
| 2504 | include/grpc++/security/credentials.h |
| 2505 | include/grpc++/security/server_credentials.h |
| 2506 | include/grpc++/server.h |
| 2507 | include/grpc++/server_builder.h |
| 2508 | include/grpc++/server_context.h |
| 2509 | include/grpc++/server_posix.h |
| 2510 | include/grpc++/support/async_stream.h |
| 2511 | include/grpc++/support/async_unary_call.h |
| 2512 | include/grpc++/support/byte_buffer.h |
| 2513 | include/grpc++/support/channel_arguments.h |
| 2514 | include/grpc++/support/config.h |
| 2515 | include/grpc++/support/slice.h |
| 2516 | include/grpc++/support/status.h |
| 2517 | include/grpc++/support/status_code_enum.h |
| 2518 | include/grpc++/support/string_ref.h |
| 2519 | include/grpc++/support/stub_options.h |
| 2520 | include/grpc++/support/sync_stream.h |
| 2521 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2522 | include/grpc/support/alloc.h |
| 2523 | include/grpc/support/atm.h |
| 2524 | include/grpc/support/atm_gcc_atomic.h |
| 2525 | include/grpc/support/atm_gcc_sync.h |
| 2526 | include/grpc/support/atm_windows.h |
| 2527 | include/grpc/support/avl.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2528 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2529 | include/grpc/support/log.h |
| 2530 | include/grpc/support/log_windows.h |
| 2531 | include/grpc/support/port_platform.h |
| 2532 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2533 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2534 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2535 | include/grpc/support/sync_generic.h |
| 2536 | include/grpc/support/sync_posix.h |
| 2537 | include/grpc/support/sync_windows.h |
| 2538 | include/grpc/support/thd.h |
| 2539 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2540 | include/grpc/support/useful.h |
| 2541 | include/grpc/impl/codegen/atm.h |
| 2542 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2543 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2544 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2545 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2546 | include/grpc/impl/codegen/gpr_slice.h |
| 2547 | include/grpc/impl/codegen/gpr_types.h |
| 2548 | include/grpc/impl/codegen/port_platform.h |
| 2549 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2550 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2551 | include/grpc/impl/codegen/sync_generic.h |
| 2552 | include/grpc/impl/codegen/sync_posix.h |
| 2553 | include/grpc/impl/codegen/sync_windows.h |
| 2554 | include/grpc/byte_buffer.h |
| 2555 | include/grpc/byte_buffer_reader.h |
| 2556 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2557 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2558 | include/grpc/grpc.h |
| 2559 | include/grpc/grpc_posix.h |
| 2560 | include/grpc/grpc_security_constants.h |
| 2561 | include/grpc/load_reporting.h |
| 2562 | include/grpc/slice.h |
| 2563 | include/grpc/slice_buffer.h |
| 2564 | include/grpc/status.h |
| 2565 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2566 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2567 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2568 | include/grpc/impl/codegen/compression_types.h |
| 2569 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2570 | include/grpc/impl/codegen/grpc_types.h |
| 2571 | include/grpc/impl/codegen/propagation_bits.h |
| 2572 | include/grpc/impl/codegen/slice.h |
| 2573 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2574 | include/grpc++/impl/codegen/async_stream.h |
| 2575 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2576 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2577 | include/grpc++/impl/codegen/call.h |
| 2578 | include/grpc++/impl/codegen/call_hook.h |
| 2579 | include/grpc++/impl/codegen/channel_interface.h |
| 2580 | include/grpc++/impl/codegen/client_context.h |
| 2581 | include/grpc++/impl/codegen/client_unary_call.h |
| 2582 | include/grpc++/impl/codegen/completion_queue.h |
| 2583 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2584 | include/grpc++/impl/codegen/config.h |
| 2585 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2586 | include/grpc++/impl/codegen/create_auth_context.h |
| 2587 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2588 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2589 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2590 | include/grpc++/impl/codegen/rpc_method.h |
| 2591 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2592 | include/grpc++/impl/codegen/security/auth_context.h |
| 2593 | include/grpc++/impl/codegen/serialization_traits.h |
| 2594 | include/grpc++/impl/codegen/server_context.h |
| 2595 | include/grpc++/impl/codegen/server_interface.h |
| 2596 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2597 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2598 | include/grpc++/impl/codegen/status.h |
| 2599 | include/grpc++/impl/codegen/status_code_enum.h |
| 2600 | include/grpc++/impl/codegen/string_ref.h |
| 2601 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2602 | include/grpc++/impl/codegen/sync_stream.h |
| 2603 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2604 | include/grpc++/impl/codegen/proto_utils.h |
| 2605 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2606 | ) |
| 2607 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2608 | get_filename_component(_path ${_path} PATH) |
| 2609 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2610 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2611 | ) |
| 2612 | endforeach() |
| 2613 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2614 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2615 | if (gRPC_INSTALL) |
| 2616 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2617 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2618 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2619 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2620 | ) |
| 2621 | endif() |
| 2622 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2623 | if (gRPC_BUILD_TESTS) |
| 2624 | |
| 2625 | add_library(grpc++_core_stats |
| 2626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2628 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2629 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2630 | src/cpp/util/core_stats.cc |
| 2631 | ) |
| 2632 | |
| 2633 | if(WIN32 AND MSVC) |
| 2634 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2635 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2636 | ) |
| 2637 | if (gRPC_INSTALL) |
| 2638 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2639 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2640 | ) |
| 2641 | endif() |
| 2642 | endif() |
| 2643 | |
| 2644 | protobuf_generate_grpc_cpp( |
| 2645 | src/proto/grpc/core/stats.proto |
| 2646 | ) |
| 2647 | |
| 2648 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2649 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2651 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2652 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2653 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2654 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2655 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2656 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2657 | PRIVATE third_party/googletest/googletest/include |
| 2658 | PRIVATE third_party/googletest/googletest |
| 2659 | PRIVATE third_party/googletest/googlemock/include |
| 2660 | PRIVATE third_party/googletest/googlemock |
| 2661 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2662 | ) |
| 2663 | |
| 2664 | target_link_libraries(grpc++_core_stats |
| 2665 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2666 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2667 | grpc++ |
| 2668 | ) |
| 2669 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2670 | |
| 2671 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2672 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2673 | add_library(grpc++_cronet |
| 2674 | src/cpp/client/cronet_credentials.cc |
| 2675 | src/cpp/client/insecure_credentials.cc |
| 2676 | src/cpp/common/insecure_create_auth_context.cc |
| 2677 | src/cpp/server/insecure_server_credentials.cc |
| 2678 | src/cpp/client/channel_cc.cc |
| 2679 | src/cpp/client/client_context.cc |
| 2680 | src/cpp/client/create_channel.cc |
| 2681 | src/cpp/client/create_channel_internal.cc |
| 2682 | src/cpp/client/create_channel_posix.cc |
| 2683 | src/cpp/client/credentials_cc.cc |
| 2684 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2685 | src/cpp/common/alarm.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2686 | src/cpp/common/channel_arguments.cc |
| 2687 | src/cpp/common/channel_filter.cc |
| 2688 | src/cpp/common/completion_queue_cc.cc |
| 2689 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2690 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2691 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2692 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2693 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2694 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2695 | src/cpp/server/create_default_thread_pool.cc |
| 2696 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2697 | src/cpp/server/health/default_health_check_service.cc |
| 2698 | src/cpp/server/health/health.pb.c |
| 2699 | src/cpp/server/health/health_check_service.cc |
| 2700 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2701 | src/cpp/server/server_builder.cc |
| 2702 | src/cpp/server/server_cc.cc |
| 2703 | src/cpp/server/server_context.cc |
| 2704 | src/cpp/server/server_credentials.cc |
| 2705 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2706 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2707 | src/cpp/util/byte_buffer_cc.cc |
| 2708 | src/cpp/util/slice_cc.cc |
| 2709 | src/cpp/util/status.cc |
| 2710 | src/cpp/util/string_ref.cc |
| 2711 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2712 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2713 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2714 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2715 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2716 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2717 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2718 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2719 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2720 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2721 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2722 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2723 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2724 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2725 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2726 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2727 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2728 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2729 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2730 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2731 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2732 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2733 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2734 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2735 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2736 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2737 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2738 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2739 | src/core/lib/channel/channel_args.cc |
| 2740 | src/core/lib/channel/channel_stack.cc |
| 2741 | src/core/lib/channel/channel_stack_builder.cc |
| 2742 | src/core/lib/channel/connected_channel.cc |
| 2743 | src/core/lib/channel/handshaker.cc |
| 2744 | src/core/lib/channel/handshaker_factory.cc |
| 2745 | src/core/lib/channel/handshaker_registry.cc |
| 2746 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2747 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2748 | src/core/lib/compression/message_compress.cc |
| 2749 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2750 | src/core/lib/compression/stream_compression_gzip.cc |
| 2751 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2752 | src/core/lib/debug/stats.cc |
| 2753 | src/core/lib/debug/stats_data.cc |
| 2754 | src/core/lib/http/format_request.cc |
| 2755 | src/core/lib/http/httpcli.cc |
| 2756 | src/core/lib/http/parser.cc |
| 2757 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2758 | src/core/lib/iomgr/combiner.cc |
| 2759 | src/core/lib/iomgr/endpoint.cc |
| 2760 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2761 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2762 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2763 | src/core/lib/iomgr/error.cc |
| 2764 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2765 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2766 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2767 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2768 | src/core/lib/iomgr/ev_posix.cc |
| 2769 | src/core/lib/iomgr/ev_windows.cc |
| 2770 | src/core/lib/iomgr/exec_ctx.cc |
| 2771 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2772 | src/core/lib/iomgr/fork_posix.cc |
| 2773 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2774 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2775 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2776 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2777 | src/core/lib/iomgr/iocp_windows.cc |
| 2778 | src/core/lib/iomgr/iomgr.cc |
| 2779 | src/core/lib/iomgr/iomgr_posix.cc |
| 2780 | src/core/lib/iomgr/iomgr_uv.cc |
| 2781 | src/core/lib/iomgr/iomgr_windows.cc |
| 2782 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2783 | src/core/lib/iomgr/load_file.cc |
| 2784 | src/core/lib/iomgr/lockfree_event.cc |
| 2785 | src/core/lib/iomgr/network_status_tracker.cc |
| 2786 | src/core/lib/iomgr/polling_entity.cc |
| 2787 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2788 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2789 | src/core/lib/iomgr/pollset_uv.cc |
| 2790 | src/core/lib/iomgr/pollset_windows.cc |
| 2791 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2792 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2793 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2794 | src/core/lib/iomgr/resource_quota.cc |
| 2795 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2796 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2797 | src/core/lib/iomgr/socket_mutator.cc |
| 2798 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2799 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2800 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2801 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2802 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2803 | src/core/lib/iomgr/socket_windows.cc |
| 2804 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2805 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2806 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2807 | src/core/lib/iomgr/tcp_posix.cc |
| 2808 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2809 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2810 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2811 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2812 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2813 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2814 | src/core/lib/iomgr/tcp_uv.cc |
| 2815 | src/core/lib/iomgr/tcp_windows.cc |
| 2816 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2817 | src/core/lib/iomgr/timer_generic.cc |
| 2818 | src/core/lib/iomgr/timer_heap.cc |
| 2819 | src/core/lib/iomgr/timer_manager.cc |
| 2820 | src/core/lib/iomgr/timer_uv.cc |
| 2821 | src/core/lib/iomgr/udp_server.cc |
| 2822 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2823 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2824 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2825 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2826 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2827 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2828 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2829 | src/core/lib/json/json.cc |
| 2830 | src/core/lib/json/json_reader.cc |
| 2831 | src/core/lib/json/json_string.cc |
| 2832 | src/core/lib/json/json_writer.cc |
| 2833 | src/core/lib/slice/b64.cc |
| 2834 | src/core/lib/slice/percent_encoding.cc |
| 2835 | src/core/lib/slice/slice.cc |
| 2836 | src/core/lib/slice/slice_buffer.cc |
| 2837 | src/core/lib/slice/slice_hash_table.cc |
| 2838 | src/core/lib/slice/slice_intern.cc |
| 2839 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2840 | src/core/lib/surface/api_trace.cc |
| 2841 | src/core/lib/surface/byte_buffer.cc |
| 2842 | src/core/lib/surface/byte_buffer_reader.cc |
| 2843 | src/core/lib/surface/call.cc |
| 2844 | src/core/lib/surface/call_details.cc |
| 2845 | src/core/lib/surface/call_log_batch.cc |
| 2846 | src/core/lib/surface/channel.cc |
| 2847 | src/core/lib/surface/channel_init.cc |
| 2848 | src/core/lib/surface/channel_ping.cc |
| 2849 | src/core/lib/surface/channel_stack_type.cc |
| 2850 | src/core/lib/surface/completion_queue.cc |
| 2851 | src/core/lib/surface/completion_queue_factory.cc |
| 2852 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2853 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2854 | src/core/lib/surface/metadata_array.cc |
| 2855 | src/core/lib/surface/server.cc |
| 2856 | src/core/lib/surface/validate_metadata.cc |
| 2857 | src/core/lib/surface/version.cc |
| 2858 | src/core/lib/transport/bdp_estimator.cc |
| 2859 | src/core/lib/transport/byte_stream.cc |
| 2860 | src/core/lib/transport/connectivity_state.cc |
| 2861 | src/core/lib/transport/error_utils.cc |
| 2862 | src/core/lib/transport/metadata.cc |
| 2863 | src/core/lib/transport/metadata_batch.cc |
| 2864 | src/core/lib/transport/pid_controller.cc |
| 2865 | src/core/lib/transport/service_config.cc |
| 2866 | src/core/lib/transport/static_metadata.cc |
| 2867 | src/core/lib/transport/status_conversion.cc |
| 2868 | src/core/lib/transport/timeout_encoding.cc |
| 2869 | src/core/lib/transport/transport.cc |
| 2870 | src/core/lib/transport/transport_op_string.cc |
| 2871 | src/core/lib/debug/trace.cc |
| 2872 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2873 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2874 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2875 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2876 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2877 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2878 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2879 | src/core/ext/filters/client_channel/client_channel.cc |
| 2880 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2881 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2882 | src/core/ext/filters/client_channel/connector.cc |
| 2883 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2884 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2885 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2886 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2887 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2888 | src/core/ext/filters/client_channel/parse_address.cc |
| 2889 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2890 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2891 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2892 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2893 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2894 | src/core/ext/filters/client_channel/subchannel.cc |
| 2895 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2896 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2897 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2898 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2899 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2900 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2901 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2902 | third_party/nanopb/pb_common.c |
| 2903 | third_party/nanopb/pb_decode.c |
| 2904 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2905 | ) |
| 2906 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2907 | if(WIN32 AND MSVC) |
| 2908 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2909 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2910 | ) |
| 2911 | if (gRPC_INSTALL) |
| 2912 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2913 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2914 | ) |
| 2915 | endif() |
| 2916 | endif() |
| 2917 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2918 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2919 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2920 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2922 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2923 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2924 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2925 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2926 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2927 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2928 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2929 | ) |
| 2930 | |
| 2931 | target_link_libraries(grpc++_cronet |
| 2932 | ${_gRPC_BASELIB_LIBRARIES} |
| 2933 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2934 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2935 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2936 | gpr |
| 2937 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2938 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2939 | ) |
| 2940 | |
| 2941 | foreach(_hdr |
| 2942 | include/grpc++/alarm.h |
| 2943 | include/grpc++/channel.h |
| 2944 | include/grpc++/client_context.h |
| 2945 | include/grpc++/completion_queue.h |
| 2946 | include/grpc++/create_channel.h |
| 2947 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2948 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2949 | include/grpc++/generic/async_generic_service.h |
| 2950 | include/grpc++/generic/generic_stub.h |
| 2951 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2952 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2953 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2954 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2955 | include/grpc++/impl/client_unary_call.h |
| 2956 | include/grpc++/impl/codegen/core_codegen.h |
| 2957 | include/grpc++/impl/grpc_library.h |
| 2958 | include/grpc++/impl/method_handler_impl.h |
| 2959 | include/grpc++/impl/rpc_method.h |
| 2960 | include/grpc++/impl/rpc_service_method.h |
| 2961 | include/grpc++/impl/serialization_traits.h |
| 2962 | include/grpc++/impl/server_builder_option.h |
| 2963 | include/grpc++/impl/server_builder_plugin.h |
| 2964 | include/grpc++/impl/server_initializer.h |
| 2965 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2966 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2967 | include/grpc++/security/auth_context.h |
| 2968 | include/grpc++/security/auth_metadata_processor.h |
| 2969 | include/grpc++/security/credentials.h |
| 2970 | include/grpc++/security/server_credentials.h |
| 2971 | include/grpc++/server.h |
| 2972 | include/grpc++/server_builder.h |
| 2973 | include/grpc++/server_context.h |
| 2974 | include/grpc++/server_posix.h |
| 2975 | include/grpc++/support/async_stream.h |
| 2976 | include/grpc++/support/async_unary_call.h |
| 2977 | include/grpc++/support/byte_buffer.h |
| 2978 | include/grpc++/support/channel_arguments.h |
| 2979 | include/grpc++/support/config.h |
| 2980 | include/grpc++/support/slice.h |
| 2981 | include/grpc++/support/status.h |
| 2982 | include/grpc++/support/status_code_enum.h |
| 2983 | include/grpc++/support/string_ref.h |
| 2984 | include/grpc++/support/stub_options.h |
| 2985 | include/grpc++/support/sync_stream.h |
| 2986 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2987 | include/grpc/support/alloc.h |
| 2988 | include/grpc/support/atm.h |
| 2989 | include/grpc/support/atm_gcc_atomic.h |
| 2990 | include/grpc/support/atm_gcc_sync.h |
| 2991 | include/grpc/support/atm_windows.h |
| 2992 | include/grpc/support/avl.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2993 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2994 | include/grpc/support/log.h |
| 2995 | include/grpc/support/log_windows.h |
| 2996 | include/grpc/support/port_platform.h |
| 2997 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2998 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2999 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3000 | include/grpc/support/sync_generic.h |
| 3001 | include/grpc/support/sync_posix.h |
| 3002 | include/grpc/support/sync_windows.h |
| 3003 | include/grpc/support/thd.h |
| 3004 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3005 | include/grpc/support/useful.h |
| 3006 | include/grpc/impl/codegen/atm.h |
| 3007 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3008 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3009 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3010 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3011 | include/grpc/impl/codegen/gpr_slice.h |
| 3012 | include/grpc/impl/codegen/gpr_types.h |
| 3013 | include/grpc/impl/codegen/port_platform.h |
| 3014 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3015 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3016 | include/grpc/impl/codegen/sync_generic.h |
| 3017 | include/grpc/impl/codegen/sync_posix.h |
| 3018 | include/grpc/impl/codegen/sync_windows.h |
| 3019 | include/grpc/byte_buffer.h |
| 3020 | include/grpc/byte_buffer_reader.h |
| 3021 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3022 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3023 | include/grpc/grpc.h |
| 3024 | include/grpc/grpc_posix.h |
| 3025 | include/grpc/grpc_security_constants.h |
| 3026 | include/grpc/load_reporting.h |
| 3027 | include/grpc/slice.h |
| 3028 | include/grpc/slice_buffer.h |
| 3029 | include/grpc/status.h |
| 3030 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3031 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3032 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3033 | include/grpc/impl/codegen/compression_types.h |
| 3034 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3035 | include/grpc/impl/codegen/grpc_types.h |
| 3036 | include/grpc/impl/codegen/propagation_bits.h |
| 3037 | include/grpc/impl/codegen/slice.h |
| 3038 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3039 | include/grpc++/impl/codegen/async_stream.h |
| 3040 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3041 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3042 | include/grpc++/impl/codegen/call.h |
| 3043 | include/grpc++/impl/codegen/call_hook.h |
| 3044 | include/grpc++/impl/codegen/channel_interface.h |
| 3045 | include/grpc++/impl/codegen/client_context.h |
| 3046 | include/grpc++/impl/codegen/client_unary_call.h |
| 3047 | include/grpc++/impl/codegen/completion_queue.h |
| 3048 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3049 | include/grpc++/impl/codegen/config.h |
| 3050 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3051 | include/grpc++/impl/codegen/create_auth_context.h |
| 3052 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3053 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3054 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3055 | include/grpc++/impl/codegen/rpc_method.h |
| 3056 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3057 | include/grpc++/impl/codegen/security/auth_context.h |
| 3058 | include/grpc++/impl/codegen/serialization_traits.h |
| 3059 | include/grpc++/impl/codegen/server_context.h |
| 3060 | include/grpc++/impl/codegen/server_interface.h |
| 3061 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3062 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3063 | include/grpc++/impl/codegen/status.h |
| 3064 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3065 | include/grpc++/impl/codegen/string_ref.h |
| 3066 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3067 | include/grpc++/impl/codegen/sync_stream.h |
| 3068 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3069 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3070 | ) |
| 3071 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3072 | get_filename_component(_path ${_path} PATH) |
| 3073 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3074 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3075 | ) |
| 3076 | endforeach() |
| 3077 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3078 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3079 | if (gRPC_INSTALL) |
| 3080 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3081 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3082 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3083 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3084 | ) |
| 3085 | endif() |
| 3086 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3087 | |
| 3088 | add_library(grpc++_error_details |
| 3089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3093 | src/cpp/util/error_details.cc |
| 3094 | ) |
| 3095 | |
| 3096 | if(WIN32 AND MSVC) |
| 3097 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3098 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3099 | ) |
| 3100 | if (gRPC_INSTALL) |
| 3101 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3102 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3103 | ) |
| 3104 | endif() |
| 3105 | endif() |
| 3106 | |
| 3107 | protobuf_generate_grpc_cpp( |
| 3108 | src/proto/grpc/status/status.proto |
| 3109 | ) |
| 3110 | |
| 3111 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3112 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3114 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3115 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3116 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3117 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3118 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3119 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3120 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3121 | ) |
| 3122 | |
| 3123 | target_link_libraries(grpc++_error_details |
| 3124 | ${_gRPC_BASELIB_LIBRARIES} |
| 3125 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3126 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3127 | grpc++ |
| 3128 | ) |
| 3129 | |
| 3130 | foreach(_hdr |
| 3131 | include/grpc++/support/error_details.h |
| 3132 | ) |
| 3133 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3134 | get_filename_component(_path ${_path} PATH) |
| 3135 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3136 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3137 | ) |
| 3138 | endforeach() |
| 3139 | |
| 3140 | |
| 3141 | if (gRPC_INSTALL) |
| 3142 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3143 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3144 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3145 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3146 | ) |
| 3147 | endif() |
| 3148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3149 | if (gRPC_BUILD_TESTS) |
| 3150 | |
| 3151 | add_library(grpc++_proto_reflection_desc_db |
| 3152 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3157 | ) |
| 3158 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3159 | if(WIN32 AND MSVC) |
| 3160 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3161 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3162 | ) |
| 3163 | if (gRPC_INSTALL) |
| 3164 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3165 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3166 | ) |
| 3167 | endif() |
| 3168 | endif() |
| 3169 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3170 | protobuf_generate_grpc_cpp( |
| 3171 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3172 | ) |
| 3173 | |
| 3174 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3175 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3177 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3178 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3179 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3180 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3181 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3182 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3183 | PRIVATE third_party/googletest/googletest/include |
| 3184 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3185 | PRIVATE third_party/googletest/googlemock/include |
| 3186 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3187 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3188 | ) |
| 3189 | |
| 3190 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3191 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3192 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3193 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3194 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3195 | ) |
| 3196 | |
| 3197 | foreach(_hdr |
| 3198 | include/grpc++/impl/codegen/config_protobuf.h |
| 3199 | ) |
| 3200 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3201 | get_filename_component(_path ${_path} PATH) |
| 3202 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3203 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3204 | ) |
| 3205 | endforeach() |
| 3206 | |
| 3207 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3208 | |
| 3209 | add_library(grpc++_reflection |
| 3210 | src/cpp/ext/proto_server_reflection.cc |
| 3211 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3214 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3216 | ) |
| 3217 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3218 | if(WIN32 AND MSVC) |
| 3219 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3220 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3221 | ) |
| 3222 | if (gRPC_INSTALL) |
| 3223 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3224 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3225 | ) |
| 3226 | endif() |
| 3227 | endif() |
| 3228 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3229 | protobuf_generate_grpc_cpp( |
| 3230 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3231 | ) |
| 3232 | |
| 3233 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3234 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3236 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3237 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3238 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3239 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3240 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3241 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3242 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3243 | ) |
| 3244 | |
| 3245 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3246 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3247 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3248 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3249 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3250 | ) |
| 3251 | |
| 3252 | foreach(_hdr |
| 3253 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3254 | ) |
| 3255 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3256 | get_filename_component(_path ${_path} PATH) |
| 3257 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3258 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3259 | ) |
| 3260 | endforeach() |
| 3261 | |
| 3262 | |
| 3263 | if (gRPC_INSTALL) |
| 3264 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3265 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3266 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3267 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3268 | ) |
| 3269 | endif() |
| 3270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3271 | if (gRPC_BUILD_TESTS) |
| 3272 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3273 | add_library(grpc++_test_config |
| 3274 | test/cpp/util/test_config_cc.cc |
| 3275 | ) |
| 3276 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3277 | if(WIN32 AND MSVC) |
| 3278 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3279 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3280 | ) |
| 3281 | if (gRPC_INSTALL) |
| 3282 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3283 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3284 | ) |
| 3285 | endif() |
| 3286 | endif() |
| 3287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3288 | |
| 3289 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3290 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3292 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3293 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3294 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3295 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3296 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3297 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3298 | PRIVATE third_party/googletest/googletest/include |
| 3299 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3300 | PRIVATE third_party/googletest/googlemock/include |
| 3301 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3302 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3303 | ) |
| 3304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3305 | target_link_libraries(grpc++_test_config |
| 3306 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3307 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3308 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3309 | |
| 3310 | |
| 3311 | endif (gRPC_BUILD_TESTS) |
| 3312 | if (gRPC_BUILD_TESTS) |
| 3313 | |
| 3314 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3332 | test/cpp/end2end/test_service_impl.cc |
| 3333 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3334 | test/cpp/util/create_test_channel.cc |
| 3335 | test/cpp/util/string_ref_helper.cc |
| 3336 | test/cpp/util/subprocess.cc |
| 3337 | test/cpp/util/test_credentials_provider.cc |
| 3338 | src/cpp/codegen/codegen_init.cc |
| 3339 | ) |
| 3340 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3341 | if(WIN32 AND MSVC) |
| 3342 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3343 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3344 | ) |
| 3345 | if (gRPC_INSTALL) |
| 3346 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3347 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3348 | ) |
| 3349 | endif() |
| 3350 | endif() |
| 3351 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3352 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3353 | src/proto/grpc/health/v1/health.proto |
| 3354 | ) |
| 3355 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3356 | src/proto/grpc/testing/echo_messages.proto |
| 3357 | ) |
| 3358 | protobuf_generate_grpc_cpp( |
| 3359 | src/proto/grpc/testing/echo.proto |
| 3360 | ) |
| 3361 | protobuf_generate_grpc_cpp( |
| 3362 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3363 | ) |
| 3364 | |
| 3365 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3366 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3368 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3369 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3370 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3371 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3372 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3373 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3374 | PRIVATE third_party/googletest/googletest/include |
| 3375 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3376 | PRIVATE third_party/googletest/googlemock/include |
| 3377 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3378 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3379 | ) |
| 3380 | |
| 3381 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3382 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3383 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3384 | grpc++ |
| 3385 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3386 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3387 | ) |
| 3388 | |
| 3389 | foreach(_hdr |
| 3390 | include/grpc++/impl/codegen/async_stream.h |
| 3391 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3392 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3393 | include/grpc++/impl/codegen/call.h |
| 3394 | include/grpc++/impl/codegen/call_hook.h |
| 3395 | include/grpc++/impl/codegen/channel_interface.h |
| 3396 | include/grpc++/impl/codegen/client_context.h |
| 3397 | include/grpc++/impl/codegen/client_unary_call.h |
| 3398 | include/grpc++/impl/codegen/completion_queue.h |
| 3399 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3400 | include/grpc++/impl/codegen/config.h |
| 3401 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3402 | include/grpc++/impl/codegen/create_auth_context.h |
| 3403 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3404 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3405 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3406 | include/grpc++/impl/codegen/rpc_method.h |
| 3407 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3408 | include/grpc++/impl/codegen/security/auth_context.h |
| 3409 | include/grpc++/impl/codegen/serialization_traits.h |
| 3410 | include/grpc++/impl/codegen/server_context.h |
| 3411 | include/grpc++/impl/codegen/server_interface.h |
| 3412 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3413 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3414 | include/grpc++/impl/codegen/status.h |
| 3415 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3416 | include/grpc++/impl/codegen/string_ref.h |
| 3417 | include/grpc++/impl/codegen/stub_options.h |
| 3418 | include/grpc++/impl/codegen/sync_stream.h |
| 3419 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3420 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3421 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3422 | include/grpc/impl/codegen/compression_types.h |
| 3423 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3424 | include/grpc/impl/codegen/grpc_types.h |
| 3425 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3426 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3427 | include/grpc/impl/codegen/status.h |
| 3428 | include/grpc/impl/codegen/atm.h |
| 3429 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3430 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3431 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3432 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3433 | include/grpc/impl/codegen/gpr_slice.h |
| 3434 | include/grpc/impl/codegen/gpr_types.h |
| 3435 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3436 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3437 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3438 | include/grpc/impl/codegen/sync_generic.h |
| 3439 | include/grpc/impl/codegen/sync_posix.h |
| 3440 | include/grpc/impl/codegen/sync_windows.h |
| 3441 | include/grpc++/impl/codegen/proto_utils.h |
| 3442 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3443 | ) |
| 3444 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3445 | get_filename_component(_path ${_path} PATH) |
| 3446 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3447 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3448 | ) |
| 3449 | endforeach() |
| 3450 | |
| 3451 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3452 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3453 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3454 | add_library(grpc++_test_util_unsecure |
| 3455 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3456 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3457 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3458 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3459 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3460 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3461 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3462 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3463 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3464 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3465 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3466 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3467 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3468 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3469 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3470 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3471 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3472 | test/cpp/end2end/test_service_impl.cc |
| 3473 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3474 | test/cpp/util/string_ref_helper.cc |
| 3475 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3476 | src/cpp/codegen/codegen_init.cc |
| 3477 | ) |
| 3478 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3479 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3480 | set_target_properties(grpc++_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_test_util_unsecure" |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3481 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3482 | ) |
| 3483 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3484 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3485 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3486 | ) |
| 3487 | endif() |
| 3488 | endif() |
| 3489 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3490 | protobuf_generate_grpc_cpp( |
| 3491 | src/proto/grpc/health/v1/health.proto |
| 3492 | ) |
| 3493 | protobuf_generate_grpc_cpp( |
| 3494 | src/proto/grpc/testing/echo_messages.proto |
| 3495 | ) |
| 3496 | protobuf_generate_grpc_cpp( |
| 3497 | src/proto/grpc/testing/echo.proto |
| 3498 | ) |
| 3499 | protobuf_generate_grpc_cpp( |
| 3500 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3501 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3502 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3503 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3504 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3507 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3508 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3509 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3510 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3511 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3512 | PRIVATE third_party/googletest/googletest/include |
| 3513 | PRIVATE third_party/googletest/googletest |
| 3514 | PRIVATE third_party/googletest/googlemock/include |
| 3515 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3516 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3517 | ) |
| 3518 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3519 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3520 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3521 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3522 | grpc++_unsecure |
| 3523 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3524 | grpc_unsecure |
| 3525 | ) |
| 3526 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3527 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3528 | include/grpc++/impl/codegen/async_stream.h |
| 3529 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3530 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3531 | include/grpc++/impl/codegen/call.h |
| 3532 | include/grpc++/impl/codegen/call_hook.h |
| 3533 | include/grpc++/impl/codegen/channel_interface.h |
| 3534 | include/grpc++/impl/codegen/client_context.h |
| 3535 | include/grpc++/impl/codegen/client_unary_call.h |
| 3536 | include/grpc++/impl/codegen/completion_queue.h |
| 3537 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3538 | include/grpc++/impl/codegen/config.h |
| 3539 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3540 | include/grpc++/impl/codegen/create_auth_context.h |
| 3541 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3542 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3543 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3544 | include/grpc++/impl/codegen/rpc_method.h |
| 3545 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3546 | include/grpc++/impl/codegen/security/auth_context.h |
| 3547 | include/grpc++/impl/codegen/serialization_traits.h |
| 3548 | include/grpc++/impl/codegen/server_context.h |
| 3549 | include/grpc++/impl/codegen/server_interface.h |
| 3550 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3551 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3552 | include/grpc++/impl/codegen/status.h |
| 3553 | include/grpc++/impl/codegen/status_code_enum.h |
| 3554 | include/grpc++/impl/codegen/string_ref.h |
| 3555 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3556 | include/grpc++/impl/codegen/sync_stream.h |
| 3557 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3558 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3559 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3560 | include/grpc/impl/codegen/compression_types.h |
| 3561 | include/grpc/impl/codegen/connectivity_state.h |
| 3562 | include/grpc/impl/codegen/grpc_types.h |
| 3563 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3564 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3565 | include/grpc/impl/codegen/status.h |
| 3566 | include/grpc/impl/codegen/atm.h |
| 3567 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3568 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3569 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3570 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3571 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3572 | include/grpc/impl/codegen/gpr_types.h |
| 3573 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3574 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3575 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3576 | include/grpc/impl/codegen/sync_generic.h |
| 3577 | include/grpc/impl/codegen/sync_posix.h |
| 3578 | include/grpc/impl/codegen/sync_windows.h |
| 3579 | include/grpc++/impl/codegen/proto_utils.h |
| 3580 | include/grpc++/impl/codegen/config_protobuf.h |
| 3581 | ) |
| 3582 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3583 | get_filename_component(_path ${_path} PATH) |
| 3584 | install(FILES ${_hdr} |
| 3585 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3586 | ) |
| 3587 | endforeach() |
| 3588 | |
| 3589 | endif (gRPC_BUILD_TESTS) |
| 3590 | |
| 3591 | add_library(grpc++_unsecure |
| 3592 | src/cpp/client/insecure_credentials.cc |
| 3593 | src/cpp/common/insecure_create_auth_context.cc |
| 3594 | src/cpp/server/insecure_server_credentials.cc |
| 3595 | src/cpp/client/channel_cc.cc |
| 3596 | src/cpp/client/client_context.cc |
| 3597 | src/cpp/client/create_channel.cc |
| 3598 | src/cpp/client/create_channel_internal.cc |
| 3599 | src/cpp/client/create_channel_posix.cc |
| 3600 | src/cpp/client/credentials_cc.cc |
| 3601 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 3602 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3603 | src/cpp/common/channel_arguments.cc |
| 3604 | src/cpp/common/channel_filter.cc |
| 3605 | src/cpp/common/completion_queue_cc.cc |
| 3606 | src/cpp/common/core_codegen.cc |
| 3607 | src/cpp/common/resource_quota_cc.cc |
| 3608 | src/cpp/common/rpc_method.cc |
| 3609 | src/cpp/common/version_cc.cc |
| 3610 | src/cpp/server/async_generic_service.cc |
| 3611 | src/cpp/server/channel_argument_option.cc |
| 3612 | src/cpp/server/create_default_thread_pool.cc |
| 3613 | src/cpp/server/dynamic_thread_pool.cc |
| 3614 | src/cpp/server/health/default_health_check_service.cc |
| 3615 | src/cpp/server/health/health.pb.c |
| 3616 | src/cpp/server/health/health_check_service.cc |
| 3617 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3618 | src/cpp/server/server_builder.cc |
| 3619 | src/cpp/server/server_cc.cc |
| 3620 | src/cpp/server/server_context.cc |
| 3621 | src/cpp/server/server_credentials.cc |
| 3622 | src/cpp/server/server_posix.cc |
| 3623 | src/cpp/thread_manager/thread_manager.cc |
| 3624 | src/cpp/util/byte_buffer_cc.cc |
| 3625 | src/cpp/util/slice_cc.cc |
| 3626 | src/cpp/util/status.cc |
| 3627 | src/cpp/util/string_ref.cc |
| 3628 | src/cpp/util/time_cc.cc |
| 3629 | src/cpp/codegen/codegen_init.cc |
| 3630 | ) |
| 3631 | |
| 3632 | if(WIN32 AND MSVC) |
| 3633 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3634 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3635 | ) |
| 3636 | if (gRPC_INSTALL) |
| 3637 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3638 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3639 | ) |
| 3640 | endif() |
| 3641 | endif() |
| 3642 | |
| 3643 | |
| 3644 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3645 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3647 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3648 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3649 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3650 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3651 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3652 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3653 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3654 | ) |
| 3655 | |
| 3656 | target_link_libraries(grpc++_unsecure |
| 3657 | ${_gRPC_BASELIB_LIBRARIES} |
| 3658 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3659 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3660 | gpr |
| 3661 | grpc_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3662 | ) |
| 3663 | |
| 3664 | foreach(_hdr |
| 3665 | include/grpc++/alarm.h |
| 3666 | include/grpc++/channel.h |
| 3667 | include/grpc++/client_context.h |
| 3668 | include/grpc++/completion_queue.h |
| 3669 | include/grpc++/create_channel.h |
| 3670 | include/grpc++/create_channel_posix.h |
| 3671 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3672 | include/grpc++/generic/async_generic_service.h |
| 3673 | include/grpc++/generic/generic_stub.h |
| 3674 | include/grpc++/grpc++.h |
| 3675 | include/grpc++/health_check_service_interface.h |
| 3676 | include/grpc++/impl/call.h |
| 3677 | include/grpc++/impl/channel_argument_option.h |
| 3678 | include/grpc++/impl/client_unary_call.h |
| 3679 | include/grpc++/impl/codegen/core_codegen.h |
| 3680 | include/grpc++/impl/grpc_library.h |
| 3681 | include/grpc++/impl/method_handler_impl.h |
| 3682 | include/grpc++/impl/rpc_method.h |
| 3683 | include/grpc++/impl/rpc_service_method.h |
| 3684 | include/grpc++/impl/serialization_traits.h |
| 3685 | include/grpc++/impl/server_builder_option.h |
| 3686 | include/grpc++/impl/server_builder_plugin.h |
| 3687 | include/grpc++/impl/server_initializer.h |
| 3688 | include/grpc++/impl/service_type.h |
| 3689 | include/grpc++/resource_quota.h |
| 3690 | include/grpc++/security/auth_context.h |
| 3691 | include/grpc++/security/auth_metadata_processor.h |
| 3692 | include/grpc++/security/credentials.h |
| 3693 | include/grpc++/security/server_credentials.h |
| 3694 | include/grpc++/server.h |
| 3695 | include/grpc++/server_builder.h |
| 3696 | include/grpc++/server_context.h |
| 3697 | include/grpc++/server_posix.h |
| 3698 | include/grpc++/support/async_stream.h |
| 3699 | include/grpc++/support/async_unary_call.h |
| 3700 | include/grpc++/support/byte_buffer.h |
| 3701 | include/grpc++/support/channel_arguments.h |
| 3702 | include/grpc++/support/config.h |
| 3703 | include/grpc++/support/slice.h |
| 3704 | include/grpc++/support/status.h |
| 3705 | include/grpc++/support/status_code_enum.h |
| 3706 | include/grpc++/support/string_ref.h |
| 3707 | include/grpc++/support/stub_options.h |
| 3708 | include/grpc++/support/sync_stream.h |
| 3709 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3710 | include/grpc/support/alloc.h |
| 3711 | include/grpc/support/atm.h |
| 3712 | include/grpc/support/atm_gcc_atomic.h |
| 3713 | include/grpc/support/atm_gcc_sync.h |
| 3714 | include/grpc/support/atm_windows.h |
| 3715 | include/grpc/support/avl.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3716 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3717 | include/grpc/support/log.h |
| 3718 | include/grpc/support/log_windows.h |
| 3719 | include/grpc/support/port_platform.h |
| 3720 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3721 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3722 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3723 | include/grpc/support/sync_generic.h |
| 3724 | include/grpc/support/sync_posix.h |
| 3725 | include/grpc/support/sync_windows.h |
| 3726 | include/grpc/support/thd.h |
| 3727 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3728 | include/grpc/support/useful.h |
| 3729 | include/grpc/impl/codegen/atm.h |
| 3730 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3731 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3732 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3733 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3734 | include/grpc/impl/codegen/gpr_slice.h |
| 3735 | include/grpc/impl/codegen/gpr_types.h |
| 3736 | include/grpc/impl/codegen/port_platform.h |
| 3737 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3738 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3739 | include/grpc/impl/codegen/sync_generic.h |
| 3740 | include/grpc/impl/codegen/sync_posix.h |
| 3741 | include/grpc/impl/codegen/sync_windows.h |
| 3742 | include/grpc/byte_buffer.h |
| 3743 | include/grpc/byte_buffer_reader.h |
| 3744 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3745 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3746 | include/grpc/grpc.h |
| 3747 | include/grpc/grpc_posix.h |
| 3748 | include/grpc/grpc_security_constants.h |
| 3749 | include/grpc/load_reporting.h |
| 3750 | include/grpc/slice.h |
| 3751 | include/grpc/slice_buffer.h |
| 3752 | include/grpc/status.h |
| 3753 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3754 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3755 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3756 | include/grpc/impl/codegen/compression_types.h |
| 3757 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3758 | include/grpc/impl/codegen/grpc_types.h |
| 3759 | include/grpc/impl/codegen/propagation_bits.h |
| 3760 | include/grpc/impl/codegen/slice.h |
| 3761 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3762 | include/grpc++/impl/codegen/async_stream.h |
| 3763 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3764 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3765 | include/grpc++/impl/codegen/call.h |
| 3766 | include/grpc++/impl/codegen/call_hook.h |
| 3767 | include/grpc++/impl/codegen/channel_interface.h |
| 3768 | include/grpc++/impl/codegen/client_context.h |
| 3769 | include/grpc++/impl/codegen/client_unary_call.h |
| 3770 | include/grpc++/impl/codegen/completion_queue.h |
| 3771 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3772 | include/grpc++/impl/codegen/config.h |
| 3773 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3774 | include/grpc++/impl/codegen/create_auth_context.h |
| 3775 | include/grpc++/impl/codegen/grpc_library.h |
| 3776 | include/grpc++/impl/codegen/metadata_map.h |
| 3777 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3778 | include/grpc++/impl/codegen/rpc_method.h |
| 3779 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3780 | include/grpc++/impl/codegen/security/auth_context.h |
| 3781 | include/grpc++/impl/codegen/serialization_traits.h |
| 3782 | include/grpc++/impl/codegen/server_context.h |
| 3783 | include/grpc++/impl/codegen/server_interface.h |
| 3784 | include/grpc++/impl/codegen/service_type.h |
| 3785 | include/grpc++/impl/codegen/slice.h |
| 3786 | include/grpc++/impl/codegen/status.h |
| 3787 | include/grpc++/impl/codegen/status_code_enum.h |
| 3788 | include/grpc++/impl/codegen/string_ref.h |
| 3789 | include/grpc++/impl/codegen/stub_options.h |
| 3790 | include/grpc++/impl/codegen/sync_stream.h |
| 3791 | include/grpc++/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3792 | ) |
| 3793 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3794 | get_filename_component(_path ${_path} PATH) |
| 3795 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3796 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3797 | ) |
| 3798 | endforeach() |
| 3799 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3800 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3801 | if (gRPC_INSTALL) |
| 3802 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3803 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3804 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3805 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3806 | ) |
| 3807 | endif() |
| 3808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3809 | if (gRPC_BUILD_TESTS) |
| 3810 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3811 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3812 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3813 | ) |
| 3814 | |
| 3815 | if(WIN32 AND MSVC) |
| 3816 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3817 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3818 | ) |
| 3819 | if (gRPC_INSTALL) |
| 3820 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3821 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3822 | ) |
| 3823 | endif() |
| 3824 | endif() |
| 3825 | |
| 3826 | |
| 3827 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3828 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3830 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3831 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3832 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3833 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3834 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3835 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3836 | PRIVATE third_party/googletest/googletest/include |
| 3837 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3838 | PRIVATE third_party/googletest/googlemock/include |
| 3839 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3840 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3841 | ) |
| 3842 | |
| 3843 | target_link_libraries(grpc_benchmark |
| 3844 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3845 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3846 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3847 | grpc++_unsecure |
| 3848 | grpc_test_util_unsecure |
| 3849 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3850 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3851 | ) |
| 3852 | |
| 3853 | |
| 3854 | endif (gRPC_BUILD_TESTS) |
| 3855 | if (gRPC_BUILD_TESTS) |
| 3856 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3857 | add_library(grpc_cli_libs |
| 3858 | test/cpp/util/cli_call.cc |
| 3859 | test/cpp/util/cli_credentials.cc |
| 3860 | test/cpp/util/grpc_tool.cc |
| 3861 | test/cpp/util/proto_file_parser.cc |
| 3862 | test/cpp/util/service_describer.cc |
| 3863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3866 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3867 | ) |
| 3868 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3869 | if(WIN32 AND MSVC) |
| 3870 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3871 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3872 | ) |
| 3873 | if (gRPC_INSTALL) |
| 3874 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3875 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3876 | ) |
| 3877 | endif() |
| 3878 | endif() |
| 3879 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3880 | protobuf_generate_grpc_cpp( |
| 3881 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3882 | ) |
| 3883 | |
| 3884 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3885 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3887 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3888 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3889 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3890 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3891 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3892 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3893 | PRIVATE third_party/googletest/googletest/include |
| 3894 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3895 | PRIVATE third_party/googletest/googlemock/include |
| 3896 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3897 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3898 | ) |
| 3899 | |
| 3900 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3901 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3902 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3903 | grpc++_proto_reflection_desc_db |
| 3904 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3905 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3906 | ) |
| 3907 | |
| 3908 | foreach(_hdr |
| 3909 | include/grpc++/impl/codegen/config_protobuf.h |
| 3910 | ) |
| 3911 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3912 | get_filename_component(_path ${_path} PATH) |
| 3913 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3914 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3915 | ) |
| 3916 | endforeach() |
| 3917 | |
| 3918 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3919 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3920 | add_library(grpc_plugin_support |
| 3921 | src/compiler/cpp_generator.cc |
| 3922 | src/compiler/csharp_generator.cc |
| 3923 | src/compiler/node_generator.cc |
| 3924 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3925 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3926 | src/compiler/python_generator.cc |
| 3927 | src/compiler/ruby_generator.cc |
| 3928 | ) |
| 3929 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3930 | if(WIN32 AND MSVC) |
| 3931 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3932 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3933 | ) |
| 3934 | if (gRPC_INSTALL) |
| 3935 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3936 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3937 | ) |
| 3938 | endif() |
| 3939 | endif() |
| 3940 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3941 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3942 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3943 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3945 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3946 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3947 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3948 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3949 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3950 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3951 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3952 | ) |
| 3953 | |
| 3954 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3955 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3956 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3957 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3958 | ) |
| 3959 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3960 | foreach(_hdr |
| 3961 | include/grpc++/impl/codegen/config_protobuf.h |
| 3962 | ) |
| 3963 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3964 | get_filename_component(_path ${_path} PATH) |
| 3965 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3966 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3967 | ) |
| 3968 | endforeach() |
| 3969 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3970 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3971 | if (gRPC_INSTALL) |
| 3972 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3973 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3974 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3975 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3976 | ) |
| 3977 | endif() |
| 3978 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3979 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3981 | add_library(http2_client_main |
| 3982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3984 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3985 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3986 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3987 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3988 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3989 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3990 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3991 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3992 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3993 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3994 | test/cpp/interop/http2_client.cc |
| 3995 | ) |
| 3996 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3997 | if(WIN32 AND MSVC) |
| 3998 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3999 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4000 | ) |
| 4001 | if (gRPC_INSTALL) |
| 4002 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4003 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4004 | ) |
| 4005 | endif() |
| 4006 | endif() |
| 4007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4008 | protobuf_generate_grpc_cpp( |
| 4009 | src/proto/grpc/testing/empty.proto |
| 4010 | ) |
| 4011 | protobuf_generate_grpc_cpp( |
| 4012 | src/proto/grpc/testing/messages.proto |
| 4013 | ) |
| 4014 | protobuf_generate_grpc_cpp( |
| 4015 | src/proto/grpc/testing/test.proto |
| 4016 | ) |
| 4017 | |
| 4018 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4019 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4020 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4021 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4022 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4023 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4024 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4025 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4026 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4027 | PRIVATE third_party/googletest/googletest/include |
| 4028 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4029 | PRIVATE third_party/googletest/googlemock/include |
| 4030 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4031 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4032 | ) |
| 4033 | |
| 4034 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4035 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4036 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4037 | grpc++_test_util |
| 4038 | grpc_test_util |
| 4039 | grpc++ |
| 4040 | grpc |
| 4041 | grpc++_test_config |
| 4042 | ) |
| 4043 | |
| 4044 | |
| 4045 | endif (gRPC_BUILD_TESTS) |
| 4046 | if (gRPC_BUILD_TESTS) |
| 4047 | |
| 4048 | add_library(interop_client_helper |
| 4049 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4050 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4051 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4052 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4053 | test/cpp/interop/client_helper.cc |
| 4054 | ) |
| 4055 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4056 | if(WIN32 AND MSVC) |
| 4057 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4058 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4059 | ) |
| 4060 | if (gRPC_INSTALL) |
| 4061 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4062 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4063 | ) |
| 4064 | endif() |
| 4065 | endif() |
| 4066 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4067 | protobuf_generate_grpc_cpp( |
| 4068 | src/proto/grpc/testing/messages.proto |
| 4069 | ) |
| 4070 | |
| 4071 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4072 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4074 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4075 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4076 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4077 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4078 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4079 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4080 | PRIVATE third_party/googletest/googletest/include |
| 4081 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4082 | PRIVATE third_party/googletest/googlemock/include |
| 4083 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4084 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4085 | ) |
| 4086 | |
| 4087 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4088 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4089 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4090 | grpc++_test_util |
| 4091 | grpc_test_util |
| 4092 | grpc++ |
| 4093 | grpc |
| 4094 | gpr |
| 4095 | ) |
| 4096 | |
| 4097 | |
| 4098 | endif (gRPC_BUILD_TESTS) |
| 4099 | if (gRPC_BUILD_TESTS) |
| 4100 | |
| 4101 | add_library(interop_client_main |
| 4102 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4103 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4104 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4105 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4106 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4107 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4108 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4109 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4110 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4111 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4112 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4113 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4114 | test/cpp/interop/client.cc |
| 4115 | test/cpp/interop/interop_client.cc |
| 4116 | ) |
| 4117 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4118 | if(WIN32 AND MSVC) |
| 4119 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4120 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4121 | ) |
| 4122 | if (gRPC_INSTALL) |
| 4123 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4124 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4125 | ) |
| 4126 | endif() |
| 4127 | endif() |
| 4128 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4129 | protobuf_generate_grpc_cpp( |
| 4130 | src/proto/grpc/testing/empty.proto |
| 4131 | ) |
| 4132 | protobuf_generate_grpc_cpp( |
| 4133 | src/proto/grpc/testing/messages.proto |
| 4134 | ) |
| 4135 | protobuf_generate_grpc_cpp( |
| 4136 | src/proto/grpc/testing/test.proto |
| 4137 | ) |
| 4138 | |
| 4139 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4140 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4142 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4143 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4144 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4145 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4146 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4147 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4148 | PRIVATE third_party/googletest/googletest/include |
| 4149 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4150 | PRIVATE third_party/googletest/googlemock/include |
| 4151 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4152 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4153 | ) |
| 4154 | |
| 4155 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4156 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4157 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4158 | interop_client_helper |
| 4159 | grpc++_test_util |
| 4160 | grpc_test_util |
| 4161 | grpc++ |
| 4162 | grpc |
| 4163 | gpr_test_util |
| 4164 | gpr |
| 4165 | grpc++_test_config |
| 4166 | ) |
| 4167 | |
| 4168 | |
| 4169 | endif (gRPC_BUILD_TESTS) |
| 4170 | if (gRPC_BUILD_TESTS) |
| 4171 | |
| 4172 | add_library(interop_server_helper |
| 4173 | test/cpp/interop/server_helper.cc |
| 4174 | ) |
| 4175 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4176 | if(WIN32 AND MSVC) |
| 4177 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4178 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4179 | ) |
| 4180 | if (gRPC_INSTALL) |
| 4181 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4182 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4183 | ) |
| 4184 | endif() |
| 4185 | endif() |
| 4186 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4187 | |
| 4188 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4189 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4197 | PRIVATE third_party/googletest/googletest/include |
| 4198 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4199 | PRIVATE third_party/googletest/googlemock/include |
| 4200 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4201 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4202 | ) |
| 4203 | |
| 4204 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4205 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4207 | grpc++_test_util |
| 4208 | grpc_test_util |
| 4209 | grpc++ |
| 4210 | grpc |
| 4211 | gpr |
| 4212 | ) |
| 4213 | |
| 4214 | |
| 4215 | endif (gRPC_BUILD_TESTS) |
| 4216 | if (gRPC_BUILD_TESTS) |
| 4217 | |
| 4218 | add_library(interop_server_lib |
| 4219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4220 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4228 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4229 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4230 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4231 | test/cpp/interop/interop_server.cc |
| 4232 | ) |
| 4233 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4234 | if(WIN32 AND MSVC) |
| 4235 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4236 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4237 | ) |
| 4238 | if (gRPC_INSTALL) |
| 4239 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4240 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4241 | ) |
| 4242 | endif() |
| 4243 | endif() |
| 4244 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4245 | protobuf_generate_grpc_cpp( |
| 4246 | src/proto/grpc/testing/empty.proto |
| 4247 | ) |
| 4248 | protobuf_generate_grpc_cpp( |
| 4249 | src/proto/grpc/testing/messages.proto |
| 4250 | ) |
| 4251 | protobuf_generate_grpc_cpp( |
| 4252 | src/proto/grpc/testing/test.proto |
| 4253 | ) |
| 4254 | |
| 4255 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4256 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4258 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4259 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4260 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4261 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4262 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4263 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4264 | PRIVATE third_party/googletest/googletest/include |
| 4265 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4266 | PRIVATE third_party/googletest/googlemock/include |
| 4267 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4268 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4269 | ) |
| 4270 | |
| 4271 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4272 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4274 | interop_server_helper |
| 4275 | grpc++_test_util |
| 4276 | grpc_test_util |
| 4277 | grpc++ |
| 4278 | grpc |
| 4279 | gpr_test_util |
| 4280 | gpr |
| 4281 | grpc++_test_config |
| 4282 | ) |
| 4283 | |
| 4284 | |
| 4285 | endif (gRPC_BUILD_TESTS) |
| 4286 | if (gRPC_BUILD_TESTS) |
| 4287 | |
| 4288 | add_library(interop_server_main |
| 4289 | test/cpp/interop/interop_server_bootstrap.cc |
| 4290 | ) |
| 4291 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4292 | if(WIN32 AND MSVC) |
| 4293 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4294 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4295 | ) |
| 4296 | if (gRPC_INSTALL) |
| 4297 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4298 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4299 | ) |
| 4300 | endif() |
| 4301 | endif() |
| 4302 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4303 | |
| 4304 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4305 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4308 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4309 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4310 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4311 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4312 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4313 | PRIVATE third_party/googletest/googletest/include |
| 4314 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4315 | PRIVATE third_party/googletest/googlemock/include |
| 4316 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4317 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4318 | ) |
| 4319 | |
| 4320 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4321 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4323 | interop_server_lib |
| 4324 | ) |
| 4325 | |
| 4326 | |
| 4327 | endif (gRPC_BUILD_TESTS) |
| 4328 | if (gRPC_BUILD_TESTS) |
| 4329 | |
| 4330 | add_library(qps |
| 4331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4337 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4338 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4339 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4340 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4341 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4342 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4343 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4344 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4345 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4346 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4347 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4348 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4349 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4350 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
Nicolas "Pixel" Noble | b02dd01 | 2017-03-24 18:45:22 +0100 | [diff] [blame] | 4351 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4352 | test/cpp/qps/client_async.cc |
| 4353 | test/cpp/qps/client_sync.cc |
| 4354 | test/cpp/qps/driver.cc |
| 4355 | test/cpp/qps/parse_json.cc |
| 4356 | test/cpp/qps/qps_worker.cc |
| 4357 | test/cpp/qps/report.cc |
| 4358 | test/cpp/qps/server_async.cc |
| 4359 | test/cpp/qps/server_sync.cc |
| 4360 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4361 | ) |
| 4362 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4363 | if(WIN32 AND MSVC) |
| 4364 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4365 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4366 | ) |
| 4367 | if (gRPC_INSTALL) |
| 4368 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4369 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4370 | ) |
| 4371 | endif() |
| 4372 | endif() |
| 4373 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4374 | protobuf_generate_grpc_cpp( |
| 4375 | src/proto/grpc/testing/messages.proto |
| 4376 | ) |
| 4377 | protobuf_generate_grpc_cpp( |
| 4378 | src/proto/grpc/testing/payloads.proto |
| 4379 | ) |
| 4380 | protobuf_generate_grpc_cpp( |
| 4381 | src/proto/grpc/testing/stats.proto |
| 4382 | ) |
| 4383 | protobuf_generate_grpc_cpp( |
| 4384 | src/proto/grpc/testing/control.proto |
| 4385 | ) |
| 4386 | protobuf_generate_grpc_cpp( |
| 4387 | src/proto/grpc/testing/services.proto |
| 4388 | ) |
| 4389 | |
| 4390 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4391 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4393 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4394 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4395 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4396 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4397 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4398 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4399 | PRIVATE third_party/googletest/googletest/include |
| 4400 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4401 | PRIVATE third_party/googletest/googlemock/include |
| 4402 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4403 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4404 | ) |
| 4405 | |
| 4406 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4407 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4409 | grpc_test_util |
| 4410 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4411 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4412 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4413 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4414 | ) |
| 4415 | |
| 4416 | |
| 4417 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4418 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4419 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4420 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4421 | ) |
| 4422 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4423 | if(WIN32 AND MSVC) |
| 4424 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4425 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4426 | ) |
| 4427 | if (gRPC_INSTALL) |
| 4428 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4429 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4430 | ) |
| 4431 | endif() |
| 4432 | endif() |
| 4433 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4434 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4435 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4436 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4438 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4439 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4440 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4441 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4442 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4443 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4444 | ) |
| 4445 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4446 | target_link_libraries(grpc_csharp_ext |
| 4447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4448 | grpc |
| 4449 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4450 | ) |
| 4451 | |
| 4452 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4453 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4454 | if (gRPC_INSTALL) |
| 4455 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4456 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4457 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4458 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4459 | ) |
| 4460 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4461 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4462 | if (gRPC_BUILD_TESTS) |
| 4463 | |
| 4464 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4465 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4466 | ) |
| 4467 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4468 | if(WIN32 AND MSVC) |
| 4469 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4470 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4471 | ) |
| 4472 | if (gRPC_INSTALL) |
| 4473 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4474 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4475 | ) |
| 4476 | endif() |
| 4477 | endif() |
| 4478 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4479 | |
| 4480 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4481 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4483 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4484 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4485 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4486 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4487 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4488 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4489 | ) |
| 4490 | |
| 4491 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4492 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4493 | grpc_test_util_unsecure |
| 4494 | grpc_unsecure |
| 4495 | gpr_test_util |
| 4496 | gpr |
| 4497 | ) |
| 4498 | |
| 4499 | |
| 4500 | endif (gRPC_BUILD_TESTS) |
| 4501 | if (gRPC_BUILD_TESTS) |
| 4502 | |
| 4503 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4504 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4505 | ) |
| 4506 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4507 | if(WIN32 AND MSVC) |
| 4508 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4509 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4510 | ) |
| 4511 | if (gRPC_INSTALL) |
| 4512 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4513 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4514 | ) |
| 4515 | endif() |
| 4516 | endif() |
| 4517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4518 | |
| 4519 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4520 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4522 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4523 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4524 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4525 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4526 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4527 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4528 | ) |
| 4529 | |
| 4530 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4531 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4532 | grpc_test_util |
| 4533 | grpc |
| 4534 | gpr_test_util |
| 4535 | gpr |
| 4536 | ) |
| 4537 | |
| 4538 | |
| 4539 | endif (gRPC_BUILD_TESTS) |
| 4540 | if (gRPC_BUILD_TESTS) |
| 4541 | |
| 4542 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4543 | test/core/end2end/end2end_tests.cc |
| 4544 | test/core/end2end/end2end_test_utils.cc |
| 4545 | test/core/end2end/tests/authority_not_supported.cc |
| 4546 | test/core/end2end/tests/bad_hostname.cc |
| 4547 | test/core/end2end/tests/bad_ping.cc |
| 4548 | test/core/end2end/tests/binary_metadata.cc |
| 4549 | test/core/end2end/tests/call_creds.cc |
| 4550 | test/core/end2end/tests/cancel_after_accept.cc |
| 4551 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4552 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4553 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4554 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4555 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4556 | test/core/end2end/tests/cancel_with_status.cc |
| 4557 | test/core/end2end/tests/compressed_payload.cc |
| 4558 | test/core/end2end/tests/connectivity.cc |
| 4559 | test/core/end2end/tests/default_host.cc |
| 4560 | test/core/end2end/tests/disappearing_server.cc |
| 4561 | test/core/end2end/tests/empty_batch.cc |
| 4562 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4563 | test/core/end2end/tests/filter_causes_close.cc |
| 4564 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4565 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4566 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4567 | test/core/end2end/tests/high_initial_seqno.cc |
| 4568 | test/core/end2end/tests/hpack_size.cc |
| 4569 | test/core/end2end/tests/idempotent_request.cc |
| 4570 | test/core/end2end/tests/invoke_large_request.cc |
| 4571 | test/core/end2end/tests/keepalive_timeout.cc |
| 4572 | test/core/end2end/tests/large_metadata.cc |
| 4573 | test/core/end2end/tests/load_reporting_hook.cc |
| 4574 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4575 | test/core/end2end/tests/max_connection_age.cc |
| 4576 | test/core/end2end/tests/max_connection_idle.cc |
| 4577 | test/core/end2end/tests/max_message_length.cc |
| 4578 | test/core/end2end/tests/negative_deadline.cc |
| 4579 | test/core/end2end/tests/network_status_change.cc |
| 4580 | test/core/end2end/tests/no_logging.cc |
| 4581 | test/core/end2end/tests/no_op.cc |
| 4582 | test/core/end2end/tests/payload.cc |
| 4583 | test/core/end2end/tests/ping.cc |
| 4584 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4585 | test/core/end2end/tests/proxy_auth.cc |
| 4586 | test/core/end2end/tests/registered_call.cc |
| 4587 | test/core/end2end/tests/request_with_flags.cc |
| 4588 | test/core/end2end/tests/request_with_payload.cc |
| 4589 | test/core/end2end/tests/resource_quota_server.cc |
| 4590 | test/core/end2end/tests/server_finishes_request.cc |
| 4591 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4592 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4593 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4594 | test/core/end2end/tests/simple_delayed_request.cc |
| 4595 | test/core/end2end/tests/simple_metadata.cc |
| 4596 | test/core/end2end/tests/simple_request.cc |
| 4597 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4598 | test/core/end2end/tests/stream_compression_payload.cc |
| 4599 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4600 | test/core/end2end/tests/streaming_error_response.cc |
| 4601 | test/core/end2end/tests/trailing_metadata.cc |
| 4602 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4603 | test/core/end2end/tests/write_buffering.cc |
| 4604 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4605 | ) |
| 4606 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4607 | if(WIN32 AND MSVC) |
| 4608 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4609 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4610 | ) |
| 4611 | if (gRPC_INSTALL) |
| 4612 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4613 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4614 | ) |
| 4615 | endif() |
| 4616 | endif() |
| 4617 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4618 | |
| 4619 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4620 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4622 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4623 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4624 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4625 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4626 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4627 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4628 | ) |
| 4629 | |
| 4630 | target_link_libraries(end2end_tests |
| 4631 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4632 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4633 | grpc_test_util |
| 4634 | grpc |
| 4635 | gpr_test_util |
| 4636 | gpr |
| 4637 | ) |
| 4638 | |
| 4639 | |
| 4640 | endif (gRPC_BUILD_TESTS) |
| 4641 | if (gRPC_BUILD_TESTS) |
| 4642 | |
| 4643 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4644 | test/core/end2end/end2end_nosec_tests.cc |
| 4645 | test/core/end2end/end2end_test_utils.cc |
| 4646 | test/core/end2end/tests/authority_not_supported.cc |
| 4647 | test/core/end2end/tests/bad_hostname.cc |
| 4648 | test/core/end2end/tests/bad_ping.cc |
| 4649 | test/core/end2end/tests/binary_metadata.cc |
| 4650 | test/core/end2end/tests/cancel_after_accept.cc |
| 4651 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4652 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4653 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4654 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4655 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4656 | test/core/end2end/tests/cancel_with_status.cc |
| 4657 | test/core/end2end/tests/compressed_payload.cc |
| 4658 | test/core/end2end/tests/connectivity.cc |
| 4659 | test/core/end2end/tests/default_host.cc |
| 4660 | test/core/end2end/tests/disappearing_server.cc |
| 4661 | test/core/end2end/tests/empty_batch.cc |
| 4662 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4663 | test/core/end2end/tests/filter_causes_close.cc |
| 4664 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4665 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4666 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4667 | test/core/end2end/tests/high_initial_seqno.cc |
| 4668 | test/core/end2end/tests/hpack_size.cc |
| 4669 | test/core/end2end/tests/idempotent_request.cc |
| 4670 | test/core/end2end/tests/invoke_large_request.cc |
| 4671 | test/core/end2end/tests/keepalive_timeout.cc |
| 4672 | test/core/end2end/tests/large_metadata.cc |
| 4673 | test/core/end2end/tests/load_reporting_hook.cc |
| 4674 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4675 | test/core/end2end/tests/max_connection_age.cc |
| 4676 | test/core/end2end/tests/max_connection_idle.cc |
| 4677 | test/core/end2end/tests/max_message_length.cc |
| 4678 | test/core/end2end/tests/negative_deadline.cc |
| 4679 | test/core/end2end/tests/network_status_change.cc |
| 4680 | test/core/end2end/tests/no_logging.cc |
| 4681 | test/core/end2end/tests/no_op.cc |
| 4682 | test/core/end2end/tests/payload.cc |
| 4683 | test/core/end2end/tests/ping.cc |
| 4684 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4685 | test/core/end2end/tests/proxy_auth.cc |
| 4686 | test/core/end2end/tests/registered_call.cc |
| 4687 | test/core/end2end/tests/request_with_flags.cc |
| 4688 | test/core/end2end/tests/request_with_payload.cc |
| 4689 | test/core/end2end/tests/resource_quota_server.cc |
| 4690 | test/core/end2end/tests/server_finishes_request.cc |
| 4691 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4692 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4693 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4694 | test/core/end2end/tests/simple_delayed_request.cc |
| 4695 | test/core/end2end/tests/simple_metadata.cc |
| 4696 | test/core/end2end/tests/simple_request.cc |
| 4697 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4698 | test/core/end2end/tests/stream_compression_payload.cc |
| 4699 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4700 | test/core/end2end/tests/streaming_error_response.cc |
| 4701 | test/core/end2end/tests/trailing_metadata.cc |
| 4702 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4703 | test/core/end2end/tests/write_buffering.cc |
| 4704 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4705 | ) |
| 4706 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4707 | if(WIN32 AND MSVC) |
| 4708 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4709 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4710 | ) |
| 4711 | if (gRPC_INSTALL) |
| 4712 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4713 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4714 | ) |
| 4715 | endif() |
| 4716 | endif() |
| 4717 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4718 | |
| 4719 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4720 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4722 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4723 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4724 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4725 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4726 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4727 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4728 | ) |
| 4729 | |
| 4730 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4731 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4732 | grpc_test_util_unsecure |
| 4733 | grpc_unsecure |
| 4734 | gpr_test_util |
| 4735 | gpr |
| 4736 | ) |
| 4737 | |
| 4738 | |
| 4739 | endif (gRPC_BUILD_TESTS) |
| 4740 | |
| 4741 | if (gRPC_BUILD_TESTS) |
| 4742 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4743 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4744 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4745 | ) |
| 4746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4748 | target_include_directories(algorithm_test |
| 4749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4751 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4752 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4753 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4754 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4755 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4756 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4757 | ) |
| 4758 | |
| 4759 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4761 | grpc_test_util |
| 4762 | grpc |
| 4763 | gpr_test_util |
| 4764 | gpr |
| 4765 | ) |
| 4766 | |
| 4767 | endif (gRPC_BUILD_TESTS) |
| 4768 | if (gRPC_BUILD_TESTS) |
| 4769 | |
| 4770 | add_executable(alloc_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 4771 | test/core/gpr/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4772 | ) |
| 4773 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4774 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4775 | target_include_directories(alloc_test |
| 4776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4778 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4779 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4780 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4781 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4782 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4783 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4784 | ) |
| 4785 | |
| 4786 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4787 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4788 | gpr_test_util |
| 4789 | gpr |
| 4790 | ) |
| 4791 | |
| 4792 | endif (gRPC_BUILD_TESTS) |
| 4793 | if (gRPC_BUILD_TESTS) |
| 4794 | |
| 4795 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4796 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4797 | ) |
| 4798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4800 | target_include_directories(alpn_test |
| 4801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4809 | ) |
| 4810 | |
| 4811 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4813 | grpc_test_util |
| 4814 | grpc |
| 4815 | gpr_test_util |
| 4816 | gpr |
| 4817 | ) |
| 4818 | |
| 4819 | endif (gRPC_BUILD_TESTS) |
| 4820 | if (gRPC_BUILD_TESTS) |
| 4821 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4822 | add_executable(arena_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 4823 | test/core/gpr/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4824 | ) |
| 4825 | |
| 4826 | |
| 4827 | target_include_directories(arena_test |
| 4828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4830 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4831 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4832 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4833 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4834 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4835 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4836 | ) |
| 4837 | |
| 4838 | target_link_libraries(arena_test |
| 4839 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4840 | gpr_test_util |
| 4841 | gpr |
| 4842 | ) |
| 4843 | |
| 4844 | endif (gRPC_BUILD_TESTS) |
| 4845 | if (gRPC_BUILD_TESTS) |
| 4846 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4847 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4848 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4849 | ) |
| 4850 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4851 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4852 | target_include_directories(bad_server_response_test |
| 4853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4855 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4856 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4857 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4858 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4859 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4860 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4861 | ) |
| 4862 | |
| 4863 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4864 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4865 | test_tcp_server |
| 4866 | grpc_test_util |
| 4867 | grpc |
| 4868 | gpr_test_util |
| 4869 | gpr |
| 4870 | ) |
| 4871 | |
| 4872 | endif (gRPC_BUILD_TESTS) |
| 4873 | if (gRPC_BUILD_TESTS) |
| 4874 | |
| 4875 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4876 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4877 | ) |
| 4878 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4879 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4880 | target_include_directories(bin_decoder_test |
| 4881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4883 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4884 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4885 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4886 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4887 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4888 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4889 | ) |
| 4890 | |
| 4891 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4892 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4893 | grpc_test_util |
| 4894 | grpc |
| 4895 | ) |
| 4896 | |
| 4897 | endif (gRPC_BUILD_TESTS) |
| 4898 | if (gRPC_BUILD_TESTS) |
| 4899 | |
| 4900 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4901 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4902 | ) |
| 4903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4905 | target_include_directories(bin_encoder_test |
| 4906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4908 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4909 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4910 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4911 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4912 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4913 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4914 | ) |
| 4915 | |
| 4916 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4918 | grpc_test_util |
| 4919 | grpc |
| 4920 | ) |
| 4921 | |
| 4922 | endif (gRPC_BUILD_TESTS) |
| 4923 | if (gRPC_BUILD_TESTS) |
| 4924 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4925 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4926 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4927 | ) |
| 4928 | |
| 4929 | |
| 4930 | target_include_directories(byte_stream_test |
| 4931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4933 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4934 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4935 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4936 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4937 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4938 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4939 | ) |
| 4940 | |
| 4941 | target_link_libraries(byte_stream_test |
| 4942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4943 | grpc_test_util |
| 4944 | grpc |
| 4945 | gpr_test_util |
| 4946 | gpr |
| 4947 | ) |
| 4948 | |
| 4949 | endif (gRPC_BUILD_TESTS) |
| 4950 | if (gRPC_BUILD_TESTS) |
| 4951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4952 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4953 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4954 | ) |
| 4955 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4956 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4957 | target_include_directories(channel_create_test |
| 4958 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4960 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4961 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4962 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4963 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4964 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4965 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4966 | ) |
| 4967 | |
| 4968 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4969 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4970 | grpc_test_util |
| 4971 | grpc |
| 4972 | gpr_test_util |
| 4973 | gpr |
| 4974 | ) |
| 4975 | |
| 4976 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4977 | |
| 4978 | add_executable(check_epollexclusive |
| 4979 | test/build/check_epollexclusive.c |
| 4980 | ) |
| 4981 | |
| 4982 | |
| 4983 | target_include_directories(check_epollexclusive |
| 4984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4986 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4987 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4988 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4989 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4990 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4991 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4992 | ) |
| 4993 | |
| 4994 | target_link_libraries(check_epollexclusive |
| 4995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4996 | grpc |
| 4997 | gpr |
| 4998 | ) |
| 4999 | |
| 5000 | |
| 5001 | if (gRPC_INSTALL) |
| 5002 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5003 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5004 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5005 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5006 | ) |
| 5007 | endif() |
| 5008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5009 | if (gRPC_BUILD_TESTS) |
| 5010 | |
| 5011 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5012 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5013 | ) |
| 5014 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5015 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5016 | target_include_directories(chttp2_hpack_encoder_test |
| 5017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5019 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5020 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5021 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5022 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5023 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5024 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5025 | ) |
| 5026 | |
| 5027 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5028 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5029 | grpc_test_util |
| 5030 | grpc |
| 5031 | gpr_test_util |
| 5032 | gpr |
| 5033 | ) |
| 5034 | |
| 5035 | endif (gRPC_BUILD_TESTS) |
| 5036 | if (gRPC_BUILD_TESTS) |
| 5037 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5038 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5039 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5040 | ) |
| 5041 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5042 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5043 | target_include_directories(chttp2_stream_map_test |
| 5044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5046 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5047 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5048 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5049 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5050 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5051 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5052 | ) |
| 5053 | |
| 5054 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5055 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5056 | grpc_test_util |
| 5057 | grpc |
| 5058 | gpr_test_util |
| 5059 | gpr |
| 5060 | ) |
| 5061 | |
| 5062 | endif (gRPC_BUILD_TESTS) |
| 5063 | if (gRPC_BUILD_TESTS) |
| 5064 | |
| 5065 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5066 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5067 | ) |
| 5068 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5069 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5070 | target_include_directories(chttp2_varint_test |
| 5071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5073 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5074 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5075 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5076 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5077 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5078 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5079 | ) |
| 5080 | |
| 5081 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5083 | grpc_test_util |
| 5084 | grpc |
| 5085 | gpr_test_util |
| 5086 | gpr |
| 5087 | ) |
| 5088 | |
| 5089 | endif (gRPC_BUILD_TESTS) |
| 5090 | if (gRPC_BUILD_TESTS) |
| 5091 | |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 5092 | add_executable(cmdline_test |
| 5093 | test/core/util/cmdline_test.cc |
| 5094 | ) |
| 5095 | |
| 5096 | |
| 5097 | target_include_directories(cmdline_test |
| 5098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5100 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5101 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5102 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5103 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5104 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5105 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 5106 | ) |
| 5107 | |
| 5108 | target_link_libraries(cmdline_test |
| 5109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5110 | gpr |
| 5111 | gpr_test_util |
| 5112 | grpc_test_util |
| 5113 | ) |
| 5114 | |
| 5115 | endif (gRPC_BUILD_TESTS) |
| 5116 | if (gRPC_BUILD_TESTS) |
| 5117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5118 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5119 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5120 | ) |
| 5121 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5122 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5123 | target_include_directories(combiner_test |
| 5124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5126 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5127 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5128 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5129 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5130 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5131 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5132 | ) |
| 5133 | |
| 5134 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5136 | grpc_test_util |
| 5137 | grpc |
| 5138 | gpr_test_util |
| 5139 | gpr |
| 5140 | ) |
| 5141 | |
| 5142 | endif (gRPC_BUILD_TESTS) |
| 5143 | if (gRPC_BUILD_TESTS) |
| 5144 | |
| 5145 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5146 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5147 | ) |
| 5148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5150 | target_include_directories(compression_test |
| 5151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5153 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5154 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5155 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5156 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5157 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5158 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5159 | ) |
| 5160 | |
| 5161 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5162 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5163 | grpc_test_util |
| 5164 | grpc |
| 5165 | gpr_test_util |
| 5166 | gpr |
| 5167 | ) |
| 5168 | |
| 5169 | endif (gRPC_BUILD_TESTS) |
| 5170 | if (gRPC_BUILD_TESTS) |
| 5171 | |
| 5172 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5173 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5174 | ) |
| 5175 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5176 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5177 | target_include_directories(concurrent_connectivity_test |
| 5178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5181 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5182 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5183 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5184 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5185 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5186 | ) |
| 5187 | |
| 5188 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5189 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5190 | grpc_test_util |
| 5191 | grpc |
| 5192 | gpr_test_util |
| 5193 | gpr |
| 5194 | ) |
| 5195 | |
| 5196 | endif (gRPC_BUILD_TESTS) |
| 5197 | if (gRPC_BUILD_TESTS) |
| 5198 | |
| 5199 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5200 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5201 | ) |
| 5202 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5203 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5204 | target_include_directories(connection_refused_test |
| 5205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5207 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5208 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5209 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5210 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5211 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5212 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5213 | ) |
| 5214 | |
| 5215 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5216 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5217 | grpc_test_util |
| 5218 | grpc |
| 5219 | gpr_test_util |
| 5220 | gpr |
| 5221 | ) |
| 5222 | |
| 5223 | endif (gRPC_BUILD_TESTS) |
| 5224 | if (gRPC_BUILD_TESTS) |
| 5225 | |
| 5226 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5227 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5228 | ) |
| 5229 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5230 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5231 | target_include_directories(dns_resolver_connectivity_test |
| 5232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5233 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5234 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5235 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5236 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5237 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5238 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5239 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5240 | ) |
| 5241 | |
| 5242 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5244 | grpc_test_util |
| 5245 | grpc |
| 5246 | gpr_test_util |
| 5247 | gpr |
| 5248 | ) |
| 5249 | |
| 5250 | endif (gRPC_BUILD_TESTS) |
| 5251 | if (gRPC_BUILD_TESTS) |
| 5252 | |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 5253 | add_executable(dns_resolver_cooldown_test |
| 5254 | test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc |
| 5255 | ) |
| 5256 | |
| 5257 | |
| 5258 | target_include_directories(dns_resolver_cooldown_test |
| 5259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5261 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5262 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5263 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5264 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5265 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5266 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 5267 | ) |
| 5268 | |
| 5269 | target_link_libraries(dns_resolver_cooldown_test |
| 5270 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5271 | grpc_test_util |
| 5272 | grpc |
| 5273 | gpr_test_util |
| 5274 | gpr |
| 5275 | ) |
| 5276 | |
| 5277 | endif (gRPC_BUILD_TESTS) |
| 5278 | if (gRPC_BUILD_TESTS) |
| 5279 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5280 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5281 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5282 | ) |
| 5283 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5285 | target_include_directories(dns_resolver_test |
| 5286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5288 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5289 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5290 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5291 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5292 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5293 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5294 | ) |
| 5295 | |
| 5296 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5298 | grpc_test_util |
| 5299 | grpc |
| 5300 | gpr_test_util |
| 5301 | gpr |
| 5302 | ) |
| 5303 | |
| 5304 | endif (gRPC_BUILD_TESTS) |
| 5305 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5306 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5307 | |
| 5308 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5309 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5310 | ) |
| 5311 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5312 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5313 | target_include_directories(dualstack_socket_test |
| 5314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5315 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5316 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5317 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5318 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5319 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5320 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5321 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5322 | ) |
| 5323 | |
| 5324 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5325 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5326 | grpc_test_util |
| 5327 | grpc |
| 5328 | gpr_test_util |
| 5329 | gpr |
| 5330 | ) |
| 5331 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5332 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5333 | endif (gRPC_BUILD_TESTS) |
| 5334 | if (gRPC_BUILD_TESTS) |
| 5335 | |
| 5336 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5337 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5338 | ) |
| 5339 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5340 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5341 | target_include_directories(endpoint_pair_test |
| 5342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5344 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5345 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5346 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5347 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5348 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5349 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5350 | ) |
| 5351 | |
| 5352 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5354 | grpc_test_util |
| 5355 | grpc |
| 5356 | gpr_test_util |
| 5357 | gpr |
| 5358 | ) |
| 5359 | |
| 5360 | endif (gRPC_BUILD_TESTS) |
| 5361 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5362 | |
| 5363 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5364 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5365 | ) |
| 5366 | |
| 5367 | |
| 5368 | target_include_directories(error_test |
| 5369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5371 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5372 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5373 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5374 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5375 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5376 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5377 | ) |
| 5378 | |
| 5379 | target_link_libraries(error_test |
| 5380 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5381 | grpc_test_util |
| 5382 | grpc |
| 5383 | gpr_test_util |
| 5384 | gpr |
| 5385 | ) |
| 5386 | |
| 5387 | endif (gRPC_BUILD_TESTS) |
| 5388 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5389 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5390 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5391 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5392 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5393 | ) |
| 5394 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5395 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5396 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5399 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5400 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5401 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5402 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5403 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5404 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5405 | ) |
| 5406 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5407 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5409 | grpc_test_util |
| 5410 | grpc |
| 5411 | gpr_test_util |
| 5412 | gpr |
| 5413 | ) |
| 5414 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5415 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5416 | endif (gRPC_BUILD_TESTS) |
| 5417 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5418 | |
| 5419 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5420 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5421 | ) |
| 5422 | |
| 5423 | |
| 5424 | target_include_directories(fake_resolver_test |
| 5425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5427 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5428 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5429 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5430 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5431 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5432 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5433 | ) |
| 5434 | |
| 5435 | target_link_libraries(fake_resolver_test |
| 5436 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5437 | grpc_test_util |
| 5438 | grpc |
| 5439 | gpr_test_util |
| 5440 | gpr |
| 5441 | ) |
| 5442 | |
| 5443 | endif (gRPC_BUILD_TESTS) |
| 5444 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5445 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5446 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5447 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5448 | test/core/tsi/fake_transport_security_test.cc |
| 5449 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5450 | ) |
| 5451 | |
| 5452 | |
| 5453 | target_include_directories(fake_transport_security_test |
| 5454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5456 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5457 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5458 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5459 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5460 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5461 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5462 | ) |
| 5463 | |
| 5464 | target_link_libraries(fake_transport_security_test |
| 5465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5466 | gpr_test_util |
| 5467 | gpr |
| 5468 | grpc |
| 5469 | ) |
| 5470 | |
| 5471 | endif() |
| 5472 | endif (gRPC_BUILD_TESTS) |
| 5473 | if (gRPC_BUILD_TESTS) |
| 5474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5476 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5477 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5478 | ) |
| 5479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5481 | target_include_directories(fd_conservation_posix_test |
| 5482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5485 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5486 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5487 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5488 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5489 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5490 | ) |
| 5491 | |
| 5492 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5494 | grpc_test_util |
| 5495 | grpc |
| 5496 | gpr_test_util |
| 5497 | gpr |
| 5498 | ) |
| 5499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5500 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5501 | endif (gRPC_BUILD_TESTS) |
| 5502 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5503 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5504 | |
| 5505 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5506 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5507 | ) |
| 5508 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5509 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5510 | target_include_directories(fd_posix_test |
| 5511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5513 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5514 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5515 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5516 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5517 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5518 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5519 | ) |
| 5520 | |
| 5521 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5522 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5523 | grpc_test_util |
| 5524 | grpc |
| 5525 | gpr_test_util |
| 5526 | gpr |
| 5527 | ) |
| 5528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5529 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5530 | endif (gRPC_BUILD_TESTS) |
| 5531 | if (gRPC_BUILD_TESTS) |
| 5532 | |
| 5533 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5534 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5535 | ) |
| 5536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5538 | target_include_directories(fling_client |
| 5539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5541 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5542 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5543 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5544 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5545 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5546 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5547 | ) |
| 5548 | |
| 5549 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5551 | grpc_test_util |
| 5552 | grpc |
| 5553 | gpr_test_util |
| 5554 | gpr |
| 5555 | ) |
| 5556 | |
| 5557 | endif (gRPC_BUILD_TESTS) |
| 5558 | if (gRPC_BUILD_TESTS) |
| 5559 | |
| 5560 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5561 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5562 | ) |
| 5563 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5564 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5565 | target_include_directories(fling_server |
| 5566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5568 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5569 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5570 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5571 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5572 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5573 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5574 | ) |
| 5575 | |
| 5576 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5577 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5578 | grpc_test_util |
| 5579 | grpc |
| 5580 | gpr_test_util |
| 5581 | gpr |
| 5582 | ) |
| 5583 | |
| 5584 | endif (gRPC_BUILD_TESTS) |
| 5585 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5586 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5587 | |
| 5588 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5589 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5590 | ) |
| 5591 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5592 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5593 | target_include_directories(fling_stream_test |
| 5594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5596 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5597 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5598 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5599 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5600 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5601 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5602 | ) |
| 5603 | |
| 5604 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5605 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5606 | grpc_test_util |
| 5607 | grpc |
| 5608 | gpr_test_util |
| 5609 | gpr |
| 5610 | ) |
| 5611 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5612 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5613 | endif (gRPC_BUILD_TESTS) |
| 5614 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5616 | |
| 5617 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5618 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5619 | ) |
| 5620 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5621 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5622 | target_include_directories(fling_test |
| 5623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5624 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5625 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5626 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5627 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5628 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5629 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5630 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5631 | ) |
| 5632 | |
| 5633 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5634 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5635 | grpc_test_util |
| 5636 | grpc |
| 5637 | gpr_test_util |
| 5638 | gpr |
| 5639 | ) |
| 5640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5641 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5642 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5643 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5644 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5645 | |
| 5646 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5647 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5648 | ) |
| 5649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5651 | target_include_directories(goaway_server_test |
| 5652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5654 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5655 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5656 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5657 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5658 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5659 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5660 | ) |
| 5661 | |
| 5662 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5663 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5664 | grpc_test_util |
| 5665 | grpc |
| 5666 | gpr_test_util |
| 5667 | gpr |
| 5668 | ) |
| 5669 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5670 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5671 | endif (gRPC_BUILD_TESTS) |
| 5672 | if (gRPC_BUILD_TESTS) |
| 5673 | |
| 5674 | add_executable(gpr_avl_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5675 | test/core/gpr/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5676 | ) |
| 5677 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5678 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5679 | target_include_directories(gpr_avl_test |
| 5680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5682 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5683 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5684 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5685 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5686 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5687 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5688 | ) |
| 5689 | |
| 5690 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5692 | gpr_test_util |
| 5693 | gpr |
| 5694 | ) |
| 5695 | |
| 5696 | endif (gRPC_BUILD_TESTS) |
| 5697 | if (gRPC_BUILD_TESTS) |
| 5698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5699 | add_executable(gpr_cpu_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5700 | test/core/gpr/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5701 | ) |
| 5702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5704 | target_include_directories(gpr_cpu_test |
| 5705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5707 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5708 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5709 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5710 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5711 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5712 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5713 | ) |
| 5714 | |
| 5715 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5717 | gpr_test_util |
| 5718 | gpr |
| 5719 | ) |
| 5720 | |
| 5721 | endif (gRPC_BUILD_TESTS) |
| 5722 | if (gRPC_BUILD_TESTS) |
| 5723 | |
| 5724 | add_executable(gpr_env_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5725 | test/core/gpr/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5726 | ) |
| 5727 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5728 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5729 | target_include_directories(gpr_env_test |
| 5730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5732 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5733 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5734 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5735 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5736 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5737 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5738 | ) |
| 5739 | |
| 5740 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5741 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5742 | gpr_test_util |
| 5743 | gpr |
| 5744 | ) |
| 5745 | |
| 5746 | endif (gRPC_BUILD_TESTS) |
| 5747 | if (gRPC_BUILD_TESTS) |
| 5748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5749 | add_executable(gpr_host_port_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5750 | test/core/gpr/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5751 | ) |
| 5752 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5753 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5754 | target_include_directories(gpr_host_port_test |
| 5755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5757 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5758 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5759 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5760 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5761 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5762 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5763 | ) |
| 5764 | |
| 5765 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5766 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5767 | gpr_test_util |
| 5768 | gpr |
| 5769 | ) |
| 5770 | |
| 5771 | endif (gRPC_BUILD_TESTS) |
| 5772 | if (gRPC_BUILD_TESTS) |
| 5773 | |
| 5774 | add_executable(gpr_log_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5775 | test/core/gpr/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5776 | ) |
| 5777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5779 | target_include_directories(gpr_log_test |
| 5780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5782 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5783 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5784 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5785 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5786 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5787 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5788 | ) |
| 5789 | |
| 5790 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5792 | gpr_test_util |
| 5793 | gpr |
| 5794 | ) |
| 5795 | |
| 5796 | endif (gRPC_BUILD_TESTS) |
| 5797 | if (gRPC_BUILD_TESTS) |
| 5798 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5799 | add_executable(gpr_manual_constructor_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 5800 | test/core/gprpp/manual_constructor_test.cc |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5801 | ) |
| 5802 | |
| 5803 | |
| 5804 | target_include_directories(gpr_manual_constructor_test |
| 5805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5807 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5808 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5809 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5810 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5811 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5812 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5813 | ) |
| 5814 | |
| 5815 | target_link_libraries(gpr_manual_constructor_test |
| 5816 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5817 | gpr_test_util |
| 5818 | gpr |
| 5819 | ) |
| 5820 | |
| 5821 | endif (gRPC_BUILD_TESTS) |
| 5822 | if (gRPC_BUILD_TESTS) |
| 5823 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5824 | add_executable(gpr_mpscq_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5825 | test/core/gpr/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5826 | ) |
| 5827 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5828 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5829 | target_include_directories(gpr_mpscq_test |
| 5830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5832 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5833 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5834 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5835 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5836 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5837 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5838 | ) |
| 5839 | |
| 5840 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5841 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5842 | gpr_test_util |
| 5843 | gpr |
| 5844 | ) |
| 5845 | |
| 5846 | endif (gRPC_BUILD_TESTS) |
| 5847 | if (gRPC_BUILD_TESTS) |
| 5848 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5849 | add_executable(gpr_spinlock_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5850 | test/core/gpr/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5851 | ) |
| 5852 | |
| 5853 | |
| 5854 | target_include_directories(gpr_spinlock_test |
| 5855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5857 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5858 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5859 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5860 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5861 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5862 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5863 | ) |
| 5864 | |
| 5865 | target_link_libraries(gpr_spinlock_test |
| 5866 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5867 | gpr_test_util |
| 5868 | gpr |
| 5869 | ) |
| 5870 | |
| 5871 | endif (gRPC_BUILD_TESTS) |
| 5872 | if (gRPC_BUILD_TESTS) |
| 5873 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5874 | add_executable(gpr_string_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5875 | test/core/gpr/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5876 | ) |
| 5877 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5878 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5879 | target_include_directories(gpr_string_test |
| 5880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5882 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5883 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5884 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5885 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5886 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5887 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5888 | ) |
| 5889 | |
| 5890 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5892 | gpr_test_util |
| 5893 | gpr |
| 5894 | ) |
| 5895 | |
| 5896 | endif (gRPC_BUILD_TESTS) |
| 5897 | if (gRPC_BUILD_TESTS) |
| 5898 | |
| 5899 | add_executable(gpr_sync_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5900 | test/core/gpr/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5901 | ) |
| 5902 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5903 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5904 | target_include_directories(gpr_sync_test |
| 5905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5907 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5908 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5909 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5910 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5911 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5912 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5913 | ) |
| 5914 | |
| 5915 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5916 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5917 | gpr_test_util |
| 5918 | gpr |
| 5919 | ) |
| 5920 | |
| 5921 | endif (gRPC_BUILD_TESTS) |
| 5922 | if (gRPC_BUILD_TESTS) |
| 5923 | |
| 5924 | add_executable(gpr_thd_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5925 | test/core/gpr/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5926 | ) |
| 5927 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5928 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5929 | target_include_directories(gpr_thd_test |
| 5930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5933 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5934 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5935 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5936 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5937 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5938 | ) |
| 5939 | |
| 5940 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5942 | gpr_test_util |
| 5943 | gpr |
| 5944 | ) |
| 5945 | |
| 5946 | endif (gRPC_BUILD_TESTS) |
| 5947 | if (gRPC_BUILD_TESTS) |
| 5948 | |
| 5949 | add_executable(gpr_time_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5950 | test/core/gpr/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | ) |
| 5952 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5953 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5954 | target_include_directories(gpr_time_test |
| 5955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5957 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5958 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5959 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5960 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5961 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5962 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5963 | ) |
| 5964 | |
| 5965 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5966 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5967 | gpr_test_util |
| 5968 | gpr |
| 5969 | ) |
| 5970 | |
| 5971 | endif (gRPC_BUILD_TESTS) |
| 5972 | if (gRPC_BUILD_TESTS) |
| 5973 | |
| 5974 | add_executable(gpr_tls_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5975 | test/core/gpr/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5976 | ) |
| 5977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5978 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5979 | target_include_directories(gpr_tls_test |
| 5980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5982 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5983 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5984 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5985 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5986 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5987 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5988 | ) |
| 5989 | |
| 5990 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5991 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5992 | gpr_test_util |
| 5993 | gpr |
| 5994 | ) |
| 5995 | |
| 5996 | endif (gRPC_BUILD_TESTS) |
| 5997 | if (gRPC_BUILD_TESTS) |
| 5998 | |
| 5999 | add_executable(gpr_useful_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6000 | test/core/gpr/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | ) |
| 6002 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6003 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6004 | target_include_directories(gpr_useful_test |
| 6005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6007 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6008 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6009 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6010 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6011 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6012 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6013 | ) |
| 6014 | |
| 6015 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6016 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6017 | gpr_test_util |
| 6018 | gpr |
| 6019 | ) |
| 6020 | |
| 6021 | endif (gRPC_BUILD_TESTS) |
| 6022 | if (gRPC_BUILD_TESTS) |
| 6023 | |
| 6024 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6025 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6026 | ) |
| 6027 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6028 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6029 | target_include_directories(grpc_auth_context_test |
| 6030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6031 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6032 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6033 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6034 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6035 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6036 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6037 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6038 | ) |
| 6039 | |
| 6040 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6041 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6042 | grpc_test_util |
| 6043 | grpc |
| 6044 | gpr_test_util |
| 6045 | gpr |
| 6046 | ) |
| 6047 | |
| 6048 | endif (gRPC_BUILD_TESTS) |
| 6049 | if (gRPC_BUILD_TESTS) |
| 6050 | |
| 6051 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6052 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6053 | ) |
| 6054 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6056 | target_include_directories(grpc_b64_test |
| 6057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6059 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6060 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6061 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6062 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6063 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6064 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6065 | ) |
| 6066 | |
| 6067 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6069 | grpc_test_util |
| 6070 | grpc |
| 6071 | gpr_test_util |
| 6072 | gpr |
| 6073 | ) |
| 6074 | |
| 6075 | endif (gRPC_BUILD_TESTS) |
| 6076 | if (gRPC_BUILD_TESTS) |
| 6077 | |
| 6078 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6079 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6080 | ) |
| 6081 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6083 | target_include_directories(grpc_byte_buffer_reader_test |
| 6084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6085 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6086 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6087 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6088 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6089 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6090 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6091 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6092 | ) |
| 6093 | |
| 6094 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6095 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6096 | grpc_test_util |
| 6097 | grpc |
| 6098 | gpr_test_util |
| 6099 | gpr |
| 6100 | ) |
| 6101 | |
| 6102 | endif (gRPC_BUILD_TESTS) |
| 6103 | if (gRPC_BUILD_TESTS) |
| 6104 | |
| 6105 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6106 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | ) |
| 6108 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6109 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6110 | target_include_directories(grpc_channel_args_test |
| 6111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6113 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6114 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6115 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6116 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6117 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6118 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6119 | ) |
| 6120 | |
| 6121 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6122 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6123 | grpc_test_util |
| 6124 | grpc |
| 6125 | gpr_test_util |
| 6126 | gpr |
| 6127 | ) |
| 6128 | |
| 6129 | endif (gRPC_BUILD_TESTS) |
| 6130 | if (gRPC_BUILD_TESTS) |
| 6131 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6132 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6133 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6134 | ) |
| 6135 | |
| 6136 | |
| 6137 | target_include_directories(grpc_channel_stack_builder_test |
| 6138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6139 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6140 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6141 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6142 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6143 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6144 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6145 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6146 | ) |
| 6147 | |
| 6148 | target_link_libraries(grpc_channel_stack_builder_test |
| 6149 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6150 | grpc_test_util |
| 6151 | grpc |
| 6152 | gpr_test_util |
| 6153 | gpr |
| 6154 | ) |
| 6155 | |
| 6156 | endif (gRPC_BUILD_TESTS) |
| 6157 | if (gRPC_BUILD_TESTS) |
| 6158 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6159 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6160 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6161 | ) |
| 6162 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6163 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6164 | target_include_directories(grpc_channel_stack_test |
| 6165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6167 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6168 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6169 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6170 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6171 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6172 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6173 | ) |
| 6174 | |
| 6175 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6176 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6177 | grpc_test_util |
| 6178 | grpc |
| 6179 | gpr_test_util |
| 6180 | gpr |
| 6181 | ) |
| 6182 | |
| 6183 | endif (gRPC_BUILD_TESTS) |
| 6184 | if (gRPC_BUILD_TESTS) |
| 6185 | |
| 6186 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6187 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6188 | ) |
| 6189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6191 | target_include_directories(grpc_completion_queue_test |
| 6192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6194 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6195 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6196 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6197 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6198 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6199 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6200 | ) |
| 6201 | |
| 6202 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6204 | grpc_test_util |
| 6205 | grpc |
| 6206 | gpr_test_util |
| 6207 | gpr |
| 6208 | ) |
| 6209 | |
| 6210 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6211 | if (gRPC_BUILD_TESTS) |
| 6212 | |
| 6213 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6214 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6215 | ) |
| 6216 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6217 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6218 | target_include_directories(grpc_completion_queue_threading_test |
| 6219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6221 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6222 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6223 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6224 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6225 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6226 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6227 | ) |
| 6228 | |
| 6229 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6231 | grpc_test_util |
| 6232 | grpc |
| 6233 | gpr_test_util |
| 6234 | gpr |
| 6235 | ) |
| 6236 | |
| 6237 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6238 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6239 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6240 | test/core/security/create_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 6241 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6242 | ) |
| 6243 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6244 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6245 | target_include_directories(grpc_create_jwt |
| 6246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6248 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6249 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6250 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6251 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6252 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6253 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6254 | ) |
| 6255 | |
| 6256 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6257 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6259 | grpc |
| 6260 | gpr |
| 6261 | ) |
| 6262 | |
| 6263 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6264 | if (gRPC_INSTALL) |
| 6265 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6266 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6267 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6268 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6269 | ) |
| 6270 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6271 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6272 | if (gRPC_BUILD_TESTS) |
| 6273 | |
| 6274 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6275 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6276 | ) |
| 6277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6279 | target_include_directories(grpc_credentials_test |
| 6280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6282 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6283 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6284 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6285 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6286 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6287 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6288 | ) |
| 6289 | |
| 6290 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6292 | grpc_test_util |
| 6293 | grpc |
| 6294 | gpr_test_util |
| 6295 | gpr |
| 6296 | ) |
| 6297 | |
| 6298 | endif (gRPC_BUILD_TESTS) |
| 6299 | if (gRPC_BUILD_TESTS) |
| 6300 | |
| 6301 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6302 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6303 | ) |
| 6304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6305 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6306 | target_include_directories(grpc_fetch_oauth2 |
| 6307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6309 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6310 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6311 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6312 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6313 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6314 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6315 | ) |
| 6316 | |
| 6317 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6318 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6319 | grpc_test_util |
| 6320 | grpc |
| 6321 | gpr_test_util |
| 6322 | gpr |
| 6323 | ) |
| 6324 | |
| 6325 | endif (gRPC_BUILD_TESTS) |
| 6326 | if (gRPC_BUILD_TESTS) |
| 6327 | |
| 6328 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6329 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6330 | ) |
| 6331 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6332 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6333 | target_include_directories(grpc_invalid_channel_args_test |
| 6334 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6336 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6337 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6338 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6339 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6340 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6341 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6342 | ) |
| 6343 | |
| 6344 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6345 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6346 | grpc_test_util |
| 6347 | grpc |
| 6348 | gpr_test_util |
| 6349 | gpr |
| 6350 | ) |
| 6351 | |
| 6352 | endif (gRPC_BUILD_TESTS) |
| 6353 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6354 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6355 | |
| 6356 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6357 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6358 | ) |
| 6359 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6360 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6361 | target_include_directories(grpc_json_token_test |
| 6362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6364 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6365 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6366 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6367 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6368 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6369 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6370 | ) |
| 6371 | |
| 6372 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6373 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6374 | grpc_test_util |
| 6375 | grpc |
| 6376 | gpr_test_util |
| 6377 | gpr |
| 6378 | ) |
| 6379 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6380 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6381 | endif (gRPC_BUILD_TESTS) |
| 6382 | if (gRPC_BUILD_TESTS) |
| 6383 | |
| 6384 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6385 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6386 | ) |
| 6387 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6388 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6389 | target_include_directories(grpc_jwt_verifier_test |
| 6390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6392 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6393 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6394 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6395 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6396 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6397 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6398 | ) |
| 6399 | |
| 6400 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6402 | grpc_test_util |
| 6403 | grpc |
| 6404 | gpr_test_util |
| 6405 | gpr |
| 6406 | ) |
| 6407 | |
| 6408 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6409 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6410 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6411 | test/core/security/print_google_default_creds_token.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 6412 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6413 | ) |
| 6414 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6415 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6416 | target_include_directories(grpc_print_google_default_creds_token |
| 6417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6419 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6420 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6421 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6422 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6423 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6424 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6425 | ) |
| 6426 | |
| 6427 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6429 | grpc |
| 6430 | gpr |
| 6431 | ) |
| 6432 | |
| 6433 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6434 | if (gRPC_INSTALL) |
| 6435 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6436 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6437 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6438 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6439 | ) |
| 6440 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6442 | if (gRPC_BUILD_TESTS) |
| 6443 | |
| 6444 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6445 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6446 | ) |
| 6447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6449 | target_include_directories(grpc_security_connector_test |
| 6450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6453 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6454 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6455 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6456 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6457 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6458 | ) |
| 6459 | |
| 6460 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6461 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6462 | grpc_test_util |
| 6463 | grpc |
| 6464 | gpr_test_util |
| 6465 | gpr |
| 6466 | ) |
| 6467 | |
| 6468 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6469 | if (gRPC_BUILD_TESTS) |
| 6470 | |
| 6471 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6472 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6473 | ) |
| 6474 | |
| 6475 | |
| 6476 | target_include_directories(grpc_ssl_credentials_test |
| 6477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6479 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6480 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6481 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6482 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6483 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6484 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6485 | ) |
| 6486 | |
| 6487 | target_link_libraries(grpc_ssl_credentials_test |
| 6488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6489 | grpc_test_util |
| 6490 | grpc |
| 6491 | gpr_test_util |
| 6492 | gpr |
| 6493 | ) |
| 6494 | |
| 6495 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6496 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6497 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6498 | test/core/security/verify_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 6499 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6500 | ) |
| 6501 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6502 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6503 | target_include_directories(grpc_verify_jwt |
| 6504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6507 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6508 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6509 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6510 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6511 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6512 | ) |
| 6513 | |
| 6514 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6516 | grpc |
| 6517 | gpr |
| 6518 | ) |
| 6519 | |
| 6520 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6521 | if (gRPC_INSTALL) |
| 6522 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6523 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6524 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6525 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6526 | ) |
| 6527 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6529 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6530 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | |
| 6532 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6533 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6534 | ) |
| 6535 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6536 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6537 | target_include_directories(handshake_client |
| 6538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6540 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6541 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6542 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6543 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6544 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6545 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6546 | ) |
| 6547 | |
| 6548 | target_link_libraries(handshake_client |
| 6549 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6551 | grpc_test_util |
| 6552 | grpc |
| 6553 | gpr_test_util |
| 6554 | gpr |
| 6555 | ) |
| 6556 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6557 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6558 | endif (gRPC_BUILD_TESTS) |
| 6559 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6560 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6561 | |
| 6562 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6563 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6564 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6565 | ) |
| 6566 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6567 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6568 | target_include_directories(handshake_server |
| 6569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6571 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6572 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6573 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6574 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6575 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6576 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6577 | ) |
| 6578 | |
| 6579 | target_link_libraries(handshake_server |
| 6580 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6582 | grpc_test_util |
| 6583 | grpc |
| 6584 | gpr_test_util |
| 6585 | gpr |
| 6586 | ) |
| 6587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6588 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6589 | endif (gRPC_BUILD_TESTS) |
| 6590 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6591 | if(_gRPC_PLATFORM_LINUX) |
| 6592 | |
| 6593 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6594 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6595 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6596 | ) |
| 6597 | |
| 6598 | |
| 6599 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6602 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6603 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6604 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6605 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6606 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6607 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6608 | ) |
| 6609 | |
| 6610 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 6611 | ${_gRPC_SSL_LIBRARIES} |
| 6612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6613 | grpc_test_util |
| 6614 | grpc |
| 6615 | gpr_test_util |
| 6616 | gpr |
| 6617 | ) |
| 6618 | |
| 6619 | endif() |
| 6620 | endif (gRPC_BUILD_TESTS) |
| 6621 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6622 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6623 | add_executable(histogram_test |
| 6624 | test/core/util/histogram_test.cc |
| 6625 | ) |
| 6626 | |
| 6627 | |
| 6628 | target_include_directories(histogram_test |
| 6629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6631 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6632 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6633 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6634 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6635 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6636 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6637 | ) |
| 6638 | |
| 6639 | target_link_libraries(histogram_test |
| 6640 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6641 | grpc_test_util |
| 6642 | gpr |
| 6643 | ) |
| 6644 | |
| 6645 | endif (gRPC_BUILD_TESTS) |
| 6646 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6647 | |
| 6648 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6649 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6650 | ) |
| 6651 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6652 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6653 | target_include_directories(hpack_parser_test |
| 6654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6656 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6657 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6658 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6659 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6660 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6661 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6662 | ) |
| 6663 | |
| 6664 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6665 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6666 | grpc_test_util |
| 6667 | grpc |
| 6668 | gpr_test_util |
| 6669 | gpr |
| 6670 | ) |
| 6671 | |
| 6672 | endif (gRPC_BUILD_TESTS) |
| 6673 | if (gRPC_BUILD_TESTS) |
| 6674 | |
| 6675 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6676 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6677 | ) |
| 6678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6679 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6680 | target_include_directories(hpack_table_test |
| 6681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6683 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6684 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6685 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6686 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6687 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6688 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6689 | ) |
| 6690 | |
| 6691 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6693 | grpc_test_util |
| 6694 | grpc |
| 6695 | gpr_test_util |
| 6696 | gpr |
| 6697 | ) |
| 6698 | |
| 6699 | endif (gRPC_BUILD_TESTS) |
| 6700 | if (gRPC_BUILD_TESTS) |
| 6701 | |
| 6702 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6703 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6704 | ) |
| 6705 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6706 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6707 | target_include_directories(http_parser_test |
| 6708 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6711 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6712 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6713 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6714 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6715 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6716 | ) |
| 6717 | |
| 6718 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6719 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6720 | grpc_test_util |
| 6721 | grpc |
| 6722 | gpr_test_util |
| 6723 | gpr |
| 6724 | ) |
| 6725 | |
| 6726 | endif (gRPC_BUILD_TESTS) |
| 6727 | if (gRPC_BUILD_TESTS) |
| 6728 | |
| 6729 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6730 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | ) |
| 6732 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6733 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6734 | target_include_directories(httpcli_format_request_test |
| 6735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6737 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6738 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6739 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6740 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6741 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6742 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6743 | ) |
| 6744 | |
| 6745 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6747 | grpc_test_util |
| 6748 | grpc |
| 6749 | gpr_test_util |
| 6750 | gpr |
| 6751 | ) |
| 6752 | |
| 6753 | endif (gRPC_BUILD_TESTS) |
| 6754 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6755 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6756 | |
| 6757 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6758 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6759 | ) |
| 6760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6761 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6762 | target_include_directories(httpcli_test |
| 6763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6765 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6766 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6767 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6768 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6769 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6770 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6771 | ) |
| 6772 | |
| 6773 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6774 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6775 | grpc_test_util |
| 6776 | grpc |
| 6777 | gpr_test_util |
| 6778 | gpr |
| 6779 | ) |
| 6780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6781 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6782 | endif (gRPC_BUILD_TESTS) |
| 6783 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6784 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6785 | |
| 6786 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6787 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6788 | ) |
| 6789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6791 | target_include_directories(httpscli_test |
| 6792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6794 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6795 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6796 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6797 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6798 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6799 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6800 | ) |
| 6801 | |
| 6802 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6803 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6804 | grpc_test_util |
| 6805 | grpc |
| 6806 | gpr_test_util |
| 6807 | gpr |
| 6808 | ) |
| 6809 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6810 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6811 | endif (gRPC_BUILD_TESTS) |
| 6812 | if (gRPC_BUILD_TESTS) |
| 6813 | |
| 6814 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6815 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6816 | ) |
| 6817 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6818 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6819 | target_include_directories(init_test |
| 6820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6821 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6822 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6823 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6824 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6825 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6826 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6827 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6828 | ) |
| 6829 | |
| 6830 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6831 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6832 | grpc_test_util |
| 6833 | grpc |
| 6834 | gpr_test_util |
| 6835 | gpr |
| 6836 | ) |
| 6837 | |
| 6838 | endif (gRPC_BUILD_TESTS) |
| 6839 | if (gRPC_BUILD_TESTS) |
| 6840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6841 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6842 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6843 | ) |
| 6844 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6845 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6846 | target_include_directories(invalid_call_argument_test |
| 6847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6848 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6849 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6850 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6851 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6852 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6853 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6854 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6855 | ) |
| 6856 | |
| 6857 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6858 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6859 | grpc_test_util |
| 6860 | grpc |
| 6861 | gpr_test_util |
| 6862 | gpr |
| 6863 | ) |
| 6864 | |
| 6865 | endif (gRPC_BUILD_TESTS) |
| 6866 | if (gRPC_BUILD_TESTS) |
| 6867 | |
| 6868 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6869 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6870 | ) |
| 6871 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6872 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6873 | target_include_directories(json_rewrite |
| 6874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6876 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6877 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6878 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6879 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6880 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6881 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6882 | ) |
| 6883 | |
| 6884 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6885 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 6886 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6887 | grpc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 6888 | gpr_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6889 | gpr |
| 6890 | ) |
| 6891 | |
| 6892 | endif (gRPC_BUILD_TESTS) |
| 6893 | if (gRPC_BUILD_TESTS) |
| 6894 | |
| 6895 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6896 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6897 | ) |
| 6898 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6899 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6900 | target_include_directories(json_rewrite_test |
| 6901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6903 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6904 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6905 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6906 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6907 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6908 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6909 | ) |
| 6910 | |
| 6911 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6912 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6913 | grpc_test_util |
| 6914 | grpc |
| 6915 | gpr_test_util |
| 6916 | gpr |
| 6917 | ) |
| 6918 | |
| 6919 | endif (gRPC_BUILD_TESTS) |
| 6920 | if (gRPC_BUILD_TESTS) |
| 6921 | |
| 6922 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6923 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6924 | ) |
| 6925 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6927 | target_include_directories(json_stream_error_test |
| 6928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6930 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6931 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6932 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6933 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6934 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6935 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6936 | ) |
| 6937 | |
| 6938 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6940 | grpc_test_util |
| 6941 | grpc |
| 6942 | gpr_test_util |
| 6943 | gpr |
| 6944 | ) |
| 6945 | |
| 6946 | endif (gRPC_BUILD_TESTS) |
| 6947 | if (gRPC_BUILD_TESTS) |
| 6948 | |
| 6949 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6950 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6951 | ) |
| 6952 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6953 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6954 | target_include_directories(json_test |
| 6955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6957 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6958 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6959 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6960 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6961 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6962 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6963 | ) |
| 6964 | |
| 6965 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6966 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6967 | grpc_test_util |
| 6968 | grpc |
| 6969 | gpr_test_util |
| 6970 | gpr |
| 6971 | ) |
| 6972 | |
| 6973 | endif (gRPC_BUILD_TESTS) |
| 6974 | if (gRPC_BUILD_TESTS) |
| 6975 | |
| 6976 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6977 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6978 | ) |
| 6979 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6981 | target_include_directories(lame_client_test |
| 6982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6984 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6985 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6986 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6987 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6988 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6989 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6990 | ) |
| 6991 | |
| 6992 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6994 | grpc_test_util |
| 6995 | grpc |
| 6996 | gpr_test_util |
| 6997 | gpr |
| 6998 | ) |
| 6999 | |
| 7000 | endif (gRPC_BUILD_TESTS) |
| 7001 | if (gRPC_BUILD_TESTS) |
| 7002 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7003 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7004 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7005 | ) |
| 7006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7008 | target_include_directories(load_file_test |
| 7009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7017 | ) |
| 7018 | |
| 7019 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7021 | grpc_test_util |
| 7022 | grpc |
| 7023 | gpr_test_util |
| 7024 | gpr |
| 7025 | ) |
| 7026 | |
| 7027 | endif (gRPC_BUILD_TESTS) |
| 7028 | if (gRPC_BUILD_TESTS) |
| 7029 | |
| 7030 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7031 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7032 | ) |
| 7033 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7034 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7035 | target_include_directories(memory_profile_client |
| 7036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7038 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7039 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7040 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7041 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7042 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7043 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7044 | ) |
| 7045 | |
| 7046 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7048 | grpc_test_util |
| 7049 | grpc |
| 7050 | gpr_test_util |
| 7051 | gpr |
| 7052 | ) |
| 7053 | |
| 7054 | endif (gRPC_BUILD_TESTS) |
| 7055 | if (gRPC_BUILD_TESTS) |
| 7056 | |
| 7057 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7058 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7059 | ) |
| 7060 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7061 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7062 | target_include_directories(memory_profile_server |
| 7063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7065 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7066 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7067 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7068 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7069 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7070 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7071 | ) |
| 7072 | |
| 7073 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7074 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | grpc_test_util |
| 7076 | grpc |
| 7077 | gpr_test_util |
| 7078 | gpr |
| 7079 | ) |
| 7080 | |
| 7081 | endif (gRPC_BUILD_TESTS) |
| 7082 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7083 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7084 | |
| 7085 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7086 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7087 | ) |
| 7088 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7089 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7090 | target_include_directories(memory_profile_test |
| 7091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7093 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7094 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7095 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7096 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7097 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7098 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7099 | ) |
| 7100 | |
| 7101 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7102 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7103 | grpc_test_util |
| 7104 | grpc |
| 7105 | gpr_test_util |
| 7106 | gpr |
| 7107 | ) |
| 7108 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7109 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7110 | endif (gRPC_BUILD_TESTS) |
| 7111 | if (gRPC_BUILD_TESTS) |
| 7112 | |
| 7113 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7114 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7115 | ) |
| 7116 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7118 | target_include_directories(message_compress_test |
| 7119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7121 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7122 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7123 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7124 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7125 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7126 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7127 | ) |
| 7128 | |
| 7129 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7131 | grpc_test_util |
| 7132 | grpc |
| 7133 | gpr_test_util |
| 7134 | gpr |
| 7135 | ) |
| 7136 | |
| 7137 | endif (gRPC_BUILD_TESTS) |
| 7138 | if (gRPC_BUILD_TESTS) |
| 7139 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7140 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7141 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7142 | ) |
| 7143 | |
| 7144 | |
| 7145 | target_include_directories(minimal_stack_is_minimal_test |
| 7146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7148 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7149 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7150 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7151 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7152 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7153 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7154 | ) |
| 7155 | |
| 7156 | target_link_libraries(minimal_stack_is_minimal_test |
| 7157 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7158 | grpc_test_util |
| 7159 | grpc |
| 7160 | gpr_test_util |
| 7161 | gpr |
| 7162 | ) |
| 7163 | |
| 7164 | endif (gRPC_BUILD_TESTS) |
| 7165 | if (gRPC_BUILD_TESTS) |
| 7166 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7167 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7168 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7169 | ) |
| 7170 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7171 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7172 | target_include_directories(multiple_server_queues_test |
| 7173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7175 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7176 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7177 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7178 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7179 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7180 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7181 | ) |
| 7182 | |
| 7183 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7184 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7185 | grpc_test_util |
| 7186 | grpc |
| 7187 | gpr_test_util |
| 7188 | gpr |
| 7189 | ) |
| 7190 | |
| 7191 | endif (gRPC_BUILD_TESTS) |
| 7192 | if (gRPC_BUILD_TESTS) |
| 7193 | |
| 7194 | add_executable(murmur_hash_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 7195 | test/core/gpr/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7196 | ) |
| 7197 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7198 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7199 | target_include_directories(murmur_hash_test |
| 7200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7202 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7203 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7204 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7205 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7206 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7207 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7208 | ) |
| 7209 | |
| 7210 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7211 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7212 | gpr_test_util |
| 7213 | gpr |
| 7214 | ) |
| 7215 | |
| 7216 | endif (gRPC_BUILD_TESTS) |
| 7217 | if (gRPC_BUILD_TESTS) |
| 7218 | |
| 7219 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7220 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7221 | ) |
| 7222 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7223 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7224 | target_include_directories(no_server_test |
| 7225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7227 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7228 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7229 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7230 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7231 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7232 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7233 | ) |
| 7234 | |
| 7235 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7236 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7237 | grpc_test_util |
| 7238 | grpc |
| 7239 | gpr_test_util |
| 7240 | gpr |
| 7241 | ) |
| 7242 | |
| 7243 | endif (gRPC_BUILD_TESTS) |
| 7244 | if (gRPC_BUILD_TESTS) |
| 7245 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7246 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7247 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7248 | ) |
| 7249 | |
| 7250 | |
| 7251 | target_include_directories(num_external_connectivity_watchers_test |
| 7252 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7253 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7254 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7255 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7256 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7257 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7258 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7259 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7260 | ) |
| 7261 | |
| 7262 | target_link_libraries(num_external_connectivity_watchers_test |
| 7263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7264 | grpc_test_util |
| 7265 | grpc |
| 7266 | gpr_test_util |
| 7267 | gpr |
| 7268 | ) |
| 7269 | |
| 7270 | endif (gRPC_BUILD_TESTS) |
| 7271 | if (gRPC_BUILD_TESTS) |
| 7272 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7273 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7274 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7275 | ) |
| 7276 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7277 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7278 | target_include_directories(parse_address_test |
| 7279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7281 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7282 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7283 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7284 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7285 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7286 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7287 | ) |
| 7288 | |
| 7289 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7290 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7291 | grpc_test_util |
| 7292 | grpc |
| 7293 | gpr_test_util |
| 7294 | gpr |
| 7295 | ) |
| 7296 | |
| 7297 | endif (gRPC_BUILD_TESTS) |
| 7298 | if (gRPC_BUILD_TESTS) |
| 7299 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7300 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7301 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7302 | ) |
| 7303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7304 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7305 | target_include_directories(percent_encoding_test |
| 7306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7308 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7309 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7310 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7311 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7312 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7313 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7314 | ) |
| 7315 | |
| 7316 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7317 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7318 | grpc_test_util |
| 7319 | grpc |
| 7320 | gpr_test_util |
| 7321 | gpr |
| 7322 | ) |
| 7323 | |
| 7324 | endif (gRPC_BUILD_TESTS) |
| 7325 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7326 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7327 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7328 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7329 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7330 | ) |
| 7331 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7332 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7333 | target_include_directories(pollset_set_test |
| 7334 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7336 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7337 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7338 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7339 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7340 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7341 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7342 | ) |
| 7343 | |
| 7344 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7345 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7346 | grpc_test_util |
| 7347 | grpc |
| 7348 | gpr_test_util |
| 7349 | gpr |
| 7350 | ) |
| 7351 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7352 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7353 | endif (gRPC_BUILD_TESTS) |
| 7354 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7355 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7356 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7357 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7358 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7359 | ) |
| 7360 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7361 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7362 | target_include_directories(resolve_address_posix_test |
| 7363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7365 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7366 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7367 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7368 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7369 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7370 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7371 | ) |
| 7372 | |
| 7373 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7374 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7375 | grpc_test_util |
| 7376 | grpc |
| 7377 | gpr_test_util |
| 7378 | gpr |
| 7379 | ) |
| 7380 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7381 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7382 | endif (gRPC_BUILD_TESTS) |
| 7383 | if (gRPC_BUILD_TESTS) |
| 7384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7385 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7386 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7387 | ) |
| 7388 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7389 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7390 | target_include_directories(resolve_address_test |
| 7391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7393 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7394 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7395 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7396 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7397 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7398 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7399 | ) |
| 7400 | |
| 7401 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7402 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7403 | grpc_test_util |
| 7404 | grpc |
| 7405 | gpr_test_util |
| 7406 | gpr |
| 7407 | ) |
| 7408 | |
| 7409 | endif (gRPC_BUILD_TESTS) |
| 7410 | if (gRPC_BUILD_TESTS) |
| 7411 | |
| 7412 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7413 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7414 | ) |
| 7415 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7417 | target_include_directories(resource_quota_test |
| 7418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7420 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7421 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7422 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7423 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7424 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7425 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7426 | ) |
| 7427 | |
| 7428 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | grpc_test_util |
| 7431 | grpc |
| 7432 | gpr_test_util |
| 7433 | gpr |
| 7434 | ) |
| 7435 | |
| 7436 | endif (gRPC_BUILD_TESTS) |
| 7437 | if (gRPC_BUILD_TESTS) |
| 7438 | |
| 7439 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7440 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7441 | ) |
| 7442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7444 | target_include_directories(secure_channel_create_test |
| 7445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7447 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7448 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7449 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7450 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7451 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7452 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7453 | ) |
| 7454 | |
| 7455 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7456 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7457 | grpc_test_util |
| 7458 | grpc |
| 7459 | gpr_test_util |
| 7460 | gpr |
| 7461 | ) |
| 7462 | |
| 7463 | endif (gRPC_BUILD_TESTS) |
| 7464 | if (gRPC_BUILD_TESTS) |
| 7465 | |
| 7466 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7467 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7468 | ) |
| 7469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7471 | target_include_directories(secure_endpoint_test |
| 7472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7474 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7475 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7476 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7477 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7478 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7479 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7480 | ) |
| 7481 | |
| 7482 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7484 | grpc_test_util |
| 7485 | grpc |
| 7486 | gpr_test_util |
| 7487 | gpr |
| 7488 | ) |
| 7489 | |
| 7490 | endif (gRPC_BUILD_TESTS) |
| 7491 | if (gRPC_BUILD_TESTS) |
| 7492 | |
| 7493 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7494 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7495 | ) |
| 7496 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7497 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7498 | target_include_directories(sequential_connectivity_test |
| 7499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7501 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7502 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7503 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7504 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7505 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7506 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7507 | ) |
| 7508 | |
| 7509 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7510 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7511 | grpc_test_util |
| 7512 | grpc |
| 7513 | gpr_test_util |
| 7514 | gpr |
| 7515 | ) |
| 7516 | |
| 7517 | endif (gRPC_BUILD_TESTS) |
| 7518 | if (gRPC_BUILD_TESTS) |
| 7519 | |
| 7520 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7521 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7522 | ) |
| 7523 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7524 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7525 | target_include_directories(server_chttp2_test |
| 7526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7528 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7529 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7530 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7531 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7532 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7533 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7534 | ) |
| 7535 | |
| 7536 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7537 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7538 | grpc_test_util |
| 7539 | grpc |
| 7540 | gpr_test_util |
| 7541 | gpr |
| 7542 | ) |
| 7543 | |
| 7544 | endif (gRPC_BUILD_TESTS) |
| 7545 | if (gRPC_BUILD_TESTS) |
| 7546 | |
| 7547 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7548 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7549 | ) |
| 7550 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7551 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7552 | target_include_directories(server_test |
| 7553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7554 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7555 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7556 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7557 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7558 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7559 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7560 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7561 | ) |
| 7562 | |
| 7563 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7565 | grpc_test_util |
| 7566 | grpc |
| 7567 | gpr_test_util |
| 7568 | gpr |
| 7569 | ) |
| 7570 | |
| 7571 | endif (gRPC_BUILD_TESTS) |
| 7572 | if (gRPC_BUILD_TESTS) |
| 7573 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7574 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7575 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7576 | ) |
| 7577 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7578 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7579 | target_include_directories(slice_buffer_test |
| 7580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7582 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7583 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7584 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7585 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7586 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7587 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7588 | ) |
| 7589 | |
| 7590 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7591 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7592 | grpc_test_util |
| 7593 | grpc |
| 7594 | gpr_test_util |
| 7595 | gpr |
| 7596 | ) |
| 7597 | |
| 7598 | endif (gRPC_BUILD_TESTS) |
| 7599 | if (gRPC_BUILD_TESTS) |
| 7600 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7601 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7602 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7603 | ) |
| 7604 | |
| 7605 | |
| 7606 | target_include_directories(slice_hash_table_test |
| 7607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7609 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7610 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7611 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7612 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7613 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7614 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7615 | ) |
| 7616 | |
| 7617 | target_link_libraries(slice_hash_table_test |
| 7618 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7619 | grpc_test_util |
| 7620 | grpc |
| 7621 | gpr_test_util |
| 7622 | gpr |
| 7623 | ) |
| 7624 | |
| 7625 | endif (gRPC_BUILD_TESTS) |
| 7626 | if (gRPC_BUILD_TESTS) |
| 7627 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7628 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7629 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7630 | ) |
| 7631 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7632 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7633 | target_include_directories(slice_string_helpers_test |
| 7634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7636 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7637 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7638 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7639 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7640 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7641 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7642 | ) |
| 7643 | |
| 7644 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7646 | grpc_test_util |
| 7647 | grpc |
| 7648 | gpr_test_util |
| 7649 | gpr |
| 7650 | ) |
| 7651 | |
| 7652 | endif (gRPC_BUILD_TESTS) |
| 7653 | if (gRPC_BUILD_TESTS) |
| 7654 | |
| 7655 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7656 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7657 | ) |
| 7658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7660 | target_include_directories(slice_test |
| 7661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7663 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7664 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7665 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7666 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7667 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7668 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7669 | ) |
| 7670 | |
| 7671 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7673 | grpc_test_util |
| 7674 | grpc |
| 7675 | gpr_test_util |
| 7676 | gpr |
| 7677 | ) |
| 7678 | |
| 7679 | endif (gRPC_BUILD_TESTS) |
| 7680 | if (gRPC_BUILD_TESTS) |
| 7681 | |
| 7682 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7683 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7684 | ) |
| 7685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7687 | target_include_directories(sockaddr_resolver_test |
| 7688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7691 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7692 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7693 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7694 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7695 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7696 | ) |
| 7697 | |
| 7698 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7700 | grpc_test_util |
| 7701 | grpc |
| 7702 | gpr_test_util |
| 7703 | gpr |
| 7704 | ) |
| 7705 | |
| 7706 | endif (gRPC_BUILD_TESTS) |
| 7707 | if (gRPC_BUILD_TESTS) |
| 7708 | |
| 7709 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7710 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7711 | ) |
| 7712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7714 | target_include_directories(sockaddr_utils_test |
| 7715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7718 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7719 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7720 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7721 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7722 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7723 | ) |
| 7724 | |
| 7725 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7727 | grpc_test_util |
| 7728 | grpc |
| 7729 | gpr_test_util |
| 7730 | gpr |
| 7731 | ) |
| 7732 | |
| 7733 | endif (gRPC_BUILD_TESTS) |
| 7734 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7735 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7736 | |
| 7737 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7738 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7739 | ) |
| 7740 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7741 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7742 | target_include_directories(socket_utils_test |
| 7743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7745 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7746 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7747 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7748 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7749 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7750 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7751 | ) |
| 7752 | |
| 7753 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7754 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7755 | grpc_test_util |
| 7756 | grpc |
| 7757 | gpr_test_util |
| 7758 | gpr |
| 7759 | ) |
| 7760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7761 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7762 | endif (gRPC_BUILD_TESTS) |
| 7763 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7764 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 7765 | |
| 7766 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7767 | test/core/tsi/ssl_transport_security_test.cc |
| 7768 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7769 | ) |
| 7770 | |
| 7771 | |
| 7772 | target_include_directories(ssl_transport_security_test |
| 7773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7775 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7776 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7777 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7778 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7779 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7780 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7781 | ) |
| 7782 | |
| 7783 | target_link_libraries(ssl_transport_security_test |
| 7784 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7785 | gpr_test_util |
| 7786 | gpr |
| 7787 | grpc |
| 7788 | ) |
| 7789 | |
| 7790 | endif() |
| 7791 | endif (gRPC_BUILD_TESTS) |
| 7792 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7793 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7794 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7795 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7796 | ) |
| 7797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7798 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7799 | target_include_directories(status_conversion_test |
| 7800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7802 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7803 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7804 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7805 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7806 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7807 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7808 | ) |
| 7809 | |
| 7810 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7811 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7812 | grpc_test_util |
| 7813 | grpc |
| 7814 | gpr_test_util |
| 7815 | gpr |
| 7816 | ) |
| 7817 | |
| 7818 | endif (gRPC_BUILD_TESTS) |
| 7819 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7820 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7821 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7822 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7823 | ) |
| 7824 | |
| 7825 | |
| 7826 | target_include_directories(stream_compression_test |
| 7827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7829 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7830 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7831 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7832 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7833 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7834 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7835 | ) |
| 7836 | |
| 7837 | target_link_libraries(stream_compression_test |
| 7838 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7839 | grpc_test_util |
| 7840 | grpc |
| 7841 | gpr_test_util |
| 7842 | gpr |
| 7843 | ) |
| 7844 | |
| 7845 | endif (gRPC_BUILD_TESTS) |
| 7846 | if (gRPC_BUILD_TESTS) |
| 7847 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7848 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7849 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7850 | ) |
| 7851 | |
| 7852 | |
| 7853 | target_include_directories(stream_owned_slice_test |
| 7854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7862 | ) |
| 7863 | |
| 7864 | target_link_libraries(stream_owned_slice_test |
| 7865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7866 | grpc_test_util |
| 7867 | grpc |
| 7868 | gpr_test_util |
| 7869 | gpr |
| 7870 | ) |
| 7871 | |
| 7872 | endif (gRPC_BUILD_TESTS) |
| 7873 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7874 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7876 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7877 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7878 | ) |
| 7879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7881 | target_include_directories(tcp_client_posix_test |
| 7882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7884 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7885 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7886 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7887 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7888 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7889 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7890 | ) |
| 7891 | |
| 7892 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7893 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7894 | grpc_test_util |
| 7895 | grpc |
| 7896 | gpr_test_util |
| 7897 | gpr |
| 7898 | ) |
| 7899 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7900 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7901 | endif (gRPC_BUILD_TESTS) |
| 7902 | if (gRPC_BUILD_TESTS) |
| 7903 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7904 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7905 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7906 | ) |
| 7907 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7908 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7909 | target_include_directories(tcp_client_uv_test |
| 7910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7912 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7913 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7914 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7915 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7916 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7917 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7918 | ) |
| 7919 | |
| 7920 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7922 | grpc_test_util |
| 7923 | grpc |
| 7924 | gpr_test_util |
| 7925 | gpr |
| 7926 | ) |
| 7927 | |
| 7928 | endif (gRPC_BUILD_TESTS) |
| 7929 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7930 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7931 | |
| 7932 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7933 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7934 | ) |
| 7935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7937 | target_include_directories(tcp_posix_test |
| 7938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7940 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7941 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7942 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7943 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7944 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7945 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7946 | ) |
| 7947 | |
| 7948 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7950 | grpc_test_util |
| 7951 | grpc |
| 7952 | gpr_test_util |
| 7953 | gpr |
| 7954 | ) |
| 7955 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7956 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7957 | endif (gRPC_BUILD_TESTS) |
| 7958 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7959 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7960 | |
| 7961 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7962 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7963 | ) |
| 7964 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7966 | target_include_directories(tcp_server_posix_test |
| 7967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7969 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7970 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7971 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7972 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7973 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7974 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7975 | ) |
| 7976 | |
| 7977 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7979 | grpc_test_util |
| 7980 | grpc |
| 7981 | gpr_test_util |
| 7982 | gpr |
| 7983 | ) |
| 7984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7985 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7986 | endif (gRPC_BUILD_TESTS) |
| 7987 | if (gRPC_BUILD_TESTS) |
| 7988 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7989 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7990 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7991 | ) |
| 7992 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7993 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7994 | target_include_directories(tcp_server_uv_test |
| 7995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7997 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7998 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7999 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8000 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8001 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8002 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8003 | ) |
| 8004 | |
| 8005 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8007 | grpc_test_util |
| 8008 | grpc |
| 8009 | gpr_test_util |
| 8010 | gpr |
| 8011 | ) |
| 8012 | |
| 8013 | endif (gRPC_BUILD_TESTS) |
| 8014 | if (gRPC_BUILD_TESTS) |
| 8015 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8016 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8017 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8018 | ) |
| 8019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8021 | target_include_directories(time_averaged_stats_test |
| 8022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8024 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8025 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8026 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8027 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8028 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8029 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8030 | ) |
| 8031 | |
| 8032 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8034 | grpc_test_util |
| 8035 | grpc |
| 8036 | gpr_test_util |
| 8037 | gpr |
| 8038 | ) |
| 8039 | |
| 8040 | endif (gRPC_BUILD_TESTS) |
| 8041 | if (gRPC_BUILD_TESTS) |
| 8042 | |
| 8043 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8044 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8045 | ) |
| 8046 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8047 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8048 | target_include_directories(timeout_encoding_test |
| 8049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8051 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8052 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8053 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8054 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8055 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8056 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8057 | ) |
| 8058 | |
| 8059 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8060 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8061 | grpc_test_util |
| 8062 | grpc |
| 8063 | gpr_test_util |
| 8064 | gpr |
| 8065 | ) |
| 8066 | |
| 8067 | endif (gRPC_BUILD_TESTS) |
| 8068 | if (gRPC_BUILD_TESTS) |
| 8069 | |
| 8070 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8071 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8072 | ) |
| 8073 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8074 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8075 | target_include_directories(timer_heap_test |
| 8076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8078 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8079 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8080 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8081 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8082 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8083 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8084 | ) |
| 8085 | |
| 8086 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8087 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8088 | grpc_test_util |
| 8089 | grpc |
| 8090 | gpr_test_util |
| 8091 | gpr |
| 8092 | ) |
| 8093 | |
| 8094 | endif (gRPC_BUILD_TESTS) |
| 8095 | if (gRPC_BUILD_TESTS) |
| 8096 | |
| 8097 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8098 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8099 | ) |
| 8100 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8101 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8102 | target_include_directories(timer_list_test |
| 8103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8105 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8106 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8107 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8108 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8109 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8110 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8111 | ) |
| 8112 | |
| 8113 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8114 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8115 | grpc_test_util |
| 8116 | grpc |
| 8117 | gpr_test_util |
| 8118 | gpr |
| 8119 | ) |
| 8120 | |
| 8121 | endif (gRPC_BUILD_TESTS) |
| 8122 | if (gRPC_BUILD_TESTS) |
| 8123 | |
| 8124 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8125 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8126 | ) |
| 8127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8128 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8129 | target_include_directories(transport_connectivity_state_test |
| 8130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8132 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8133 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8134 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8135 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8136 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8137 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8138 | ) |
| 8139 | |
| 8140 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8142 | grpc_test_util |
| 8143 | grpc |
| 8144 | gpr_test_util |
| 8145 | gpr |
| 8146 | ) |
| 8147 | |
| 8148 | endif (gRPC_BUILD_TESTS) |
| 8149 | if (gRPC_BUILD_TESTS) |
| 8150 | |
| 8151 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8152 | test/core/transport/metadata_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8153 | ) |
| 8154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8156 | target_include_directories(transport_metadata_test |
| 8157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8159 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8160 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8161 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8162 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8163 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8164 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8165 | ) |
| 8166 | |
| 8167 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8169 | grpc_test_util |
| 8170 | grpc |
| 8171 | gpr_test_util |
| 8172 | gpr |
| 8173 | ) |
| 8174 | |
| 8175 | endif (gRPC_BUILD_TESTS) |
| 8176 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8177 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8178 | |
| 8179 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8180 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8181 | ) |
| 8182 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8184 | target_include_directories(transport_security_test |
| 8185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8187 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8188 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8189 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8190 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8191 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8192 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8193 | ) |
| 8194 | |
| 8195 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8196 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8197 | grpc_test_util |
| 8198 | grpc |
| 8199 | gpr_test_util |
| 8200 | gpr |
| 8201 | ) |
| 8202 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8203 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8204 | endif (gRPC_BUILD_TESTS) |
| 8205 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8206 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8207 | |
| 8208 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8209 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8210 | ) |
| 8211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8213 | target_include_directories(udp_server_test |
| 8214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8217 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8218 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8219 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8220 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8221 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8222 | ) |
| 8223 | |
| 8224 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8226 | grpc_test_util |
| 8227 | grpc |
| 8228 | gpr_test_util |
| 8229 | gpr |
| 8230 | ) |
| 8231 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8232 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8233 | endif (gRPC_BUILD_TESTS) |
| 8234 | if (gRPC_BUILD_TESTS) |
| 8235 | |
| 8236 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8237 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8238 | ) |
| 8239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8241 | target_include_directories(uri_parser_test |
| 8242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8250 | ) |
| 8251 | |
| 8252 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8253 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8254 | grpc_test_util |
| 8255 | grpc |
| 8256 | gpr_test_util |
| 8257 | gpr |
| 8258 | ) |
| 8259 | |
| 8260 | endif (gRPC_BUILD_TESTS) |
| 8261 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8262 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8263 | |
| 8264 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8265 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8266 | ) |
| 8267 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8269 | target_include_directories(wakeup_fd_cv_test |
| 8270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8272 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8273 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8274 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8275 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8276 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8277 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8278 | ) |
| 8279 | |
| 8280 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8281 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8282 | grpc_test_util |
| 8283 | grpc |
| 8284 | gpr_test_util |
| 8285 | gpr |
| 8286 | ) |
| 8287 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8288 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8289 | endif (gRPC_BUILD_TESTS) |
| 8290 | if (gRPC_BUILD_TESTS) |
| 8291 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8292 | add_executable(alarm_test |
| 8293 | test/cpp/common/alarm_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8294 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8295 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8296 | ) |
| 8297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8298 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8299 | target_include_directories(alarm_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8303 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8304 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8305 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8306 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8307 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8308 | PRIVATE third_party/googletest/googletest/include |
| 8309 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8310 | PRIVATE third_party/googletest/googlemock/include |
| 8311 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8312 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8313 | ) |
| 8314 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8315 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8316 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8317 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8318 | grpc++_test_util_unsecure |
| 8319 | grpc_test_util_unsecure |
| 8320 | grpc++_unsecure |
| 8321 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8322 | gpr_test_util |
| 8323 | gpr |
| 8324 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8325 | ) |
| 8326 | |
| 8327 | endif (gRPC_BUILD_TESTS) |
| 8328 | if (gRPC_BUILD_TESTS) |
| 8329 | |
| 8330 | add_executable(async_end2end_test |
| 8331 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8332 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8333 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8334 | ) |
| 8335 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8336 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8337 | target_include_directories(async_end2end_test |
| 8338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8340 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8341 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8342 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8343 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8344 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8345 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8346 | PRIVATE third_party/googletest/googletest/include |
| 8347 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8348 | PRIVATE third_party/googletest/googlemock/include |
| 8349 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8350 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8351 | ) |
| 8352 | |
| 8353 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8354 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8355 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8356 | grpc++_test_util |
| 8357 | grpc_test_util |
| 8358 | grpc++ |
| 8359 | grpc |
| 8360 | gpr_test_util |
| 8361 | gpr |
| 8362 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8363 | ) |
| 8364 | |
| 8365 | endif (gRPC_BUILD_TESTS) |
| 8366 | if (gRPC_BUILD_TESTS) |
| 8367 | |
| 8368 | add_executable(auth_property_iterator_test |
| 8369 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8370 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8371 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8372 | ) |
| 8373 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8375 | target_include_directories(auth_property_iterator_test |
| 8376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8378 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8379 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8380 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8381 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8382 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8383 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8384 | PRIVATE third_party/googletest/googletest/include |
| 8385 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8386 | PRIVATE third_party/googletest/googlemock/include |
| 8387 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8388 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8389 | ) |
| 8390 | |
| 8391 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8392 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8394 | grpc++_test_util |
| 8395 | grpc_test_util |
| 8396 | grpc++ |
| 8397 | grpc |
| 8398 | gpr_test_util |
| 8399 | gpr |
| 8400 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8401 | ) |
| 8402 | |
| 8403 | endif (gRPC_BUILD_TESTS) |
| 8404 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8405 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8406 | add_executable(backoff_test |
| 8407 | test/core/backoff/backoff_test.cc |
| 8408 | third_party/googletest/googletest/src/gtest-all.cc |
| 8409 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8410 | ) |
| 8411 | |
| 8412 | |
| 8413 | target_include_directories(backoff_test |
| 8414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 8416 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8417 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8418 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8419 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8420 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8421 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8422 | PRIVATE third_party/googletest/googletest/include |
| 8423 | PRIVATE third_party/googletest/googletest |
| 8424 | PRIVATE third_party/googletest/googlemock/include |
| 8425 | PRIVATE third_party/googletest/googlemock |
| 8426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8427 | ) |
| 8428 | |
| 8429 | target_link_libraries(backoff_test |
| 8430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8432 | grpc_test_util |
| 8433 | grpc |
| 8434 | gpr_test_util |
| 8435 | gpr |
| 8436 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8437 | ) |
| 8438 | |
| 8439 | endif (gRPC_BUILD_TESTS) |
| 8440 | if (gRPC_BUILD_TESTS) |
| 8441 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8442 | add_executable(bdp_estimator_test |
| 8443 | test/core/transport/bdp_estimator_test.cc |
| 8444 | third_party/googletest/googletest/src/gtest-all.cc |
| 8445 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8446 | ) |
| 8447 | |
| 8448 | |
| 8449 | target_include_directories(bdp_estimator_test |
| 8450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8453 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8454 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8455 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8456 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8457 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8458 | PRIVATE third_party/googletest/googletest/include |
| 8459 | PRIVATE third_party/googletest/googletest |
| 8460 | PRIVATE third_party/googletest/googlemock/include |
| 8461 | PRIVATE third_party/googletest/googlemock |
| 8462 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8463 | ) |
| 8464 | |
| 8465 | target_link_libraries(bdp_estimator_test |
| 8466 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8467 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8468 | grpc++_test_util |
| 8469 | grpc++ |
| 8470 | grpc_test_util |
| 8471 | grpc |
| 8472 | gpr_test_util |
| 8473 | gpr |
| 8474 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8475 | ) |
| 8476 | |
| 8477 | endif (gRPC_BUILD_TESTS) |
| 8478 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8479 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8480 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8481 | add_executable(bm_arena |
| 8482 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8483 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8484 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8485 | ) |
| 8486 | |
| 8487 | |
| 8488 | target_include_directories(bm_arena |
| 8489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8491 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8492 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8493 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8494 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8495 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8496 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8497 | PRIVATE third_party/googletest/googletest/include |
| 8498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8499 | PRIVATE third_party/googletest/googlemock/include |
| 8500 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8502 | ) |
| 8503 | |
| 8504 | target_link_libraries(bm_arena |
| 8505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8507 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8508 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8509 | grpc++_test_util_unsecure |
| 8510 | grpc_test_util_unsecure |
| 8511 | grpc++_unsecure |
| 8512 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8513 | gpr_test_util |
| 8514 | gpr |
| 8515 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8516 | ) |
| 8517 | |
| 8518 | endif() |
| 8519 | endif (gRPC_BUILD_TESTS) |
| 8520 | if (gRPC_BUILD_TESTS) |
| 8521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8522 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8523 | add_executable(bm_call_create |
| 8524 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8525 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8526 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8527 | ) |
| 8528 | |
| 8529 | |
| 8530 | target_include_directories(bm_call_create |
| 8531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8534 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8535 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8536 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8537 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8538 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8539 | PRIVATE third_party/googletest/googletest/include |
| 8540 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8541 | PRIVATE third_party/googletest/googlemock/include |
| 8542 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8543 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8544 | ) |
| 8545 | |
| 8546 | target_link_libraries(bm_call_create |
| 8547 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8548 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8549 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8550 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8551 | grpc++_test_util_unsecure |
| 8552 | grpc_test_util_unsecure |
| 8553 | grpc++_unsecure |
| 8554 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8555 | gpr_test_util |
| 8556 | gpr |
| 8557 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8558 | ) |
| 8559 | |
| 8560 | endif() |
| 8561 | endif (gRPC_BUILD_TESTS) |
| 8562 | if (gRPC_BUILD_TESTS) |
| 8563 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8564 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8565 | add_executable(bm_chttp2_hpack |
| 8566 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8567 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8568 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8569 | ) |
| 8570 | |
| 8571 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8572 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8574 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8575 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8576 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8577 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8578 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8579 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8580 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8581 | PRIVATE third_party/googletest/googletest/include |
| 8582 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8583 | PRIVATE third_party/googletest/googlemock/include |
| 8584 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8585 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8586 | ) |
| 8587 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8588 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8589 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8590 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8591 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8592 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8593 | grpc++_test_util_unsecure |
| 8594 | grpc_test_util_unsecure |
| 8595 | grpc++_unsecure |
| 8596 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8597 | gpr_test_util |
| 8598 | gpr |
| 8599 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8600 | ) |
| 8601 | |
| 8602 | endif() |
| 8603 | endif (gRPC_BUILD_TESTS) |
| 8604 | if (gRPC_BUILD_TESTS) |
| 8605 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8606 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8607 | add_executable(bm_chttp2_transport |
| 8608 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8609 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8610 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8611 | ) |
| 8612 | |
| 8613 | |
| 8614 | target_include_directories(bm_chttp2_transport |
| 8615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8617 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8618 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8619 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8620 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8621 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8622 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8623 | PRIVATE third_party/googletest/googletest/include |
| 8624 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8625 | PRIVATE third_party/googletest/googlemock/include |
| 8626 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8627 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8628 | ) |
| 8629 | |
| 8630 | target_link_libraries(bm_chttp2_transport |
| 8631 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8632 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8633 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8634 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8635 | grpc++_test_util_unsecure |
| 8636 | grpc_test_util_unsecure |
| 8637 | grpc++_unsecure |
| 8638 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8639 | gpr_test_util |
| 8640 | gpr |
| 8641 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8642 | ) |
| 8643 | |
| 8644 | endif() |
| 8645 | endif (gRPC_BUILD_TESTS) |
| 8646 | if (gRPC_BUILD_TESTS) |
| 8647 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8648 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8649 | add_executable(bm_closure |
| 8650 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8651 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8652 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8653 | ) |
| 8654 | |
| 8655 | |
| 8656 | target_include_directories(bm_closure |
| 8657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8659 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8660 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8661 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8662 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8663 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8664 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8665 | PRIVATE third_party/googletest/googletest/include |
| 8666 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8667 | PRIVATE third_party/googletest/googlemock/include |
| 8668 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8669 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8670 | ) |
| 8671 | |
| 8672 | target_link_libraries(bm_closure |
| 8673 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8675 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8676 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8677 | grpc++_test_util_unsecure |
| 8678 | grpc_test_util_unsecure |
| 8679 | grpc++_unsecure |
| 8680 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8681 | gpr_test_util |
| 8682 | gpr |
| 8683 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8684 | ) |
| 8685 | |
| 8686 | endif() |
| 8687 | endif (gRPC_BUILD_TESTS) |
| 8688 | if (gRPC_BUILD_TESTS) |
| 8689 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8690 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8691 | add_executable(bm_cq |
| 8692 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8693 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8694 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8695 | ) |
| 8696 | |
| 8697 | |
| 8698 | target_include_directories(bm_cq |
| 8699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8701 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8702 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8703 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8704 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8705 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8706 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8707 | PRIVATE third_party/googletest/googletest/include |
| 8708 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8709 | PRIVATE third_party/googletest/googlemock/include |
| 8710 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8711 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8712 | ) |
| 8713 | |
| 8714 | target_link_libraries(bm_cq |
| 8715 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8717 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8718 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8719 | grpc++_test_util_unsecure |
| 8720 | grpc_test_util_unsecure |
| 8721 | grpc++_unsecure |
| 8722 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8723 | gpr_test_util |
| 8724 | gpr |
| 8725 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8726 | ) |
| 8727 | |
| 8728 | endif() |
| 8729 | endif (gRPC_BUILD_TESTS) |
| 8730 | if (gRPC_BUILD_TESTS) |
| 8731 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8732 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8733 | add_executable(bm_cq_multiple_threads |
| 8734 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8735 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8736 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8737 | ) |
| 8738 | |
| 8739 | |
| 8740 | target_include_directories(bm_cq_multiple_threads |
| 8741 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8743 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8744 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8745 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8746 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8747 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8748 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8749 | PRIVATE third_party/googletest/googletest/include |
| 8750 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8751 | PRIVATE third_party/googletest/googlemock/include |
| 8752 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8753 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8754 | ) |
| 8755 | |
| 8756 | target_link_libraries(bm_cq_multiple_threads |
| 8757 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8758 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8759 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8760 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8761 | grpc++_test_util_unsecure |
| 8762 | grpc_test_util_unsecure |
| 8763 | grpc++_unsecure |
| 8764 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8765 | gpr_test_util |
| 8766 | gpr |
| 8767 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8768 | ) |
| 8769 | |
| 8770 | endif() |
| 8771 | endif (gRPC_BUILD_TESTS) |
| 8772 | if (gRPC_BUILD_TESTS) |
| 8773 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8774 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8775 | add_executable(bm_error |
| 8776 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8777 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8778 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8779 | ) |
| 8780 | |
| 8781 | |
| 8782 | target_include_directories(bm_error |
| 8783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8785 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8786 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8787 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8788 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8789 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8790 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8791 | PRIVATE third_party/googletest/googletest/include |
| 8792 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8793 | PRIVATE third_party/googletest/googlemock/include |
| 8794 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8795 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8796 | ) |
| 8797 | |
| 8798 | target_link_libraries(bm_error |
| 8799 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8800 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8801 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8802 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8803 | grpc++_test_util_unsecure |
| 8804 | grpc_test_util_unsecure |
| 8805 | grpc++_unsecure |
| 8806 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8807 | gpr_test_util |
| 8808 | gpr |
| 8809 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8810 | ) |
| 8811 | |
| 8812 | endif() |
| 8813 | endif (gRPC_BUILD_TESTS) |
| 8814 | if (gRPC_BUILD_TESTS) |
| 8815 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8816 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8817 | add_executable(bm_fullstack_streaming_ping_pong |
| 8818 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8819 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8820 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8821 | ) |
| 8822 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8823 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8824 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8827 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8828 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8829 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8830 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8831 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8832 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8833 | PRIVATE third_party/googletest/googletest/include |
| 8834 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8835 | PRIVATE third_party/googletest/googlemock/include |
| 8836 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8837 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8838 | ) |
| 8839 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8840 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 8841 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8843 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8844 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8845 | grpc++_test_util_unsecure |
| 8846 | grpc_test_util_unsecure |
| 8847 | grpc++_unsecure |
| 8848 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8849 | gpr_test_util |
| 8850 | gpr |
| 8851 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8852 | ) |
| 8853 | |
| 8854 | endif() |
| 8855 | endif (gRPC_BUILD_TESTS) |
| 8856 | if (gRPC_BUILD_TESTS) |
| 8857 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8858 | |
| 8859 | add_executable(bm_fullstack_streaming_pump |
| 8860 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8861 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8862 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8863 | ) |
| 8864 | |
| 8865 | |
| 8866 | target_include_directories(bm_fullstack_streaming_pump |
| 8867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8869 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8870 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8871 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8872 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8873 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8874 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8875 | PRIVATE third_party/googletest/googletest/include |
| 8876 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8877 | PRIVATE third_party/googletest/googlemock/include |
| 8878 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8879 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8880 | ) |
| 8881 | |
| 8882 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8883 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8884 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8885 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8886 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8887 | grpc++_test_util_unsecure |
| 8888 | grpc_test_util_unsecure |
| 8889 | grpc++_unsecure |
| 8890 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8891 | gpr_test_util |
| 8892 | gpr |
| 8893 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8894 | ) |
| 8895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8896 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8897 | endif (gRPC_BUILD_TESTS) |
| 8898 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8899 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8900 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8901 | add_executable(bm_fullstack_trickle |
| 8902 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8903 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8904 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8905 | ) |
| 8906 | |
| 8907 | |
| 8908 | target_include_directories(bm_fullstack_trickle |
| 8909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8911 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8912 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8913 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8914 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8915 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8916 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8917 | PRIVATE third_party/googletest/googletest/include |
| 8918 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8919 | PRIVATE third_party/googletest/googlemock/include |
| 8920 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8921 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8922 | ) |
| 8923 | |
| 8924 | target_link_libraries(bm_fullstack_trickle |
| 8925 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8926 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8927 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8928 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8929 | grpc++_test_util_unsecure |
| 8930 | grpc_test_util_unsecure |
| 8931 | grpc++_unsecure |
| 8932 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8933 | gpr_test_util |
| 8934 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 8935 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8936 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8937 | ) |
| 8938 | |
| 8939 | endif() |
| 8940 | endif (gRPC_BUILD_TESTS) |
| 8941 | if (gRPC_BUILD_TESTS) |
| 8942 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8943 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8944 | add_executable(bm_fullstack_unary_ping_pong |
| 8945 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8946 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8947 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8948 | ) |
| 8949 | |
| 8950 | |
| 8951 | target_include_directories(bm_fullstack_unary_ping_pong |
| 8952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8954 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8955 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8956 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8957 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8958 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8959 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8960 | PRIVATE third_party/googletest/googletest/include |
| 8961 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8962 | PRIVATE third_party/googletest/googlemock/include |
| 8963 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8964 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8965 | ) |
| 8966 | |
| 8967 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 8968 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8969 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8970 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8971 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8972 | grpc++_test_util_unsecure |
| 8973 | grpc_test_util_unsecure |
| 8974 | grpc++_unsecure |
| 8975 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8976 | gpr_test_util |
| 8977 | gpr |
| 8978 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8979 | ) |
| 8980 | |
| 8981 | endif() |
| 8982 | endif (gRPC_BUILD_TESTS) |
| 8983 | if (gRPC_BUILD_TESTS) |
| 8984 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8985 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8986 | add_executable(bm_metadata |
| 8987 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8988 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8989 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8990 | ) |
| 8991 | |
| 8992 | |
| 8993 | target_include_directories(bm_metadata |
| 8994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8997 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8998 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8999 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9000 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9001 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9002 | PRIVATE third_party/googletest/googletest/include |
| 9003 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9004 | PRIVATE third_party/googletest/googlemock/include |
| 9005 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9006 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9007 | ) |
| 9008 | |
| 9009 | target_link_libraries(bm_metadata |
| 9010 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9012 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9013 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9014 | grpc++_test_util_unsecure |
| 9015 | grpc_test_util_unsecure |
| 9016 | grpc++_unsecure |
| 9017 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9018 | gpr_test_util |
| 9019 | gpr |
| 9020 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9021 | ) |
| 9022 | |
| 9023 | endif() |
| 9024 | endif (gRPC_BUILD_TESTS) |
| 9025 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9026 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9027 | |
| 9028 | add_executable(bm_pollset |
| 9029 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9030 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9031 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9032 | ) |
| 9033 | |
| 9034 | |
| 9035 | target_include_directories(bm_pollset |
| 9036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9038 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9039 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9040 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9041 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9042 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9043 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9044 | PRIVATE third_party/googletest/googletest/include |
| 9045 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9046 | PRIVATE third_party/googletest/googlemock/include |
| 9047 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9048 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9049 | ) |
| 9050 | |
| 9051 | target_link_libraries(bm_pollset |
| 9052 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9053 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9054 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9055 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9056 | grpc++_test_util_unsecure |
| 9057 | grpc_test_util_unsecure |
| 9058 | grpc++_unsecure |
| 9059 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9060 | gpr_test_util |
| 9061 | gpr |
| 9062 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9063 | ) |
| 9064 | |
| 9065 | endif() |
| 9066 | endif (gRPC_BUILD_TESTS) |
| 9067 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9068 | |
| 9069 | add_executable(channel_arguments_test |
| 9070 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9071 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9072 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9073 | ) |
| 9074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9075 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9076 | target_include_directories(channel_arguments_test |
| 9077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9079 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9080 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9081 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9082 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9083 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9084 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9085 | PRIVATE third_party/googletest/googletest/include |
| 9086 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9087 | PRIVATE third_party/googletest/googlemock/include |
| 9088 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9089 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9090 | ) |
| 9091 | |
| 9092 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9093 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9094 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9095 | grpc++ |
| 9096 | grpc |
| 9097 | gpr |
| 9098 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9099 | ) |
| 9100 | |
| 9101 | endif (gRPC_BUILD_TESTS) |
| 9102 | if (gRPC_BUILD_TESTS) |
| 9103 | |
| 9104 | add_executable(channel_filter_test |
| 9105 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9106 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9107 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9108 | ) |
| 9109 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9110 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9111 | target_include_directories(channel_filter_test |
| 9112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9114 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9115 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9116 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9117 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9118 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9119 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9120 | PRIVATE third_party/googletest/googletest/include |
| 9121 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9122 | PRIVATE third_party/googletest/googlemock/include |
| 9123 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9124 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9125 | ) |
| 9126 | |
| 9127 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9128 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9130 | grpc++ |
| 9131 | grpc |
| 9132 | gpr |
| 9133 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9134 | ) |
| 9135 | |
| 9136 | endif (gRPC_BUILD_TESTS) |
| 9137 | if (gRPC_BUILD_TESTS) |
| 9138 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9139 | add_executable(chttp2_settings_timeout_test |
| 9140 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9141 | third_party/googletest/googletest/src/gtest-all.cc |
| 9142 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9143 | ) |
| 9144 | |
| 9145 | |
| 9146 | target_include_directories(chttp2_settings_timeout_test |
| 9147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9149 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9150 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9151 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9152 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9153 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9154 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9155 | PRIVATE third_party/googletest/googletest/include |
| 9156 | PRIVATE third_party/googletest/googletest |
| 9157 | PRIVATE third_party/googletest/googlemock/include |
| 9158 | PRIVATE third_party/googletest/googlemock |
| 9159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9160 | ) |
| 9161 | |
| 9162 | target_link_libraries(chttp2_settings_timeout_test |
| 9163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9165 | grpc_test_util |
| 9166 | grpc |
| 9167 | gpr_test_util |
| 9168 | gpr |
| 9169 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9170 | ) |
| 9171 | |
| 9172 | endif (gRPC_BUILD_TESTS) |
| 9173 | if (gRPC_BUILD_TESTS) |
| 9174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9175 | add_executable(cli_call_test |
| 9176 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9177 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9178 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9179 | ) |
| 9180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9182 | target_include_directories(cli_call_test |
| 9183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9185 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9186 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9187 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9188 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9189 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9190 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9191 | PRIVATE third_party/googletest/googletest/include |
| 9192 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9193 | PRIVATE third_party/googletest/googlemock/include |
| 9194 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9195 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9196 | ) |
| 9197 | |
| 9198 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9199 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9201 | grpc_cli_libs |
| 9202 | grpc++_test_util |
| 9203 | grpc_test_util |
| 9204 | grpc++ |
| 9205 | grpc |
| 9206 | gpr_test_util |
| 9207 | gpr |
| 9208 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9209 | ) |
| 9210 | |
| 9211 | endif (gRPC_BUILD_TESTS) |
| 9212 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9213 | |
| 9214 | add_executable(client_channel_stress_test |
| 9215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9217 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9218 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9219 | test/cpp/client/client_channel_stress_test.cc |
| 9220 | third_party/googletest/googletest/src/gtest-all.cc |
| 9221 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9222 | ) |
| 9223 | |
| 9224 | protobuf_generate_grpc_cpp( |
| 9225 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9226 | ) |
| 9227 | |
| 9228 | target_include_directories(client_channel_stress_test |
| 9229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9231 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9232 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9233 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9234 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9235 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9236 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9237 | PRIVATE third_party/googletest/googletest/include |
| 9238 | PRIVATE third_party/googletest/googletest |
| 9239 | PRIVATE third_party/googletest/googlemock/include |
| 9240 | PRIVATE third_party/googletest/googlemock |
| 9241 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9242 | ) |
| 9243 | |
| 9244 | target_link_libraries(client_channel_stress_test |
| 9245 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9247 | grpc++_test_util |
| 9248 | grpc_test_util |
| 9249 | grpc++ |
| 9250 | grpc |
| 9251 | gpr_test_util |
| 9252 | gpr |
| 9253 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9254 | ) |
| 9255 | |
| 9256 | endif (gRPC_BUILD_TESTS) |
| 9257 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9258 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9259 | |
| 9260 | add_executable(client_crash_test |
| 9261 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9262 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9263 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9264 | ) |
| 9265 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9266 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9267 | target_include_directories(client_crash_test |
| 9268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9269 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9270 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9271 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9272 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9273 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9274 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9275 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9276 | PRIVATE third_party/googletest/googletest/include |
| 9277 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9278 | PRIVATE third_party/googletest/googlemock/include |
| 9279 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9280 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9281 | ) |
| 9282 | |
| 9283 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9284 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9286 | grpc++_test_util |
| 9287 | grpc_test_util |
| 9288 | grpc++ |
| 9289 | grpc |
| 9290 | gpr_test_util |
| 9291 | gpr |
| 9292 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9293 | ) |
| 9294 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9295 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9296 | endif (gRPC_BUILD_TESTS) |
| 9297 | if (gRPC_BUILD_TESTS) |
| 9298 | |
| 9299 | add_executable(client_crash_test_server |
| 9300 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9301 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9302 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9303 | ) |
| 9304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9305 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9306 | target_include_directories(client_crash_test_server |
| 9307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9309 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9310 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9311 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9312 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9313 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9314 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9315 | PRIVATE third_party/googletest/googletest/include |
| 9316 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9317 | PRIVATE third_party/googletest/googlemock/include |
| 9318 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9319 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9320 | ) |
| 9321 | |
| 9322 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9323 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9324 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9325 | grpc++_test_util |
| 9326 | grpc_test_util |
| 9327 | grpc++ |
| 9328 | grpc |
| 9329 | gpr_test_util |
| 9330 | gpr |
| 9331 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9332 | ) |
| 9333 | |
| 9334 | endif (gRPC_BUILD_TESTS) |
| 9335 | if (gRPC_BUILD_TESTS) |
| 9336 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9337 | add_executable(client_lb_end2end_test |
| 9338 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9339 | third_party/googletest/googletest/src/gtest-all.cc |
| 9340 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9341 | ) |
| 9342 | |
| 9343 | |
| 9344 | target_include_directories(client_lb_end2end_test |
| 9345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9347 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9348 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9349 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9350 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9351 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9352 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9353 | PRIVATE third_party/googletest/googletest/include |
| 9354 | PRIVATE third_party/googletest/googletest |
| 9355 | PRIVATE third_party/googletest/googlemock/include |
| 9356 | PRIVATE third_party/googletest/googlemock |
| 9357 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9358 | ) |
| 9359 | |
| 9360 | target_link_libraries(client_lb_end2end_test |
| 9361 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9362 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9363 | grpc++_test_util |
| 9364 | grpc_test_util |
| 9365 | grpc++ |
| 9366 | grpc |
| 9367 | gpr_test_util |
| 9368 | gpr |
| 9369 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9370 | ) |
| 9371 | |
| 9372 | endif (gRPC_BUILD_TESTS) |
| 9373 | if (gRPC_BUILD_TESTS) |
| 9374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9375 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9378 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9390 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9391 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9392 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9393 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9395 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9396 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9397 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9398 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9399 | ) |
| 9400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9401 | protobuf_generate_grpc_cpp( |
| 9402 | src/proto/grpc/testing/control.proto |
| 9403 | ) |
| 9404 | protobuf_generate_grpc_cpp( |
| 9405 | src/proto/grpc/testing/messages.proto |
| 9406 | ) |
| 9407 | protobuf_generate_grpc_cpp( |
| 9408 | src/proto/grpc/testing/payloads.proto |
| 9409 | ) |
| 9410 | protobuf_generate_grpc_cpp( |
| 9411 | src/proto/grpc/testing/services.proto |
| 9412 | ) |
| 9413 | protobuf_generate_grpc_cpp( |
| 9414 | src/proto/grpc/testing/stats.proto |
| 9415 | ) |
| 9416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9417 | target_include_directories(codegen_test_full |
| 9418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9420 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9421 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9422 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9423 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9424 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9425 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9426 | PRIVATE third_party/googletest/googletest/include |
| 9427 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9428 | PRIVATE third_party/googletest/googlemock/include |
| 9429 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9430 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9431 | ) |
| 9432 | |
| 9433 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9434 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9436 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9437 | grpc++ |
| 9438 | grpc |
| 9439 | gpr |
| 9440 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9441 | ) |
| 9442 | |
| 9443 | endif (gRPC_BUILD_TESTS) |
| 9444 | if (gRPC_BUILD_TESTS) |
| 9445 | |
| 9446 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9447 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9448 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9449 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9450 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9451 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9452 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9453 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9454 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9455 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9456 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9457 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9458 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9459 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9460 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9461 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9462 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9463 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9464 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9465 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9466 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9467 | test/cpp/codegen/codegen_test_minimal.cc |
| 9468 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9469 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9470 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9471 | ) |
| 9472 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9473 | protobuf_generate_grpc_cpp( |
| 9474 | src/proto/grpc/testing/control.proto |
| 9475 | ) |
| 9476 | protobuf_generate_grpc_cpp( |
| 9477 | src/proto/grpc/testing/messages.proto |
| 9478 | ) |
| 9479 | protobuf_generate_grpc_cpp( |
| 9480 | src/proto/grpc/testing/payloads.proto |
| 9481 | ) |
| 9482 | protobuf_generate_grpc_cpp( |
| 9483 | src/proto/grpc/testing/services.proto |
| 9484 | ) |
| 9485 | protobuf_generate_grpc_cpp( |
| 9486 | src/proto/grpc/testing/stats.proto |
| 9487 | ) |
| 9488 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9489 | target_include_directories(codegen_test_minimal |
| 9490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9492 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9493 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9494 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9495 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9496 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9497 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9498 | PRIVATE third_party/googletest/googletest/include |
| 9499 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9500 | PRIVATE third_party/googletest/googlemock/include |
| 9501 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9502 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9503 | ) |
| 9504 | |
| 9505 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9506 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9507 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9508 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9509 | grpc |
| 9510 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9511 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9512 | ) |
| 9513 | |
| 9514 | endif (gRPC_BUILD_TESTS) |
| 9515 | if (gRPC_BUILD_TESTS) |
| 9516 | |
| 9517 | add_executable(credentials_test |
| 9518 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9519 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9520 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9521 | ) |
| 9522 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9523 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9524 | target_include_directories(credentials_test |
| 9525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9527 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9528 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9529 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9530 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9531 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9532 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9533 | PRIVATE third_party/googletest/googletest/include |
| 9534 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9535 | PRIVATE third_party/googletest/googlemock/include |
| 9536 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9537 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9538 | ) |
| 9539 | |
| 9540 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9541 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9543 | grpc++ |
| 9544 | grpc |
| 9545 | gpr |
| 9546 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9547 | ) |
| 9548 | |
| 9549 | endif (gRPC_BUILD_TESTS) |
| 9550 | if (gRPC_BUILD_TESTS) |
| 9551 | |
| 9552 | add_executable(cxx_byte_buffer_test |
| 9553 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9554 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9555 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9556 | ) |
| 9557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9559 | target_include_directories(cxx_byte_buffer_test |
| 9560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9562 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9563 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9564 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9565 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9566 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9567 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9568 | PRIVATE third_party/googletest/googletest/include |
| 9569 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9570 | PRIVATE third_party/googletest/googlemock/include |
| 9571 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9572 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9573 | ) |
| 9574 | |
| 9575 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9576 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9577 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9578 | grpc_test_util |
| 9579 | grpc++ |
| 9580 | grpc |
| 9581 | gpr_test_util |
| 9582 | gpr |
| 9583 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9584 | ) |
| 9585 | |
| 9586 | endif (gRPC_BUILD_TESTS) |
| 9587 | if (gRPC_BUILD_TESTS) |
| 9588 | |
| 9589 | add_executable(cxx_slice_test |
| 9590 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9591 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9592 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9593 | ) |
| 9594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9596 | target_include_directories(cxx_slice_test |
| 9597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9599 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9600 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9601 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9602 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9603 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9604 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9605 | PRIVATE third_party/googletest/googletest/include |
| 9606 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9607 | PRIVATE third_party/googletest/googlemock/include |
| 9608 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9609 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9610 | ) |
| 9611 | |
| 9612 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9613 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9614 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9615 | grpc_test_util |
| 9616 | grpc++ |
| 9617 | grpc |
| 9618 | gpr_test_util |
| 9619 | gpr |
| 9620 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9621 | ) |
| 9622 | |
| 9623 | endif (gRPC_BUILD_TESTS) |
| 9624 | if (gRPC_BUILD_TESTS) |
| 9625 | |
| 9626 | add_executable(cxx_string_ref_test |
| 9627 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9628 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9629 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9630 | ) |
| 9631 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9632 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9633 | target_include_directories(cxx_string_ref_test |
| 9634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9636 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9637 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9638 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9639 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9640 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9641 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9642 | PRIVATE third_party/googletest/googletest/include |
| 9643 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9644 | PRIVATE third_party/googletest/googlemock/include |
| 9645 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9646 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9647 | ) |
| 9648 | |
| 9649 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9650 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9651 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9652 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 9653 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9654 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9655 | ) |
| 9656 | |
| 9657 | endif (gRPC_BUILD_TESTS) |
| 9658 | if (gRPC_BUILD_TESTS) |
| 9659 | |
| 9660 | add_executable(cxx_time_test |
| 9661 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9662 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9663 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9664 | ) |
| 9665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9667 | target_include_directories(cxx_time_test |
| 9668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9670 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9671 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9672 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9673 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9674 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9675 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9676 | PRIVATE third_party/googletest/googletest/include |
| 9677 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9678 | PRIVATE third_party/googletest/googlemock/include |
| 9679 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9680 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9681 | ) |
| 9682 | |
| 9683 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9684 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9685 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9686 | grpc_test_util |
| 9687 | grpc++ |
| 9688 | grpc |
| 9689 | gpr_test_util |
| 9690 | gpr |
| 9691 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9692 | ) |
| 9693 | |
| 9694 | endif (gRPC_BUILD_TESTS) |
| 9695 | if (gRPC_BUILD_TESTS) |
| 9696 | |
| 9697 | add_executable(end2end_test |
| 9698 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9699 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9700 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9701 | ) |
| 9702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9704 | target_include_directories(end2end_test |
| 9705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9707 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9708 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9709 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9710 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9711 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9712 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9713 | PRIVATE third_party/googletest/googletest/include |
| 9714 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9715 | PRIVATE third_party/googletest/googlemock/include |
| 9716 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9717 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9718 | ) |
| 9719 | |
| 9720 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9721 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9722 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9723 | grpc++_test_util |
| 9724 | grpc_test_util |
| 9725 | grpc++ |
| 9726 | grpc |
| 9727 | gpr_test_util |
| 9728 | gpr |
| 9729 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9730 | ) |
| 9731 | |
| 9732 | endif (gRPC_BUILD_TESTS) |
| 9733 | if (gRPC_BUILD_TESTS) |
| 9734 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9735 | add_executable(error_details_test |
| 9736 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 9737 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 9738 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 9739 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 9740 | test/cpp/util/error_details_test.cc |
| 9741 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9742 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9743 | ) |
| 9744 | |
| 9745 | protobuf_generate_grpc_cpp( |
| 9746 | src/proto/grpc/testing/echo_messages.proto |
| 9747 | ) |
| 9748 | |
| 9749 | target_include_directories(error_details_test |
| 9750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9752 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9753 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9754 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9755 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9756 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9757 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9758 | PRIVATE third_party/googletest/googletest/include |
| 9759 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9760 | PRIVATE third_party/googletest/googlemock/include |
| 9761 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9762 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9763 | ) |
| 9764 | |
| 9765 | target_link_libraries(error_details_test |
| 9766 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9767 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9768 | grpc++_error_details |
| 9769 | grpc++ |
| 9770 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9771 | ) |
| 9772 | |
| 9773 | endif (gRPC_BUILD_TESTS) |
| 9774 | if (gRPC_BUILD_TESTS) |
| 9775 | |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9776 | add_executable(exception_test |
| 9777 | test/cpp/end2end/exception_test.cc |
| 9778 | third_party/googletest/googletest/src/gtest-all.cc |
| 9779 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9780 | ) |
| 9781 | |
| 9782 | |
| 9783 | target_include_directories(exception_test |
| 9784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9786 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9787 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9788 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9789 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9790 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9791 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9792 | PRIVATE third_party/googletest/googletest/include |
| 9793 | PRIVATE third_party/googletest/googletest |
| 9794 | PRIVATE third_party/googletest/googlemock/include |
| 9795 | PRIVATE third_party/googletest/googlemock |
| 9796 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9797 | ) |
| 9798 | |
| 9799 | target_link_libraries(exception_test |
| 9800 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9801 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9802 | grpc++_test_util |
| 9803 | grpc_test_util |
| 9804 | grpc++ |
| 9805 | grpc |
| 9806 | gpr_test_util |
| 9807 | gpr |
| 9808 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9809 | ) |
| 9810 | |
| 9811 | endif (gRPC_BUILD_TESTS) |
| 9812 | if (gRPC_BUILD_TESTS) |
| 9813 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9814 | add_executable(filter_end2end_test |
| 9815 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9816 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9817 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | ) |
| 9819 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9821 | target_include_directories(filter_end2end_test |
| 9822 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9824 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9825 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9826 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9827 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9828 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9829 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9830 | PRIVATE third_party/googletest/googletest/include |
| 9831 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9832 | PRIVATE third_party/googletest/googlemock/include |
| 9833 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9834 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9835 | ) |
| 9836 | |
| 9837 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9838 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9839 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9840 | grpc++_test_util |
| 9841 | grpc_test_util |
| 9842 | grpc++ |
| 9843 | grpc |
| 9844 | gpr_test_util |
| 9845 | gpr |
| 9846 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9847 | ) |
| 9848 | |
| 9849 | endif (gRPC_BUILD_TESTS) |
| 9850 | if (gRPC_BUILD_TESTS) |
| 9851 | |
| 9852 | add_executable(generic_end2end_test |
| 9853 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9854 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9855 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9856 | ) |
| 9857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9859 | target_include_directories(generic_end2end_test |
| 9860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9862 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9863 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9864 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9865 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9866 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9867 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9868 | PRIVATE third_party/googletest/googletest/include |
| 9869 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9870 | PRIVATE third_party/googletest/googlemock/include |
| 9871 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9872 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9873 | ) |
| 9874 | |
| 9875 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9876 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9877 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9878 | grpc++_test_util |
| 9879 | grpc_test_util |
| 9880 | grpc++ |
| 9881 | grpc |
| 9882 | gpr_test_util |
| 9883 | gpr |
| 9884 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9885 | ) |
| 9886 | |
| 9887 | endif (gRPC_BUILD_TESTS) |
| 9888 | if (gRPC_BUILD_TESTS) |
| 9889 | |
| 9890 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9891 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 9892 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 9893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 9894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9895 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9896 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9897 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9898 | ) |
| 9899 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9900 | protobuf_generate_grpc_cpp( |
| 9901 | src/proto/grpc/testing/compiler_test.proto |
| 9902 | ) |
| 9903 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9904 | target_include_directories(golden_file_test |
| 9905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9907 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9908 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9909 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9910 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9911 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9912 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9913 | PRIVATE third_party/googletest/googletest/include |
| 9914 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9915 | PRIVATE third_party/googletest/googlemock/include |
| 9916 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9917 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9918 | ) |
| 9919 | |
| 9920 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9921 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9922 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9923 | grpc++ |
| 9924 | grpc |
| 9925 | gpr |
| 9926 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9927 | ) |
| 9928 | |
| 9929 | endif (gRPC_BUILD_TESTS) |
| 9930 | if (gRPC_BUILD_TESTS) |
| 9931 | |
| 9932 | add_executable(grpc_cli |
| 9933 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9934 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9935 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9936 | ) |
| 9937 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9939 | target_include_directories(grpc_cli |
| 9940 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9942 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9943 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9944 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9945 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9946 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9947 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9948 | PRIVATE third_party/googletest/googletest/include |
| 9949 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9950 | PRIVATE third_party/googletest/googlemock/include |
| 9951 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9952 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9953 | ) |
| 9954 | |
| 9955 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9956 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9957 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9958 | grpc_cli_libs |
| 9959 | grpc++_proto_reflection_desc_db |
| 9960 | grpc++ |
| 9961 | grpc |
| 9962 | gpr |
| 9963 | grpc++_test_config |
| 9964 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9965 | ) |
| 9966 | |
| 9967 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 9968 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9969 | add_executable(grpc_cpp_plugin |
| 9970 | src/compiler/cpp_plugin.cc |
| 9971 | ) |
| 9972 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9973 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9974 | target_include_directories(grpc_cpp_plugin |
| 9975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9977 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9978 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9979 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9980 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9981 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9982 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9983 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9984 | ) |
| 9985 | |
| 9986 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 9987 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9988 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9990 | grpc_plugin_support |
| 9991 | ) |
| 9992 | |
| 9993 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 9994 | if (gRPC_INSTALL) |
| 9995 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 9996 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 9997 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 9998 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 9999 | ) |
| 10000 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10001 | |
| 10002 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10003 | add_executable(grpc_csharp_plugin |
| 10004 | src/compiler/csharp_plugin.cc |
| 10005 | ) |
| 10006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10007 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10008 | target_include_directories(grpc_csharp_plugin |
| 10009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10017 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10018 | ) |
| 10019 | |
| 10020 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10021 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10022 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10023 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10024 | grpc_plugin_support |
| 10025 | ) |
| 10026 | |
| 10027 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10028 | if (gRPC_INSTALL) |
| 10029 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10030 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10031 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10032 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10033 | ) |
| 10034 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10035 | |
| 10036 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10037 | add_executable(grpc_node_plugin |
| 10038 | src/compiler/node_plugin.cc |
| 10039 | ) |
| 10040 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10041 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10042 | target_include_directories(grpc_node_plugin |
| 10043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10045 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10046 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10047 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10048 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10049 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10050 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10051 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10052 | ) |
| 10053 | |
| 10054 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10055 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10056 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10058 | grpc_plugin_support |
| 10059 | ) |
| 10060 | |
| 10061 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10062 | if (gRPC_INSTALL) |
| 10063 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10064 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10065 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10066 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10067 | ) |
| 10068 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10069 | |
| 10070 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10071 | add_executable(grpc_objective_c_plugin |
| 10072 | src/compiler/objective_c_plugin.cc |
| 10073 | ) |
| 10074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10075 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10076 | target_include_directories(grpc_objective_c_plugin |
| 10077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10079 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10080 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10081 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10082 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10083 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10084 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10085 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10086 | ) |
| 10087 | |
| 10088 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10089 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10090 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10091 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10092 | grpc_plugin_support |
| 10093 | ) |
| 10094 | |
| 10095 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10096 | if (gRPC_INSTALL) |
| 10097 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10098 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10099 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10100 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10101 | ) |
| 10102 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10103 | |
| 10104 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10105 | add_executable(grpc_php_plugin |
| 10106 | src/compiler/php_plugin.cc |
| 10107 | ) |
| 10108 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10109 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10110 | target_include_directories(grpc_php_plugin |
| 10111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10113 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10114 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10115 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10116 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10117 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10118 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10119 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10120 | ) |
| 10121 | |
| 10122 | target_link_libraries(grpc_php_plugin |
| 10123 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10124 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10125 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10126 | grpc_plugin_support |
| 10127 | ) |
| 10128 | |
| 10129 | |
| 10130 | if (gRPC_INSTALL) |
| 10131 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10132 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10133 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10134 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10135 | ) |
| 10136 | endif() |
| 10137 | |
| 10138 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10139 | add_executable(grpc_python_plugin |
| 10140 | src/compiler/python_plugin.cc |
| 10141 | ) |
| 10142 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10143 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10144 | target_include_directories(grpc_python_plugin |
| 10145 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10147 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10148 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10149 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10150 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10151 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10152 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10153 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10154 | ) |
| 10155 | |
| 10156 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10157 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10158 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10160 | grpc_plugin_support |
| 10161 | ) |
| 10162 | |
| 10163 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10164 | if (gRPC_INSTALL) |
| 10165 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10166 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10167 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10168 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10169 | ) |
| 10170 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10171 | |
| 10172 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10173 | add_executable(grpc_ruby_plugin |
| 10174 | src/compiler/ruby_plugin.cc |
| 10175 | ) |
| 10176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10177 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10178 | target_include_directories(grpc_ruby_plugin |
| 10179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10181 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10182 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10183 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10184 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10185 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10186 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10187 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10188 | ) |
| 10189 | |
| 10190 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10191 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10192 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10193 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10194 | grpc_plugin_support |
| 10195 | ) |
| 10196 | |
| 10197 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10198 | if (gRPC_INSTALL) |
| 10199 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10200 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10201 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10202 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10203 | ) |
| 10204 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10206 | if (gRPC_BUILD_TESTS) |
| 10207 | |
| 10208 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10210 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10211 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10214 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10217 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10218 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10219 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10220 | ) |
| 10221 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10222 | protobuf_generate_grpc_cpp( |
| 10223 | src/proto/grpc/testing/echo.proto |
| 10224 | ) |
| 10225 | protobuf_generate_grpc_cpp( |
| 10226 | src/proto/grpc/testing/echo_messages.proto |
| 10227 | ) |
| 10228 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10229 | target_include_directories(grpc_tool_test |
| 10230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10232 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10233 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10234 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10235 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10236 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10237 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10238 | PRIVATE third_party/googletest/googletest/include |
| 10239 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10240 | PRIVATE third_party/googletest/googlemock/include |
| 10241 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10242 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10243 | ) |
| 10244 | |
| 10245 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10246 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10247 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10248 | grpc_cli_libs |
| 10249 | grpc++_proto_reflection_desc_db |
| 10250 | grpc++_reflection |
| 10251 | grpc++_test_util |
| 10252 | grpc_test_util |
| 10253 | grpc++ |
| 10254 | grpc |
| 10255 | gpr_test_util |
| 10256 | gpr |
| 10257 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10258 | ) |
| 10259 | |
| 10260 | endif (gRPC_BUILD_TESTS) |
| 10261 | if (gRPC_BUILD_TESTS) |
| 10262 | |
| 10263 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10268 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10269 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10270 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10271 | ) |
| 10272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10273 | protobuf_generate_grpc_cpp( |
| 10274 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10275 | ) |
| 10276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10277 | target_include_directories(grpclb_api_test |
| 10278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10280 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10281 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10282 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10283 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10284 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10285 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10286 | PRIVATE third_party/googletest/googletest/include |
| 10287 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10288 | PRIVATE third_party/googletest/googlemock/include |
| 10289 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10291 | ) |
| 10292 | |
| 10293 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10294 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10296 | grpc++_test_util |
| 10297 | grpc_test_util |
| 10298 | grpc++ |
| 10299 | grpc |
| 10300 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10301 | ) |
| 10302 | |
| 10303 | endif (gRPC_BUILD_TESTS) |
| 10304 | if (gRPC_BUILD_TESTS) |
| 10305 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10306 | add_executable(grpclb_end2end_test |
| 10307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10310 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10311 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10312 | third_party/googletest/googletest/src/gtest-all.cc |
| 10313 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10314 | ) |
| 10315 | |
| 10316 | protobuf_generate_grpc_cpp( |
| 10317 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10318 | ) |
| 10319 | |
| 10320 | target_include_directories(grpclb_end2end_test |
| 10321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10323 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10324 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10325 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10326 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10327 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10328 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10329 | PRIVATE third_party/googletest/googletest/include |
| 10330 | PRIVATE third_party/googletest/googletest |
| 10331 | PRIVATE third_party/googletest/googlemock/include |
| 10332 | PRIVATE third_party/googletest/googlemock |
| 10333 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10334 | ) |
| 10335 | |
| 10336 | target_link_libraries(grpclb_end2end_test |
| 10337 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10339 | grpc++_test_util |
| 10340 | grpc_test_util |
| 10341 | grpc++ |
| 10342 | grpc |
| 10343 | gpr_test_util |
| 10344 | gpr |
| 10345 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10346 | ) |
| 10347 | |
| 10348 | endif (gRPC_BUILD_TESTS) |
| 10349 | if (gRPC_BUILD_TESTS) |
| 10350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10351 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10352 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10353 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10354 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10355 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10356 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10357 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10358 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10359 | ) |
| 10360 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10361 | protobuf_generate_grpc_cpp( |
| 10362 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10363 | ) |
| 10364 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10365 | target_include_directories(grpclb_test |
| 10366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10368 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10369 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10370 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10371 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10372 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10373 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10374 | PRIVATE third_party/googletest/googletest/include |
| 10375 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10376 | PRIVATE third_party/googletest/googlemock/include |
| 10377 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10378 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10379 | ) |
| 10380 | |
| 10381 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10382 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10383 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10384 | grpc++_test_util |
| 10385 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10386 | grpc++ |
| 10387 | grpc |
| 10388 | gpr_test_util |
| 10389 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10390 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10391 | ) |
| 10392 | |
| 10393 | endif (gRPC_BUILD_TESTS) |
| 10394 | if (gRPC_BUILD_TESTS) |
| 10395 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10396 | add_executable(h2_ssl_cert_test |
| 10397 | test/core/end2end/h2_ssl_cert_test.cc |
| 10398 | third_party/googletest/googletest/src/gtest-all.cc |
| 10399 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10400 | ) |
| 10401 | |
| 10402 | |
| 10403 | target_include_directories(h2_ssl_cert_test |
| 10404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10406 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10407 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10408 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10409 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10410 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10411 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10412 | PRIVATE third_party/googletest/googletest/include |
| 10413 | PRIVATE third_party/googletest/googletest |
| 10414 | PRIVATE third_party/googletest/googlemock/include |
| 10415 | PRIVATE third_party/googletest/googlemock |
| 10416 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10417 | ) |
| 10418 | |
| 10419 | target_link_libraries(h2_ssl_cert_test |
| 10420 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10421 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10422 | grpc_test_util |
| 10423 | grpc++ |
| 10424 | grpc |
| 10425 | gpr_test_util |
| 10426 | gpr |
| 10427 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10428 | ) |
| 10429 | |
| 10430 | endif (gRPC_BUILD_TESTS) |
| 10431 | if (gRPC_BUILD_TESTS) |
| 10432 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10433 | add_executable(health_service_end2end_test |
| 10434 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10435 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10436 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10437 | ) |
| 10438 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10439 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10440 | target_include_directories(health_service_end2end_test |
| 10441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10444 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10445 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10446 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10447 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10448 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10449 | PRIVATE third_party/googletest/googletest/include |
| 10450 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10451 | PRIVATE third_party/googletest/googlemock/include |
| 10452 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10453 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10454 | ) |
| 10455 | |
| 10456 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10457 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10458 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10459 | grpc++_test_util |
| 10460 | grpc_test_util |
| 10461 | grpc++ |
| 10462 | grpc |
| 10463 | gpr_test_util |
| 10464 | gpr |
| 10465 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10466 | ) |
| 10467 | |
| 10468 | endif (gRPC_BUILD_TESTS) |
| 10469 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10470 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10471 | |
| 10472 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10473 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10474 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10475 | ) |
| 10476 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10477 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10478 | target_include_directories(http2_client |
| 10479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10481 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10482 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10483 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10484 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10485 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10486 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10487 | PRIVATE third_party/googletest/googletest/include |
| 10488 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10489 | PRIVATE third_party/googletest/googlemock/include |
| 10490 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10491 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10492 | ) |
| 10493 | |
| 10494 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10495 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10496 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10497 | http2_client_main |
| 10498 | grpc++_test_util |
| 10499 | grpc_test_util |
| 10500 | grpc++ |
| 10501 | grpc |
| 10502 | grpc++_test_config |
| 10503 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10504 | ) |
| 10505 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10506 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10507 | endif (gRPC_BUILD_TESTS) |
| 10508 | if (gRPC_BUILD_TESTS) |
| 10509 | |
| 10510 | add_executable(hybrid_end2end_test |
| 10511 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10512 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10513 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10514 | ) |
| 10515 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10516 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10517 | target_include_directories(hybrid_end2end_test |
| 10518 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10520 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10521 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10522 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10523 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10524 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10525 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10526 | PRIVATE third_party/googletest/googletest/include |
| 10527 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10528 | PRIVATE third_party/googletest/googlemock/include |
| 10529 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10530 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10531 | ) |
| 10532 | |
| 10533 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10534 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10536 | grpc++_test_util |
| 10537 | grpc_test_util |
| 10538 | grpc++ |
| 10539 | grpc |
| 10540 | gpr_test_util |
| 10541 | gpr |
| 10542 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10543 | ) |
| 10544 | |
| 10545 | endif (gRPC_BUILD_TESTS) |
| 10546 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 10547 | |
| 10548 | add_executable(inlined_vector_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10549 | test/core/gprpp/inlined_vector_test.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 10550 | third_party/googletest/googletest/src/gtest-all.cc |
| 10551 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10552 | ) |
| 10553 | |
| 10554 | |
| 10555 | target_include_directories(inlined_vector_test |
| 10556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10558 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10559 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10560 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10561 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10562 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10563 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 10564 | PRIVATE third_party/googletest/googletest/include |
| 10565 | PRIVATE third_party/googletest/googletest |
| 10566 | PRIVATE third_party/googletest/googlemock/include |
| 10567 | PRIVATE third_party/googletest/googlemock |
| 10568 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10569 | ) |
| 10570 | |
| 10571 | target_link_libraries(inlined_vector_test |
| 10572 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10574 | grpc_test_util |
| 10575 | grpc++ |
| 10576 | grpc |
| 10577 | gpr_test_util |
| 10578 | gpr |
| 10579 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10580 | ) |
| 10581 | |
| 10582 | endif (gRPC_BUILD_TESTS) |
| 10583 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10584 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10585 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10586 | add_executable(inproc_sync_unary_ping_pong_test |
| 10587 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 10588 | third_party/googletest/googletest/src/gtest-all.cc |
| 10589 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10590 | ) |
| 10591 | |
| 10592 | |
| 10593 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 10594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10596 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10597 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10598 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10599 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10600 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10601 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10602 | PRIVATE third_party/googletest/googletest/include |
| 10603 | PRIVATE third_party/googletest/googletest |
| 10604 | PRIVATE third_party/googletest/googlemock/include |
| 10605 | PRIVATE third_party/googletest/googlemock |
| 10606 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10607 | ) |
| 10608 | |
| 10609 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 10610 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10611 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10612 | qps |
| 10613 | grpc++_core_stats |
| 10614 | grpc++_test_util |
| 10615 | grpc_test_util |
| 10616 | grpc++ |
| 10617 | grpc |
| 10618 | gpr_test_util |
| 10619 | gpr |
| 10620 | grpc++_test_config |
| 10621 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10622 | ) |
| 10623 | |
| 10624 | endif() |
| 10625 | endif (gRPC_BUILD_TESTS) |
| 10626 | if (gRPC_BUILD_TESTS) |
| 10627 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10629 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10630 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10631 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10632 | ) |
| 10633 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10634 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10635 | target_include_directories(interop_client |
| 10636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10638 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10639 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10640 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10641 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10642 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10643 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10644 | PRIVATE third_party/googletest/googletest/include |
| 10645 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10646 | PRIVATE third_party/googletest/googlemock/include |
| 10647 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10648 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10649 | ) |
| 10650 | |
| 10651 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10652 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10653 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10654 | interop_client_main |
| 10655 | interop_client_helper |
| 10656 | grpc++_test_util |
| 10657 | grpc_test_util |
| 10658 | grpc++ |
| 10659 | grpc |
| 10660 | gpr_test_util |
| 10661 | gpr |
| 10662 | grpc++_test_config |
| 10663 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10664 | ) |
| 10665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10666 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10667 | endif (gRPC_BUILD_TESTS) |
| 10668 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10669 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10670 | |
| 10671 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10672 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10673 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10674 | ) |
| 10675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10676 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10677 | target_include_directories(interop_server |
| 10678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10680 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10681 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10682 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10683 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10684 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10685 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10686 | PRIVATE third_party/googletest/googletest/include |
| 10687 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10688 | PRIVATE third_party/googletest/googlemock/include |
| 10689 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10690 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | ) |
| 10692 | |
| 10693 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10694 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10696 | interop_server_main |
| 10697 | interop_server_helper |
| 10698 | interop_server_lib |
| 10699 | grpc++_test_util |
| 10700 | grpc_test_util |
| 10701 | grpc++ |
| 10702 | grpc |
| 10703 | gpr_test_util |
| 10704 | gpr |
| 10705 | grpc++_test_config |
| 10706 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10707 | ) |
| 10708 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10709 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10710 | endif (gRPC_BUILD_TESTS) |
| 10711 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10712 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10713 | |
| 10714 | add_executable(interop_test |
| 10715 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10716 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10717 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10718 | ) |
| 10719 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10720 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10721 | target_include_directories(interop_test |
| 10722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10724 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10725 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10726 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10727 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10728 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10729 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10730 | PRIVATE third_party/googletest/googletest/include |
| 10731 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10732 | PRIVATE third_party/googletest/googlemock/include |
| 10733 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10734 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10735 | ) |
| 10736 | |
| 10737 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10738 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10739 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10740 | grpc_test_util |
| 10741 | grpc |
| 10742 | gpr_test_util |
| 10743 | gpr |
| 10744 | grpc++_test_config |
| 10745 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10746 | ) |
| 10747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10748 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10749 | endif (gRPC_BUILD_TESTS) |
| 10750 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10751 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10752 | |
| 10753 | add_executable(json_run_localhost |
| 10754 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10755 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10756 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10757 | ) |
| 10758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10760 | target_include_directories(json_run_localhost |
| 10761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10763 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10764 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10765 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10766 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10767 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10768 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10769 | PRIVATE third_party/googletest/googletest/include |
| 10770 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10771 | PRIVATE third_party/googletest/googlemock/include |
| 10772 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10773 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10774 | ) |
| 10775 | |
| 10776 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10777 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10779 | grpc++_test_util |
| 10780 | grpc_test_util |
| 10781 | grpc++ |
| 10782 | grpc |
| 10783 | gpr_test_util |
| 10784 | gpr |
| 10785 | grpc++_test_config |
| 10786 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10787 | ) |
| 10788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10789 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10790 | endif (gRPC_BUILD_TESTS) |
| 10791 | if (gRPC_BUILD_TESTS) |
| 10792 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10793 | add_executable(memory_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10794 | test/core/gprpp/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10795 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10796 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10797 | ) |
| 10798 | |
| 10799 | |
| 10800 | target_include_directories(memory_test |
| 10801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10809 | PRIVATE third_party/googletest/googletest/include |
| 10810 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10811 | PRIVATE third_party/googletest/googlemock/include |
| 10812 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10813 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10814 | ) |
| 10815 | |
| 10816 | target_link_libraries(memory_test |
| 10817 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10819 | grpc_test_util |
| 10820 | grpc++ |
| 10821 | grpc |
| 10822 | gpr_test_util |
| 10823 | gpr |
| 10824 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10825 | ) |
| 10826 | |
| 10827 | endif (gRPC_BUILD_TESTS) |
| 10828 | if (gRPC_BUILD_TESTS) |
| 10829 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10830 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10831 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 10832 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 10833 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 10834 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10835 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10836 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10837 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10838 | ) |
| 10839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10840 | protobuf_generate_grpc_cpp( |
| 10841 | src/proto/grpc/testing/metrics.proto |
| 10842 | ) |
| 10843 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10844 | target_include_directories(metrics_client |
| 10845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10847 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10848 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10849 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10850 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10851 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10852 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10853 | PRIVATE third_party/googletest/googletest/include |
| 10854 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10855 | PRIVATE third_party/googletest/googlemock/include |
| 10856 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10857 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10858 | ) |
| 10859 | |
| 10860 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10861 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10862 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10863 | grpc++ |
| 10864 | grpc |
| 10865 | gpr |
| 10866 | grpc++_test_config |
| 10867 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10868 | ) |
| 10869 | |
| 10870 | endif (gRPC_BUILD_TESTS) |
| 10871 | if (gRPC_BUILD_TESTS) |
| 10872 | |
| 10873 | add_executable(mock_test |
| 10874 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10875 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10876 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10877 | ) |
| 10878 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10879 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10880 | target_include_directories(mock_test |
| 10881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10883 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10884 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10885 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10886 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10887 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10888 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10889 | PRIVATE third_party/googletest/googletest/include |
| 10890 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10891 | PRIVATE third_party/googletest/googlemock/include |
| 10892 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10893 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10894 | ) |
| 10895 | |
| 10896 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10897 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10898 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10899 | grpc++_test_util |
| 10900 | grpc_test_util |
| 10901 | grpc++ |
| 10902 | grpc |
| 10903 | gpr_test_util |
| 10904 | gpr |
| 10905 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10906 | ) |
| 10907 | |
| 10908 | endif (gRPC_BUILD_TESTS) |
| 10909 | if (gRPC_BUILD_TESTS) |
| 10910 | |
| 10911 | add_executable(noop-benchmark |
| 10912 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10913 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10914 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10915 | ) |
| 10916 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10917 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10918 | target_include_directories(noop-benchmark |
| 10919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10921 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10922 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10923 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10924 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10925 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10926 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10927 | PRIVATE third_party/googletest/googletest/include |
| 10928 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10929 | PRIVATE third_party/googletest/googlemock/include |
| 10930 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10931 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10932 | ) |
| 10933 | |
| 10934 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10935 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10937 | ${_gRPC_BENCHMARK_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10938 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10939 | ) |
| 10940 | |
| 10941 | endif (gRPC_BUILD_TESTS) |
| 10942 | if (gRPC_BUILD_TESTS) |
| 10943 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10944 | add_executable(orphanable_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10945 | test/core/gprpp/orphanable_test.cc |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10946 | third_party/googletest/googletest/src/gtest-all.cc |
| 10947 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10948 | ) |
| 10949 | |
| 10950 | |
| 10951 | target_include_directories(orphanable_test |
| 10952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10954 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | d9c288b | 2018-01-17 09:10:06 -0800 | [diff] [blame] | 10955 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10956 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10957 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10958 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10959 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10960 | PRIVATE third_party/googletest/googletest/include |
| 10961 | PRIVATE third_party/googletest/googletest |
| 10962 | PRIVATE third_party/googletest/googlemock/include |
| 10963 | PRIVATE third_party/googletest/googlemock |
| 10964 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10965 | ) |
| 10966 | |
| 10967 | target_link_libraries(orphanable_test |
| 10968 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10969 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10970 | grpc_test_util |
| 10971 | grpc++ |
| 10972 | grpc |
| 10973 | gpr_test_util |
| 10974 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10975 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10976 | ) |
| 10977 | |
| 10978 | endif (gRPC_BUILD_TESTS) |
| 10979 | if (gRPC_BUILD_TESTS) |
| 10980 | |
| 10981 | add_executable(proto_server_reflection_test |
| 10982 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10983 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10984 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10985 | ) |
| 10986 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10987 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10988 | target_include_directories(proto_server_reflection_test |
| 10989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10991 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10992 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10993 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10994 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10995 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10996 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10997 | PRIVATE third_party/googletest/googletest/include |
| 10998 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10999 | PRIVATE third_party/googletest/googlemock/include |
| 11000 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11001 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11002 | ) |
| 11003 | |
| 11004 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11005 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11007 | grpc++_proto_reflection_desc_db |
| 11008 | grpc++_reflection |
| 11009 | grpc++_test_util |
| 11010 | grpc_test_util |
| 11011 | grpc++ |
| 11012 | grpc |
| 11013 | gpr_test_util |
| 11014 | gpr |
| 11015 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11016 | ) |
| 11017 | |
| 11018 | endif (gRPC_BUILD_TESTS) |
| 11019 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11020 | |
| 11021 | add_executable(proto_utils_test |
| 11022 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11023 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11024 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11025 | ) |
| 11026 | |
| 11027 | |
| 11028 | target_include_directories(proto_utils_test |
| 11029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11031 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11032 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11033 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11034 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11035 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11036 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11037 | PRIVATE third_party/googletest/googletest/include |
| 11038 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11039 | PRIVATE third_party/googletest/googlemock/include |
| 11040 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11041 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11042 | ) |
| 11043 | |
| 11044 | target_link_libraries(proto_utils_test |
| 11045 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11046 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11047 | grpc++ |
| 11048 | grpc |
| 11049 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11050 | ) |
| 11051 | |
| 11052 | endif (gRPC_BUILD_TESTS) |
| 11053 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11054 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11055 | |
| 11056 | add_executable(qps_interarrival_test |
| 11057 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11058 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11059 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11060 | ) |
| 11061 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11063 | target_include_directories(qps_interarrival_test |
| 11064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11066 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11067 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11068 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11069 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11070 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11071 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11072 | PRIVATE third_party/googletest/googletest/include |
| 11073 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11074 | PRIVATE third_party/googletest/googlemock/include |
| 11075 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11076 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11077 | ) |
| 11078 | |
| 11079 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11080 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11082 | qps |
| 11083 | grpc++_test_util |
| 11084 | grpc_test_util |
| 11085 | grpc++ |
| 11086 | grpc |
| 11087 | gpr_test_util |
| 11088 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11089 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11090 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11091 | ) |
| 11092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11093 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11094 | endif (gRPC_BUILD_TESTS) |
| 11095 | if (gRPC_BUILD_TESTS) |
| 11096 | |
| 11097 | add_executable(qps_json_driver |
| 11098 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11099 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11100 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11101 | ) |
| 11102 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11104 | target_include_directories(qps_json_driver |
| 11105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11107 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11108 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11109 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11110 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11111 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11112 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11113 | PRIVATE third_party/googletest/googletest/include |
| 11114 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11115 | PRIVATE third_party/googletest/googlemock/include |
| 11116 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11117 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11118 | ) |
| 11119 | |
| 11120 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11121 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11122 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11123 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11124 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11125 | grpc++_test_util |
| 11126 | grpc_test_util |
| 11127 | grpc++ |
| 11128 | grpc |
| 11129 | gpr_test_util |
| 11130 | gpr |
| 11131 | grpc++_test_config |
| 11132 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11133 | ) |
| 11134 | |
| 11135 | endif (gRPC_BUILD_TESTS) |
| 11136 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11137 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11138 | |
| 11139 | add_executable(qps_openloop_test |
| 11140 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11141 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11142 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11143 | ) |
| 11144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11146 | target_include_directories(qps_openloop_test |
| 11147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11149 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11150 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11151 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11152 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11153 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11154 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11155 | PRIVATE third_party/googletest/googletest/include |
| 11156 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11157 | PRIVATE third_party/googletest/googlemock/include |
| 11158 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11160 | ) |
| 11161 | |
| 11162 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11165 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11166 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11167 | grpc++_test_util |
| 11168 | grpc_test_util |
| 11169 | grpc++ |
| 11170 | grpc |
| 11171 | gpr_test_util |
| 11172 | gpr |
| 11173 | grpc++_test_config |
| 11174 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11175 | ) |
| 11176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11177 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11178 | endif (gRPC_BUILD_TESTS) |
| 11179 | if (gRPC_BUILD_TESTS) |
| 11180 | |
| 11181 | add_executable(qps_worker |
| 11182 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11183 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11184 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11185 | ) |
| 11186 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11187 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11188 | target_include_directories(qps_worker |
| 11189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11197 | PRIVATE third_party/googletest/googletest/include |
| 11198 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11199 | PRIVATE third_party/googletest/googlemock/include |
| 11200 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11201 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11202 | ) |
| 11203 | |
| 11204 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11205 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11207 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11208 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11209 | grpc++_test_util |
| 11210 | grpc_test_util |
| 11211 | grpc++ |
| 11212 | grpc |
| 11213 | gpr_test_util |
| 11214 | gpr |
| 11215 | grpc++_test_config |
| 11216 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11217 | ) |
| 11218 | |
| 11219 | endif (gRPC_BUILD_TESTS) |
| 11220 | if (gRPC_BUILD_TESTS) |
| 11221 | |
| 11222 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11228 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11229 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11230 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11231 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11232 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11233 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11234 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11235 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11236 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11237 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11238 | ) |
| 11239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11240 | protobuf_generate_grpc_cpp( |
| 11241 | src/proto/grpc/testing/empty.proto |
| 11242 | ) |
| 11243 | protobuf_generate_grpc_cpp( |
| 11244 | src/proto/grpc/testing/messages.proto |
| 11245 | ) |
| 11246 | protobuf_generate_grpc_cpp( |
| 11247 | src/proto/grpc/testing/test.proto |
| 11248 | ) |
| 11249 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11250 | target_include_directories(reconnect_interop_client |
| 11251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11252 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11253 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11254 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11255 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11256 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11257 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11258 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11259 | PRIVATE third_party/googletest/googletest/include |
| 11260 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11261 | PRIVATE third_party/googletest/googlemock/include |
| 11262 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11263 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11264 | ) |
| 11265 | |
| 11266 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11267 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11269 | grpc++_test_util |
| 11270 | grpc_test_util |
| 11271 | grpc++ |
| 11272 | grpc |
| 11273 | gpr_test_util |
| 11274 | gpr |
| 11275 | grpc++_test_config |
| 11276 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11277 | ) |
| 11278 | |
| 11279 | endif (gRPC_BUILD_TESTS) |
| 11280 | if (gRPC_BUILD_TESTS) |
| 11281 | |
| 11282 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11284 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11285 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11286 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11287 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11288 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11289 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11290 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11291 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11292 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11293 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11294 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11295 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11296 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11297 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11298 | ) |
| 11299 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11300 | protobuf_generate_grpc_cpp( |
| 11301 | src/proto/grpc/testing/empty.proto |
| 11302 | ) |
| 11303 | protobuf_generate_grpc_cpp( |
| 11304 | src/proto/grpc/testing/messages.proto |
| 11305 | ) |
| 11306 | protobuf_generate_grpc_cpp( |
| 11307 | src/proto/grpc/testing/test.proto |
| 11308 | ) |
| 11309 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11310 | target_include_directories(reconnect_interop_server |
| 11311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11313 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11314 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11315 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11316 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11317 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11318 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11319 | PRIVATE third_party/googletest/googletest/include |
| 11320 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11321 | PRIVATE third_party/googletest/googlemock/include |
| 11322 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11323 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11324 | ) |
| 11325 | |
| 11326 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11327 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11328 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11329 | reconnect_server |
| 11330 | test_tcp_server |
| 11331 | grpc++_test_util |
| 11332 | grpc_test_util |
| 11333 | grpc++ |
| 11334 | grpc |
| 11335 | gpr_test_util |
| 11336 | gpr |
| 11337 | grpc++_test_config |
| 11338 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11339 | ) |
| 11340 | |
| 11341 | endif (gRPC_BUILD_TESTS) |
| 11342 | if (gRPC_BUILD_TESTS) |
| 11343 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11344 | add_executable(ref_counted_ptr_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 11345 | test/core/gprpp/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11346 | third_party/googletest/googletest/src/gtest-all.cc |
| 11347 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11348 | ) |
| 11349 | |
| 11350 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11351 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11354 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11355 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11356 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11357 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11358 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11359 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11360 | PRIVATE third_party/googletest/googletest/include |
| 11361 | PRIVATE third_party/googletest/googletest |
| 11362 | PRIVATE third_party/googletest/googlemock/include |
| 11363 | PRIVATE third_party/googletest/googlemock |
| 11364 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11365 | ) |
| 11366 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11367 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11368 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11369 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11370 | grpc_test_util |
| 11371 | grpc++ |
| 11372 | grpc |
| 11373 | gpr_test_util |
| 11374 | gpr |
| 11375 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11376 | ) |
| 11377 | |
| 11378 | endif (gRPC_BUILD_TESTS) |
| 11379 | if (gRPC_BUILD_TESTS) |
| 11380 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11381 | add_executable(ref_counted_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 11382 | test/core/gprpp/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11383 | third_party/googletest/googletest/src/gtest-all.cc |
| 11384 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11385 | ) |
| 11386 | |
| 11387 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11388 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11391 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11392 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11393 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11394 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11395 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11396 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11397 | PRIVATE third_party/googletest/googletest/include |
| 11398 | PRIVATE third_party/googletest/googletest |
| 11399 | PRIVATE third_party/googletest/googlemock/include |
| 11400 | PRIVATE third_party/googletest/googlemock |
| 11401 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11402 | ) |
| 11403 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11404 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11405 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11406 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11407 | grpc_test_util |
| 11408 | grpc++ |
| 11409 | grpc |
| 11410 | gpr_test_util |
| 11411 | gpr |
| 11412 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11413 | ) |
| 11414 | |
| 11415 | endif (gRPC_BUILD_TESTS) |
| 11416 | if (gRPC_BUILD_TESTS) |
| 11417 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11418 | add_executable(secure_auth_context_test |
| 11419 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11420 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11421 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11422 | ) |
| 11423 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11424 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11425 | target_include_directories(secure_auth_context_test |
| 11426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11428 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11429 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11430 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11431 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11432 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11433 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11434 | PRIVATE third_party/googletest/googletest/include |
| 11435 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11436 | PRIVATE third_party/googletest/googlemock/include |
| 11437 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11438 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11439 | ) |
| 11440 | |
| 11441 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11442 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11443 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11444 | grpc++_test_util |
| 11445 | grpc_test_util |
| 11446 | grpc++ |
| 11447 | grpc |
| 11448 | gpr_test_util |
| 11449 | gpr |
| 11450 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11451 | ) |
| 11452 | |
| 11453 | endif (gRPC_BUILD_TESTS) |
| 11454 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11455 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11456 | |
| 11457 | add_executable(secure_sync_unary_ping_pong_test |
| 11458 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11459 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11460 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11461 | ) |
| 11462 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11463 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11464 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11467 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11468 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11469 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11470 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11471 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11472 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11473 | PRIVATE third_party/googletest/googletest/include |
| 11474 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11475 | PRIVATE third_party/googletest/googlemock/include |
| 11476 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11477 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11478 | ) |
| 11479 | |
| 11480 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11481 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11483 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11484 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11485 | grpc++_test_util |
| 11486 | grpc_test_util |
| 11487 | grpc++ |
| 11488 | grpc |
| 11489 | gpr_test_util |
| 11490 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11491 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11492 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11493 | ) |
| 11494 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11495 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11496 | endif (gRPC_BUILD_TESTS) |
| 11497 | if (gRPC_BUILD_TESTS) |
| 11498 | |
| 11499 | add_executable(server_builder_plugin_test |
| 11500 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11501 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11502 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11503 | ) |
| 11504 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11505 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11506 | target_include_directories(server_builder_plugin_test |
| 11507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11509 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11510 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11511 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11512 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11513 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11514 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11515 | PRIVATE third_party/googletest/googletest/include |
| 11516 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11517 | PRIVATE third_party/googletest/googlemock/include |
| 11518 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11519 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11520 | ) |
| 11521 | |
| 11522 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11523 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11524 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11525 | grpc++_test_util |
| 11526 | grpc_test_util |
| 11527 | grpc++ |
| 11528 | grpc |
| 11529 | gpr_test_util |
| 11530 | gpr |
| 11531 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11532 | ) |
| 11533 | |
| 11534 | endif (gRPC_BUILD_TESTS) |
| 11535 | if (gRPC_BUILD_TESTS) |
| 11536 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11537 | add_executable(server_builder_test |
| 11538 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11539 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11540 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11541 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11542 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11543 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11544 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11545 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11546 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11547 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11548 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11549 | ) |
| 11550 | |
| 11551 | protobuf_generate_grpc_cpp( |
| 11552 | src/proto/grpc/testing/echo_messages.proto |
| 11553 | ) |
| 11554 | protobuf_generate_grpc_cpp( |
| 11555 | src/proto/grpc/testing/echo.proto |
| 11556 | ) |
| 11557 | |
| 11558 | target_include_directories(server_builder_test |
| 11559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11561 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11562 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11563 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11564 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11565 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11566 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11567 | PRIVATE third_party/googletest/googletest/include |
| 11568 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11569 | PRIVATE third_party/googletest/googlemock/include |
| 11570 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11571 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11572 | ) |
| 11573 | |
| 11574 | target_link_libraries(server_builder_test |
| 11575 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11576 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11577 | grpc++_test_util_unsecure |
| 11578 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11579 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11580 | grpc++_unsecure |
| 11581 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11582 | gpr |
| 11583 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11584 | ) |
| 11585 | |
| 11586 | endif (gRPC_BUILD_TESTS) |
| 11587 | if (gRPC_BUILD_TESTS) |
| 11588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11589 | add_executable(server_context_test_spouse_test |
| 11590 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11591 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11592 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11593 | ) |
| 11594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11596 | target_include_directories(server_context_test_spouse_test |
| 11597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11599 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11600 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11601 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11602 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11603 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11604 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11605 | PRIVATE third_party/googletest/googletest/include |
| 11606 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11607 | PRIVATE third_party/googletest/googlemock/include |
| 11608 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11609 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11610 | ) |
| 11611 | |
| 11612 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11613 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11614 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11615 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11616 | grpc++ |
| 11617 | grpc |
| 11618 | gpr_test_util |
| 11619 | gpr |
| 11620 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11621 | ) |
| 11622 | |
| 11623 | endif (gRPC_BUILD_TESTS) |
| 11624 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11625 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11626 | |
| 11627 | add_executable(server_crash_test |
| 11628 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11629 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11630 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11631 | ) |
| 11632 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11633 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11634 | target_include_directories(server_crash_test |
| 11635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11638 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11639 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11640 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11641 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11642 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11643 | PRIVATE third_party/googletest/googletest/include |
| 11644 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11645 | PRIVATE third_party/googletest/googlemock/include |
| 11646 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11647 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | ) |
| 11649 | |
| 11650 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11651 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11653 | grpc++_test_util |
| 11654 | grpc_test_util |
| 11655 | grpc++ |
| 11656 | grpc |
| 11657 | gpr_test_util |
| 11658 | gpr |
| 11659 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11660 | ) |
| 11661 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11662 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11663 | endif (gRPC_BUILD_TESTS) |
| 11664 | if (gRPC_BUILD_TESTS) |
| 11665 | |
| 11666 | add_executable(server_crash_test_client |
| 11667 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11668 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11669 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11670 | ) |
| 11671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11673 | target_include_directories(server_crash_test_client |
| 11674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11677 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11678 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11679 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11680 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11681 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11682 | PRIVATE third_party/googletest/googletest/include |
| 11683 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11684 | PRIVATE third_party/googletest/googlemock/include |
| 11685 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11686 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11687 | ) |
| 11688 | |
| 11689 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11690 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11692 | grpc++_test_util |
| 11693 | grpc_test_util |
| 11694 | grpc++ |
| 11695 | grpc |
| 11696 | gpr_test_util |
| 11697 | gpr |
| 11698 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11699 | ) |
| 11700 | |
| 11701 | endif (gRPC_BUILD_TESTS) |
| 11702 | if (gRPC_BUILD_TESTS) |
| 11703 | |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 11704 | add_executable(server_early_return_test |
| 11705 | test/cpp/end2end/server_early_return_test.cc |
| 11706 | third_party/googletest/googletest/src/gtest-all.cc |
| 11707 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11708 | ) |
| 11709 | |
| 11710 | |
| 11711 | target_include_directories(server_early_return_test |
| 11712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11713 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11714 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11715 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11716 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11717 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11718 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11719 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 11720 | PRIVATE third_party/googletest/googletest/include |
| 11721 | PRIVATE third_party/googletest/googletest |
| 11722 | PRIVATE third_party/googletest/googlemock/include |
| 11723 | PRIVATE third_party/googletest/googlemock |
| 11724 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11725 | ) |
| 11726 | |
| 11727 | target_link_libraries(server_early_return_test |
| 11728 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11729 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11730 | grpc++_test_util |
| 11731 | grpc_test_util |
| 11732 | grpc++ |
| 11733 | grpc |
| 11734 | gpr_test_util |
| 11735 | gpr |
| 11736 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11737 | ) |
| 11738 | |
| 11739 | endif (gRPC_BUILD_TESTS) |
| 11740 | if (gRPC_BUILD_TESTS) |
| 11741 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11742 | add_executable(server_request_call_test |
| 11743 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11744 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11745 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11746 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11747 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11748 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11749 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11750 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11751 | test/cpp/server/server_request_call_test.cc |
| 11752 | third_party/googletest/googletest/src/gtest-all.cc |
| 11753 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11754 | ) |
| 11755 | |
| 11756 | protobuf_generate_grpc_cpp( |
| 11757 | src/proto/grpc/testing/echo_messages.proto |
| 11758 | ) |
| 11759 | protobuf_generate_grpc_cpp( |
| 11760 | src/proto/grpc/testing/echo.proto |
| 11761 | ) |
| 11762 | |
| 11763 | target_include_directories(server_request_call_test |
| 11764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11765 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11766 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11767 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11768 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11769 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11770 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11771 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11772 | PRIVATE third_party/googletest/googletest/include |
| 11773 | PRIVATE third_party/googletest/googletest |
| 11774 | PRIVATE third_party/googletest/googlemock/include |
| 11775 | PRIVATE third_party/googletest/googlemock |
| 11776 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11777 | ) |
| 11778 | |
| 11779 | target_link_libraries(server_request_call_test |
| 11780 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11782 | grpc++_test_util_unsecure |
| 11783 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11784 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11785 | grpc++_unsecure |
| 11786 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11787 | gpr |
| 11788 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11789 | ) |
| 11790 | |
| 11791 | endif (gRPC_BUILD_TESTS) |
| 11792 | if (gRPC_BUILD_TESTS) |
| 11793 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11794 | add_executable(shutdown_test |
| 11795 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11796 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11797 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11798 | ) |
| 11799 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11800 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11801 | target_include_directories(shutdown_test |
| 11802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11804 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11805 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11806 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11807 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11808 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11809 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11810 | PRIVATE third_party/googletest/googletest/include |
| 11811 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11812 | PRIVATE third_party/googletest/googlemock/include |
| 11813 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11814 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11815 | ) |
| 11816 | |
| 11817 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11818 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11820 | grpc++_test_util |
| 11821 | grpc_test_util |
| 11822 | grpc++ |
| 11823 | grpc |
| 11824 | gpr_test_util |
| 11825 | gpr |
| 11826 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11827 | ) |
| 11828 | |
| 11829 | endif (gRPC_BUILD_TESTS) |
| 11830 | if (gRPC_BUILD_TESTS) |
| 11831 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11832 | add_executable(stats_test |
| 11833 | test/core/debug/stats_test.cc |
| 11834 | third_party/googletest/googletest/src/gtest-all.cc |
| 11835 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11836 | ) |
| 11837 | |
| 11838 | |
| 11839 | target_include_directories(stats_test |
| 11840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11842 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11843 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11844 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11845 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11846 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11847 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11848 | PRIVATE third_party/googletest/googletest/include |
| 11849 | PRIVATE third_party/googletest/googletest |
| 11850 | PRIVATE third_party/googletest/googlemock/include |
| 11851 | PRIVATE third_party/googletest/googlemock |
| 11852 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11853 | ) |
| 11854 | |
| 11855 | target_link_libraries(stats_test |
| 11856 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11858 | grpc++_test_util |
| 11859 | grpc_test_util |
| 11860 | grpc |
| 11861 | gpr_test_util |
| 11862 | gpr |
| 11863 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11864 | ) |
| 11865 | |
| 11866 | endif (gRPC_BUILD_TESTS) |
| 11867 | if (gRPC_BUILD_TESTS) |
| 11868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11869 | add_executable(status_test |
| 11870 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11871 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11872 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11873 | ) |
| 11874 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11876 | target_include_directories(status_test |
| 11877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11879 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11880 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11881 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11882 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11883 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11884 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11885 | PRIVATE third_party/googletest/googletest/include |
| 11886 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11887 | PRIVATE third_party/googletest/googlemock/include |
| 11888 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11889 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11890 | ) |
| 11891 | |
| 11892 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11893 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11895 | grpc_test_util |
| 11896 | grpc++ |
| 11897 | grpc |
| 11898 | gpr_test_util |
| 11899 | gpr |
| 11900 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11901 | ) |
| 11902 | |
| 11903 | endif (gRPC_BUILD_TESTS) |
| 11904 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11905 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | |
| 11907 | add_executable(streaming_throughput_test |
| 11908 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11909 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11910 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11911 | ) |
| 11912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11914 | target_include_directories(streaming_throughput_test |
| 11915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11918 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11919 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11920 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11921 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11922 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11923 | PRIVATE third_party/googletest/googletest/include |
| 11924 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11925 | PRIVATE third_party/googletest/googlemock/include |
| 11926 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11927 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11928 | ) |
| 11929 | |
| 11930 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11931 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11933 | grpc++_test_util |
| 11934 | grpc_test_util |
| 11935 | grpc++ |
| 11936 | grpc |
| 11937 | gpr_test_util |
| 11938 | gpr |
| 11939 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11940 | ) |
| 11941 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11942 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11943 | endif (gRPC_BUILD_TESTS) |
| 11944 | if (gRPC_BUILD_TESTS) |
| 11945 | |
| 11946 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11947 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11948 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11949 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11950 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11951 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11952 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11953 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11954 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11955 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11956 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11957 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 11959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11962 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11963 | test/cpp/interop/interop_client.cc |
| 11964 | test/cpp/interop/stress_interop_client.cc |
| 11965 | test/cpp/interop/stress_test.cc |
| 11966 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11967 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11968 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11969 | ) |
| 11970 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11971 | protobuf_generate_grpc_cpp( |
| 11972 | src/proto/grpc/testing/empty.proto |
| 11973 | ) |
| 11974 | protobuf_generate_grpc_cpp( |
| 11975 | src/proto/grpc/testing/messages.proto |
| 11976 | ) |
| 11977 | protobuf_generate_grpc_cpp( |
| 11978 | src/proto/grpc/testing/metrics.proto |
| 11979 | ) |
| 11980 | protobuf_generate_grpc_cpp( |
| 11981 | src/proto/grpc/testing/test.proto |
| 11982 | ) |
| 11983 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11984 | target_include_directories(stress_test |
| 11985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11987 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11988 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11989 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11990 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11991 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11992 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11993 | PRIVATE third_party/googletest/googletest/include |
| 11994 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11995 | PRIVATE third_party/googletest/googlemock/include |
| 11996 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11997 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11998 | ) |
| 11999 | |
| 12000 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12001 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12002 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12003 | grpc++_test_util |
| 12004 | grpc_test_util |
| 12005 | grpc++ |
| 12006 | grpc |
| 12007 | gpr_test_util |
| 12008 | gpr |
| 12009 | grpc++_test_config |
| 12010 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12011 | ) |
| 12012 | |
| 12013 | endif (gRPC_BUILD_TESTS) |
| 12014 | if (gRPC_BUILD_TESTS) |
| 12015 | |
| 12016 | add_executable(thread_manager_test |
| 12017 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12018 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12019 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12020 | ) |
| 12021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12023 | target_include_directories(thread_manager_test |
| 12024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12026 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12027 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12028 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12029 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12030 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12031 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12032 | PRIVATE third_party/googletest/googletest/include |
| 12033 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12034 | PRIVATE third_party/googletest/googlemock/include |
| 12035 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12036 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12037 | ) |
| 12038 | |
| 12039 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12040 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12041 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12042 | grpc++_unsecure |
| 12043 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12044 | gpr |
| 12045 | grpc++_test_config |
| 12046 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12047 | ) |
| 12048 | |
| 12049 | endif (gRPC_BUILD_TESTS) |
| 12050 | if (gRPC_BUILD_TESTS) |
| 12051 | |
| 12052 | add_executable(thread_stress_test |
| 12053 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12054 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12055 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12056 | ) |
| 12057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12058 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12059 | target_include_directories(thread_stress_test |
| 12060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12062 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12063 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12064 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12065 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12066 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12067 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12068 | PRIVATE third_party/googletest/googletest/include |
| 12069 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12070 | PRIVATE third_party/googletest/googlemock/include |
| 12071 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12072 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12073 | ) |
| 12074 | |
| 12075 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12076 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12078 | grpc++_test_util_unsecure |
| 12079 | grpc_test_util_unsecure |
| 12080 | grpc++_unsecure |
| 12081 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12082 | gpr_test_util |
| 12083 | gpr |
| 12084 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12085 | ) |
| 12086 | |
| 12087 | endif (gRPC_BUILD_TESTS) |
| 12088 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12089 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12090 | add_executable(transport_pid_controller_test |
| 12091 | test/core/transport/pid_controller_test.cc |
| 12092 | third_party/googletest/googletest/src/gtest-all.cc |
| 12093 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12094 | ) |
| 12095 | |
| 12096 | |
| 12097 | target_include_directories(transport_pid_controller_test |
| 12098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12100 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12101 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12102 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12103 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12104 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12105 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12106 | PRIVATE third_party/googletest/googletest/include |
| 12107 | PRIVATE third_party/googletest/googletest |
| 12108 | PRIVATE third_party/googletest/googlemock/include |
| 12109 | PRIVATE third_party/googletest/googlemock |
| 12110 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12111 | ) |
| 12112 | |
| 12113 | target_link_libraries(transport_pid_controller_test |
| 12114 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12115 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12116 | grpc++_test_util |
| 12117 | grpc++ |
| 12118 | grpc_test_util |
| 12119 | grpc |
| 12120 | gpr_test_util |
| 12121 | gpr |
| 12122 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12123 | ) |
| 12124 | |
| 12125 | endif (gRPC_BUILD_TESTS) |
| 12126 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12127 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12128 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12129 | add_executable(writes_per_rpc_test |
| 12130 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12131 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12132 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12133 | ) |
| 12134 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12135 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12136 | target_include_directories(writes_per_rpc_test |
| 12137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12139 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12140 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12141 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12142 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12143 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12144 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12145 | PRIVATE third_party/googletest/googletest/include |
| 12146 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12147 | PRIVATE third_party/googletest/googlemock/include |
| 12148 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12149 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12150 | ) |
| 12151 | |
| 12152 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12153 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12154 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12155 | grpc++_test_util |
| 12156 | grpc_test_util |
| 12157 | grpc++ |
| 12158 | grpc |
| 12159 | gpr_test_util |
| 12160 | gpr |
| 12161 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12162 | ) |
| 12163 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12164 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12165 | endif (gRPC_BUILD_TESTS) |
| 12166 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12167 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12168 | add_executable(public_headers_must_be_c89 |
| 12169 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12170 | ) |
| 12171 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12172 | |
| 12173 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12175 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12176 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12177 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12178 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12179 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12180 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12181 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12182 | ) |
| 12183 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12184 | target_link_libraries(public_headers_must_be_c89 |
| 12185 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12186 | grpc |
| 12187 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12188 | ) |
| 12189 | |
| 12190 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12191 | |
| 12192 | add_executable(gen_hpack_tables |
| 12193 | tools/codegen/core/gen_hpack_tables.cc |
| 12194 | ) |
| 12195 | |
| 12196 | |
| 12197 | target_include_directories(gen_hpack_tables |
| 12198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12200 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12201 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12202 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12203 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12204 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12205 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12206 | ) |
| 12207 | |
| 12208 | target_link_libraries(gen_hpack_tables |
| 12209 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12210 | gpr |
| 12211 | grpc |
| 12212 | ) |
| 12213 | |
| 12214 | |
| 12215 | if (gRPC_INSTALL) |
| 12216 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12217 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12218 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12219 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12220 | ) |
| 12221 | endif() |
| 12222 | |
| 12223 | |
| 12224 | add_executable(gen_legal_metadata_characters |
| 12225 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12226 | ) |
| 12227 | |
| 12228 | |
| 12229 | target_include_directories(gen_legal_metadata_characters |
| 12230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12232 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12233 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12234 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12235 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12236 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12237 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12238 | ) |
| 12239 | |
| 12240 | target_link_libraries(gen_legal_metadata_characters |
| 12241 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12242 | ) |
| 12243 | |
| 12244 | |
| 12245 | if (gRPC_INSTALL) |
| 12246 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12247 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12248 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12249 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12250 | ) |
| 12251 | endif() |
| 12252 | |
| 12253 | |
| 12254 | add_executable(gen_percent_encoding_tables |
| 12255 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12256 | ) |
| 12257 | |
| 12258 | |
| 12259 | target_include_directories(gen_percent_encoding_tables |
| 12260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12262 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12263 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12264 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12265 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12266 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12267 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12268 | ) |
| 12269 | |
| 12270 | target_link_libraries(gen_percent_encoding_tables |
| 12271 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12272 | ) |
| 12273 | |
| 12274 | |
| 12275 | if (gRPC_INSTALL) |
| 12276 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12277 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12278 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12279 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12280 | ) |
| 12281 | endif() |
| 12282 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12283 | if (gRPC_BUILD_TESTS) |
| 12284 | |
| 12285 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12286 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12287 | ) |
| 12288 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12289 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12290 | target_include_directories(badreq_bad_client_test |
| 12291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12293 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12294 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12295 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12296 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12297 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12298 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12299 | ) |
| 12300 | |
| 12301 | target_link_libraries(badreq_bad_client_test |
| 12302 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12304 | bad_client_test |
| 12305 | grpc_test_util_unsecure |
| 12306 | grpc_unsecure |
| 12307 | gpr_test_util |
| 12308 | gpr |
| 12309 | ) |
| 12310 | |
| 12311 | endif (gRPC_BUILD_TESTS) |
| 12312 | if (gRPC_BUILD_TESTS) |
| 12313 | |
| 12314 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12315 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12316 | ) |
| 12317 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12318 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12319 | target_include_directories(connection_prefix_bad_client_test |
| 12320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12322 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12323 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12324 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12325 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12326 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12327 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12328 | ) |
| 12329 | |
| 12330 | target_link_libraries(connection_prefix_bad_client_test |
| 12331 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12332 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12333 | bad_client_test |
| 12334 | grpc_test_util_unsecure |
| 12335 | grpc_unsecure |
| 12336 | gpr_test_util |
| 12337 | gpr |
| 12338 | ) |
| 12339 | |
| 12340 | endif (gRPC_BUILD_TESTS) |
| 12341 | if (gRPC_BUILD_TESTS) |
| 12342 | |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 12343 | add_executable(duplicate_header_bad_client_test |
| 12344 | test/core/bad_client/tests/duplicate_header.cc |
| 12345 | ) |
| 12346 | |
| 12347 | |
| 12348 | target_include_directories(duplicate_header_bad_client_test |
| 12349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12352 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12353 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12354 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12355 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12356 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 12357 | ) |
| 12358 | |
| 12359 | target_link_libraries(duplicate_header_bad_client_test |
| 12360 | ${_gRPC_SSL_LIBRARIES} |
| 12361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12362 | bad_client_test |
| 12363 | grpc_test_util_unsecure |
| 12364 | grpc_unsecure |
| 12365 | gpr_test_util |
| 12366 | gpr |
| 12367 | ) |
| 12368 | |
| 12369 | endif (gRPC_BUILD_TESTS) |
| 12370 | if (gRPC_BUILD_TESTS) |
| 12371 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12372 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12373 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12374 | ) |
| 12375 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12376 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12377 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12378 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12379 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12380 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12381 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12382 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12383 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12384 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12385 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12386 | ) |
| 12387 | |
| 12388 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12389 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12390 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12391 | bad_client_test |
| 12392 | grpc_test_util_unsecure |
| 12393 | grpc_unsecure |
| 12394 | gpr_test_util |
| 12395 | gpr |
| 12396 | ) |
| 12397 | |
| 12398 | endif (gRPC_BUILD_TESTS) |
| 12399 | if (gRPC_BUILD_TESTS) |
| 12400 | |
| 12401 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12402 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12403 | ) |
| 12404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12405 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12406 | target_include_directories(headers_bad_client_test |
| 12407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12409 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12410 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12411 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12412 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12413 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12414 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12415 | ) |
| 12416 | |
| 12417 | target_link_libraries(headers_bad_client_test |
| 12418 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12419 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12420 | bad_client_test |
| 12421 | grpc_test_util_unsecure |
| 12422 | grpc_unsecure |
| 12423 | gpr_test_util |
| 12424 | gpr |
| 12425 | ) |
| 12426 | |
| 12427 | endif (gRPC_BUILD_TESTS) |
| 12428 | if (gRPC_BUILD_TESTS) |
| 12429 | |
| 12430 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12431 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12432 | ) |
| 12433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12435 | target_include_directories(initial_settings_frame_bad_client_test |
| 12436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12438 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12439 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12440 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12441 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12442 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12443 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12444 | ) |
| 12445 | |
| 12446 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12447 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12449 | bad_client_test |
| 12450 | grpc_test_util_unsecure |
| 12451 | grpc_unsecure |
| 12452 | gpr_test_util |
| 12453 | gpr |
| 12454 | ) |
| 12455 | |
| 12456 | endif (gRPC_BUILD_TESTS) |
| 12457 | if (gRPC_BUILD_TESTS) |
| 12458 | |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 12459 | add_executable(large_metadata_bad_client_test |
| 12460 | test/core/bad_client/tests/large_metadata.cc |
| 12461 | ) |
| 12462 | |
| 12463 | |
| 12464 | target_include_directories(large_metadata_bad_client_test |
| 12465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12467 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yash Tibrewal | ea318b6 | 2018-01-24 10:59:26 -0800 | [diff] [blame] | 12468 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12469 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12470 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12471 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12472 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 12473 | ) |
| 12474 | |
| 12475 | target_link_libraries(large_metadata_bad_client_test |
| 12476 | ${_gRPC_SSL_LIBRARIES} |
| 12477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12478 | bad_client_test |
| 12479 | grpc_test_util_unsecure |
| 12480 | grpc_unsecure |
| 12481 | gpr_test_util |
| 12482 | gpr |
| 12483 | ) |
| 12484 | |
| 12485 | endif (gRPC_BUILD_TESTS) |
| 12486 | if (gRPC_BUILD_TESTS) |
| 12487 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12488 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12489 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12490 | ) |
| 12491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12492 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12493 | target_include_directories(server_registered_method_bad_client_test |
| 12494 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12496 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12497 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12498 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12499 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12500 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12501 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12502 | ) |
| 12503 | |
| 12504 | target_link_libraries(server_registered_method_bad_client_test |
| 12505 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12507 | bad_client_test |
| 12508 | grpc_test_util_unsecure |
| 12509 | grpc_unsecure |
| 12510 | gpr_test_util |
| 12511 | gpr |
| 12512 | ) |
| 12513 | |
| 12514 | endif (gRPC_BUILD_TESTS) |
| 12515 | if (gRPC_BUILD_TESTS) |
| 12516 | |
| 12517 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12518 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12519 | ) |
| 12520 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12522 | target_include_directories(simple_request_bad_client_test |
| 12523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12525 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12526 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12527 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12528 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12529 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12530 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12531 | ) |
| 12532 | |
| 12533 | target_link_libraries(simple_request_bad_client_test |
| 12534 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12536 | bad_client_test |
| 12537 | grpc_test_util_unsecure |
| 12538 | grpc_unsecure |
| 12539 | gpr_test_util |
| 12540 | gpr |
| 12541 | ) |
| 12542 | |
| 12543 | endif (gRPC_BUILD_TESTS) |
| 12544 | if (gRPC_BUILD_TESTS) |
| 12545 | |
| 12546 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12547 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12548 | ) |
| 12549 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12550 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12551 | target_include_directories(unknown_frame_bad_client_test |
| 12552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12554 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12555 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12556 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12557 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12558 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12559 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12560 | ) |
| 12561 | |
| 12562 | target_link_libraries(unknown_frame_bad_client_test |
| 12563 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12565 | bad_client_test |
| 12566 | grpc_test_util_unsecure |
| 12567 | grpc_unsecure |
| 12568 | gpr_test_util |
| 12569 | gpr |
| 12570 | ) |
| 12571 | |
| 12572 | endif (gRPC_BUILD_TESTS) |
| 12573 | if (gRPC_BUILD_TESTS) |
| 12574 | |
| 12575 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12576 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12577 | ) |
| 12578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12579 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12580 | target_include_directories(window_overflow_bad_client_test |
| 12581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12583 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12584 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12585 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12586 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12587 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12588 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12589 | ) |
| 12590 | |
| 12591 | target_link_libraries(window_overflow_bad_client_test |
| 12592 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12594 | bad_client_test |
| 12595 | grpc_test_util_unsecure |
| 12596 | grpc_unsecure |
| 12597 | gpr_test_util |
| 12598 | gpr |
| 12599 | ) |
| 12600 | |
| 12601 | endif (gRPC_BUILD_TESTS) |
| 12602 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12604 | |
| 12605 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12606 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12607 | ) |
| 12608 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12609 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12610 | target_include_directories(bad_ssl_cert_server |
| 12611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12613 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12614 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12615 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12616 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12617 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12618 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12619 | ) |
| 12620 | |
| 12621 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12623 | bad_ssl_test_server |
| 12624 | grpc_test_util |
| 12625 | grpc |
| 12626 | gpr_test_util |
| 12627 | gpr |
| 12628 | ) |
| 12629 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12630 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12631 | endif (gRPC_BUILD_TESTS) |
| 12632 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12633 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12634 | |
| 12635 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12636 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12637 | ) |
| 12638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12639 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12640 | target_include_directories(bad_ssl_cert_test |
| 12641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12643 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12644 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12645 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12646 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12647 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12648 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12649 | ) |
| 12650 | |
| 12651 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12653 | grpc_test_util |
| 12654 | grpc |
| 12655 | gpr_test_util |
| 12656 | gpr |
| 12657 | ) |
| 12658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12659 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12660 | endif (gRPC_BUILD_TESTS) |
| 12661 | if (gRPC_BUILD_TESTS) |
| 12662 | |
| 12663 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12664 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12665 | ) |
| 12666 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12667 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12668 | target_include_directories(h2_census_test |
| 12669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12671 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12672 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12673 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12674 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12675 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12676 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12677 | ) |
| 12678 | |
| 12679 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12680 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12681 | end2end_tests |
| 12682 | grpc_test_util |
| 12683 | grpc |
| 12684 | gpr_test_util |
| 12685 | gpr |
| 12686 | ) |
| 12687 | |
| 12688 | endif (gRPC_BUILD_TESTS) |
| 12689 | if (gRPC_BUILD_TESTS) |
| 12690 | |
| 12691 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12692 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12693 | ) |
| 12694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12695 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12696 | target_include_directories(h2_compress_test |
| 12697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12699 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12700 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12701 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12702 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12703 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12704 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12705 | ) |
| 12706 | |
| 12707 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12708 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12709 | end2end_tests |
| 12710 | grpc_test_util |
| 12711 | grpc |
| 12712 | gpr_test_util |
| 12713 | gpr |
| 12714 | ) |
| 12715 | |
| 12716 | endif (gRPC_BUILD_TESTS) |
| 12717 | if (gRPC_BUILD_TESTS) |
| 12718 | |
| 12719 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12720 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12721 | ) |
| 12722 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12723 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12724 | target_include_directories(h2_fakesec_test |
| 12725 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12727 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12728 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12729 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12730 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12731 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12732 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12733 | ) |
| 12734 | |
| 12735 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12737 | end2end_tests |
| 12738 | grpc_test_util |
| 12739 | grpc |
| 12740 | gpr_test_util |
| 12741 | gpr |
| 12742 | ) |
| 12743 | |
| 12744 | endif (gRPC_BUILD_TESTS) |
| 12745 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12746 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12747 | |
| 12748 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12749 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12750 | ) |
| 12751 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12752 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12753 | target_include_directories(h2_fd_test |
| 12754 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12756 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12757 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12758 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12759 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12760 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12761 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12762 | ) |
| 12763 | |
| 12764 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12765 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12766 | end2end_tests |
| 12767 | grpc_test_util |
| 12768 | grpc |
| 12769 | gpr_test_util |
| 12770 | gpr |
| 12771 | ) |
| 12772 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12773 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12774 | endif (gRPC_BUILD_TESTS) |
| 12775 | if (gRPC_BUILD_TESTS) |
| 12776 | |
| 12777 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12778 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12779 | ) |
| 12780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12782 | target_include_directories(h2_full_test |
| 12783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12785 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12786 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12787 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12788 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12789 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12790 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12791 | ) |
| 12792 | |
| 12793 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12795 | end2end_tests |
| 12796 | grpc_test_util |
| 12797 | grpc |
| 12798 | gpr_test_util |
| 12799 | gpr |
| 12800 | ) |
| 12801 | |
| 12802 | endif (gRPC_BUILD_TESTS) |
| 12803 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12804 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12805 | |
| 12806 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12807 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12808 | ) |
| 12809 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12810 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12811 | target_include_directories(h2_full+pipe_test |
| 12812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12814 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12815 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12816 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12817 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12818 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12819 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12820 | ) |
| 12821 | |
| 12822 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12823 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12824 | end2end_tests |
| 12825 | grpc_test_util |
| 12826 | grpc |
| 12827 | gpr_test_util |
| 12828 | gpr |
| 12829 | ) |
| 12830 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12831 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12832 | endif (gRPC_BUILD_TESTS) |
| 12833 | if (gRPC_BUILD_TESTS) |
| 12834 | |
| 12835 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12836 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12837 | ) |
| 12838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12840 | target_include_directories(h2_full+trace_test |
| 12841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12844 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12845 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12846 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12847 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12848 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | ) |
| 12850 | |
| 12851 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12852 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12853 | end2end_tests |
| 12854 | grpc_test_util |
| 12855 | grpc |
| 12856 | gpr_test_util |
| 12857 | gpr |
| 12858 | ) |
| 12859 | |
| 12860 | endif (gRPC_BUILD_TESTS) |
| 12861 | if (gRPC_BUILD_TESTS) |
| 12862 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12863 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12864 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12865 | ) |
| 12866 | |
| 12867 | |
| 12868 | target_include_directories(h2_full+workarounds_test |
| 12869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12871 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12872 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12873 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12874 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12875 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12876 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12877 | ) |
| 12878 | |
| 12879 | target_link_libraries(h2_full+workarounds_test |
| 12880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12881 | end2end_tests |
| 12882 | grpc_test_util |
| 12883 | grpc |
| 12884 | gpr_test_util |
| 12885 | gpr |
| 12886 | ) |
| 12887 | |
| 12888 | endif (gRPC_BUILD_TESTS) |
| 12889 | if (gRPC_BUILD_TESTS) |
| 12890 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12891 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12892 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12893 | ) |
| 12894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12896 | target_include_directories(h2_http_proxy_test |
| 12897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12905 | ) |
| 12906 | |
| 12907 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12909 | end2end_tests |
| 12910 | grpc_test_util |
| 12911 | grpc |
| 12912 | gpr_test_util |
| 12913 | gpr |
| 12914 | ) |
| 12915 | |
| 12916 | endif (gRPC_BUILD_TESTS) |
| 12917 | if (gRPC_BUILD_TESTS) |
| 12918 | |
| 12919 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12920 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12921 | ) |
| 12922 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12923 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12924 | target_include_directories(h2_load_reporting_test |
| 12925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12927 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12928 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12929 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12930 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12931 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12932 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12933 | ) |
| 12934 | |
| 12935 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12937 | end2end_tests |
| 12938 | grpc_test_util |
| 12939 | grpc |
| 12940 | gpr_test_util |
| 12941 | gpr |
| 12942 | ) |
| 12943 | |
| 12944 | endif (gRPC_BUILD_TESTS) |
| 12945 | if (gRPC_BUILD_TESTS) |
| 12946 | |
| 12947 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12948 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12949 | ) |
| 12950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12952 | target_include_directories(h2_oauth2_test |
| 12953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12955 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12956 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12957 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12958 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12959 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12960 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12961 | ) |
| 12962 | |
| 12963 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12964 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12965 | end2end_tests |
| 12966 | grpc_test_util |
| 12967 | grpc |
| 12968 | gpr_test_util |
| 12969 | gpr |
| 12970 | ) |
| 12971 | |
| 12972 | endif (gRPC_BUILD_TESTS) |
| 12973 | if (gRPC_BUILD_TESTS) |
| 12974 | |
| 12975 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12976 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12977 | ) |
| 12978 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12979 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12980 | target_include_directories(h2_proxy_test |
| 12981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12983 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12984 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12985 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12986 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12987 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12988 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12989 | ) |
| 12990 | |
| 12991 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12992 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12993 | end2end_tests |
| 12994 | grpc_test_util |
| 12995 | grpc |
| 12996 | gpr_test_util |
| 12997 | gpr |
| 12998 | ) |
| 12999 | |
| 13000 | endif (gRPC_BUILD_TESTS) |
| 13001 | if (gRPC_BUILD_TESTS) |
| 13002 | |
| 13003 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13004 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13005 | ) |
| 13006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13008 | target_include_directories(h2_sockpair_test |
| 13009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13017 | ) |
| 13018 | |
| 13019 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13021 | end2end_tests |
| 13022 | grpc_test_util |
| 13023 | grpc |
| 13024 | gpr_test_util |
| 13025 | gpr |
| 13026 | ) |
| 13027 | |
| 13028 | endif (gRPC_BUILD_TESTS) |
| 13029 | if (gRPC_BUILD_TESTS) |
| 13030 | |
| 13031 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13032 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13033 | ) |
| 13034 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13035 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13036 | target_include_directories(h2_sockpair+trace_test |
| 13037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13039 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13040 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13041 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13042 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13043 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13044 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13045 | ) |
| 13046 | |
| 13047 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13049 | end2end_tests |
| 13050 | grpc_test_util |
| 13051 | grpc |
| 13052 | gpr_test_util |
| 13053 | gpr |
| 13054 | ) |
| 13055 | |
| 13056 | endif (gRPC_BUILD_TESTS) |
| 13057 | if (gRPC_BUILD_TESTS) |
| 13058 | |
| 13059 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13060 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13061 | ) |
| 13062 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13063 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13064 | target_include_directories(h2_sockpair_1byte_test |
| 13065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13067 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13068 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13069 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13070 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13071 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13072 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13073 | ) |
| 13074 | |
| 13075 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13077 | end2end_tests |
| 13078 | grpc_test_util |
| 13079 | grpc |
| 13080 | gpr_test_util |
| 13081 | gpr |
| 13082 | ) |
| 13083 | |
| 13084 | endif (gRPC_BUILD_TESTS) |
| 13085 | if (gRPC_BUILD_TESTS) |
| 13086 | |
| 13087 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13088 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13089 | ) |
| 13090 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13091 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13092 | target_include_directories(h2_ssl_test |
| 13093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13095 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13096 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13097 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13098 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13099 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13100 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13101 | ) |
| 13102 | |
| 13103 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13104 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13105 | end2end_tests |
| 13106 | grpc_test_util |
| 13107 | grpc |
| 13108 | gpr_test_util |
| 13109 | gpr |
| 13110 | ) |
| 13111 | |
| 13112 | endif (gRPC_BUILD_TESTS) |
| 13113 | if (gRPC_BUILD_TESTS) |
| 13114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13115 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13116 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13117 | ) |
| 13118 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13119 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13120 | target_include_directories(h2_ssl_proxy_test |
| 13121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13123 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13124 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13125 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13126 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13127 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13128 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13129 | ) |
| 13130 | |
| 13131 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13133 | end2end_tests |
| 13134 | grpc_test_util |
| 13135 | grpc |
| 13136 | gpr_test_util |
| 13137 | gpr |
| 13138 | ) |
| 13139 | |
| 13140 | endif (gRPC_BUILD_TESTS) |
| 13141 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13142 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13143 | |
| 13144 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13145 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13146 | ) |
| 13147 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13149 | target_include_directories(h2_uds_test |
| 13150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13152 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13153 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13154 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13155 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13156 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13157 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13158 | ) |
| 13159 | |
| 13160 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13161 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13162 | end2end_tests |
| 13163 | grpc_test_util |
| 13164 | grpc |
| 13165 | gpr_test_util |
| 13166 | gpr |
| 13167 | ) |
| 13168 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13169 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13170 | endif (gRPC_BUILD_TESTS) |
| 13171 | if (gRPC_BUILD_TESTS) |
| 13172 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13173 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13174 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13175 | ) |
| 13176 | |
| 13177 | |
| 13178 | target_include_directories(inproc_test |
| 13179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13181 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13182 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13183 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13184 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13185 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13186 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13187 | ) |
| 13188 | |
| 13189 | target_link_libraries(inproc_test |
| 13190 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13191 | end2end_tests |
| 13192 | grpc_test_util |
| 13193 | grpc |
| 13194 | gpr_test_util |
| 13195 | gpr |
| 13196 | ) |
| 13197 | |
| 13198 | endif (gRPC_BUILD_TESTS) |
| 13199 | if (gRPC_BUILD_TESTS) |
| 13200 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13201 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13202 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13203 | ) |
| 13204 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13206 | target_include_directories(h2_census_nosec_test |
| 13207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13209 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13210 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13211 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13212 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13213 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13214 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13215 | ) |
| 13216 | |
| 13217 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13219 | end2end_nosec_tests |
| 13220 | grpc_test_util_unsecure |
| 13221 | grpc_unsecure |
| 13222 | gpr_test_util |
| 13223 | gpr |
| 13224 | ) |
| 13225 | |
| 13226 | endif (gRPC_BUILD_TESTS) |
| 13227 | if (gRPC_BUILD_TESTS) |
| 13228 | |
| 13229 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13230 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13231 | ) |
| 13232 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13233 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13234 | target_include_directories(h2_compress_nosec_test |
| 13235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13237 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13238 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13239 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13240 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13241 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13242 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13243 | ) |
| 13244 | |
| 13245 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13247 | end2end_nosec_tests |
| 13248 | grpc_test_util_unsecure |
| 13249 | grpc_unsecure |
| 13250 | gpr_test_util |
| 13251 | gpr |
| 13252 | ) |
| 13253 | |
| 13254 | endif (gRPC_BUILD_TESTS) |
| 13255 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13256 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13257 | |
| 13258 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13259 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13260 | ) |
| 13261 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13262 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13263 | target_include_directories(h2_fd_nosec_test |
| 13264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13266 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13267 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13268 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13269 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13270 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13271 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13272 | ) |
| 13273 | |
| 13274 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13275 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13276 | end2end_nosec_tests |
| 13277 | grpc_test_util_unsecure |
| 13278 | grpc_unsecure |
| 13279 | gpr_test_util |
| 13280 | gpr |
| 13281 | ) |
| 13282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13283 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13284 | endif (gRPC_BUILD_TESTS) |
| 13285 | if (gRPC_BUILD_TESTS) |
| 13286 | |
| 13287 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13288 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13289 | ) |
| 13290 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13291 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13292 | target_include_directories(h2_full_nosec_test |
| 13293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13295 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13296 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13297 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13298 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13299 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13300 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13301 | ) |
| 13302 | |
| 13303 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13305 | end2end_nosec_tests |
| 13306 | grpc_test_util_unsecure |
| 13307 | grpc_unsecure |
| 13308 | gpr_test_util |
| 13309 | gpr |
| 13310 | ) |
| 13311 | |
| 13312 | endif (gRPC_BUILD_TESTS) |
| 13313 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13314 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13315 | |
| 13316 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13317 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13318 | ) |
| 13319 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13320 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13321 | target_include_directories(h2_full+pipe_nosec_test |
| 13322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13324 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13325 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13326 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13327 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13328 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13329 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13330 | ) |
| 13331 | |
| 13332 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13333 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13334 | end2end_nosec_tests |
| 13335 | grpc_test_util_unsecure |
| 13336 | grpc_unsecure |
| 13337 | gpr_test_util |
| 13338 | gpr |
| 13339 | ) |
| 13340 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13341 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13342 | endif (gRPC_BUILD_TESTS) |
| 13343 | if (gRPC_BUILD_TESTS) |
| 13344 | |
| 13345 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13346 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13347 | ) |
| 13348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13350 | target_include_directories(h2_full+trace_nosec_test |
| 13351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13354 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13355 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13356 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13357 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13358 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | ) |
| 13360 | |
| 13361 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13362 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | end2end_nosec_tests |
| 13364 | grpc_test_util_unsecure |
| 13365 | grpc_unsecure |
| 13366 | gpr_test_util |
| 13367 | gpr |
| 13368 | ) |
| 13369 | |
| 13370 | endif (gRPC_BUILD_TESTS) |
| 13371 | if (gRPC_BUILD_TESTS) |
| 13372 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13373 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13374 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13375 | ) |
| 13376 | |
| 13377 | |
| 13378 | target_include_directories(h2_full+workarounds_nosec_test |
| 13379 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13381 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13382 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13383 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13384 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13385 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13386 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13387 | ) |
| 13388 | |
| 13389 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13390 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13391 | end2end_nosec_tests |
| 13392 | grpc_test_util_unsecure |
| 13393 | grpc_unsecure |
| 13394 | gpr_test_util |
| 13395 | gpr |
| 13396 | ) |
| 13397 | |
| 13398 | endif (gRPC_BUILD_TESTS) |
| 13399 | if (gRPC_BUILD_TESTS) |
| 13400 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13401 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13402 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13403 | ) |
| 13404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13405 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13406 | target_include_directories(h2_http_proxy_nosec_test |
| 13407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13409 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13410 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13411 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13412 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13413 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13414 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13415 | ) |
| 13416 | |
| 13417 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13419 | end2end_nosec_tests |
| 13420 | grpc_test_util_unsecure |
| 13421 | grpc_unsecure |
| 13422 | gpr_test_util |
| 13423 | gpr |
| 13424 | ) |
| 13425 | |
| 13426 | endif (gRPC_BUILD_TESTS) |
| 13427 | if (gRPC_BUILD_TESTS) |
| 13428 | |
| 13429 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13430 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13431 | ) |
| 13432 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13433 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13434 | target_include_directories(h2_load_reporting_nosec_test |
| 13435 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13437 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13438 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13439 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13440 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13441 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13442 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13443 | ) |
| 13444 | |
| 13445 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13447 | end2end_nosec_tests |
| 13448 | grpc_test_util_unsecure |
| 13449 | grpc_unsecure |
| 13450 | gpr_test_util |
| 13451 | gpr |
| 13452 | ) |
| 13453 | |
| 13454 | endif (gRPC_BUILD_TESTS) |
| 13455 | if (gRPC_BUILD_TESTS) |
| 13456 | |
| 13457 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13458 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13459 | ) |
| 13460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13461 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13462 | target_include_directories(h2_proxy_nosec_test |
| 13463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13465 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13466 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13467 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13468 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13469 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13470 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13471 | ) |
| 13472 | |
| 13473 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13475 | end2end_nosec_tests |
| 13476 | grpc_test_util_unsecure |
| 13477 | grpc_unsecure |
| 13478 | gpr_test_util |
| 13479 | gpr |
| 13480 | ) |
| 13481 | |
| 13482 | endif (gRPC_BUILD_TESTS) |
| 13483 | if (gRPC_BUILD_TESTS) |
| 13484 | |
| 13485 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13486 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13487 | ) |
| 13488 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13489 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13490 | target_include_directories(h2_sockpair_nosec_test |
| 13491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13492 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13493 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13494 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13495 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13496 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13497 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13498 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13499 | ) |
| 13500 | |
| 13501 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13502 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13503 | end2end_nosec_tests |
| 13504 | grpc_test_util_unsecure |
| 13505 | grpc_unsecure |
| 13506 | gpr_test_util |
| 13507 | gpr |
| 13508 | ) |
| 13509 | |
| 13510 | endif (gRPC_BUILD_TESTS) |
| 13511 | if (gRPC_BUILD_TESTS) |
| 13512 | |
| 13513 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13514 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13515 | ) |
| 13516 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13518 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13521 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13522 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13523 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13524 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13525 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13526 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13527 | ) |
| 13528 | |
| 13529 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13530 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13531 | end2end_nosec_tests |
| 13532 | grpc_test_util_unsecure |
| 13533 | grpc_unsecure |
| 13534 | gpr_test_util |
| 13535 | gpr |
| 13536 | ) |
| 13537 | |
| 13538 | endif (gRPC_BUILD_TESTS) |
| 13539 | if (gRPC_BUILD_TESTS) |
| 13540 | |
| 13541 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13542 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13543 | ) |
| 13544 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13545 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13546 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13548 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13549 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13550 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13551 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13552 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13553 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13554 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13555 | ) |
| 13556 | |
| 13557 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13559 | end2end_nosec_tests |
| 13560 | grpc_test_util_unsecure |
| 13561 | grpc_unsecure |
| 13562 | gpr_test_util |
| 13563 | gpr |
| 13564 | ) |
| 13565 | |
| 13566 | endif (gRPC_BUILD_TESTS) |
| 13567 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13568 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13569 | |
| 13570 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13571 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13572 | ) |
| 13573 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13574 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13575 | target_include_directories(h2_uds_nosec_test |
| 13576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13578 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13579 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13580 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13581 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13582 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13583 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13584 | ) |
| 13585 | |
| 13586 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13588 | end2end_nosec_tests |
| 13589 | grpc_test_util_unsecure |
| 13590 | grpc_unsecure |
| 13591 | gpr_test_util |
| 13592 | gpr |
| 13593 | ) |
| 13594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13595 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13596 | endif (gRPC_BUILD_TESTS) |
| 13597 | if (gRPC_BUILD_TESTS) |
| 13598 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13599 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13600 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13601 | ) |
| 13602 | |
| 13603 | |
| 13604 | target_include_directories(inproc_nosec_test |
| 13605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13607 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13608 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13609 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13610 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13611 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13612 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13613 | ) |
| 13614 | |
| 13615 | target_link_libraries(inproc_nosec_test |
| 13616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13617 | end2end_nosec_tests |
| 13618 | grpc_test_util_unsecure |
| 13619 | grpc_unsecure |
| 13620 | gpr_test_util |
| 13621 | gpr |
| 13622 | ) |
| 13623 | |
| 13624 | endif (gRPC_BUILD_TESTS) |
| 13625 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13626 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13627 | |
| 13628 | add_executable(resolver_component_test_unsecure |
| 13629 | test/cpp/naming/resolver_component_test.cc |
| 13630 | third_party/googletest/googletest/src/gtest-all.cc |
| 13631 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13632 | ) |
| 13633 | |
| 13634 | |
| 13635 | target_include_directories(resolver_component_test_unsecure |
| 13636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13638 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13639 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13640 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13641 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13642 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13643 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13644 | PRIVATE third_party/googletest/googletest/include |
| 13645 | PRIVATE third_party/googletest/googletest |
| 13646 | PRIVATE third_party/googletest/googlemock/include |
| 13647 | PRIVATE third_party/googletest/googlemock |
| 13648 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13649 | ) |
| 13650 | |
| 13651 | target_link_libraries(resolver_component_test_unsecure |
| 13652 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13653 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13654 | grpc++_test_util_unsecure |
| 13655 | grpc_test_util_unsecure |
| 13656 | gpr_test_util |
| 13657 | grpc++_unsecure |
| 13658 | grpc_unsecure |
| 13659 | gpr |
| 13660 | grpc++_test_config |
| 13661 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13662 | ) |
| 13663 | |
| 13664 | endif() |
| 13665 | endif (gRPC_BUILD_TESTS) |
| 13666 | if (gRPC_BUILD_TESTS) |
| 13667 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13668 | |
| 13669 | add_executable(resolver_component_test |
| 13670 | test/cpp/naming/resolver_component_test.cc |
| 13671 | third_party/googletest/googletest/src/gtest-all.cc |
| 13672 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13673 | ) |
| 13674 | |
| 13675 | |
| 13676 | target_include_directories(resolver_component_test |
| 13677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13679 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13680 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13681 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13682 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13683 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13684 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13685 | PRIVATE third_party/googletest/googletest/include |
| 13686 | PRIVATE third_party/googletest/googletest |
| 13687 | PRIVATE third_party/googletest/googlemock/include |
| 13688 | PRIVATE third_party/googletest/googlemock |
| 13689 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13690 | ) |
| 13691 | |
| 13692 | target_link_libraries(resolver_component_test |
| 13693 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13695 | grpc++_test_util |
| 13696 | grpc_test_util |
| 13697 | gpr_test_util |
| 13698 | grpc++ |
| 13699 | grpc |
| 13700 | gpr |
| 13701 | grpc++_test_config |
| 13702 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13703 | ) |
| 13704 | |
| 13705 | endif() |
| 13706 | endif (gRPC_BUILD_TESTS) |
| 13707 | if (gRPC_BUILD_TESTS) |
| 13708 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13709 | |
| 13710 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 13711 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13712 | third_party/googletest/googletest/src/gtest-all.cc |
| 13713 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13714 | ) |
| 13715 | |
| 13716 | |
| 13717 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 13718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13721 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13722 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13723 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13724 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13725 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13726 | PRIVATE third_party/googletest/googletest/include |
| 13727 | PRIVATE third_party/googletest/googletest |
| 13728 | PRIVATE third_party/googletest/googlemock/include |
| 13729 | PRIVATE third_party/googletest/googlemock |
| 13730 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13731 | ) |
| 13732 | |
| 13733 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 13734 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13735 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13736 | grpc++_test_util |
| 13737 | grpc_test_util |
| 13738 | gpr_test_util |
| 13739 | grpc++ |
| 13740 | grpc |
| 13741 | gpr |
| 13742 | grpc++_test_config |
| 13743 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13744 | ) |
| 13745 | |
| 13746 | endif() |
| 13747 | endif (gRPC_BUILD_TESTS) |
| 13748 | if (gRPC_BUILD_TESTS) |
| 13749 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13750 | |
| 13751 | add_executable(resolver_component_tests_runner_invoker |
| 13752 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13753 | third_party/googletest/googletest/src/gtest-all.cc |
| 13754 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13755 | ) |
| 13756 | |
| 13757 | |
| 13758 | target_include_directories(resolver_component_tests_runner_invoker |
| 13759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13761 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13762 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13763 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13764 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13765 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13766 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13767 | PRIVATE third_party/googletest/googletest/include |
| 13768 | PRIVATE third_party/googletest/googletest |
| 13769 | PRIVATE third_party/googletest/googlemock/include |
| 13770 | PRIVATE third_party/googletest/googlemock |
| 13771 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13772 | ) |
| 13773 | |
| 13774 | target_link_libraries(resolver_component_tests_runner_invoker |
| 13775 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13777 | grpc++_test_util |
| 13778 | grpc_test_util |
| 13779 | gpr_test_util |
| 13780 | grpc++ |
| 13781 | grpc |
| 13782 | gpr |
| 13783 | grpc++_test_config |
| 13784 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13785 | ) |
| 13786 | |
| 13787 | endif() |
| 13788 | endif (gRPC_BUILD_TESTS) |
| 13789 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13791 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13792 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13793 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13794 | ) |
| 13795 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13797 | target_include_directories(api_fuzzer_one_entry |
| 13798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13800 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13801 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13802 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13803 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13804 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13805 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13806 | ) |
| 13807 | |
| 13808 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13810 | grpc_test_util |
| 13811 | grpc |
| 13812 | gpr_test_util |
| 13813 | gpr |
| 13814 | ) |
| 13815 | |
| 13816 | endif (gRPC_BUILD_TESTS) |
| 13817 | if (gRPC_BUILD_TESTS) |
| 13818 | |
| 13819 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13820 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13821 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13822 | ) |
| 13823 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13824 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13825 | target_include_directories(client_fuzzer_one_entry |
| 13826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13828 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13829 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13830 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13831 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13832 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13833 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13834 | ) |
| 13835 | |
| 13836 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13837 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13838 | grpc_test_util |
| 13839 | grpc |
| 13840 | gpr_test_util |
| 13841 | gpr |
| 13842 | ) |
| 13843 | |
| 13844 | endif (gRPC_BUILD_TESTS) |
| 13845 | if (gRPC_BUILD_TESTS) |
| 13846 | |
| 13847 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13848 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13849 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13850 | ) |
| 13851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13853 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 13854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13862 | ) |
| 13863 | |
| 13864 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13866 | grpc_test_util |
| 13867 | grpc |
| 13868 | gpr_test_util |
| 13869 | gpr |
| 13870 | ) |
| 13871 | |
| 13872 | endif (gRPC_BUILD_TESTS) |
| 13873 | if (gRPC_BUILD_TESTS) |
| 13874 | |
| 13875 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13876 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13877 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13878 | ) |
| 13879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13881 | target_include_directories(http_request_fuzzer_test_one_entry |
| 13882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13884 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13885 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13886 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13887 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13888 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13889 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13890 | ) |
| 13891 | |
| 13892 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13893 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13894 | grpc_test_util |
| 13895 | grpc |
| 13896 | gpr_test_util |
| 13897 | gpr |
| 13898 | ) |
| 13899 | |
| 13900 | endif (gRPC_BUILD_TESTS) |
| 13901 | if (gRPC_BUILD_TESTS) |
| 13902 | |
| 13903 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13904 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13905 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13906 | ) |
| 13907 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13908 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13909 | target_include_directories(http_response_fuzzer_test_one_entry |
| 13910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13912 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13913 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13914 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13915 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13916 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13917 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13918 | ) |
| 13919 | |
| 13920 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13922 | grpc_test_util |
| 13923 | grpc |
| 13924 | gpr_test_util |
| 13925 | gpr |
| 13926 | ) |
| 13927 | |
| 13928 | endif (gRPC_BUILD_TESTS) |
| 13929 | if (gRPC_BUILD_TESTS) |
| 13930 | |
| 13931 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13932 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13933 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13934 | ) |
| 13935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13937 | target_include_directories(json_fuzzer_test_one_entry |
| 13938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13940 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13941 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13942 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13943 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13944 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13945 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13950 | grpc_test_util |
| 13951 | grpc |
| 13952 | gpr_test_util |
| 13953 | gpr |
| 13954 | ) |
| 13955 | |
| 13956 | endif (gRPC_BUILD_TESTS) |
| 13957 | if (gRPC_BUILD_TESTS) |
| 13958 | |
| 13959 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13960 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13961 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13962 | ) |
| 13963 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13965 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 13966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13969 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13970 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13971 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13972 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13973 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13974 | ) |
| 13975 | |
| 13976 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13978 | grpc_test_util |
| 13979 | grpc |
| 13980 | gpr_test_util |
| 13981 | gpr |
| 13982 | ) |
| 13983 | |
| 13984 | endif (gRPC_BUILD_TESTS) |
| 13985 | if (gRPC_BUILD_TESTS) |
| 13986 | |
| 13987 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13988 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13989 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13990 | ) |
| 13991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13993 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 13994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13997 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13998 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13999 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14000 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14001 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14002 | ) |
| 14003 | |
| 14004 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14005 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14006 | grpc_test_util |
| 14007 | grpc |
| 14008 | gpr_test_util |
| 14009 | gpr |
| 14010 | ) |
| 14011 | |
| 14012 | endif (gRPC_BUILD_TESTS) |
| 14013 | if (gRPC_BUILD_TESTS) |
| 14014 | |
| 14015 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14016 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14017 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14018 | ) |
| 14019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14021 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14024 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14025 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14026 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14027 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14028 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14029 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14030 | ) |
| 14031 | |
| 14032 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14034 | grpc_test_util |
| 14035 | grpc |
| 14036 | gpr_test_util |
| 14037 | gpr |
| 14038 | ) |
| 14039 | |
| 14040 | endif (gRPC_BUILD_TESTS) |
| 14041 | if (gRPC_BUILD_TESTS) |
| 14042 | |
| 14043 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14044 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14045 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14046 | ) |
| 14047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14049 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14053 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14054 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14055 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14056 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14057 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14058 | ) |
| 14059 | |
| 14060 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14061 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14062 | grpc_test_util |
| 14063 | grpc |
| 14064 | gpr_test_util |
| 14065 | gpr |
| 14066 | ) |
| 14067 | |
| 14068 | endif (gRPC_BUILD_TESTS) |
| 14069 | if (gRPC_BUILD_TESTS) |
| 14070 | |
| 14071 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14072 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14073 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14074 | ) |
| 14075 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14076 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14077 | target_include_directories(server_fuzzer_one_entry |
| 14078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14080 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14081 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14082 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14083 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14084 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14085 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14086 | ) |
| 14087 | |
| 14088 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14089 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14090 | grpc_test_util |
| 14091 | grpc |
| 14092 | gpr_test_util |
| 14093 | gpr |
| 14094 | ) |
| 14095 | |
| 14096 | endif (gRPC_BUILD_TESTS) |
| 14097 | if (gRPC_BUILD_TESTS) |
| 14098 | |
| 14099 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14100 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14101 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14102 | ) |
| 14103 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14104 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14105 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14108 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14109 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14110 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14111 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14112 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14113 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14114 | ) |
| 14115 | |
| 14116 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14118 | grpc_test_util |
| 14119 | grpc |
| 14120 | gpr_test_util |
| 14121 | gpr |
| 14122 | ) |
| 14123 | |
| 14124 | endif (gRPC_BUILD_TESTS) |
| 14125 | if (gRPC_BUILD_TESTS) |
| 14126 | |
| 14127 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14128 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14129 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14130 | ) |
| 14131 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14132 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14133 | target_include_directories(uri_fuzzer_test_one_entry |
| 14134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14136 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14137 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14138 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14139 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14140 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14141 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14142 | ) |
| 14143 | |
| 14144 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14145 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14146 | grpc_test_util |
| 14147 | grpc |
| 14148 | gpr_test_util |
| 14149 | gpr |
| 14150 | ) |
| 14151 | |
| 14152 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14153 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14154 | |
| 14155 | |
| 14156 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14157 | |
| 14158 | |
| 14159 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14160 | if (gRPC_INSTALL) |
| 14161 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14162 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14163 | NAMESPACE gRPC:: |
| 14164 | ) |
| 14165 | endif() |
| 14166 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14167 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14168 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14169 | ${_config}.cmake @ONLY) |
| 14170 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14171 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14172 | ) |
| 14173 | endforeach() |