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 | 14e96f9 | 2017-11-27 17:00:13 -0800 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.9.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 | |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "${CMAKE_INSTALL_PREFIX}/lib/cmake/${PACKAGE_NAME}" CACHE PATH "Installation directory for cmake config files") |
| 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 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 49 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 50 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 51 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 52 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 53 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 54 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 55 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 56 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 57 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 58 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 59 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 60 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 61 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 62 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 63 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 64 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 65 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 66 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 67 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 68 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 69 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 70 | 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] | 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | if(UNIX) |
| 73 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 74 | set(_gRPC_PLATFORM_LINUX ON) |
| 75 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 76 | set(_gRPC_PLATFORM_MAC ON) |
| 77 | else() |
| 78 | set(_gRPC_PLATFORM_POSIX ON) |
| 79 | endif() |
| 80 | endif() |
| 81 | if(WIN32) |
| 82 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 83 | endif() |
| 84 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 85 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 86 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 87 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 88 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 89 | 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] | 90 | # needed to compile protobuf |
| 91 | add_definitions(/wd4065 /wd4506) |
| 92 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 93 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 94 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 95 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 96 | endif() |
| 97 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 98 | if (gRPC_USE_PROTO_LITE) |
| 99 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 100 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 101 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 102 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 103 | endif() |
| 104 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 105 | include(cmake/zlib.cmake) |
| 106 | include(cmake/cares.cmake) |
| 107 | include(cmake/protobuf.cmake) |
| 108 | include(cmake/ssl.cmake) |
| 109 | include(cmake/gflags.cmake) |
| 110 | include(cmake/benchmark.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 111 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 112 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 113 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 114 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 115 | endif() |
| 116 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 117 | if(_gRPC_PLATFORM_MAC) |
| 118 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 119 | elseif(UNIX) |
| 120 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 121 | endif() |
| 122 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 123 | if(WIN32 AND MSVC) |
| 124 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 125 | endif() |
| 126 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 127 | # Create directory for generated .proto files |
| 128 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 129 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 130 | |
| 131 | # protobuf_generate_grpc_cpp |
| 132 | # -------------------------- |
| 133 | # |
| 134 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 135 | # GRPC plugin:: |
| 136 | # |
| 137 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 138 | # |
| 139 | # ``ARGN`` |
| 140 | # ``.proto`` files |
| 141 | # |
| 142 | function(protobuf_generate_grpc_cpp) |
| 143 | if(NOT ARGN) |
| 144 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 145 | return() |
| 146 | endif() |
| 147 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 148 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 149 | foreach(FIL ${ARGN}) |
| 150 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 151 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 152 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 153 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 154 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 155 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 156 | add_custom_command( |
| 157 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 158 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 159 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 160 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 161 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 162 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 163 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 164 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 165 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 166 | ${_protobuf_include_path} |
| 167 | ${REL_FIL} |
| 168 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 169 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 170 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 171 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 172 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 173 | 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] | 174 | endforeach() |
| 175 | endfunction() |
| 176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 177 | add_custom_target(plugins |
| 178 | DEPENDS |
| 179 | grpc_cpp_plugin |
| 180 | grpc_csharp_plugin |
| 181 | grpc_node_plugin |
| 182 | grpc_objective_c_plugin |
| 183 | grpc_php_plugin |
| 184 | grpc_python_plugin |
| 185 | grpc_ruby_plugin |
| 186 | ) |
| 187 | |
| 188 | add_custom_target(tools_c |
| 189 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 190 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 191 | grpc_create_jwt |
| 192 | grpc_print_google_default_creds_token |
| 193 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 194 | gen_hpack_tables |
| 195 | gen_legal_metadata_characters |
| 196 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 197 | ) |
| 198 | |
| 199 | add_custom_target(tools_cxx |
| 200 | DEPENDS |
| 201 | ) |
| 202 | |
| 203 | add_custom_target(tools |
| 204 | DEPENDS tools_c tools_cxx) |
| 205 | |
| 206 | if (gRPC_BUILD_TESTS) |
| 207 | add_custom_target(buildtests_c) |
| 208 | add_dependencies(buildtests_c alarm_test) |
| 209 | add_dependencies(buildtests_c algorithm_test) |
| 210 | add_dependencies(buildtests_c alloc_test) |
| 211 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 212 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 213 | add_dependencies(buildtests_c bad_server_response_test) |
| 214 | add_dependencies(buildtests_c bin_decoder_test) |
| 215 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 216 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 217 | add_dependencies(buildtests_c channel_create_test) |
| 218 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 219 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 220 | add_dependencies(buildtests_c chttp2_varint_test) |
| 221 | add_dependencies(buildtests_c combiner_test) |
| 222 | add_dependencies(buildtests_c compression_test) |
| 223 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 224 | add_dependencies(buildtests_c connection_refused_test) |
| 225 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 226 | add_dependencies(buildtests_c dns_resolver_test) |
| 227 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 228 | add_dependencies(buildtests_c dualstack_socket_test) |
| 229 | endif() |
| 230 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 231 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 232 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 233 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 234 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 235 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 236 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 237 | add_dependencies(buildtests_c fake_transport_security_test) |
| 238 | endif() |
| 239 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 240 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 241 | endif() |
| 242 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 243 | add_dependencies(buildtests_c fd_posix_test) |
| 244 | endif() |
| 245 | add_dependencies(buildtests_c fling_client) |
| 246 | add_dependencies(buildtests_c fling_server) |
| 247 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 248 | add_dependencies(buildtests_c fling_stream_test) |
| 249 | endif() |
| 250 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 251 | add_dependencies(buildtests_c fling_test) |
| 252 | endif() |
| 253 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 254 | add_dependencies(buildtests_c goaway_server_test) |
| 255 | endif() |
| 256 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 257 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 258 | add_dependencies(buildtests_c gpr_cpu_test) |
| 259 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 260 | add_dependencies(buildtests_c gpr_host_port_test) |
| 261 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 262 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 263 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 264 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 265 | add_dependencies(buildtests_c gpr_string_test) |
| 266 | add_dependencies(buildtests_c gpr_sync_test) |
| 267 | add_dependencies(buildtests_c gpr_thd_test) |
| 268 | add_dependencies(buildtests_c gpr_time_test) |
| 269 | add_dependencies(buildtests_c gpr_tls_test) |
| 270 | add_dependencies(buildtests_c gpr_useful_test) |
| 271 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 272 | add_dependencies(buildtests_c grpc_b64_test) |
| 273 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 274 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 275 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 276 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 277 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 278 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 279 | add_dependencies(buildtests_c grpc_credentials_test) |
| 280 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 281 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 282 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 283 | add_dependencies(buildtests_c grpc_json_token_test) |
| 284 | endif() |
| 285 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 286 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 287 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 288 | if(_gRPC_PLATFORM_LINUX) |
| 289 | add_dependencies(buildtests_c handshake_client) |
| 290 | endif() |
| 291 | if(_gRPC_PLATFORM_LINUX) |
| 292 | add_dependencies(buildtests_c handshake_server) |
| 293 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 294 | if(_gRPC_PLATFORM_LINUX) |
| 295 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 296 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 297 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 298 | add_dependencies(buildtests_c hpack_parser_test) |
| 299 | add_dependencies(buildtests_c hpack_table_test) |
| 300 | add_dependencies(buildtests_c http_parser_test) |
| 301 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 302 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 303 | add_dependencies(buildtests_c httpcli_test) |
| 304 | endif() |
| 305 | if(_gRPC_PLATFORM_LINUX) |
| 306 | add_dependencies(buildtests_c httpscli_test) |
| 307 | endif() |
| 308 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 309 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 310 | add_dependencies(buildtests_c json_rewrite) |
| 311 | add_dependencies(buildtests_c json_rewrite_test) |
| 312 | add_dependencies(buildtests_c json_stream_error_test) |
| 313 | add_dependencies(buildtests_c json_test) |
| 314 | add_dependencies(buildtests_c lame_client_test) |
| 315 | add_dependencies(buildtests_c lb_policies_test) |
| 316 | add_dependencies(buildtests_c load_file_test) |
| 317 | add_dependencies(buildtests_c memory_profile_client) |
| 318 | add_dependencies(buildtests_c memory_profile_server) |
| 319 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 320 | add_dependencies(buildtests_c memory_profile_test) |
| 321 | endif() |
| 322 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 323 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 324 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 325 | add_dependencies(buildtests_c murmur_hash_test) |
| 326 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 327 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 328 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 329 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 330 | if(_gRPC_PLATFORM_LINUX) |
| 331 | add_dependencies(buildtests_c pollset_set_test) |
| 332 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 333 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 334 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 335 | endif() |
| 336 | add_dependencies(buildtests_c resolve_address_test) |
| 337 | add_dependencies(buildtests_c resource_quota_test) |
| 338 | add_dependencies(buildtests_c secure_channel_create_test) |
| 339 | add_dependencies(buildtests_c secure_endpoint_test) |
| 340 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 341 | add_dependencies(buildtests_c server_chttp2_test) |
| 342 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 343 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 344 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 345 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 346 | add_dependencies(buildtests_c slice_test) |
| 347 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 348 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 349 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 350 | add_dependencies(buildtests_c socket_utils_test) |
| 351 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 352 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 353 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 354 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 355 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 356 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 357 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 358 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 359 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 360 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 361 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 362 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 363 | add_dependencies(buildtests_c tcp_posix_test) |
| 364 | endif() |
| 365 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 366 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 367 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 368 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 369 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 370 | add_dependencies(buildtests_c timeout_encoding_test) |
| 371 | add_dependencies(buildtests_c timer_heap_test) |
| 372 | add_dependencies(buildtests_c timer_list_test) |
| 373 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 374 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 375 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 376 | add_dependencies(buildtests_c transport_security_test) |
| 377 | endif() |
| 378 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 379 | add_dependencies(buildtests_c udp_server_test) |
| 380 | endif() |
| 381 | add_dependencies(buildtests_c uri_parser_test) |
| 382 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 383 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 384 | endif() |
| 385 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 386 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 387 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 388 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 389 | add_dependencies(buildtests_c headers_bad_client_test) |
| 390 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 391 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 392 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 393 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 394 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 395 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 396 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 397 | endif() |
| 398 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 399 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 400 | endif() |
| 401 | add_dependencies(buildtests_c h2_census_test) |
| 402 | add_dependencies(buildtests_c h2_compress_test) |
| 403 | add_dependencies(buildtests_c h2_fakesec_test) |
| 404 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 405 | add_dependencies(buildtests_c h2_fd_test) |
| 406 | endif() |
| 407 | add_dependencies(buildtests_c h2_full_test) |
| 408 | if(_gRPC_PLATFORM_LINUX) |
| 409 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 410 | endif() |
| 411 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 412 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 413 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 414 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 415 | add_dependencies(buildtests_c h2_oauth2_test) |
| 416 | add_dependencies(buildtests_c h2_proxy_test) |
| 417 | add_dependencies(buildtests_c h2_sockpair_test) |
| 418 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 419 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 420 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 421 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 422 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 423 | add_dependencies(buildtests_c h2_uds_test) |
| 424 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 425 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 426 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 427 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 428 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 429 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 430 | endif() |
| 431 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 432 | if(_gRPC_PLATFORM_LINUX) |
| 433 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 434 | endif() |
| 435 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 436 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 437 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 438 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 439 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 440 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 441 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 442 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 443 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 444 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 445 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 446 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 447 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 448 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 449 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 450 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 451 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 452 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 453 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 454 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 455 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 456 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 457 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 458 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 459 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 460 | |
| 461 | add_custom_target(buildtests_cxx) |
| 462 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 463 | add_dependencies(buildtests_cxx async_end2end_test) |
| 464 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 465 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 466 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 467 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 468 | add_dependencies(buildtests_cxx bm_arena) |
| 469 | endif() |
| 470 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 471 | add_dependencies(buildtests_cxx bm_call_create) |
| 472 | endif() |
| 473 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 474 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 475 | endif() |
| 476 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 477 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 478 | endif() |
| 479 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 480 | add_dependencies(buildtests_cxx bm_closure) |
| 481 | endif() |
| 482 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 483 | add_dependencies(buildtests_cxx bm_cq) |
| 484 | endif() |
| 485 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 486 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 487 | endif() |
| 488 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 489 | add_dependencies(buildtests_cxx bm_error) |
| 490 | endif() |
| 491 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 492 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 493 | endif() |
| 494 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 495 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 496 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 497 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 498 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 499 | endif() |
| 500 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 501 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 502 | endif() |
| 503 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 504 | add_dependencies(buildtests_cxx bm_metadata) |
| 505 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 506 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 507 | add_dependencies(buildtests_cxx bm_pollset) |
| 508 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 509 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 510 | add_dependencies(buildtests_cxx channel_filter_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 511 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 512 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 513 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 514 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 515 | add_dependencies(buildtests_cxx client_crash_test) |
| 516 | endif() |
| 517 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 518 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 519 | add_dependencies(buildtests_cxx codegen_test_full) |
| 520 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 521 | add_dependencies(buildtests_cxx credentials_test) |
| 522 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 523 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 524 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 525 | add_dependencies(buildtests_cxx cxx_time_test) |
| 526 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 527 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 528 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 529 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 530 | add_dependencies(buildtests_cxx golden_file_test) |
| 531 | add_dependencies(buildtests_cxx grpc_cli) |
| 532 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 533 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 534 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 535 | add_dependencies(buildtests_cxx grpclb_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 536 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 537 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 538 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 539 | add_dependencies(buildtests_cxx http2_client) |
| 540 | endif() |
| 541 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 542 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 543 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 544 | endif() |
| 545 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 546 | add_dependencies(buildtests_cxx interop_client) |
| 547 | endif() |
| 548 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 549 | add_dependencies(buildtests_cxx interop_server) |
| 550 | endif() |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 552 | add_dependencies(buildtests_cxx interop_test) |
| 553 | endif() |
| 554 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 555 | add_dependencies(buildtests_cxx json_run_localhost) |
| 556 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 557 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 558 | add_dependencies(buildtests_cxx metrics_client) |
| 559 | add_dependencies(buildtests_cxx mock_test) |
| 560 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 561 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 562 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 563 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 564 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 565 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 566 | endif() |
| 567 | add_dependencies(buildtests_cxx qps_json_driver) |
| 568 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 569 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 570 | endif() |
| 571 | add_dependencies(buildtests_cxx qps_worker) |
| 572 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 573 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 574 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 575 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 576 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 577 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 578 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 579 | endif() |
| 580 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 581 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 582 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 583 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 584 | add_dependencies(buildtests_cxx server_crash_test) |
| 585 | endif() |
| 586 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 587 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 588 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 589 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 590 | add_dependencies(buildtests_cxx status_test) |
| 591 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 592 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 593 | endif() |
| 594 | add_dependencies(buildtests_cxx stress_test) |
| 595 | add_dependencies(buildtests_cxx thread_manager_test) |
| 596 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 597 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Mark D. Roth | c6406f3 | 2018-01-10 14:47:37 -0800 | [diff] [blame] | 598 | add_dependencies(buildtests_cxx vector_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 599 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 600 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 601 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 602 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 603 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 604 | endif() |
| 605 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 606 | add_dependencies(buildtests_cxx resolver_component_test) |
| 607 | endif() |
| 608 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 609 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 610 | endif() |
| 611 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 612 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 613 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 614 | |
| 615 | add_custom_target(buildtests |
| 616 | DEPENDS buildtests_c buildtests_cxx) |
| 617 | endif (gRPC_BUILD_TESTS) |
| 618 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 619 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 620 | add_library(gpr |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 621 | src/core/lib/profiling/basic_timers.cc |
| 622 | src/core/lib/profiling/stap_timers.cc |
| 623 | src/core/lib/support/alloc.cc |
| 624 | src/core/lib/support/arena.cc |
| 625 | src/core/lib/support/atm.cc |
| 626 | src/core/lib/support/avl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 627 | src/core/lib/support/cmdline.cc |
| 628 | src/core/lib/support/cpu_iphone.cc |
| 629 | src/core/lib/support/cpu_linux.cc |
| 630 | src/core/lib/support/cpu_posix.cc |
| 631 | src/core/lib/support/cpu_windows.cc |
| 632 | src/core/lib/support/env_linux.cc |
| 633 | src/core/lib/support/env_posix.cc |
| 634 | src/core/lib/support/env_windows.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 635 | src/core/lib/support/fork.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 636 | src/core/lib/support/host_port.cc |
| 637 | src/core/lib/support/log.cc |
| 638 | src/core/lib/support/log_android.cc |
| 639 | src/core/lib/support/log_linux.cc |
| 640 | src/core/lib/support/log_posix.cc |
| 641 | src/core/lib/support/log_windows.cc |
| 642 | src/core/lib/support/mpscq.cc |
| 643 | src/core/lib/support/murmur_hash.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 644 | src/core/lib/support/string.cc |
| 645 | src/core/lib/support/string_posix.cc |
| 646 | src/core/lib/support/string_util_windows.cc |
| 647 | src/core/lib/support/string_windows.cc |
| 648 | src/core/lib/support/subprocess_posix.cc |
| 649 | src/core/lib/support/subprocess_windows.cc |
| 650 | src/core/lib/support/sync.cc |
| 651 | src/core/lib/support/sync_posix.cc |
| 652 | src/core/lib/support/sync_windows.cc |
| 653 | src/core/lib/support/thd.cc |
| 654 | src/core/lib/support/thd_posix.cc |
| 655 | src/core/lib/support/thd_windows.cc |
| 656 | src/core/lib/support/time.cc |
| 657 | src/core/lib/support/time_posix.cc |
| 658 | src/core/lib/support/time_precise.cc |
| 659 | src/core/lib/support/time_windows.cc |
| 660 | src/core/lib/support/tls_pthread.cc |
| 661 | src/core/lib/support/tmpfile_msys.cc |
| 662 | src/core/lib/support/tmpfile_posix.cc |
| 663 | src/core/lib/support/tmpfile_windows.cc |
| 664 | src/core/lib/support/wrap_memcpy.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 665 | ) |
| 666 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 667 | if(WIN32 AND MSVC) |
| 668 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 669 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 670 | ) |
| 671 | if (gRPC_INSTALL) |
| 672 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 673 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 674 | ) |
| 675 | endif() |
| 676 | endif() |
| 677 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 678 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 679 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 680 | 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] | 681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 682 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 683 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 684 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 685 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 687 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 690 | ) |
| 691 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 692 | target_link_libraries(gpr |
| 693 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 694 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 695 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 696 | foreach(_hdr |
| 697 | include/grpc/support/alloc.h |
| 698 | include/grpc/support/atm.h |
| 699 | include/grpc/support/atm_gcc_atomic.h |
| 700 | include/grpc/support/atm_gcc_sync.h |
| 701 | include/grpc/support/atm_windows.h |
| 702 | include/grpc/support/avl.h |
| 703 | include/grpc/support/cmdline.h |
| 704 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 705 | include/grpc/support/host_port.h |
| 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 |
| 710 | include/grpc/support/subprocess.h |
| 711 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 712 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 713 | include/grpc/support/sync_generic.h |
| 714 | include/grpc/support/sync_posix.h |
| 715 | include/grpc/support/sync_windows.h |
| 716 | include/grpc/support/thd.h |
| 717 | include/grpc/support/time.h |
| 718 | include/grpc/support/tls.h |
| 719 | include/grpc/support/tls_gcc.h |
| 720 | include/grpc/support/tls_msvc.h |
| 721 | include/grpc/support/tls_pthread.h |
| 722 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 723 | include/grpc/impl/codegen/atm.h |
| 724 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 725 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 726 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 727 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 728 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 729 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 730 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 731 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 732 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 733 | include/grpc/impl/codegen/sync_generic.h |
| 734 | include/grpc/impl/codegen/sync_posix.h |
| 735 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 736 | ) |
| 737 | string(REPLACE "include/" "" _path ${_hdr}) |
| 738 | get_filename_component(_path ${_path} PATH) |
| 739 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 740 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 741 | ) |
| 742 | endforeach() |
| 743 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 744 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 745 | if (gRPC_INSTALL) |
| 746 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 747 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 748 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 749 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 750 | ) |
| 751 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 752 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 753 | if (gRPC_BUILD_TESTS) |
| 754 | |
| 755 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 756 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 757 | ) |
| 758 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 759 | if(WIN32 AND MSVC) |
| 760 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 761 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 762 | ) |
| 763 | if (gRPC_INSTALL) |
| 764 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 765 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 766 | ) |
| 767 | endif() |
| 768 | endif() |
| 769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 770 | |
| 771 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 772 | 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] | 773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 774 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 775 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 776 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 777 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 779 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 782 | ) |
| 783 | |
| 784 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 785 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 786 | gpr |
| 787 | ) |
| 788 | |
| 789 | |
| 790 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 791 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 792 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 793 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 794 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 795 | src/core/lib/channel/channel_args.cc |
| 796 | src/core/lib/channel/channel_stack.cc |
| 797 | src/core/lib/channel/channel_stack_builder.cc |
| 798 | src/core/lib/channel/connected_channel.cc |
| 799 | src/core/lib/channel/handshaker.cc |
| 800 | src/core/lib/channel/handshaker_factory.cc |
| 801 | src/core/lib/channel/handshaker_registry.cc |
| 802 | src/core/lib/compression/compression.cc |
| 803 | src/core/lib/compression/message_compress.cc |
| 804 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 805 | src/core/lib/compression/stream_compression_gzip.cc |
| 806 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 807 | src/core/lib/debug/stats.cc |
| 808 | src/core/lib/debug/stats_data.cc |
| 809 | src/core/lib/http/format_request.cc |
| 810 | src/core/lib/http/httpcli.cc |
| 811 | src/core/lib/http/parser.cc |
| 812 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 813 | src/core/lib/iomgr/combiner.cc |
| 814 | src/core/lib/iomgr/endpoint.cc |
| 815 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 816 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 817 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 818 | src/core/lib/iomgr/error.cc |
| 819 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 820 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 821 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 822 | src/core/lib/iomgr/ev_poll_posix.cc |
| 823 | src/core/lib/iomgr/ev_posix.cc |
| 824 | src/core/lib/iomgr/ev_windows.cc |
| 825 | src/core/lib/iomgr/exec_ctx.cc |
| 826 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 827 | src/core/lib/iomgr/fork_posix.cc |
| 828 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 829 | src/core/lib/iomgr/gethostname_fallback.cc |
| 830 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 831 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 832 | src/core/lib/iomgr/iocp_windows.cc |
| 833 | src/core/lib/iomgr/iomgr.cc |
| 834 | src/core/lib/iomgr/iomgr_posix.cc |
| 835 | src/core/lib/iomgr/iomgr_uv.cc |
| 836 | src/core/lib/iomgr/iomgr_windows.cc |
| 837 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 838 | src/core/lib/iomgr/load_file.cc |
| 839 | src/core/lib/iomgr/lockfree_event.cc |
| 840 | src/core/lib/iomgr/network_status_tracker.cc |
| 841 | src/core/lib/iomgr/polling_entity.cc |
| 842 | src/core/lib/iomgr/pollset_set_uv.cc |
| 843 | src/core/lib/iomgr/pollset_set_windows.cc |
| 844 | src/core/lib/iomgr/pollset_uv.cc |
| 845 | src/core/lib/iomgr/pollset_windows.cc |
| 846 | src/core/lib/iomgr/resolve_address_posix.cc |
| 847 | src/core/lib/iomgr/resolve_address_uv.cc |
| 848 | src/core/lib/iomgr/resolve_address_windows.cc |
| 849 | src/core/lib/iomgr/resource_quota.cc |
| 850 | src/core/lib/iomgr/sockaddr_utils.cc |
| 851 | src/core/lib/iomgr/socket_factory_posix.cc |
| 852 | src/core/lib/iomgr/socket_mutator.cc |
| 853 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 854 | src/core/lib/iomgr/socket_utils_linux.cc |
| 855 | src/core/lib/iomgr/socket_utils_posix.cc |
| 856 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 857 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 858 | src/core/lib/iomgr/socket_windows.cc |
| 859 | src/core/lib/iomgr/tcp_client_posix.cc |
| 860 | src/core/lib/iomgr/tcp_client_uv.cc |
| 861 | src/core/lib/iomgr/tcp_client_windows.cc |
| 862 | src/core/lib/iomgr/tcp_posix.cc |
| 863 | src/core/lib/iomgr/tcp_server_posix.cc |
| 864 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 865 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 866 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 867 | src/core/lib/iomgr/tcp_server_uv.cc |
| 868 | src/core/lib/iomgr/tcp_server_windows.cc |
| 869 | src/core/lib/iomgr/tcp_uv.cc |
| 870 | src/core/lib/iomgr/tcp_windows.cc |
| 871 | src/core/lib/iomgr/time_averaged_stats.cc |
| 872 | src/core/lib/iomgr/timer_generic.cc |
| 873 | src/core/lib/iomgr/timer_heap.cc |
| 874 | src/core/lib/iomgr/timer_manager.cc |
| 875 | src/core/lib/iomgr/timer_uv.cc |
| 876 | src/core/lib/iomgr/udp_server.cc |
| 877 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 878 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 879 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 880 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 881 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 882 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 883 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 884 | src/core/lib/json/json.cc |
| 885 | src/core/lib/json/json_reader.cc |
| 886 | src/core/lib/json/json_string.cc |
| 887 | src/core/lib/json/json_writer.cc |
| 888 | src/core/lib/slice/b64.cc |
| 889 | src/core/lib/slice/percent_encoding.cc |
| 890 | src/core/lib/slice/slice.cc |
| 891 | src/core/lib/slice/slice_buffer.cc |
| 892 | src/core/lib/slice/slice_hash_table.cc |
| 893 | src/core/lib/slice/slice_intern.cc |
| 894 | src/core/lib/slice/slice_string_helpers.cc |
| 895 | src/core/lib/surface/alarm.cc |
| 896 | src/core/lib/surface/api_trace.cc |
| 897 | src/core/lib/surface/byte_buffer.cc |
| 898 | src/core/lib/surface/byte_buffer_reader.cc |
| 899 | src/core/lib/surface/call.cc |
| 900 | src/core/lib/surface/call_details.cc |
| 901 | src/core/lib/surface/call_log_batch.cc |
| 902 | src/core/lib/surface/channel.cc |
| 903 | src/core/lib/surface/channel_init.cc |
| 904 | src/core/lib/surface/channel_ping.cc |
| 905 | src/core/lib/surface/channel_stack_type.cc |
| 906 | src/core/lib/surface/completion_queue.cc |
| 907 | src/core/lib/surface/completion_queue_factory.cc |
| 908 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 909 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 910 | src/core/lib/surface/metadata_array.cc |
| 911 | src/core/lib/surface/server.cc |
| 912 | src/core/lib/surface/validate_metadata.cc |
| 913 | src/core/lib/surface/version.cc |
| 914 | src/core/lib/transport/bdp_estimator.cc |
| 915 | src/core/lib/transport/byte_stream.cc |
| 916 | src/core/lib/transport/connectivity_state.cc |
| 917 | src/core/lib/transport/error_utils.cc |
| 918 | src/core/lib/transport/metadata.cc |
| 919 | src/core/lib/transport/metadata_batch.cc |
| 920 | src/core/lib/transport/pid_controller.cc |
| 921 | src/core/lib/transport/service_config.cc |
| 922 | src/core/lib/transport/static_metadata.cc |
| 923 | src/core/lib/transport/status_conversion.cc |
| 924 | src/core/lib/transport/timeout_encoding.cc |
| 925 | src/core/lib/transport/transport.cc |
| 926 | src/core/lib/transport/transport_op_string.cc |
| 927 | src/core/lib/debug/trace.cc |
| 928 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 929 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 930 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 931 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 932 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 933 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 934 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 935 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 936 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 937 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 938 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 939 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 940 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 941 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 942 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 943 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 944 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 945 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 946 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 947 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 948 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 949 | src/core/ext/transport/chttp2/transport/varint.cc |
| 950 | src/core/ext/transport/chttp2/transport/writing.cc |
| 951 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 952 | src/core/ext/filters/http/client/http_client_filter.cc |
| 953 | src/core/ext/filters/http/http_filters_plugin.cc |
| 954 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 955 | src/core/ext/filters/http/server/http_server_filter.cc |
| 956 | src/core/lib/http/httpcli_security_connector.cc |
| 957 | src/core/lib/security/context/security_context.cc |
| 958 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 959 | src/core/lib/security/credentials/credentials.cc |
| 960 | src/core/lib/security/credentials/credentials_metadata.cc |
| 961 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 962 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 963 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 964 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 965 | src/core/lib/security/credentials/jwt/json_token.cc |
| 966 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 967 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 968 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 969 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 970 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 971 | src/core/lib/security/transport/client_auth_filter.cc |
| 972 | src/core/lib/security/transport/lb_targets_info.cc |
| 973 | src/core/lib/security/transport/secure_endpoint.cc |
| 974 | src/core/lib/security/transport/security_connector.cc |
| 975 | src/core/lib/security/transport/security_handshaker.cc |
| 976 | src/core/lib/security/transport/server_auth_filter.cc |
| 977 | src/core/lib/security/transport/tsi_error.cc |
| 978 | src/core/lib/security/util/json_util.cc |
| 979 | src/core/lib/surface/init_secure.cc |
| 980 | src/core/tsi/fake_transport_security.cc |
| 981 | src/core/tsi/gts_transport_security.cc |
| 982 | src/core/tsi/ssl_transport_security.cc |
| 983 | src/core/tsi/transport_security_grpc.cc |
| 984 | src/core/tsi/transport_security.cc |
| 985 | src/core/tsi/transport_security_adapter.cc |
| 986 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 987 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 988 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 989 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 990 | src/core/ext/filters/client_channel/client_channel.cc |
| 991 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 992 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 993 | src/core/ext/filters/client_channel/connector.cc |
| 994 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 995 | src/core/ext/filters/client_channel/http_proxy.cc |
| 996 | src/core/ext/filters/client_channel/lb_policy.cc |
| 997 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 998 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 999 | src/core/ext/filters/client_channel/parse_address.cc |
| 1000 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1001 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1002 | src/core/ext/filters/client_channel/resolver.cc |
| 1003 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1004 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1005 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1006 | src/core/ext/filters/client_channel/subchannel.cc |
| 1007 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1008 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1009 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1010 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1011 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1012 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1013 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1014 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1015 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1016 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1017 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1018 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1019 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1020 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1021 | 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] | 1022 | 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] | 1023 | third_party/nanopb/pb_common.c |
| 1024 | third_party/nanopb/pb_decode.c |
| 1025 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1026 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1027 | 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] | 1028 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1029 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1030 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1031 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1032 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1033 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1034 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1035 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1036 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1037 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1038 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1039 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1040 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1041 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1042 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1043 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1044 | ) |
| 1045 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1046 | if(WIN32 AND MSVC) |
| 1047 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1048 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1049 | ) |
| 1050 | if (gRPC_INSTALL) |
| 1051 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1052 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1053 | ) |
| 1054 | endif() |
| 1055 | endif() |
| 1056 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1057 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1058 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1059 | 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] | 1060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1061 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1062 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1063 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1064 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1066 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1069 | ) |
| 1070 | |
| 1071 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1072 | ${_gRPC_BASELIB_LIBRARIES} |
| 1073 | ${_gRPC_SSL_LIBRARIES} |
| 1074 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1075 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1077 | gpr |
| 1078 | ) |
| 1079 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1080 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1081 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1082 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1083 | include/grpc/impl/codegen/compression_types.h |
| 1084 | include/grpc/impl/codegen/connectivity_state.h |
| 1085 | include/grpc/impl/codegen/grpc_types.h |
| 1086 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1087 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1088 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1089 | include/grpc/impl/codegen/atm.h |
| 1090 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1091 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1092 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1093 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1094 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1095 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1096 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1097 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1098 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1099 | include/grpc/impl/codegen/sync_generic.h |
| 1100 | include/grpc/impl/codegen/sync_posix.h |
| 1101 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1102 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1103 | include/grpc/byte_buffer.h |
| 1104 | include/grpc/byte_buffer_reader.h |
| 1105 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1106 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1107 | include/grpc/grpc.h |
| 1108 | include/grpc/grpc_posix.h |
| 1109 | include/grpc/grpc_security_constants.h |
| 1110 | include/grpc/load_reporting.h |
| 1111 | include/grpc/slice.h |
| 1112 | include/grpc/slice_buffer.h |
| 1113 | include/grpc/status.h |
| 1114 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1115 | include/grpc/census.h |
| 1116 | ) |
| 1117 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1118 | get_filename_component(_path ${_path} PATH) |
| 1119 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1120 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1121 | ) |
| 1122 | endforeach() |
| 1123 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1124 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1125 | if (gRPC_INSTALL) |
| 1126 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1127 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1128 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1129 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1130 | ) |
| 1131 | endif() |
| 1132 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1133 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1134 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1135 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1136 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1137 | src/core/lib/channel/channel_args.cc |
| 1138 | src/core/lib/channel/channel_stack.cc |
| 1139 | src/core/lib/channel/channel_stack_builder.cc |
| 1140 | src/core/lib/channel/connected_channel.cc |
| 1141 | src/core/lib/channel/handshaker.cc |
| 1142 | src/core/lib/channel/handshaker_factory.cc |
| 1143 | src/core/lib/channel/handshaker_registry.cc |
| 1144 | src/core/lib/compression/compression.cc |
| 1145 | src/core/lib/compression/message_compress.cc |
| 1146 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1147 | src/core/lib/compression/stream_compression_gzip.cc |
| 1148 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1149 | src/core/lib/debug/stats.cc |
| 1150 | src/core/lib/debug/stats_data.cc |
| 1151 | src/core/lib/http/format_request.cc |
| 1152 | src/core/lib/http/httpcli.cc |
| 1153 | src/core/lib/http/parser.cc |
| 1154 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1155 | src/core/lib/iomgr/combiner.cc |
| 1156 | src/core/lib/iomgr/endpoint.cc |
| 1157 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1158 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1159 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1160 | src/core/lib/iomgr/error.cc |
| 1161 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1162 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1163 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1164 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1165 | src/core/lib/iomgr/ev_posix.cc |
| 1166 | src/core/lib/iomgr/ev_windows.cc |
| 1167 | src/core/lib/iomgr/exec_ctx.cc |
| 1168 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1169 | src/core/lib/iomgr/fork_posix.cc |
| 1170 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1171 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1172 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1173 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1174 | src/core/lib/iomgr/iocp_windows.cc |
| 1175 | src/core/lib/iomgr/iomgr.cc |
| 1176 | src/core/lib/iomgr/iomgr_posix.cc |
| 1177 | src/core/lib/iomgr/iomgr_uv.cc |
| 1178 | src/core/lib/iomgr/iomgr_windows.cc |
| 1179 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1180 | src/core/lib/iomgr/load_file.cc |
| 1181 | src/core/lib/iomgr/lockfree_event.cc |
| 1182 | src/core/lib/iomgr/network_status_tracker.cc |
| 1183 | src/core/lib/iomgr/polling_entity.cc |
| 1184 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1185 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1186 | src/core/lib/iomgr/pollset_uv.cc |
| 1187 | src/core/lib/iomgr/pollset_windows.cc |
| 1188 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1189 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1190 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1191 | src/core/lib/iomgr/resource_quota.cc |
| 1192 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1193 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1194 | src/core/lib/iomgr/socket_mutator.cc |
| 1195 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1196 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1197 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1198 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1199 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1200 | src/core/lib/iomgr/socket_windows.cc |
| 1201 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1202 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1203 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1204 | src/core/lib/iomgr/tcp_posix.cc |
| 1205 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1206 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1207 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1208 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1209 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1210 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1211 | src/core/lib/iomgr/tcp_uv.cc |
| 1212 | src/core/lib/iomgr/tcp_windows.cc |
| 1213 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1214 | src/core/lib/iomgr/timer_generic.cc |
| 1215 | src/core/lib/iomgr/timer_heap.cc |
| 1216 | src/core/lib/iomgr/timer_manager.cc |
| 1217 | src/core/lib/iomgr/timer_uv.cc |
| 1218 | src/core/lib/iomgr/udp_server.cc |
| 1219 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1220 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1221 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1222 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1223 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1224 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1225 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1226 | src/core/lib/json/json.cc |
| 1227 | src/core/lib/json/json_reader.cc |
| 1228 | src/core/lib/json/json_string.cc |
| 1229 | src/core/lib/json/json_writer.cc |
| 1230 | src/core/lib/slice/b64.cc |
| 1231 | src/core/lib/slice/percent_encoding.cc |
| 1232 | src/core/lib/slice/slice.cc |
| 1233 | src/core/lib/slice/slice_buffer.cc |
| 1234 | src/core/lib/slice/slice_hash_table.cc |
| 1235 | src/core/lib/slice/slice_intern.cc |
| 1236 | src/core/lib/slice/slice_string_helpers.cc |
| 1237 | src/core/lib/surface/alarm.cc |
| 1238 | src/core/lib/surface/api_trace.cc |
| 1239 | src/core/lib/surface/byte_buffer.cc |
| 1240 | src/core/lib/surface/byte_buffer_reader.cc |
| 1241 | src/core/lib/surface/call.cc |
| 1242 | src/core/lib/surface/call_details.cc |
| 1243 | src/core/lib/surface/call_log_batch.cc |
| 1244 | src/core/lib/surface/channel.cc |
| 1245 | src/core/lib/surface/channel_init.cc |
| 1246 | src/core/lib/surface/channel_ping.cc |
| 1247 | src/core/lib/surface/channel_stack_type.cc |
| 1248 | src/core/lib/surface/completion_queue.cc |
| 1249 | src/core/lib/surface/completion_queue_factory.cc |
| 1250 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1251 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1252 | src/core/lib/surface/metadata_array.cc |
| 1253 | src/core/lib/surface/server.cc |
| 1254 | src/core/lib/surface/validate_metadata.cc |
| 1255 | src/core/lib/surface/version.cc |
| 1256 | src/core/lib/transport/bdp_estimator.cc |
| 1257 | src/core/lib/transport/byte_stream.cc |
| 1258 | src/core/lib/transport/connectivity_state.cc |
| 1259 | src/core/lib/transport/error_utils.cc |
| 1260 | src/core/lib/transport/metadata.cc |
| 1261 | src/core/lib/transport/metadata_batch.cc |
| 1262 | src/core/lib/transport/pid_controller.cc |
| 1263 | src/core/lib/transport/service_config.cc |
| 1264 | src/core/lib/transport/static_metadata.cc |
| 1265 | src/core/lib/transport/status_conversion.cc |
| 1266 | src/core/lib/transport/timeout_encoding.cc |
| 1267 | src/core/lib/transport/transport.cc |
| 1268 | src/core/lib/transport/transport_op_string.cc |
| 1269 | src/core/lib/debug/trace.cc |
| 1270 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1271 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1272 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1273 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1274 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1275 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1276 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1277 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1278 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1279 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1280 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1281 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1282 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1283 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1284 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1285 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1286 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1287 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1288 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1289 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1290 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1291 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1292 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1293 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1294 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1295 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1296 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1297 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1298 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1299 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1300 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1301 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1302 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1303 | src/core/ext/filters/client_channel/client_channel.cc |
| 1304 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1305 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1306 | src/core/ext/filters/client_channel/connector.cc |
| 1307 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1308 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1309 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1310 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1311 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1312 | src/core/ext/filters/client_channel/parse_address.cc |
| 1313 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1314 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1315 | src/core/ext/filters/client_channel/resolver.cc |
| 1316 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1317 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1318 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1319 | src/core/ext/filters/client_channel/subchannel.cc |
| 1320 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1321 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1322 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1323 | src/core/lib/http/httpcli_security_connector.cc |
| 1324 | src/core/lib/security/context/security_context.cc |
| 1325 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1326 | src/core/lib/security/credentials/credentials.cc |
| 1327 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1328 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1329 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1330 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1331 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1332 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1333 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1334 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1335 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1336 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1337 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1338 | src/core/lib/security/transport/client_auth_filter.cc |
| 1339 | src/core/lib/security/transport/lb_targets_info.cc |
| 1340 | src/core/lib/security/transport/secure_endpoint.cc |
| 1341 | src/core/lib/security/transport/security_connector.cc |
| 1342 | src/core/lib/security/transport/security_handshaker.cc |
| 1343 | src/core/lib/security/transport/server_auth_filter.cc |
| 1344 | src/core/lib/security/transport/tsi_error.cc |
| 1345 | src/core/lib/security/util/json_util.cc |
| 1346 | src/core/lib/surface/init_secure.cc |
| 1347 | src/core/tsi/fake_transport_security.cc |
| 1348 | src/core/tsi/gts_transport_security.cc |
| 1349 | src/core/tsi/ssl_transport_security.cc |
| 1350 | src/core/tsi/transport_security_grpc.cc |
| 1351 | src/core/tsi/transport_security.cc |
| 1352 | src/core/tsi/transport_security_adapter.cc |
| 1353 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1354 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1355 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1356 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1357 | ) |
| 1358 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1359 | if(WIN32 AND MSVC) |
| 1360 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1361 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1362 | ) |
| 1363 | if (gRPC_INSTALL) |
| 1364 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1365 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1366 | ) |
| 1367 | endif() |
| 1368 | endif() |
| 1369 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1370 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1371 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1372 | 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] | 1373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1374 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1375 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1376 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1377 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1379 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1382 | ) |
| 1383 | |
| 1384 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1385 | ${_gRPC_BASELIB_LIBRARIES} |
| 1386 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1387 | ${_gRPC_ZLIB_LIBRARIES} |
| 1388 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1390 | gpr |
| 1391 | ) |
| 1392 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1393 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1394 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1395 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1396 | include/grpc/impl/codegen/compression_types.h |
| 1397 | include/grpc/impl/codegen/connectivity_state.h |
| 1398 | include/grpc/impl/codegen/grpc_types.h |
| 1399 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1400 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1401 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1402 | include/grpc/impl/codegen/atm.h |
| 1403 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1404 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1405 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1406 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1407 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1408 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1409 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1410 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1411 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1412 | include/grpc/impl/codegen/sync_generic.h |
| 1413 | include/grpc/impl/codegen/sync_posix.h |
| 1414 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1415 | include/grpc/grpc_cronet.h |
| 1416 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1417 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1418 | ) |
| 1419 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1420 | get_filename_component(_path ${_path} PATH) |
| 1421 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1422 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1423 | ) |
| 1424 | endforeach() |
| 1425 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1426 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1427 | if (gRPC_INSTALL) |
| 1428 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1429 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1430 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1431 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1432 | ) |
| 1433 | endif() |
| 1434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1435 | if (gRPC_BUILD_TESTS) |
| 1436 | |
| 1437 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1438 | test/core/end2end/data/client_certs.cc |
| 1439 | test/core/end2end/data/server1_cert.cc |
| 1440 | test/core/end2end/data/server1_key.cc |
| 1441 | test/core/end2end/data/test_root_cert.cc |
| 1442 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1443 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1444 | test/core/end2end/cq_verifier.cc |
| 1445 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1446 | test/core/end2end/fixtures/proxy.cc |
| 1447 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1448 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1449 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1450 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1451 | test/core/util/memory_counters.cc |
| 1452 | test/core/util/mock_endpoint.cc |
| 1453 | test/core/util/parse_hexstring.cc |
| 1454 | test/core/util/passthru_endpoint.cc |
| 1455 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1456 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1457 | test/core/util/port_server_client.cc |
| 1458 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1459 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1460 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1461 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1462 | src/core/lib/channel/channel_args.cc |
| 1463 | src/core/lib/channel/channel_stack.cc |
| 1464 | src/core/lib/channel/channel_stack_builder.cc |
| 1465 | src/core/lib/channel/connected_channel.cc |
| 1466 | src/core/lib/channel/handshaker.cc |
| 1467 | src/core/lib/channel/handshaker_factory.cc |
| 1468 | src/core/lib/channel/handshaker_registry.cc |
| 1469 | src/core/lib/compression/compression.cc |
| 1470 | src/core/lib/compression/message_compress.cc |
| 1471 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1472 | src/core/lib/compression/stream_compression_gzip.cc |
| 1473 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1474 | src/core/lib/debug/stats.cc |
| 1475 | src/core/lib/debug/stats_data.cc |
| 1476 | src/core/lib/http/format_request.cc |
| 1477 | src/core/lib/http/httpcli.cc |
| 1478 | src/core/lib/http/parser.cc |
| 1479 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1480 | src/core/lib/iomgr/combiner.cc |
| 1481 | src/core/lib/iomgr/endpoint.cc |
| 1482 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1483 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1484 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1485 | src/core/lib/iomgr/error.cc |
| 1486 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1487 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1488 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1489 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1490 | src/core/lib/iomgr/ev_posix.cc |
| 1491 | src/core/lib/iomgr/ev_windows.cc |
| 1492 | src/core/lib/iomgr/exec_ctx.cc |
| 1493 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1494 | src/core/lib/iomgr/fork_posix.cc |
| 1495 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1496 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1497 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1498 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1499 | src/core/lib/iomgr/iocp_windows.cc |
| 1500 | src/core/lib/iomgr/iomgr.cc |
| 1501 | src/core/lib/iomgr/iomgr_posix.cc |
| 1502 | src/core/lib/iomgr/iomgr_uv.cc |
| 1503 | src/core/lib/iomgr/iomgr_windows.cc |
| 1504 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1505 | src/core/lib/iomgr/load_file.cc |
| 1506 | src/core/lib/iomgr/lockfree_event.cc |
| 1507 | src/core/lib/iomgr/network_status_tracker.cc |
| 1508 | src/core/lib/iomgr/polling_entity.cc |
| 1509 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1510 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1511 | src/core/lib/iomgr/pollset_uv.cc |
| 1512 | src/core/lib/iomgr/pollset_windows.cc |
| 1513 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1514 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1515 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1516 | src/core/lib/iomgr/resource_quota.cc |
| 1517 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1518 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1519 | src/core/lib/iomgr/socket_mutator.cc |
| 1520 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1521 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1522 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1523 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1524 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1525 | src/core/lib/iomgr/socket_windows.cc |
| 1526 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1527 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1528 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1529 | src/core/lib/iomgr/tcp_posix.cc |
| 1530 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1531 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1532 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1533 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1534 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1535 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1536 | src/core/lib/iomgr/tcp_uv.cc |
| 1537 | src/core/lib/iomgr/tcp_windows.cc |
| 1538 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1539 | src/core/lib/iomgr/timer_generic.cc |
| 1540 | src/core/lib/iomgr/timer_heap.cc |
| 1541 | src/core/lib/iomgr/timer_manager.cc |
| 1542 | src/core/lib/iomgr/timer_uv.cc |
| 1543 | src/core/lib/iomgr/udp_server.cc |
| 1544 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1545 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1546 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1547 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1548 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1549 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1550 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1551 | src/core/lib/json/json.cc |
| 1552 | src/core/lib/json/json_reader.cc |
| 1553 | src/core/lib/json/json_string.cc |
| 1554 | src/core/lib/json/json_writer.cc |
| 1555 | src/core/lib/slice/b64.cc |
| 1556 | src/core/lib/slice/percent_encoding.cc |
| 1557 | src/core/lib/slice/slice.cc |
| 1558 | src/core/lib/slice/slice_buffer.cc |
| 1559 | src/core/lib/slice/slice_hash_table.cc |
| 1560 | src/core/lib/slice/slice_intern.cc |
| 1561 | src/core/lib/slice/slice_string_helpers.cc |
| 1562 | src/core/lib/surface/alarm.cc |
| 1563 | src/core/lib/surface/api_trace.cc |
| 1564 | src/core/lib/surface/byte_buffer.cc |
| 1565 | src/core/lib/surface/byte_buffer_reader.cc |
| 1566 | src/core/lib/surface/call.cc |
| 1567 | src/core/lib/surface/call_details.cc |
| 1568 | src/core/lib/surface/call_log_batch.cc |
| 1569 | src/core/lib/surface/channel.cc |
| 1570 | src/core/lib/surface/channel_init.cc |
| 1571 | src/core/lib/surface/channel_ping.cc |
| 1572 | src/core/lib/surface/channel_stack_type.cc |
| 1573 | src/core/lib/surface/completion_queue.cc |
| 1574 | src/core/lib/surface/completion_queue_factory.cc |
| 1575 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1576 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1577 | src/core/lib/surface/metadata_array.cc |
| 1578 | src/core/lib/surface/server.cc |
| 1579 | src/core/lib/surface/validate_metadata.cc |
| 1580 | src/core/lib/surface/version.cc |
| 1581 | src/core/lib/transport/bdp_estimator.cc |
| 1582 | src/core/lib/transport/byte_stream.cc |
| 1583 | src/core/lib/transport/connectivity_state.cc |
| 1584 | src/core/lib/transport/error_utils.cc |
| 1585 | src/core/lib/transport/metadata.cc |
| 1586 | src/core/lib/transport/metadata_batch.cc |
| 1587 | src/core/lib/transport/pid_controller.cc |
| 1588 | src/core/lib/transport/service_config.cc |
| 1589 | src/core/lib/transport/static_metadata.cc |
| 1590 | src/core/lib/transport/status_conversion.cc |
| 1591 | src/core/lib/transport/timeout_encoding.cc |
| 1592 | src/core/lib/transport/transport.cc |
| 1593 | src/core/lib/transport/transport_op_string.cc |
| 1594 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1595 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1596 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1597 | src/core/ext/filters/client_channel/client_channel.cc |
| 1598 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1599 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1600 | src/core/ext/filters/client_channel/connector.cc |
| 1601 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1602 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1603 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1604 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1605 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1606 | src/core/ext/filters/client_channel/parse_address.cc |
| 1607 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1608 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1609 | src/core/ext/filters/client_channel/resolver.cc |
| 1610 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1611 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1612 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1613 | src/core/ext/filters/client_channel/subchannel.cc |
| 1614 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1615 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1616 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1617 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1618 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1619 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1620 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1621 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1622 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1623 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1624 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1625 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1626 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1627 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1628 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1629 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1630 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1631 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1632 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1633 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1634 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1635 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1636 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1637 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1638 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1639 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1640 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1641 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1642 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1643 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1644 | ) |
| 1645 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1646 | if(WIN32 AND MSVC) |
| 1647 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1648 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1649 | ) |
| 1650 | if (gRPC_INSTALL) |
| 1651 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1652 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1653 | ) |
| 1654 | endif() |
| 1655 | endif() |
| 1656 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1657 | |
| 1658 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1659 | 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] | 1660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1661 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1662 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1663 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1664 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1666 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1669 | ) |
| 1670 | |
| 1671 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1673 | gpr_test_util |
| 1674 | gpr |
| 1675 | grpc |
| 1676 | ) |
| 1677 | |
| 1678 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1679 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1680 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1681 | include/grpc/impl/codegen/compression_types.h |
| 1682 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1683 | include/grpc/impl/codegen/grpc_types.h |
| 1684 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1685 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1686 | include/grpc/impl/codegen/status.h |
| 1687 | include/grpc/impl/codegen/atm.h |
| 1688 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1689 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1690 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1691 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1692 | include/grpc/impl/codegen/gpr_slice.h |
| 1693 | include/grpc/impl/codegen/gpr_types.h |
| 1694 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1695 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1696 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1697 | include/grpc/impl/codegen/sync_generic.h |
| 1698 | include/grpc/impl/codegen/sync_posix.h |
| 1699 | include/grpc/impl/codegen/sync_windows.h |
| 1700 | ) |
| 1701 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1702 | get_filename_component(_path ${_path} PATH) |
| 1703 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1704 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1705 | ) |
| 1706 | endforeach() |
| 1707 | |
| 1708 | endif (gRPC_BUILD_TESTS) |
| 1709 | if (gRPC_BUILD_TESTS) |
| 1710 | |
| 1711 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1712 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1713 | test/core/end2end/cq_verifier.cc |
| 1714 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1715 | test/core/end2end/fixtures/proxy.cc |
| 1716 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1717 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1718 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1719 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1720 | test/core/util/memory_counters.cc |
| 1721 | test/core/util/mock_endpoint.cc |
| 1722 | test/core/util/parse_hexstring.cc |
| 1723 | test/core/util/passthru_endpoint.cc |
| 1724 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1725 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1726 | test/core/util/port_server_client.cc |
| 1727 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1728 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1729 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1730 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1731 | src/core/lib/channel/channel_args.cc |
| 1732 | src/core/lib/channel/channel_stack.cc |
| 1733 | src/core/lib/channel/channel_stack_builder.cc |
| 1734 | src/core/lib/channel/connected_channel.cc |
| 1735 | src/core/lib/channel/handshaker.cc |
| 1736 | src/core/lib/channel/handshaker_factory.cc |
| 1737 | src/core/lib/channel/handshaker_registry.cc |
| 1738 | src/core/lib/compression/compression.cc |
| 1739 | src/core/lib/compression/message_compress.cc |
| 1740 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1741 | src/core/lib/compression/stream_compression_gzip.cc |
| 1742 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1743 | src/core/lib/debug/stats.cc |
| 1744 | src/core/lib/debug/stats_data.cc |
| 1745 | src/core/lib/http/format_request.cc |
| 1746 | src/core/lib/http/httpcli.cc |
| 1747 | src/core/lib/http/parser.cc |
| 1748 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1749 | src/core/lib/iomgr/combiner.cc |
| 1750 | src/core/lib/iomgr/endpoint.cc |
| 1751 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1752 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1753 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1754 | src/core/lib/iomgr/error.cc |
| 1755 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1756 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1757 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1758 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1759 | src/core/lib/iomgr/ev_posix.cc |
| 1760 | src/core/lib/iomgr/ev_windows.cc |
| 1761 | src/core/lib/iomgr/exec_ctx.cc |
| 1762 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1763 | src/core/lib/iomgr/fork_posix.cc |
| 1764 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1765 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1766 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1767 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1768 | src/core/lib/iomgr/iocp_windows.cc |
| 1769 | src/core/lib/iomgr/iomgr.cc |
| 1770 | src/core/lib/iomgr/iomgr_posix.cc |
| 1771 | src/core/lib/iomgr/iomgr_uv.cc |
| 1772 | src/core/lib/iomgr/iomgr_windows.cc |
| 1773 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1774 | src/core/lib/iomgr/load_file.cc |
| 1775 | src/core/lib/iomgr/lockfree_event.cc |
| 1776 | src/core/lib/iomgr/network_status_tracker.cc |
| 1777 | src/core/lib/iomgr/polling_entity.cc |
| 1778 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1779 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1780 | src/core/lib/iomgr/pollset_uv.cc |
| 1781 | src/core/lib/iomgr/pollset_windows.cc |
| 1782 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1783 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1784 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1785 | src/core/lib/iomgr/resource_quota.cc |
| 1786 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1787 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1788 | src/core/lib/iomgr/socket_mutator.cc |
| 1789 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1790 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1791 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1792 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1793 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1794 | src/core/lib/iomgr/socket_windows.cc |
| 1795 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1796 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1797 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1798 | src/core/lib/iomgr/tcp_posix.cc |
| 1799 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1800 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1801 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1802 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1803 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1804 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1805 | src/core/lib/iomgr/tcp_uv.cc |
| 1806 | src/core/lib/iomgr/tcp_windows.cc |
| 1807 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1808 | src/core/lib/iomgr/timer_generic.cc |
| 1809 | src/core/lib/iomgr/timer_heap.cc |
| 1810 | src/core/lib/iomgr/timer_manager.cc |
| 1811 | src/core/lib/iomgr/timer_uv.cc |
| 1812 | src/core/lib/iomgr/udp_server.cc |
| 1813 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1814 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1815 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1816 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1817 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1818 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1819 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1820 | src/core/lib/json/json.cc |
| 1821 | src/core/lib/json/json_reader.cc |
| 1822 | src/core/lib/json/json_string.cc |
| 1823 | src/core/lib/json/json_writer.cc |
| 1824 | src/core/lib/slice/b64.cc |
| 1825 | src/core/lib/slice/percent_encoding.cc |
| 1826 | src/core/lib/slice/slice.cc |
| 1827 | src/core/lib/slice/slice_buffer.cc |
| 1828 | src/core/lib/slice/slice_hash_table.cc |
| 1829 | src/core/lib/slice/slice_intern.cc |
| 1830 | src/core/lib/slice/slice_string_helpers.cc |
| 1831 | src/core/lib/surface/alarm.cc |
| 1832 | src/core/lib/surface/api_trace.cc |
| 1833 | src/core/lib/surface/byte_buffer.cc |
| 1834 | src/core/lib/surface/byte_buffer_reader.cc |
| 1835 | src/core/lib/surface/call.cc |
| 1836 | src/core/lib/surface/call_details.cc |
| 1837 | src/core/lib/surface/call_log_batch.cc |
| 1838 | src/core/lib/surface/channel.cc |
| 1839 | src/core/lib/surface/channel_init.cc |
| 1840 | src/core/lib/surface/channel_ping.cc |
| 1841 | src/core/lib/surface/channel_stack_type.cc |
| 1842 | src/core/lib/surface/completion_queue.cc |
| 1843 | src/core/lib/surface/completion_queue_factory.cc |
| 1844 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1845 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1846 | src/core/lib/surface/metadata_array.cc |
| 1847 | src/core/lib/surface/server.cc |
| 1848 | src/core/lib/surface/validate_metadata.cc |
| 1849 | src/core/lib/surface/version.cc |
| 1850 | src/core/lib/transport/bdp_estimator.cc |
| 1851 | src/core/lib/transport/byte_stream.cc |
| 1852 | src/core/lib/transport/connectivity_state.cc |
| 1853 | src/core/lib/transport/error_utils.cc |
| 1854 | src/core/lib/transport/metadata.cc |
| 1855 | src/core/lib/transport/metadata_batch.cc |
| 1856 | src/core/lib/transport/pid_controller.cc |
| 1857 | src/core/lib/transport/service_config.cc |
| 1858 | src/core/lib/transport/static_metadata.cc |
| 1859 | src/core/lib/transport/status_conversion.cc |
| 1860 | src/core/lib/transport/timeout_encoding.cc |
| 1861 | src/core/lib/transport/transport.cc |
| 1862 | src/core/lib/transport/transport_op_string.cc |
| 1863 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1864 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1865 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1866 | src/core/ext/filters/client_channel/client_channel.cc |
| 1867 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1868 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1869 | src/core/ext/filters/client_channel/connector.cc |
| 1870 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1871 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1872 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1873 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1874 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1875 | src/core/ext/filters/client_channel/parse_address.cc |
| 1876 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1877 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1878 | src/core/ext/filters/client_channel/resolver.cc |
| 1879 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1880 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1881 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1882 | src/core/ext/filters/client_channel/subchannel.cc |
| 1883 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1884 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1885 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1886 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1887 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1888 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1889 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1890 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1891 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1892 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1893 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1894 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1895 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1896 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1897 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1898 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1899 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1900 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1901 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1902 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1903 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1904 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1905 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1906 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1907 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1908 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1909 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1910 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1911 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1912 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1913 | ) |
| 1914 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1915 | if(WIN32 AND MSVC) |
| 1916 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1917 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1918 | ) |
| 1919 | if (gRPC_INSTALL) |
| 1920 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1921 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1922 | ) |
| 1923 | endif() |
| 1924 | endif() |
| 1925 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1926 | |
| 1927 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1928 | 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] | 1929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1930 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1931 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1932 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1933 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1935 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1938 | ) |
| 1939 | |
| 1940 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1942 | gpr |
| 1943 | gpr_test_util |
| 1944 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1945 | ) |
| 1946 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1947 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1948 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1949 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1950 | include/grpc/impl/codegen/compression_types.h |
| 1951 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1952 | include/grpc/impl/codegen/grpc_types.h |
| 1953 | include/grpc/impl/codegen/propagation_bits.h |
| 1954 | include/grpc/impl/codegen/slice.h |
| 1955 | include/grpc/impl/codegen/status.h |
| 1956 | include/grpc/impl/codegen/atm.h |
| 1957 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1958 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1959 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1960 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1961 | include/grpc/impl/codegen/gpr_slice.h |
| 1962 | include/grpc/impl/codegen/gpr_types.h |
| 1963 | include/grpc/impl/codegen/port_platform.h |
| 1964 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1965 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1966 | include/grpc/impl/codegen/sync_generic.h |
| 1967 | include/grpc/impl/codegen/sync_posix.h |
| 1968 | include/grpc/impl/codegen/sync_windows.h |
| 1969 | ) |
| 1970 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1971 | get_filename_component(_path ${_path} PATH) |
| 1972 | install(FILES ${_hdr} |
| 1973 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 1974 | ) |
| 1975 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1976 | |
| 1977 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1978 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1979 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1980 | src/core/lib/surface/init.cc |
| 1981 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1982 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1983 | src/core/lib/channel/channel_args.cc |
| 1984 | src/core/lib/channel/channel_stack.cc |
| 1985 | src/core/lib/channel/channel_stack_builder.cc |
| 1986 | src/core/lib/channel/connected_channel.cc |
| 1987 | src/core/lib/channel/handshaker.cc |
| 1988 | src/core/lib/channel/handshaker_factory.cc |
| 1989 | src/core/lib/channel/handshaker_registry.cc |
| 1990 | src/core/lib/compression/compression.cc |
| 1991 | src/core/lib/compression/message_compress.cc |
| 1992 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1993 | src/core/lib/compression/stream_compression_gzip.cc |
| 1994 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1995 | src/core/lib/debug/stats.cc |
| 1996 | src/core/lib/debug/stats_data.cc |
| 1997 | src/core/lib/http/format_request.cc |
| 1998 | src/core/lib/http/httpcli.cc |
| 1999 | src/core/lib/http/parser.cc |
| 2000 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2001 | src/core/lib/iomgr/combiner.cc |
| 2002 | src/core/lib/iomgr/endpoint.cc |
| 2003 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2004 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2005 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2006 | src/core/lib/iomgr/error.cc |
| 2007 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2008 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2009 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2010 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2011 | src/core/lib/iomgr/ev_posix.cc |
| 2012 | src/core/lib/iomgr/ev_windows.cc |
| 2013 | src/core/lib/iomgr/exec_ctx.cc |
| 2014 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2015 | src/core/lib/iomgr/fork_posix.cc |
| 2016 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2017 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2018 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2019 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2020 | src/core/lib/iomgr/iocp_windows.cc |
| 2021 | src/core/lib/iomgr/iomgr.cc |
| 2022 | src/core/lib/iomgr/iomgr_posix.cc |
| 2023 | src/core/lib/iomgr/iomgr_uv.cc |
| 2024 | src/core/lib/iomgr/iomgr_windows.cc |
| 2025 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2026 | src/core/lib/iomgr/load_file.cc |
| 2027 | src/core/lib/iomgr/lockfree_event.cc |
| 2028 | src/core/lib/iomgr/network_status_tracker.cc |
| 2029 | src/core/lib/iomgr/polling_entity.cc |
| 2030 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2031 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2032 | src/core/lib/iomgr/pollset_uv.cc |
| 2033 | src/core/lib/iomgr/pollset_windows.cc |
| 2034 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2035 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2036 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2037 | src/core/lib/iomgr/resource_quota.cc |
| 2038 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2039 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2040 | src/core/lib/iomgr/socket_mutator.cc |
| 2041 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2042 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2043 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2044 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2045 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2046 | src/core/lib/iomgr/socket_windows.cc |
| 2047 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2048 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2049 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2050 | src/core/lib/iomgr/tcp_posix.cc |
| 2051 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2052 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2053 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2054 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2055 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2056 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2057 | src/core/lib/iomgr/tcp_uv.cc |
| 2058 | src/core/lib/iomgr/tcp_windows.cc |
| 2059 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2060 | src/core/lib/iomgr/timer_generic.cc |
| 2061 | src/core/lib/iomgr/timer_heap.cc |
| 2062 | src/core/lib/iomgr/timer_manager.cc |
| 2063 | src/core/lib/iomgr/timer_uv.cc |
| 2064 | src/core/lib/iomgr/udp_server.cc |
| 2065 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2066 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2067 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2068 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2069 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2070 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2071 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2072 | src/core/lib/json/json.cc |
| 2073 | src/core/lib/json/json_reader.cc |
| 2074 | src/core/lib/json/json_string.cc |
| 2075 | src/core/lib/json/json_writer.cc |
| 2076 | src/core/lib/slice/b64.cc |
| 2077 | src/core/lib/slice/percent_encoding.cc |
| 2078 | src/core/lib/slice/slice.cc |
| 2079 | src/core/lib/slice/slice_buffer.cc |
| 2080 | src/core/lib/slice/slice_hash_table.cc |
| 2081 | src/core/lib/slice/slice_intern.cc |
| 2082 | src/core/lib/slice/slice_string_helpers.cc |
| 2083 | src/core/lib/surface/alarm.cc |
| 2084 | src/core/lib/surface/api_trace.cc |
| 2085 | src/core/lib/surface/byte_buffer.cc |
| 2086 | src/core/lib/surface/byte_buffer_reader.cc |
| 2087 | src/core/lib/surface/call.cc |
| 2088 | src/core/lib/surface/call_details.cc |
| 2089 | src/core/lib/surface/call_log_batch.cc |
| 2090 | src/core/lib/surface/channel.cc |
| 2091 | src/core/lib/surface/channel_init.cc |
| 2092 | src/core/lib/surface/channel_ping.cc |
| 2093 | src/core/lib/surface/channel_stack_type.cc |
| 2094 | src/core/lib/surface/completion_queue.cc |
| 2095 | src/core/lib/surface/completion_queue_factory.cc |
| 2096 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2097 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2098 | src/core/lib/surface/metadata_array.cc |
| 2099 | src/core/lib/surface/server.cc |
| 2100 | src/core/lib/surface/validate_metadata.cc |
| 2101 | src/core/lib/surface/version.cc |
| 2102 | src/core/lib/transport/bdp_estimator.cc |
| 2103 | src/core/lib/transport/byte_stream.cc |
| 2104 | src/core/lib/transport/connectivity_state.cc |
| 2105 | src/core/lib/transport/error_utils.cc |
| 2106 | src/core/lib/transport/metadata.cc |
| 2107 | src/core/lib/transport/metadata_batch.cc |
| 2108 | src/core/lib/transport/pid_controller.cc |
| 2109 | src/core/lib/transport/service_config.cc |
| 2110 | src/core/lib/transport/static_metadata.cc |
| 2111 | src/core/lib/transport/status_conversion.cc |
| 2112 | src/core/lib/transport/timeout_encoding.cc |
| 2113 | src/core/lib/transport/transport.cc |
| 2114 | src/core/lib/transport/transport_op_string.cc |
| 2115 | src/core/lib/debug/trace.cc |
| 2116 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2117 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2118 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2119 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2120 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2121 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2122 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2123 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2124 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2125 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2126 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2127 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2128 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2129 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2130 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2131 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2132 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2133 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2134 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2135 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2136 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2137 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2138 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2139 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2140 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2141 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2142 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2143 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2144 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2145 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2146 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2147 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2148 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2149 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2150 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2151 | src/core/ext/filters/client_channel/client_channel.cc |
| 2152 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2153 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2154 | src/core/ext/filters/client_channel/connector.cc |
| 2155 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2156 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2157 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2158 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2159 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2160 | src/core/ext/filters/client_channel/parse_address.cc |
| 2161 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2162 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2163 | src/core/ext/filters/client_channel/resolver.cc |
| 2164 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2165 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2166 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2167 | src/core/ext/filters/client_channel/subchannel.cc |
| 2168 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2169 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2170 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2171 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2172 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2173 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2174 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2175 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2176 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2177 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2178 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2179 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2180 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2181 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2182 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2183 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2184 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2185 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2186 | 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] | 2187 | 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] | 2188 | third_party/nanopb/pb_common.c |
| 2189 | third_party/nanopb/pb_decode.c |
| 2190 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2191 | 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] | 2192 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2193 | 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] | 2194 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2195 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2196 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2197 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2198 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2199 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2200 | ) |
| 2201 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2202 | if(WIN32 AND MSVC) |
| 2203 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2204 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2205 | ) |
| 2206 | if (gRPC_INSTALL) |
| 2207 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2208 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2209 | ) |
| 2210 | endif() |
| 2211 | endif() |
| 2212 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2213 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2214 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2215 | 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] | 2216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2217 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2219 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2220 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2222 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2225 | ) |
| 2226 | |
| 2227 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2228 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2229 | ${_gRPC_ZLIB_LIBRARIES} |
| 2230 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2232 | gpr |
| 2233 | ) |
| 2234 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2235 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2236 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2237 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2238 | include/grpc/impl/codegen/compression_types.h |
| 2239 | include/grpc/impl/codegen/connectivity_state.h |
| 2240 | include/grpc/impl/codegen/grpc_types.h |
| 2241 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2242 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2243 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2244 | include/grpc/impl/codegen/atm.h |
| 2245 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2246 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2247 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2248 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2249 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2250 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2251 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2252 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2253 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2254 | include/grpc/impl/codegen/sync_generic.h |
| 2255 | include/grpc/impl/codegen/sync_posix.h |
| 2256 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2257 | include/grpc/byte_buffer.h |
| 2258 | include/grpc/byte_buffer_reader.h |
| 2259 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2260 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2261 | include/grpc/grpc.h |
| 2262 | include/grpc/grpc_posix.h |
| 2263 | include/grpc/grpc_security_constants.h |
| 2264 | include/grpc/load_reporting.h |
| 2265 | include/grpc/slice.h |
| 2266 | include/grpc/slice_buffer.h |
| 2267 | include/grpc/status.h |
| 2268 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2269 | include/grpc/census.h |
| 2270 | ) |
| 2271 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2272 | get_filename_component(_path ${_path} PATH) |
| 2273 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2274 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2275 | ) |
| 2276 | endforeach() |
| 2277 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2278 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2279 | if (gRPC_INSTALL) |
| 2280 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2281 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2282 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2283 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2284 | ) |
| 2285 | endif() |
| 2286 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2287 | if (gRPC_BUILD_TESTS) |
| 2288 | |
| 2289 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2290 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2291 | ) |
| 2292 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2293 | if(WIN32 AND MSVC) |
| 2294 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2295 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2296 | ) |
| 2297 | if (gRPC_INSTALL) |
| 2298 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2299 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2300 | ) |
| 2301 | endif() |
| 2302 | endif() |
| 2303 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2304 | |
| 2305 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2306 | 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] | 2307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2308 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2309 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2310 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2311 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2313 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2316 | ) |
| 2317 | |
| 2318 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2320 | test_tcp_server |
| 2321 | grpc_test_util |
| 2322 | grpc |
| 2323 | gpr_test_util |
| 2324 | gpr |
| 2325 | ) |
| 2326 | |
| 2327 | |
| 2328 | endif (gRPC_BUILD_TESTS) |
| 2329 | if (gRPC_BUILD_TESTS) |
| 2330 | |
| 2331 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2332 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2333 | ) |
| 2334 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2335 | if(WIN32 AND MSVC) |
| 2336 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2337 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2338 | ) |
| 2339 | if (gRPC_INSTALL) |
| 2340 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2341 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2342 | ) |
| 2343 | endif() |
| 2344 | endif() |
| 2345 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2346 | |
| 2347 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2348 | 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] | 2349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2350 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2351 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2352 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2353 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2355 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2358 | ) |
| 2359 | |
| 2360 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2362 | grpc_test_util |
| 2363 | grpc |
| 2364 | gpr_test_util |
| 2365 | gpr |
| 2366 | ) |
| 2367 | |
| 2368 | |
| 2369 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2370 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2371 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2372 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2373 | src/cpp/client/secure_credentials.cc |
| 2374 | src/cpp/common/auth_property_iterator.cc |
| 2375 | src/cpp/common/secure_auth_context.cc |
| 2376 | src/cpp/common/secure_channel_arguments.cc |
| 2377 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2378 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2379 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2380 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2381 | src/cpp/client/client_context.cc |
| 2382 | src/cpp/client/create_channel.cc |
| 2383 | src/cpp/client/create_channel_internal.cc |
| 2384 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2385 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2386 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2387 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2388 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2389 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2390 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2391 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2392 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2393 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2394 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2395 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2396 | src/cpp/server/create_default_thread_pool.cc |
| 2397 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2398 | src/cpp/server/health/default_health_check_service.cc |
| 2399 | src/cpp/server/health/health.pb.c |
| 2400 | src/cpp/server/health/health_check_service.cc |
| 2401 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2402 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2403 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2404 | src/cpp/server/server_context.cc |
| 2405 | src/cpp/server/server_credentials.cc |
| 2406 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2407 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2408 | src/cpp/util/byte_buffer_cc.cc |
| 2409 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2410 | src/cpp/util/status.cc |
| 2411 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2412 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2413 | src/cpp/codegen/codegen_init.cc |
| 2414 | ) |
| 2415 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2416 | if(WIN32 AND MSVC) |
| 2417 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2418 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2419 | ) |
| 2420 | if (gRPC_INSTALL) |
| 2421 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2422 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2423 | ) |
| 2424 | endif() |
| 2425 | endif() |
| 2426 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2427 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2428 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2429 | 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] | 2430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2431 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2432 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2433 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2434 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2436 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2439 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2440 | ) |
| 2441 | |
| 2442 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2443 | ${_gRPC_BASELIB_LIBRARIES} |
| 2444 | ${_gRPC_SSL_LIBRARIES} |
| 2445 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2447 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2448 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2449 | ) |
| 2450 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2451 | foreach(_hdr |
| 2452 | include/grpc++/alarm.h |
| 2453 | include/grpc++/channel.h |
| 2454 | include/grpc++/client_context.h |
| 2455 | include/grpc++/completion_queue.h |
| 2456 | include/grpc++/create_channel.h |
| 2457 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2458 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2459 | include/grpc++/generic/async_generic_service.h |
| 2460 | include/grpc++/generic/generic_stub.h |
| 2461 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2462 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2463 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2464 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2465 | include/grpc++/impl/client_unary_call.h |
| 2466 | include/grpc++/impl/codegen/core_codegen.h |
| 2467 | include/grpc++/impl/grpc_library.h |
| 2468 | include/grpc++/impl/method_handler_impl.h |
| 2469 | include/grpc++/impl/rpc_method.h |
| 2470 | include/grpc++/impl/rpc_service_method.h |
| 2471 | include/grpc++/impl/serialization_traits.h |
| 2472 | include/grpc++/impl/server_builder_option.h |
| 2473 | include/grpc++/impl/server_builder_plugin.h |
| 2474 | include/grpc++/impl/server_initializer.h |
| 2475 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2476 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2477 | include/grpc++/security/auth_context.h |
| 2478 | include/grpc++/security/auth_metadata_processor.h |
| 2479 | include/grpc++/security/credentials.h |
| 2480 | include/grpc++/security/server_credentials.h |
| 2481 | include/grpc++/server.h |
| 2482 | include/grpc++/server_builder.h |
| 2483 | include/grpc++/server_context.h |
| 2484 | include/grpc++/server_posix.h |
| 2485 | include/grpc++/support/async_stream.h |
| 2486 | include/grpc++/support/async_unary_call.h |
| 2487 | include/grpc++/support/byte_buffer.h |
| 2488 | include/grpc++/support/channel_arguments.h |
| 2489 | include/grpc++/support/config.h |
| 2490 | include/grpc++/support/slice.h |
| 2491 | include/grpc++/support/status.h |
| 2492 | include/grpc++/support/status_code_enum.h |
| 2493 | include/grpc++/support/string_ref.h |
| 2494 | include/grpc++/support/stub_options.h |
| 2495 | include/grpc++/support/sync_stream.h |
| 2496 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2497 | include/grpc/support/alloc.h |
| 2498 | include/grpc/support/atm.h |
| 2499 | include/grpc/support/atm_gcc_atomic.h |
| 2500 | include/grpc/support/atm_gcc_sync.h |
| 2501 | include/grpc/support/atm_windows.h |
| 2502 | include/grpc/support/avl.h |
| 2503 | include/grpc/support/cmdline.h |
| 2504 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2505 | include/grpc/support/host_port.h |
| 2506 | include/grpc/support/log.h |
| 2507 | include/grpc/support/log_windows.h |
| 2508 | include/grpc/support/port_platform.h |
| 2509 | include/grpc/support/string_util.h |
| 2510 | include/grpc/support/subprocess.h |
| 2511 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2512 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2513 | include/grpc/support/sync_generic.h |
| 2514 | include/grpc/support/sync_posix.h |
| 2515 | include/grpc/support/sync_windows.h |
| 2516 | include/grpc/support/thd.h |
| 2517 | include/grpc/support/time.h |
| 2518 | include/grpc/support/tls.h |
| 2519 | include/grpc/support/tls_gcc.h |
| 2520 | include/grpc/support/tls_msvc.h |
| 2521 | include/grpc/support/tls_pthread.h |
| 2522 | include/grpc/support/useful.h |
| 2523 | include/grpc/impl/codegen/atm.h |
| 2524 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2525 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2526 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2527 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2528 | include/grpc/impl/codegen/gpr_slice.h |
| 2529 | include/grpc/impl/codegen/gpr_types.h |
| 2530 | include/grpc/impl/codegen/port_platform.h |
| 2531 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2532 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2533 | include/grpc/impl/codegen/sync_generic.h |
| 2534 | include/grpc/impl/codegen/sync_posix.h |
| 2535 | include/grpc/impl/codegen/sync_windows.h |
| 2536 | include/grpc/byte_buffer.h |
| 2537 | include/grpc/byte_buffer_reader.h |
| 2538 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2539 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2540 | include/grpc/grpc.h |
| 2541 | include/grpc/grpc_posix.h |
| 2542 | include/grpc/grpc_security_constants.h |
| 2543 | include/grpc/load_reporting.h |
| 2544 | include/grpc/slice.h |
| 2545 | include/grpc/slice_buffer.h |
| 2546 | include/grpc/status.h |
| 2547 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2548 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2549 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2550 | include/grpc/impl/codegen/compression_types.h |
| 2551 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2552 | include/grpc/impl/codegen/grpc_types.h |
| 2553 | include/grpc/impl/codegen/propagation_bits.h |
| 2554 | include/grpc/impl/codegen/slice.h |
| 2555 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2556 | include/grpc++/impl/codegen/async_stream.h |
| 2557 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2558 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2559 | include/grpc++/impl/codegen/call.h |
| 2560 | include/grpc++/impl/codegen/call_hook.h |
| 2561 | include/grpc++/impl/codegen/channel_interface.h |
| 2562 | include/grpc++/impl/codegen/client_context.h |
| 2563 | include/grpc++/impl/codegen/client_unary_call.h |
| 2564 | include/grpc++/impl/codegen/completion_queue.h |
| 2565 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2566 | include/grpc++/impl/codegen/config.h |
| 2567 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2568 | include/grpc++/impl/codegen/create_auth_context.h |
| 2569 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2570 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2571 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2572 | include/grpc++/impl/codegen/rpc_method.h |
| 2573 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2574 | include/grpc++/impl/codegen/security/auth_context.h |
| 2575 | include/grpc++/impl/codegen/serialization_traits.h |
| 2576 | include/grpc++/impl/codegen/server_context.h |
| 2577 | include/grpc++/impl/codegen/server_interface.h |
| 2578 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2579 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2580 | include/grpc++/impl/codegen/status.h |
| 2581 | include/grpc++/impl/codegen/status_code_enum.h |
| 2582 | include/grpc++/impl/codegen/string_ref.h |
| 2583 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2584 | include/grpc++/impl/codegen/sync_stream.h |
| 2585 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2586 | include/grpc++/impl/codegen/proto_utils.h |
| 2587 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2588 | ) |
| 2589 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2590 | get_filename_component(_path ${_path} PATH) |
| 2591 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2592 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2593 | ) |
| 2594 | endforeach() |
| 2595 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2596 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2597 | if (gRPC_INSTALL) |
| 2598 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2599 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2600 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2601 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2602 | ) |
| 2603 | endif() |
| 2604 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2605 | if (gRPC_BUILD_TESTS) |
| 2606 | |
| 2607 | add_library(grpc++_core_stats |
| 2608 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2609 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2610 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2611 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2612 | src/cpp/util/core_stats.cc |
| 2613 | ) |
| 2614 | |
| 2615 | if(WIN32 AND MSVC) |
| 2616 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2617 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2618 | ) |
| 2619 | if (gRPC_INSTALL) |
| 2620 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2621 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2622 | ) |
| 2623 | endif() |
| 2624 | endif() |
| 2625 | |
| 2626 | protobuf_generate_grpc_cpp( |
| 2627 | src/proto/grpc/core/stats.proto |
| 2628 | ) |
| 2629 | |
| 2630 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2631 | 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] | 2632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2633 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2634 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2635 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2636 | PRIVATE ${BENCHMARK}/include |
| 2637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2638 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2641 | PRIVATE third_party/googletest/googletest/include |
| 2642 | PRIVATE third_party/googletest/googletest |
| 2643 | PRIVATE third_party/googletest/googlemock/include |
| 2644 | PRIVATE third_party/googletest/googlemock |
| 2645 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2646 | ) |
| 2647 | |
| 2648 | target_link_libraries(grpc++_core_stats |
| 2649 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2650 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2651 | grpc++ |
| 2652 | ) |
| 2653 | |
| 2654 | foreach(_hdr |
| 2655 | src/cpp/util/core_stats.h |
| 2656 | ) |
| 2657 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2658 | get_filename_component(_path ${_path} PATH) |
| 2659 | install(FILES ${_hdr} |
| 2660 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2661 | ) |
| 2662 | endforeach() |
| 2663 | |
| 2664 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2665 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2666 | add_library(grpc++_cronet |
| 2667 | src/cpp/client/cronet_credentials.cc |
| 2668 | src/cpp/client/insecure_credentials.cc |
| 2669 | src/cpp/common/insecure_create_auth_context.cc |
| 2670 | src/cpp/server/insecure_server_credentials.cc |
| 2671 | src/cpp/client/channel_cc.cc |
| 2672 | src/cpp/client/client_context.cc |
| 2673 | src/cpp/client/create_channel.cc |
| 2674 | src/cpp/client/create_channel_internal.cc |
| 2675 | src/cpp/client/create_channel_posix.cc |
| 2676 | src/cpp/client/credentials_cc.cc |
| 2677 | src/cpp/client/generic_stub.cc |
| 2678 | src/cpp/common/channel_arguments.cc |
| 2679 | src/cpp/common/channel_filter.cc |
| 2680 | src/cpp/common/completion_queue_cc.cc |
| 2681 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2682 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2683 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2684 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2685 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2686 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2687 | src/cpp/server/create_default_thread_pool.cc |
| 2688 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2689 | src/cpp/server/health/default_health_check_service.cc |
| 2690 | src/cpp/server/health/health.pb.c |
| 2691 | src/cpp/server/health/health_check_service.cc |
| 2692 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2693 | src/cpp/server/server_builder.cc |
| 2694 | src/cpp/server/server_cc.cc |
| 2695 | src/cpp/server/server_context.cc |
| 2696 | src/cpp/server/server_credentials.cc |
| 2697 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2698 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2699 | src/cpp/util/byte_buffer_cc.cc |
| 2700 | src/cpp/util/slice_cc.cc |
| 2701 | src/cpp/util/status.cc |
| 2702 | src/cpp/util/string_ref.cc |
| 2703 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2704 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2705 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2706 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2707 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2708 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2709 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2710 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2711 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2712 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2713 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2714 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2715 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2716 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2717 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2718 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2719 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2720 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2721 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2722 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2723 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2724 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2725 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2726 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2727 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2728 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2729 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2730 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2731 | src/core/lib/channel/channel_args.cc |
| 2732 | src/core/lib/channel/channel_stack.cc |
| 2733 | src/core/lib/channel/channel_stack_builder.cc |
| 2734 | src/core/lib/channel/connected_channel.cc |
| 2735 | src/core/lib/channel/handshaker.cc |
| 2736 | src/core/lib/channel/handshaker_factory.cc |
| 2737 | src/core/lib/channel/handshaker_registry.cc |
| 2738 | src/core/lib/compression/compression.cc |
| 2739 | src/core/lib/compression/message_compress.cc |
| 2740 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2741 | src/core/lib/compression/stream_compression_gzip.cc |
| 2742 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2743 | src/core/lib/debug/stats.cc |
| 2744 | src/core/lib/debug/stats_data.cc |
| 2745 | src/core/lib/http/format_request.cc |
| 2746 | src/core/lib/http/httpcli.cc |
| 2747 | src/core/lib/http/parser.cc |
| 2748 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2749 | src/core/lib/iomgr/combiner.cc |
| 2750 | src/core/lib/iomgr/endpoint.cc |
| 2751 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2752 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2753 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2754 | src/core/lib/iomgr/error.cc |
| 2755 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2756 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2757 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2758 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2759 | src/core/lib/iomgr/ev_posix.cc |
| 2760 | src/core/lib/iomgr/ev_windows.cc |
| 2761 | src/core/lib/iomgr/exec_ctx.cc |
| 2762 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2763 | src/core/lib/iomgr/fork_posix.cc |
| 2764 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2765 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2766 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2767 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2768 | src/core/lib/iomgr/iocp_windows.cc |
| 2769 | src/core/lib/iomgr/iomgr.cc |
| 2770 | src/core/lib/iomgr/iomgr_posix.cc |
| 2771 | src/core/lib/iomgr/iomgr_uv.cc |
| 2772 | src/core/lib/iomgr/iomgr_windows.cc |
| 2773 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2774 | src/core/lib/iomgr/load_file.cc |
| 2775 | src/core/lib/iomgr/lockfree_event.cc |
| 2776 | src/core/lib/iomgr/network_status_tracker.cc |
| 2777 | src/core/lib/iomgr/polling_entity.cc |
| 2778 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2779 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2780 | src/core/lib/iomgr/pollset_uv.cc |
| 2781 | src/core/lib/iomgr/pollset_windows.cc |
| 2782 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2783 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2784 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2785 | src/core/lib/iomgr/resource_quota.cc |
| 2786 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2787 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2788 | src/core/lib/iomgr/socket_mutator.cc |
| 2789 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2790 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2791 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2792 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2793 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2794 | src/core/lib/iomgr/socket_windows.cc |
| 2795 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2796 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2797 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2798 | src/core/lib/iomgr/tcp_posix.cc |
| 2799 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2800 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2801 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2802 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2803 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2804 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2805 | src/core/lib/iomgr/tcp_uv.cc |
| 2806 | src/core/lib/iomgr/tcp_windows.cc |
| 2807 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2808 | src/core/lib/iomgr/timer_generic.cc |
| 2809 | src/core/lib/iomgr/timer_heap.cc |
| 2810 | src/core/lib/iomgr/timer_manager.cc |
| 2811 | src/core/lib/iomgr/timer_uv.cc |
| 2812 | src/core/lib/iomgr/udp_server.cc |
| 2813 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2814 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2815 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2816 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2817 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2818 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2819 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2820 | src/core/lib/json/json.cc |
| 2821 | src/core/lib/json/json_reader.cc |
| 2822 | src/core/lib/json/json_string.cc |
| 2823 | src/core/lib/json/json_writer.cc |
| 2824 | src/core/lib/slice/b64.cc |
| 2825 | src/core/lib/slice/percent_encoding.cc |
| 2826 | src/core/lib/slice/slice.cc |
| 2827 | src/core/lib/slice/slice_buffer.cc |
| 2828 | src/core/lib/slice/slice_hash_table.cc |
| 2829 | src/core/lib/slice/slice_intern.cc |
| 2830 | src/core/lib/slice/slice_string_helpers.cc |
| 2831 | src/core/lib/surface/alarm.cc |
| 2832 | src/core/lib/surface/api_trace.cc |
| 2833 | src/core/lib/surface/byte_buffer.cc |
| 2834 | src/core/lib/surface/byte_buffer_reader.cc |
| 2835 | src/core/lib/surface/call.cc |
| 2836 | src/core/lib/surface/call_details.cc |
| 2837 | src/core/lib/surface/call_log_batch.cc |
| 2838 | src/core/lib/surface/channel.cc |
| 2839 | src/core/lib/surface/channel_init.cc |
| 2840 | src/core/lib/surface/channel_ping.cc |
| 2841 | src/core/lib/surface/channel_stack_type.cc |
| 2842 | src/core/lib/surface/completion_queue.cc |
| 2843 | src/core/lib/surface/completion_queue_factory.cc |
| 2844 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2845 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2846 | src/core/lib/surface/metadata_array.cc |
| 2847 | src/core/lib/surface/server.cc |
| 2848 | src/core/lib/surface/validate_metadata.cc |
| 2849 | src/core/lib/surface/version.cc |
| 2850 | src/core/lib/transport/bdp_estimator.cc |
| 2851 | src/core/lib/transport/byte_stream.cc |
| 2852 | src/core/lib/transport/connectivity_state.cc |
| 2853 | src/core/lib/transport/error_utils.cc |
| 2854 | src/core/lib/transport/metadata.cc |
| 2855 | src/core/lib/transport/metadata_batch.cc |
| 2856 | src/core/lib/transport/pid_controller.cc |
| 2857 | src/core/lib/transport/service_config.cc |
| 2858 | src/core/lib/transport/static_metadata.cc |
| 2859 | src/core/lib/transport/status_conversion.cc |
| 2860 | src/core/lib/transport/timeout_encoding.cc |
| 2861 | src/core/lib/transport/transport.cc |
| 2862 | src/core/lib/transport/transport_op_string.cc |
| 2863 | src/core/lib/debug/trace.cc |
| 2864 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2865 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2866 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2867 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2868 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2869 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2870 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2871 | src/core/ext/filters/client_channel/client_channel.cc |
| 2872 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2873 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2874 | src/core/ext/filters/client_channel/connector.cc |
| 2875 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2876 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2877 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2878 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2879 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2880 | src/core/ext/filters/client_channel/parse_address.cc |
| 2881 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2882 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2883 | src/core/ext/filters/client_channel/resolver.cc |
| 2884 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2885 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2886 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2887 | src/core/ext/filters/client_channel/subchannel.cc |
| 2888 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2889 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2890 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2891 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2892 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2893 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2894 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2895 | third_party/nanopb/pb_common.c |
| 2896 | third_party/nanopb/pb_decode.c |
| 2897 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2898 | ) |
| 2899 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2900 | if(WIN32 AND MSVC) |
| 2901 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2902 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2903 | ) |
| 2904 | if (gRPC_INSTALL) |
| 2905 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2906 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2907 | ) |
| 2908 | endif() |
| 2909 | endif() |
| 2910 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2911 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2912 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2913 | 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] | 2914 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2915 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2916 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2917 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2918 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2920 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2923 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2924 | ) |
| 2925 | |
| 2926 | target_link_libraries(grpc++_cronet |
| 2927 | ${_gRPC_BASELIB_LIBRARIES} |
| 2928 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2929 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2930 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2931 | gpr |
| 2932 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2933 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2934 | ) |
| 2935 | |
| 2936 | foreach(_hdr |
| 2937 | include/grpc++/alarm.h |
| 2938 | include/grpc++/channel.h |
| 2939 | include/grpc++/client_context.h |
| 2940 | include/grpc++/completion_queue.h |
| 2941 | include/grpc++/create_channel.h |
| 2942 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2943 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2944 | include/grpc++/generic/async_generic_service.h |
| 2945 | include/grpc++/generic/generic_stub.h |
| 2946 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2947 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2948 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2949 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2950 | include/grpc++/impl/client_unary_call.h |
| 2951 | include/grpc++/impl/codegen/core_codegen.h |
| 2952 | include/grpc++/impl/grpc_library.h |
| 2953 | include/grpc++/impl/method_handler_impl.h |
| 2954 | include/grpc++/impl/rpc_method.h |
| 2955 | include/grpc++/impl/rpc_service_method.h |
| 2956 | include/grpc++/impl/serialization_traits.h |
| 2957 | include/grpc++/impl/server_builder_option.h |
| 2958 | include/grpc++/impl/server_builder_plugin.h |
| 2959 | include/grpc++/impl/server_initializer.h |
| 2960 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2961 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2962 | include/grpc++/security/auth_context.h |
| 2963 | include/grpc++/security/auth_metadata_processor.h |
| 2964 | include/grpc++/security/credentials.h |
| 2965 | include/grpc++/security/server_credentials.h |
| 2966 | include/grpc++/server.h |
| 2967 | include/grpc++/server_builder.h |
| 2968 | include/grpc++/server_context.h |
| 2969 | include/grpc++/server_posix.h |
| 2970 | include/grpc++/support/async_stream.h |
| 2971 | include/grpc++/support/async_unary_call.h |
| 2972 | include/grpc++/support/byte_buffer.h |
| 2973 | include/grpc++/support/channel_arguments.h |
| 2974 | include/grpc++/support/config.h |
| 2975 | include/grpc++/support/slice.h |
| 2976 | include/grpc++/support/status.h |
| 2977 | include/grpc++/support/status_code_enum.h |
| 2978 | include/grpc++/support/string_ref.h |
| 2979 | include/grpc++/support/stub_options.h |
| 2980 | include/grpc++/support/sync_stream.h |
| 2981 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2982 | include/grpc/support/alloc.h |
| 2983 | include/grpc/support/atm.h |
| 2984 | include/grpc/support/atm_gcc_atomic.h |
| 2985 | include/grpc/support/atm_gcc_sync.h |
| 2986 | include/grpc/support/atm_windows.h |
| 2987 | include/grpc/support/avl.h |
| 2988 | include/grpc/support/cmdline.h |
| 2989 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2990 | include/grpc/support/host_port.h |
| 2991 | include/grpc/support/log.h |
| 2992 | include/grpc/support/log_windows.h |
| 2993 | include/grpc/support/port_platform.h |
| 2994 | include/grpc/support/string_util.h |
| 2995 | include/grpc/support/subprocess.h |
| 2996 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2997 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2998 | include/grpc/support/sync_generic.h |
| 2999 | include/grpc/support/sync_posix.h |
| 3000 | include/grpc/support/sync_windows.h |
| 3001 | include/grpc/support/thd.h |
| 3002 | include/grpc/support/time.h |
| 3003 | include/grpc/support/tls.h |
| 3004 | include/grpc/support/tls_gcc.h |
| 3005 | include/grpc/support/tls_msvc.h |
| 3006 | include/grpc/support/tls_pthread.h |
| 3007 | include/grpc/support/useful.h |
| 3008 | include/grpc/impl/codegen/atm.h |
| 3009 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3010 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3011 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3012 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3013 | include/grpc/impl/codegen/gpr_slice.h |
| 3014 | include/grpc/impl/codegen/gpr_types.h |
| 3015 | include/grpc/impl/codegen/port_platform.h |
| 3016 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3017 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3018 | include/grpc/impl/codegen/sync_generic.h |
| 3019 | include/grpc/impl/codegen/sync_posix.h |
| 3020 | include/grpc/impl/codegen/sync_windows.h |
| 3021 | include/grpc/byte_buffer.h |
| 3022 | include/grpc/byte_buffer_reader.h |
| 3023 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3024 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3025 | include/grpc/grpc.h |
| 3026 | include/grpc/grpc_posix.h |
| 3027 | include/grpc/grpc_security_constants.h |
| 3028 | include/grpc/load_reporting.h |
| 3029 | include/grpc/slice.h |
| 3030 | include/grpc/slice_buffer.h |
| 3031 | include/grpc/status.h |
| 3032 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3033 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3034 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3035 | include/grpc/impl/codegen/compression_types.h |
| 3036 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3037 | include/grpc/impl/codegen/grpc_types.h |
| 3038 | include/grpc/impl/codegen/propagation_bits.h |
| 3039 | include/grpc/impl/codegen/slice.h |
| 3040 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3041 | include/grpc++/impl/codegen/async_stream.h |
| 3042 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3043 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3044 | include/grpc++/impl/codegen/call.h |
| 3045 | include/grpc++/impl/codegen/call_hook.h |
| 3046 | include/grpc++/impl/codegen/channel_interface.h |
| 3047 | include/grpc++/impl/codegen/client_context.h |
| 3048 | include/grpc++/impl/codegen/client_unary_call.h |
| 3049 | include/grpc++/impl/codegen/completion_queue.h |
| 3050 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3051 | include/grpc++/impl/codegen/config.h |
| 3052 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3053 | include/grpc++/impl/codegen/create_auth_context.h |
| 3054 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3055 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3056 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3057 | include/grpc++/impl/codegen/rpc_method.h |
| 3058 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3059 | include/grpc++/impl/codegen/security/auth_context.h |
| 3060 | include/grpc++/impl/codegen/serialization_traits.h |
| 3061 | include/grpc++/impl/codegen/server_context.h |
| 3062 | include/grpc++/impl/codegen/server_interface.h |
| 3063 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3064 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3065 | include/grpc++/impl/codegen/status.h |
| 3066 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3067 | include/grpc++/impl/codegen/string_ref.h |
| 3068 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3069 | include/grpc++/impl/codegen/sync_stream.h |
| 3070 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3071 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3072 | ) |
| 3073 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3074 | get_filename_component(_path ${_path} PATH) |
| 3075 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3076 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3077 | ) |
| 3078 | endforeach() |
| 3079 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3080 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3081 | if (gRPC_INSTALL) |
| 3082 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3083 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3084 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3085 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3086 | ) |
| 3087 | endif() |
| 3088 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3089 | |
| 3090 | add_library(grpc++_error_details |
| 3091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3093 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3094 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3095 | src/cpp/util/error_details.cc |
| 3096 | ) |
| 3097 | |
| 3098 | if(WIN32 AND MSVC) |
| 3099 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3100 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3101 | ) |
| 3102 | if (gRPC_INSTALL) |
| 3103 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3104 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3105 | ) |
| 3106 | endif() |
| 3107 | endif() |
| 3108 | |
| 3109 | protobuf_generate_grpc_cpp( |
| 3110 | src/proto/grpc/status/status.proto |
| 3111 | ) |
| 3112 | |
| 3113 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3114 | 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] | 3115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3116 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3117 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3118 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3119 | PRIVATE ${BENCHMARK}/include |
| 3120 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3121 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3124 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3125 | ) |
| 3126 | |
| 3127 | target_link_libraries(grpc++_error_details |
| 3128 | ${_gRPC_BASELIB_LIBRARIES} |
| 3129 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3131 | grpc++ |
| 3132 | ) |
| 3133 | |
| 3134 | foreach(_hdr |
| 3135 | include/grpc++/support/error_details.h |
| 3136 | ) |
| 3137 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3138 | get_filename_component(_path ${_path} PATH) |
| 3139 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3140 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3141 | ) |
| 3142 | endforeach() |
| 3143 | |
| 3144 | |
| 3145 | if (gRPC_INSTALL) |
| 3146 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3147 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3148 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3149 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3150 | ) |
| 3151 | endif() |
| 3152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3153 | if (gRPC_BUILD_TESTS) |
| 3154 | |
| 3155 | add_library(grpc++_proto_reflection_desc_db |
| 3156 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3157 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3161 | ) |
| 3162 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3163 | if(WIN32 AND MSVC) |
| 3164 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3165 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3166 | ) |
| 3167 | if (gRPC_INSTALL) |
| 3168 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3169 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3170 | ) |
| 3171 | endif() |
| 3172 | endif() |
| 3173 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3174 | protobuf_generate_grpc_cpp( |
| 3175 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3176 | ) |
| 3177 | |
| 3178 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3179 | 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] | 3180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3181 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3182 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3183 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3184 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3186 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3189 | PRIVATE third_party/googletest/googletest/include |
| 3190 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3191 | PRIVATE third_party/googletest/googlemock/include |
| 3192 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3193 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3194 | ) |
| 3195 | |
| 3196 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3197 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3199 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3200 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3201 | ) |
| 3202 | |
| 3203 | foreach(_hdr |
| 3204 | include/grpc++/impl/codegen/config_protobuf.h |
| 3205 | ) |
| 3206 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3207 | get_filename_component(_path ${_path} PATH) |
| 3208 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3209 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3210 | ) |
| 3211 | endforeach() |
| 3212 | |
| 3213 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3214 | |
| 3215 | add_library(grpc++_reflection |
| 3216 | src/cpp/ext/proto_server_reflection.cc |
| 3217 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3218 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3220 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3222 | ) |
| 3223 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3224 | if(WIN32 AND MSVC) |
| 3225 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3226 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3227 | ) |
| 3228 | if (gRPC_INSTALL) |
| 3229 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3230 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3231 | ) |
| 3232 | endif() |
| 3233 | endif() |
| 3234 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3235 | protobuf_generate_grpc_cpp( |
| 3236 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3237 | ) |
| 3238 | |
| 3239 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3240 | 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] | 3241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3242 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3243 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3244 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3245 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3247 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3250 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3251 | ) |
| 3252 | |
| 3253 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3254 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3256 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3257 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3258 | ) |
| 3259 | |
| 3260 | foreach(_hdr |
| 3261 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3262 | ) |
| 3263 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3264 | get_filename_component(_path ${_path} PATH) |
| 3265 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3266 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3267 | ) |
| 3268 | endforeach() |
| 3269 | |
| 3270 | |
| 3271 | if (gRPC_INSTALL) |
| 3272 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3273 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3274 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3275 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3276 | ) |
| 3277 | endif() |
| 3278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3279 | if (gRPC_BUILD_TESTS) |
| 3280 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3281 | add_library(grpc++_test_config |
| 3282 | test/cpp/util/test_config_cc.cc |
| 3283 | ) |
| 3284 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3285 | if(WIN32 AND MSVC) |
| 3286 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3287 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3288 | ) |
| 3289 | if (gRPC_INSTALL) |
| 3290 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3291 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3292 | ) |
| 3293 | endif() |
| 3294 | endif() |
| 3295 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3296 | |
| 3297 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3298 | 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] | 3299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3300 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3301 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3302 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3303 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3305 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3307 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3308 | PRIVATE third_party/googletest/googletest/include |
| 3309 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3310 | PRIVATE third_party/googletest/googlemock/include |
| 3311 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3312 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3313 | ) |
| 3314 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3315 | target_link_libraries(grpc++_test_config |
| 3316 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3317 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3318 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3319 | |
| 3320 | |
| 3321 | endif (gRPC_BUILD_TESTS) |
| 3322 | if (gRPC_BUILD_TESTS) |
| 3323 | |
| 3324 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3328 | ${_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] | 3329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3337 | ${_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] | 3338 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3339 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3340 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3341 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3342 | test/cpp/end2end/test_service_impl.cc |
| 3343 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3344 | test/cpp/util/create_test_channel.cc |
| 3345 | test/cpp/util/string_ref_helper.cc |
| 3346 | test/cpp/util/subprocess.cc |
| 3347 | test/cpp/util/test_credentials_provider.cc |
| 3348 | src/cpp/codegen/codegen_init.cc |
| 3349 | ) |
| 3350 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3351 | if(WIN32 AND MSVC) |
| 3352 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3353 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3354 | ) |
| 3355 | if (gRPC_INSTALL) |
| 3356 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3357 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3358 | ) |
| 3359 | endif() |
| 3360 | endif() |
| 3361 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3362 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3363 | src/proto/grpc/health/v1/health.proto |
| 3364 | ) |
| 3365 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3366 | src/proto/grpc/testing/echo_messages.proto |
| 3367 | ) |
| 3368 | protobuf_generate_grpc_cpp( |
| 3369 | src/proto/grpc/testing/echo.proto |
| 3370 | ) |
| 3371 | protobuf_generate_grpc_cpp( |
| 3372 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3373 | ) |
| 3374 | |
| 3375 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3376 | 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] | 3377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3378 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3379 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3380 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3381 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3383 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3386 | PRIVATE third_party/googletest/googletest/include |
| 3387 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3388 | PRIVATE third_party/googletest/googlemock/include |
| 3389 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3390 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3391 | ) |
| 3392 | |
| 3393 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3394 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3396 | grpc++ |
| 3397 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3398 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3399 | ) |
| 3400 | |
| 3401 | foreach(_hdr |
| 3402 | include/grpc++/impl/codegen/async_stream.h |
| 3403 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3404 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3405 | include/grpc++/impl/codegen/call.h |
| 3406 | include/grpc++/impl/codegen/call_hook.h |
| 3407 | include/grpc++/impl/codegen/channel_interface.h |
| 3408 | include/grpc++/impl/codegen/client_context.h |
| 3409 | include/grpc++/impl/codegen/client_unary_call.h |
| 3410 | include/grpc++/impl/codegen/completion_queue.h |
| 3411 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3412 | include/grpc++/impl/codegen/config.h |
| 3413 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3414 | include/grpc++/impl/codegen/create_auth_context.h |
| 3415 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3416 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3417 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3418 | include/grpc++/impl/codegen/rpc_method.h |
| 3419 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3420 | include/grpc++/impl/codegen/security/auth_context.h |
| 3421 | include/grpc++/impl/codegen/serialization_traits.h |
| 3422 | include/grpc++/impl/codegen/server_context.h |
| 3423 | include/grpc++/impl/codegen/server_interface.h |
| 3424 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3425 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3426 | include/grpc++/impl/codegen/status.h |
| 3427 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3428 | include/grpc++/impl/codegen/string_ref.h |
| 3429 | include/grpc++/impl/codegen/stub_options.h |
| 3430 | include/grpc++/impl/codegen/sync_stream.h |
| 3431 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3432 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3433 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3434 | include/grpc/impl/codegen/compression_types.h |
| 3435 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3436 | include/grpc/impl/codegen/grpc_types.h |
| 3437 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3438 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3439 | include/grpc/impl/codegen/status.h |
| 3440 | include/grpc/impl/codegen/atm.h |
| 3441 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3442 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3443 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3444 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3445 | include/grpc/impl/codegen/gpr_slice.h |
| 3446 | include/grpc/impl/codegen/gpr_types.h |
| 3447 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3448 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3449 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3450 | include/grpc/impl/codegen/sync_generic.h |
| 3451 | include/grpc/impl/codegen/sync_posix.h |
| 3452 | include/grpc/impl/codegen/sync_windows.h |
| 3453 | include/grpc++/impl/codegen/proto_utils.h |
| 3454 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3455 | ) |
| 3456 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3457 | get_filename_component(_path ${_path} PATH) |
| 3458 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3459 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3460 | ) |
| 3461 | endforeach() |
| 3462 | |
| 3463 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3464 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3465 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3466 | add_library(grpc++_test_util_unsecure |
| 3467 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3468 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3469 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3470 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3471 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3472 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3475 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3476 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3477 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3478 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3479 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3480 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3481 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3482 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3483 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3484 | test/cpp/end2end/test_service_impl.cc |
| 3485 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3486 | test/cpp/util/string_ref_helper.cc |
| 3487 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3488 | src/cpp/codegen/codegen_init.cc |
| 3489 | ) |
| 3490 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3491 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3492 | 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] | 3493 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3494 | ) |
| 3495 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3496 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3497 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3498 | ) |
| 3499 | endif() |
| 3500 | endif() |
| 3501 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3502 | protobuf_generate_grpc_cpp( |
| 3503 | src/proto/grpc/health/v1/health.proto |
| 3504 | ) |
| 3505 | protobuf_generate_grpc_cpp( |
| 3506 | src/proto/grpc/testing/echo_messages.proto |
| 3507 | ) |
| 3508 | protobuf_generate_grpc_cpp( |
| 3509 | src/proto/grpc/testing/echo.proto |
| 3510 | ) |
| 3511 | protobuf_generate_grpc_cpp( |
| 3512 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3513 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3514 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3515 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3516 | 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] | 3517 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3518 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3519 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3520 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3521 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3523 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3524 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3526 | PRIVATE third_party/googletest/googletest/include |
| 3527 | PRIVATE third_party/googletest/googletest |
| 3528 | PRIVATE third_party/googletest/googlemock/include |
| 3529 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3530 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3531 | ) |
| 3532 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3533 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3534 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3536 | grpc++_unsecure |
| 3537 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3538 | grpc_unsecure |
| 3539 | ) |
| 3540 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3541 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3542 | include/grpc++/impl/codegen/async_stream.h |
| 3543 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3544 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3545 | include/grpc++/impl/codegen/call.h |
| 3546 | include/grpc++/impl/codegen/call_hook.h |
| 3547 | include/grpc++/impl/codegen/channel_interface.h |
| 3548 | include/grpc++/impl/codegen/client_context.h |
| 3549 | include/grpc++/impl/codegen/client_unary_call.h |
| 3550 | include/grpc++/impl/codegen/completion_queue.h |
| 3551 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3552 | include/grpc++/impl/codegen/config.h |
| 3553 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3554 | include/grpc++/impl/codegen/create_auth_context.h |
| 3555 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3556 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3557 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3558 | include/grpc++/impl/codegen/rpc_method.h |
| 3559 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3560 | include/grpc++/impl/codegen/security/auth_context.h |
| 3561 | include/grpc++/impl/codegen/serialization_traits.h |
| 3562 | include/grpc++/impl/codegen/server_context.h |
| 3563 | include/grpc++/impl/codegen/server_interface.h |
| 3564 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3565 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3566 | include/grpc++/impl/codegen/status.h |
| 3567 | include/grpc++/impl/codegen/status_code_enum.h |
| 3568 | include/grpc++/impl/codegen/string_ref.h |
| 3569 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3570 | include/grpc++/impl/codegen/sync_stream.h |
| 3571 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3572 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3573 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3574 | include/grpc/impl/codegen/compression_types.h |
| 3575 | include/grpc/impl/codegen/connectivity_state.h |
| 3576 | include/grpc/impl/codegen/grpc_types.h |
| 3577 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3578 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3579 | include/grpc/impl/codegen/status.h |
| 3580 | include/grpc/impl/codegen/atm.h |
| 3581 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3582 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3583 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3584 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3585 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3586 | include/grpc/impl/codegen/gpr_types.h |
| 3587 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3588 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3589 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3590 | include/grpc/impl/codegen/sync_generic.h |
| 3591 | include/grpc/impl/codegen/sync_posix.h |
| 3592 | include/grpc/impl/codegen/sync_windows.h |
| 3593 | include/grpc++/impl/codegen/proto_utils.h |
| 3594 | include/grpc++/impl/codegen/config_protobuf.h |
| 3595 | ) |
| 3596 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3597 | get_filename_component(_path ${_path} PATH) |
| 3598 | install(FILES ${_hdr} |
| 3599 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3600 | ) |
| 3601 | endforeach() |
| 3602 | |
| 3603 | endif (gRPC_BUILD_TESTS) |
| 3604 | |
| 3605 | add_library(grpc++_unsecure |
| 3606 | src/cpp/client/insecure_credentials.cc |
| 3607 | src/cpp/common/insecure_create_auth_context.cc |
| 3608 | src/cpp/server/insecure_server_credentials.cc |
| 3609 | src/cpp/client/channel_cc.cc |
| 3610 | src/cpp/client/client_context.cc |
| 3611 | src/cpp/client/create_channel.cc |
| 3612 | src/cpp/client/create_channel_internal.cc |
| 3613 | src/cpp/client/create_channel_posix.cc |
| 3614 | src/cpp/client/credentials_cc.cc |
| 3615 | src/cpp/client/generic_stub.cc |
| 3616 | src/cpp/common/channel_arguments.cc |
| 3617 | src/cpp/common/channel_filter.cc |
| 3618 | src/cpp/common/completion_queue_cc.cc |
| 3619 | src/cpp/common/core_codegen.cc |
| 3620 | src/cpp/common/resource_quota_cc.cc |
| 3621 | src/cpp/common/rpc_method.cc |
| 3622 | src/cpp/common/version_cc.cc |
| 3623 | src/cpp/server/async_generic_service.cc |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3624 | src/cpp/server/channel_argument_option.cc |
| 3625 | src/cpp/server/create_default_thread_pool.cc |
| 3626 | src/cpp/server/dynamic_thread_pool.cc |
| 3627 | src/cpp/server/health/default_health_check_service.cc |
| 3628 | src/cpp/server/health/health.pb.c |
| 3629 | src/cpp/server/health/health_check_service.cc |
| 3630 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3631 | src/cpp/server/server_builder.cc |
| 3632 | src/cpp/server/server_cc.cc |
| 3633 | src/cpp/server/server_context.cc |
| 3634 | src/cpp/server/server_credentials.cc |
| 3635 | src/cpp/server/server_posix.cc |
| 3636 | src/cpp/thread_manager/thread_manager.cc |
| 3637 | src/cpp/util/byte_buffer_cc.cc |
| 3638 | src/cpp/util/slice_cc.cc |
| 3639 | src/cpp/util/status.cc |
| 3640 | src/cpp/util/string_ref.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3641 | src/cpp/util/time_cc.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3642 | src/cpp/codegen/codegen_init.cc |
| 3643 | ) |
| 3644 | |
| 3645 | if(WIN32 AND MSVC) |
| 3646 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3647 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3648 | ) |
| 3649 | if (gRPC_INSTALL) |
| 3650 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3651 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3652 | ) |
| 3653 | endif() |
| 3654 | endif() |
| 3655 | |
| 3656 | |
| 3657 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3658 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3659 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3660 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3661 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3662 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3663 | PRIVATE ${BENCHMARK}/include |
| 3664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3665 | PRIVATE ${CARES_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3668 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3669 | ) |
| 3670 | |
| 3671 | target_link_libraries(grpc++_unsecure |
| 3672 | ${_gRPC_BASELIB_LIBRARIES} |
| 3673 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3675 | gpr |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3676 | grpc_unsecure |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3677 | ) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3678 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3679 | foreach(_hdr |
| 3680 | include/grpc++/alarm.h |
| 3681 | include/grpc++/channel.h |
| 3682 | include/grpc++/client_context.h |
| 3683 | include/grpc++/completion_queue.h |
| 3684 | include/grpc++/create_channel.h |
| 3685 | include/grpc++/create_channel_posix.h |
| 3686 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3687 | include/grpc++/generic/async_generic_service.h |
| 3688 | include/grpc++/generic/generic_stub.h |
| 3689 | include/grpc++/grpc++.h |
| 3690 | include/grpc++/health_check_service_interface.h |
| 3691 | include/grpc++/impl/call.h |
| 3692 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3693 | include/grpc++/impl/client_unary_call.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3694 | include/grpc++/impl/codegen/core_codegen.h |
| 3695 | include/grpc++/impl/grpc_library.h |
| 3696 | include/grpc++/impl/method_handler_impl.h |
| 3697 | include/grpc++/impl/rpc_method.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3698 | include/grpc++/impl/rpc_service_method.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3699 | include/grpc++/impl/serialization_traits.h |
| 3700 | include/grpc++/impl/server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3701 | include/grpc++/impl/server_builder_plugin.h |
| 3702 | include/grpc++/impl/server_initializer.h |
| 3703 | include/grpc++/impl/service_type.h |
| 3704 | include/grpc++/resource_quota.h |
| 3705 | include/grpc++/security/auth_context.h |
| 3706 | include/grpc++/security/auth_metadata_processor.h |
| 3707 | include/grpc++/security/credentials.h |
| 3708 | include/grpc++/security/server_credentials.h |
| 3709 | include/grpc++/server.h |
| 3710 | include/grpc++/server_builder.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3711 | include/grpc++/server_context.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3712 | include/grpc++/server_posix.h |
| 3713 | include/grpc++/support/async_stream.h |
| 3714 | include/grpc++/support/async_unary_call.h |
| 3715 | include/grpc++/support/byte_buffer.h |
| 3716 | include/grpc++/support/channel_arguments.h |
| 3717 | include/grpc++/support/config.h |
| 3718 | include/grpc++/support/slice.h |
| 3719 | include/grpc++/support/status.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3720 | include/grpc++/support/status_code_enum.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3721 | include/grpc++/support/string_ref.h |
| 3722 | include/grpc++/support/stub_options.h |
| 3723 | include/grpc++/support/sync_stream.h |
| 3724 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3725 | include/grpc/support/alloc.h |
| 3726 | include/grpc/support/atm.h |
| 3727 | include/grpc/support/atm_gcc_atomic.h |
| 3728 | include/grpc/support/atm_gcc_sync.h |
| 3729 | include/grpc/support/atm_windows.h |
| 3730 | include/grpc/support/avl.h |
| 3731 | include/grpc/support/cmdline.h |
| 3732 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3733 | include/grpc/support/host_port.h |
| 3734 | include/grpc/support/log.h |
| 3735 | include/grpc/support/log_windows.h |
| 3736 | include/grpc/support/port_platform.h |
| 3737 | include/grpc/support/string_util.h |
| 3738 | include/grpc/support/subprocess.h |
| 3739 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3740 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3741 | include/grpc/support/sync_generic.h |
| 3742 | include/grpc/support/sync_posix.h |
| 3743 | include/grpc/support/sync_windows.h |
| 3744 | include/grpc/support/thd.h |
| 3745 | include/grpc/support/time.h |
| 3746 | include/grpc/support/tls.h |
| 3747 | include/grpc/support/tls_gcc.h |
| 3748 | include/grpc/support/tls_msvc.h |
| 3749 | include/grpc/support/tls_pthread.h |
| 3750 | include/grpc/support/useful.h |
| 3751 | include/grpc/impl/codegen/atm.h |
| 3752 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3753 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3754 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3755 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3756 | include/grpc/impl/codegen/gpr_slice.h |
| 3757 | include/grpc/impl/codegen/gpr_types.h |
| 3758 | include/grpc/impl/codegen/port_platform.h |
| 3759 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3760 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3761 | include/grpc/impl/codegen/sync_generic.h |
| 3762 | include/grpc/impl/codegen/sync_posix.h |
| 3763 | include/grpc/impl/codegen/sync_windows.h |
| 3764 | include/grpc/byte_buffer.h |
| 3765 | include/grpc/byte_buffer_reader.h |
| 3766 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3767 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3768 | include/grpc/grpc.h |
| 3769 | include/grpc/grpc_posix.h |
| 3770 | include/grpc/grpc_security_constants.h |
| 3771 | include/grpc/load_reporting.h |
| 3772 | include/grpc/slice.h |
| 3773 | include/grpc/slice_buffer.h |
| 3774 | include/grpc/status.h |
| 3775 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3776 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3777 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3778 | include/grpc/impl/codegen/compression_types.h |
| 3779 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3780 | include/grpc/impl/codegen/grpc_types.h |
| 3781 | include/grpc/impl/codegen/propagation_bits.h |
| 3782 | include/grpc/impl/codegen/slice.h |
| 3783 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3784 | include/grpc++/impl/codegen/async_stream.h |
| 3785 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3786 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3787 | include/grpc++/impl/codegen/call.h |
| 3788 | include/grpc++/impl/codegen/call_hook.h |
| 3789 | include/grpc++/impl/codegen/channel_interface.h |
| 3790 | include/grpc++/impl/codegen/client_context.h |
| 3791 | include/grpc++/impl/codegen/client_unary_call.h |
| 3792 | include/grpc++/impl/codegen/completion_queue.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3793 | include/grpc++/impl/codegen/completion_queue_tag.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3794 | include/grpc++/impl/codegen/config.h |
| 3795 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3796 | include/grpc++/impl/codegen/create_auth_context.h |
| 3797 | include/grpc++/impl/codegen/grpc_library.h |
| 3798 | include/grpc++/impl/codegen/metadata_map.h |
| 3799 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3800 | include/grpc++/impl/codegen/rpc_method.h |
| 3801 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3802 | include/grpc++/impl/codegen/security/auth_context.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3803 | include/grpc++/impl/codegen/serialization_traits.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3804 | include/grpc++/impl/codegen/server_context.h |
| 3805 | include/grpc++/impl/codegen/server_interface.h |
| 3806 | include/grpc++/impl/codegen/service_type.h |
| 3807 | include/grpc++/impl/codegen/slice.h |
| 3808 | include/grpc++/impl/codegen/status.h |
| 3809 | include/grpc++/impl/codegen/status_code_enum.h |
| 3810 | include/grpc++/impl/codegen/string_ref.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3811 | include/grpc++/impl/codegen/stub_options.h |
| 3812 | include/grpc++/impl/codegen/sync_stream.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3813 | include/grpc++/impl/codegen/time.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3814 | ) |
| 3815 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3816 | get_filename_component(_path ${_path} PATH) |
| 3817 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3818 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3819 | ) |
| 3820 | endforeach() |
| 3821 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3822 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3823 | if (gRPC_INSTALL) |
| 3824 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3825 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3826 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3827 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3828 | ) |
| 3829 | endif() |
| 3830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3831 | if (gRPC_BUILD_TESTS) |
| 3832 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3833 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3834 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3835 | ) |
| 3836 | |
| 3837 | if(WIN32 AND MSVC) |
| 3838 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3839 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3840 | ) |
| 3841 | if (gRPC_INSTALL) |
| 3842 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3843 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3844 | ) |
| 3845 | endif() |
| 3846 | endif() |
| 3847 | |
| 3848 | |
| 3849 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3850 | 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] | 3851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3852 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3853 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3854 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3855 | PRIVATE ${BENCHMARK}/include |
| 3856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3857 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3860 | PRIVATE third_party/googletest/googletest/include |
| 3861 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3862 | PRIVATE third_party/googletest/googlemock/include |
| 3863 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3864 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3865 | ) |
| 3866 | |
| 3867 | target_link_libraries(grpc_benchmark |
| 3868 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3870 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3871 | grpc++_unsecure |
| 3872 | grpc_test_util_unsecure |
| 3873 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3874 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3875 | ) |
| 3876 | |
| 3877 | |
| 3878 | endif (gRPC_BUILD_TESTS) |
| 3879 | if (gRPC_BUILD_TESTS) |
| 3880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3881 | add_library(grpc_cli_libs |
| 3882 | test/cpp/util/cli_call.cc |
| 3883 | test/cpp/util/cli_credentials.cc |
| 3884 | test/cpp/util/grpc_tool.cc |
| 3885 | test/cpp/util/proto_file_parser.cc |
| 3886 | test/cpp/util/service_describer.cc |
| 3887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3891 | ) |
| 3892 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3893 | if(WIN32 AND MSVC) |
| 3894 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3895 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3896 | ) |
| 3897 | if (gRPC_INSTALL) |
| 3898 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3899 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3900 | ) |
| 3901 | endif() |
| 3902 | endif() |
| 3903 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | protobuf_generate_grpc_cpp( |
| 3905 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3906 | ) |
| 3907 | |
| 3908 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3909 | 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] | 3910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3911 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3912 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3913 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3914 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3916 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3919 | PRIVATE third_party/googletest/googletest/include |
| 3920 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3921 | PRIVATE third_party/googletest/googlemock/include |
| 3922 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3923 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3924 | ) |
| 3925 | |
| 3926 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3927 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3928 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3929 | grpc++_proto_reflection_desc_db |
| 3930 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3931 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3932 | ) |
| 3933 | |
| 3934 | foreach(_hdr |
| 3935 | include/grpc++/impl/codegen/config_protobuf.h |
| 3936 | ) |
| 3937 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3938 | get_filename_component(_path ${_path} PATH) |
| 3939 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3940 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3941 | ) |
| 3942 | endforeach() |
| 3943 | |
| 3944 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3945 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3946 | add_library(grpc_plugin_support |
| 3947 | src/compiler/cpp_generator.cc |
| 3948 | src/compiler/csharp_generator.cc |
| 3949 | src/compiler/node_generator.cc |
| 3950 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3951 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3952 | src/compiler/python_generator.cc |
| 3953 | src/compiler/ruby_generator.cc |
| 3954 | ) |
| 3955 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3956 | if(WIN32 AND MSVC) |
| 3957 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3958 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3959 | ) |
| 3960 | if (gRPC_INSTALL) |
| 3961 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3962 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3963 | ) |
| 3964 | endif() |
| 3965 | endif() |
| 3966 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3967 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3968 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3969 | 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] | 3970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3971 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3972 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3973 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3974 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3976 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3979 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3980 | ) |
| 3981 | |
| 3982 | target_link_libraries(grpc_plugin_support |
| 3983 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3984 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3985 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3986 | ) |
| 3987 | |
| 3988 | foreach(_hdr |
| 3989 | include/grpc++/impl/codegen/config_protobuf.h |
| 3990 | ) |
| 3991 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3992 | get_filename_component(_path ${_path} PATH) |
| 3993 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3994 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3995 | ) |
| 3996 | endforeach() |
| 3997 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3998 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3999 | if (gRPC_INSTALL) |
| 4000 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4001 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4002 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4003 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4004 | ) |
| 4005 | endif() |
| 4006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4007 | if (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4009 | add_library(http2_client_main |
| 4010 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4011 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4012 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4013 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4014 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4015 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4016 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4017 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4018 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4019 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4020 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4021 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4022 | test/cpp/interop/http2_client.cc |
| 4023 | ) |
| 4024 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4025 | if(WIN32 AND MSVC) |
| 4026 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4027 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4028 | ) |
| 4029 | if (gRPC_INSTALL) |
| 4030 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4031 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4032 | ) |
| 4033 | endif() |
| 4034 | endif() |
| 4035 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4036 | protobuf_generate_grpc_cpp( |
| 4037 | src/proto/grpc/testing/empty.proto |
| 4038 | ) |
| 4039 | protobuf_generate_grpc_cpp( |
| 4040 | src/proto/grpc/testing/messages.proto |
| 4041 | ) |
| 4042 | protobuf_generate_grpc_cpp( |
| 4043 | src/proto/grpc/testing/test.proto |
| 4044 | ) |
| 4045 | |
| 4046 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4047 | 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] | 4048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4049 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4050 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4051 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4052 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4053 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4054 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4057 | PRIVATE third_party/googletest/googletest/include |
| 4058 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4059 | PRIVATE third_party/googletest/googlemock/include |
| 4060 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4061 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4062 | ) |
| 4063 | |
| 4064 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4065 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4067 | grpc++_test_util |
| 4068 | grpc_test_util |
| 4069 | grpc++ |
| 4070 | grpc |
| 4071 | grpc++_test_config |
| 4072 | ) |
| 4073 | |
| 4074 | |
| 4075 | endif (gRPC_BUILD_TESTS) |
| 4076 | if (gRPC_BUILD_TESTS) |
| 4077 | |
| 4078 | add_library(interop_client_helper |
| 4079 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4080 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4081 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4082 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4083 | test/cpp/interop/client_helper.cc |
| 4084 | ) |
| 4085 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4086 | if(WIN32 AND MSVC) |
| 4087 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4088 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4089 | ) |
| 4090 | if (gRPC_INSTALL) |
| 4091 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4092 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4093 | ) |
| 4094 | endif() |
| 4095 | endif() |
| 4096 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4097 | protobuf_generate_grpc_cpp( |
| 4098 | src/proto/grpc/testing/messages.proto |
| 4099 | ) |
| 4100 | |
| 4101 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4102 | 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] | 4103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4104 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4105 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4106 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4107 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4109 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4112 | PRIVATE third_party/googletest/googletest/include |
| 4113 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4114 | PRIVATE third_party/googletest/googlemock/include |
| 4115 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4116 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4117 | ) |
| 4118 | |
| 4119 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4120 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4121 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4122 | grpc++_test_util |
| 4123 | grpc_test_util |
| 4124 | grpc++ |
| 4125 | grpc |
| 4126 | gpr |
| 4127 | ) |
| 4128 | |
| 4129 | |
| 4130 | endif (gRPC_BUILD_TESTS) |
| 4131 | if (gRPC_BUILD_TESTS) |
| 4132 | |
| 4133 | add_library(interop_client_main |
| 4134 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4135 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4136 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4137 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4138 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4139 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4140 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4141 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4142 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4143 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4144 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4145 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4146 | test/cpp/interop/client.cc |
| 4147 | test/cpp/interop/interop_client.cc |
| 4148 | ) |
| 4149 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4150 | if(WIN32 AND MSVC) |
| 4151 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4152 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4153 | ) |
| 4154 | if (gRPC_INSTALL) |
| 4155 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4156 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4157 | ) |
| 4158 | endif() |
| 4159 | endif() |
| 4160 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4161 | protobuf_generate_grpc_cpp( |
| 4162 | src/proto/grpc/testing/empty.proto |
| 4163 | ) |
| 4164 | protobuf_generate_grpc_cpp( |
| 4165 | src/proto/grpc/testing/messages.proto |
| 4166 | ) |
| 4167 | protobuf_generate_grpc_cpp( |
| 4168 | src/proto/grpc/testing/test.proto |
| 4169 | ) |
| 4170 | |
| 4171 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4172 | 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] | 4173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4174 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4175 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4176 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4177 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4179 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4180 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4181 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4182 | PRIVATE third_party/googletest/googletest/include |
| 4183 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4184 | PRIVATE third_party/googletest/googlemock/include |
| 4185 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4186 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4187 | ) |
| 4188 | |
| 4189 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4190 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4192 | interop_client_helper |
| 4193 | grpc++_test_util |
| 4194 | grpc_test_util |
| 4195 | grpc++ |
| 4196 | grpc |
| 4197 | gpr_test_util |
| 4198 | gpr |
| 4199 | grpc++_test_config |
| 4200 | ) |
| 4201 | |
| 4202 | |
| 4203 | endif (gRPC_BUILD_TESTS) |
| 4204 | if (gRPC_BUILD_TESTS) |
| 4205 | |
| 4206 | add_library(interop_server_helper |
| 4207 | test/cpp/interop/server_helper.cc |
| 4208 | ) |
| 4209 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4210 | if(WIN32 AND MSVC) |
| 4211 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4212 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4213 | ) |
| 4214 | if (gRPC_INSTALL) |
| 4215 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4216 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4217 | ) |
| 4218 | endif() |
| 4219 | endif() |
| 4220 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4221 | |
| 4222 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4223 | 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] | 4224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4225 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4226 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4227 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4228 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4230 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4233 | PRIVATE third_party/googletest/googletest/include |
| 4234 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4235 | PRIVATE third_party/googletest/googlemock/include |
| 4236 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4237 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4238 | ) |
| 4239 | |
| 4240 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4241 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4243 | grpc++_test_util |
| 4244 | grpc_test_util |
| 4245 | grpc++ |
| 4246 | grpc |
| 4247 | gpr |
| 4248 | ) |
| 4249 | |
| 4250 | |
| 4251 | endif (gRPC_BUILD_TESTS) |
| 4252 | if (gRPC_BUILD_TESTS) |
| 4253 | |
| 4254 | add_library(interop_server_lib |
| 4255 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4256 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4257 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4258 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4259 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4260 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4261 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4262 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4263 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4267 | test/cpp/interop/interop_server.cc |
| 4268 | ) |
| 4269 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4270 | if(WIN32 AND MSVC) |
| 4271 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4272 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4273 | ) |
| 4274 | if (gRPC_INSTALL) |
| 4275 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4276 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4277 | ) |
| 4278 | endif() |
| 4279 | endif() |
| 4280 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4281 | protobuf_generate_grpc_cpp( |
| 4282 | src/proto/grpc/testing/empty.proto |
| 4283 | ) |
| 4284 | protobuf_generate_grpc_cpp( |
| 4285 | src/proto/grpc/testing/messages.proto |
| 4286 | ) |
| 4287 | protobuf_generate_grpc_cpp( |
| 4288 | src/proto/grpc/testing/test.proto |
| 4289 | ) |
| 4290 | |
| 4291 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4292 | 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] | 4293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4294 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4295 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4296 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4297 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4299 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4302 | PRIVATE third_party/googletest/googletest/include |
| 4303 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4304 | PRIVATE third_party/googletest/googlemock/include |
| 4305 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4306 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4307 | ) |
| 4308 | |
| 4309 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4310 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4312 | interop_server_helper |
| 4313 | grpc++_test_util |
| 4314 | grpc_test_util |
| 4315 | grpc++ |
| 4316 | grpc |
| 4317 | gpr_test_util |
| 4318 | gpr |
| 4319 | grpc++_test_config |
| 4320 | ) |
| 4321 | |
| 4322 | |
| 4323 | endif (gRPC_BUILD_TESTS) |
| 4324 | if (gRPC_BUILD_TESTS) |
| 4325 | |
| 4326 | add_library(interop_server_main |
| 4327 | test/cpp/interop/interop_server_bootstrap.cc |
| 4328 | ) |
| 4329 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4330 | if(WIN32 AND MSVC) |
| 4331 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4332 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4333 | ) |
| 4334 | if (gRPC_INSTALL) |
| 4335 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4336 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4337 | ) |
| 4338 | endif() |
| 4339 | endif() |
| 4340 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4341 | |
| 4342 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4343 | 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] | 4344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4345 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4346 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4347 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4348 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4350 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4353 | PRIVATE third_party/googletest/googletest/include |
| 4354 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4355 | PRIVATE third_party/googletest/googlemock/include |
| 4356 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4357 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4358 | ) |
| 4359 | |
| 4360 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4361 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4362 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4363 | interop_server_lib |
| 4364 | ) |
| 4365 | |
| 4366 | |
| 4367 | endif (gRPC_BUILD_TESTS) |
| 4368 | if (gRPC_BUILD_TESTS) |
| 4369 | |
| 4370 | add_library(qps |
| 4371 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4372 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4373 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4374 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4375 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4376 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4377 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4378 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4390 | ${_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] | 4391 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4392 | test/cpp/qps/client_async.cc |
| 4393 | test/cpp/qps/client_sync.cc |
| 4394 | test/cpp/qps/driver.cc |
| 4395 | test/cpp/qps/parse_json.cc |
| 4396 | test/cpp/qps/qps_worker.cc |
| 4397 | test/cpp/qps/report.cc |
| 4398 | test/cpp/qps/server_async.cc |
| 4399 | test/cpp/qps/server_sync.cc |
| 4400 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4401 | ) |
| 4402 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4403 | if(WIN32 AND MSVC) |
| 4404 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4405 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4406 | ) |
| 4407 | if (gRPC_INSTALL) |
| 4408 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4409 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4410 | ) |
| 4411 | endif() |
| 4412 | endif() |
| 4413 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4414 | protobuf_generate_grpc_cpp( |
| 4415 | src/proto/grpc/testing/messages.proto |
| 4416 | ) |
| 4417 | protobuf_generate_grpc_cpp( |
| 4418 | src/proto/grpc/testing/payloads.proto |
| 4419 | ) |
| 4420 | protobuf_generate_grpc_cpp( |
| 4421 | src/proto/grpc/testing/stats.proto |
| 4422 | ) |
| 4423 | protobuf_generate_grpc_cpp( |
| 4424 | src/proto/grpc/testing/control.proto |
| 4425 | ) |
| 4426 | protobuf_generate_grpc_cpp( |
| 4427 | src/proto/grpc/testing/services.proto |
| 4428 | ) |
| 4429 | |
| 4430 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4431 | 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] | 4432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4433 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4435 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4436 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4438 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4441 | PRIVATE third_party/googletest/googletest/include |
| 4442 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4443 | PRIVATE third_party/googletest/googlemock/include |
| 4444 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4445 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4446 | ) |
| 4447 | |
| 4448 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4449 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4450 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4451 | grpc_test_util |
| 4452 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4453 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4454 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4455 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4456 | ) |
| 4457 | |
| 4458 | |
| 4459 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4460 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4461 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4462 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4463 | ) |
| 4464 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4465 | if(WIN32 AND MSVC) |
| 4466 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4467 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4468 | ) |
| 4469 | if (gRPC_INSTALL) |
| 4470 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4471 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4472 | ) |
| 4473 | endif() |
| 4474 | endif() |
| 4475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4476 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4477 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4478 | 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] | 4479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4480 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4481 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4482 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4483 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4485 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4488 | ) |
| 4489 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4490 | target_link_libraries(grpc_csharp_ext |
| 4491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4492 | grpc |
| 4493 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4494 | ) |
| 4495 | |
| 4496 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4497 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4498 | if (gRPC_INSTALL) |
| 4499 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4500 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4501 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4502 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4503 | ) |
| 4504 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4505 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4506 | if (gRPC_BUILD_TESTS) |
| 4507 | |
| 4508 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4509 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4510 | ) |
| 4511 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4512 | if(WIN32 AND MSVC) |
| 4513 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4514 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4515 | ) |
| 4516 | if (gRPC_INSTALL) |
| 4517 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4518 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4519 | ) |
| 4520 | endif() |
| 4521 | endif() |
| 4522 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4523 | |
| 4524 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4525 | 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] | 4526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4527 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4528 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4529 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4530 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4532 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4535 | ) |
| 4536 | |
| 4537 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4538 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4539 | grpc_test_util_unsecure |
| 4540 | grpc_unsecure |
| 4541 | gpr_test_util |
| 4542 | gpr |
| 4543 | ) |
| 4544 | |
| 4545 | |
| 4546 | endif (gRPC_BUILD_TESTS) |
| 4547 | if (gRPC_BUILD_TESTS) |
| 4548 | |
| 4549 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4550 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4551 | ) |
| 4552 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4553 | if(WIN32 AND MSVC) |
| 4554 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4555 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4556 | ) |
| 4557 | if (gRPC_INSTALL) |
| 4558 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4559 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4560 | ) |
| 4561 | endif() |
| 4562 | endif() |
| 4563 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4564 | |
| 4565 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4566 | 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] | 4567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4568 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4569 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4570 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4571 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4572 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4573 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4576 | ) |
| 4577 | |
| 4578 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4579 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4580 | grpc_test_util |
| 4581 | grpc |
| 4582 | gpr_test_util |
| 4583 | gpr |
| 4584 | ) |
| 4585 | |
| 4586 | |
| 4587 | endif (gRPC_BUILD_TESTS) |
| 4588 | if (gRPC_BUILD_TESTS) |
| 4589 | |
| 4590 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4591 | test/core/end2end/end2end_tests.cc |
| 4592 | test/core/end2end/end2end_test_utils.cc |
| 4593 | test/core/end2end/tests/authority_not_supported.cc |
| 4594 | test/core/end2end/tests/bad_hostname.cc |
| 4595 | test/core/end2end/tests/bad_ping.cc |
| 4596 | test/core/end2end/tests/binary_metadata.cc |
| 4597 | test/core/end2end/tests/call_creds.cc |
| 4598 | test/core/end2end/tests/cancel_after_accept.cc |
| 4599 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4600 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4601 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4602 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4603 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4604 | test/core/end2end/tests/cancel_with_status.cc |
| 4605 | test/core/end2end/tests/compressed_payload.cc |
| 4606 | test/core/end2end/tests/connectivity.cc |
| 4607 | test/core/end2end/tests/default_host.cc |
| 4608 | test/core/end2end/tests/disappearing_server.cc |
| 4609 | test/core/end2end/tests/empty_batch.cc |
| 4610 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4611 | test/core/end2end/tests/filter_causes_close.cc |
| 4612 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | 6535cfd | 2018-01-04 12:56:52 -0800 | [diff] [blame] | 4613 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4614 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4615 | test/core/end2end/tests/high_initial_seqno.cc |
| 4616 | test/core/end2end/tests/hpack_size.cc |
| 4617 | test/core/end2end/tests/idempotent_request.cc |
| 4618 | test/core/end2end/tests/invoke_large_request.cc |
| 4619 | test/core/end2end/tests/keepalive_timeout.cc |
| 4620 | test/core/end2end/tests/large_metadata.cc |
| 4621 | test/core/end2end/tests/load_reporting_hook.cc |
| 4622 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4623 | test/core/end2end/tests/max_connection_age.cc |
| 4624 | test/core/end2end/tests/max_connection_idle.cc |
| 4625 | test/core/end2end/tests/max_message_length.cc |
| 4626 | test/core/end2end/tests/negative_deadline.cc |
| 4627 | test/core/end2end/tests/network_status_change.cc |
| 4628 | test/core/end2end/tests/no_logging.cc |
| 4629 | test/core/end2end/tests/no_op.cc |
| 4630 | test/core/end2end/tests/payload.cc |
| 4631 | test/core/end2end/tests/ping.cc |
| 4632 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4633 | test/core/end2end/tests/proxy_auth.cc |
| 4634 | test/core/end2end/tests/registered_call.cc |
| 4635 | test/core/end2end/tests/request_with_flags.cc |
| 4636 | test/core/end2end/tests/request_with_payload.cc |
| 4637 | test/core/end2end/tests/resource_quota_server.cc |
| 4638 | test/core/end2end/tests/server_finishes_request.cc |
| 4639 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4640 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4641 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4642 | test/core/end2end/tests/simple_delayed_request.cc |
| 4643 | test/core/end2end/tests/simple_metadata.cc |
| 4644 | test/core/end2end/tests/simple_request.cc |
| 4645 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4646 | test/core/end2end/tests/stream_compression_payload.cc |
| 4647 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4648 | test/core/end2end/tests/streaming_error_response.cc |
| 4649 | test/core/end2end/tests/trailing_metadata.cc |
| 4650 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4651 | test/core/end2end/tests/write_buffering.cc |
| 4652 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4653 | ) |
| 4654 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4655 | if(WIN32 AND MSVC) |
| 4656 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4657 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4658 | ) |
| 4659 | if (gRPC_INSTALL) |
| 4660 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4661 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4662 | ) |
| 4663 | endif() |
| 4664 | endif() |
| 4665 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4666 | |
| 4667 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4668 | 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] | 4669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4670 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4672 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4673 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4675 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4678 | ) |
| 4679 | |
| 4680 | target_link_libraries(end2end_tests |
| 4681 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4682 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4683 | grpc_test_util |
| 4684 | grpc |
| 4685 | gpr_test_util |
| 4686 | gpr |
| 4687 | ) |
| 4688 | |
| 4689 | |
| 4690 | endif (gRPC_BUILD_TESTS) |
| 4691 | if (gRPC_BUILD_TESTS) |
| 4692 | |
| 4693 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4694 | test/core/end2end/end2end_nosec_tests.cc |
| 4695 | test/core/end2end/end2end_test_utils.cc |
| 4696 | test/core/end2end/tests/authority_not_supported.cc |
| 4697 | test/core/end2end/tests/bad_hostname.cc |
| 4698 | test/core/end2end/tests/bad_ping.cc |
| 4699 | test/core/end2end/tests/binary_metadata.cc |
| 4700 | test/core/end2end/tests/cancel_after_accept.cc |
| 4701 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4702 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4703 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4704 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4705 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4706 | test/core/end2end/tests/cancel_with_status.cc |
| 4707 | test/core/end2end/tests/compressed_payload.cc |
| 4708 | test/core/end2end/tests/connectivity.cc |
| 4709 | test/core/end2end/tests/default_host.cc |
| 4710 | test/core/end2end/tests/disappearing_server.cc |
| 4711 | test/core/end2end/tests/empty_batch.cc |
| 4712 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4713 | test/core/end2end/tests/filter_causes_close.cc |
| 4714 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | 6535cfd | 2018-01-04 12:56:52 -0800 | [diff] [blame] | 4715 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4716 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4717 | test/core/end2end/tests/high_initial_seqno.cc |
| 4718 | test/core/end2end/tests/hpack_size.cc |
| 4719 | test/core/end2end/tests/idempotent_request.cc |
| 4720 | test/core/end2end/tests/invoke_large_request.cc |
| 4721 | test/core/end2end/tests/keepalive_timeout.cc |
| 4722 | test/core/end2end/tests/large_metadata.cc |
| 4723 | test/core/end2end/tests/load_reporting_hook.cc |
| 4724 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4725 | test/core/end2end/tests/max_connection_age.cc |
| 4726 | test/core/end2end/tests/max_connection_idle.cc |
| 4727 | test/core/end2end/tests/max_message_length.cc |
| 4728 | test/core/end2end/tests/negative_deadline.cc |
| 4729 | test/core/end2end/tests/network_status_change.cc |
| 4730 | test/core/end2end/tests/no_logging.cc |
| 4731 | test/core/end2end/tests/no_op.cc |
| 4732 | test/core/end2end/tests/payload.cc |
| 4733 | test/core/end2end/tests/ping.cc |
| 4734 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4735 | test/core/end2end/tests/proxy_auth.cc |
| 4736 | test/core/end2end/tests/registered_call.cc |
| 4737 | test/core/end2end/tests/request_with_flags.cc |
| 4738 | test/core/end2end/tests/request_with_payload.cc |
| 4739 | test/core/end2end/tests/resource_quota_server.cc |
| 4740 | test/core/end2end/tests/server_finishes_request.cc |
| 4741 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4742 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4743 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4744 | test/core/end2end/tests/simple_delayed_request.cc |
| 4745 | test/core/end2end/tests/simple_metadata.cc |
| 4746 | test/core/end2end/tests/simple_request.cc |
| 4747 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4748 | test/core/end2end/tests/stream_compression_payload.cc |
| 4749 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4750 | test/core/end2end/tests/streaming_error_response.cc |
| 4751 | test/core/end2end/tests/trailing_metadata.cc |
| 4752 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4753 | test/core/end2end/tests/write_buffering.cc |
| 4754 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4755 | ) |
| 4756 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4757 | if(WIN32 AND MSVC) |
| 4758 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4759 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4760 | ) |
| 4761 | if (gRPC_INSTALL) |
| 4762 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4763 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4764 | ) |
| 4765 | endif() |
| 4766 | endif() |
| 4767 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4768 | |
| 4769 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4770 | 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] | 4771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4772 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4773 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4774 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4775 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4777 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4780 | ) |
| 4781 | |
| 4782 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4783 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4784 | grpc_test_util_unsecure |
| 4785 | grpc_unsecure |
| 4786 | gpr_test_util |
| 4787 | gpr |
| 4788 | ) |
| 4789 | |
| 4790 | |
| 4791 | endif (gRPC_BUILD_TESTS) |
| 4792 | |
| 4793 | if (gRPC_BUILD_TESTS) |
| 4794 | |
| 4795 | add_executable(alarm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4796 | test/core/surface/alarm_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(alarm_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4804 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4805 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4806 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4808 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4811 | ) |
| 4812 | |
| 4813 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4815 | grpc_test_util |
| 4816 | grpc |
| 4817 | gpr_test_util |
| 4818 | gpr |
| 4819 | ) |
| 4820 | |
| 4821 | endif (gRPC_BUILD_TESTS) |
| 4822 | if (gRPC_BUILD_TESTS) |
| 4823 | |
| 4824 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4825 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4826 | ) |
| 4827 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4828 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4829 | target_include_directories(algorithm_test |
| 4830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4832 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4833 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4834 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4835 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4837 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4840 | ) |
| 4841 | |
| 4842 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4844 | grpc_test_util |
| 4845 | grpc |
| 4846 | gpr_test_util |
| 4847 | gpr |
| 4848 | ) |
| 4849 | |
| 4850 | endif (gRPC_BUILD_TESTS) |
| 4851 | if (gRPC_BUILD_TESTS) |
| 4852 | |
| 4853 | add_executable(alloc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4854 | test/core/support/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4855 | ) |
| 4856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4858 | target_include_directories(alloc_test |
| 4859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4861 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4862 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4863 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4864 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4866 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4869 | ) |
| 4870 | |
| 4871 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4872 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4873 | gpr_test_util |
| 4874 | gpr |
| 4875 | ) |
| 4876 | |
| 4877 | endif (gRPC_BUILD_TESTS) |
| 4878 | if (gRPC_BUILD_TESTS) |
| 4879 | |
| 4880 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4881 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4882 | ) |
| 4883 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4884 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4885 | target_include_directories(alpn_test |
| 4886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4888 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4889 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4891 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4893 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4896 | ) |
| 4897 | |
| 4898 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4900 | grpc_test_util |
| 4901 | grpc |
| 4902 | gpr_test_util |
| 4903 | gpr |
| 4904 | ) |
| 4905 | |
| 4906 | endif (gRPC_BUILD_TESTS) |
| 4907 | if (gRPC_BUILD_TESTS) |
| 4908 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4909 | add_executable(arena_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4910 | test/core/support/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4911 | ) |
| 4912 | |
| 4913 | |
| 4914 | target_include_directories(arena_test |
| 4915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4918 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4919 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4920 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4922 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4925 | ) |
| 4926 | |
| 4927 | target_link_libraries(arena_test |
| 4928 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4929 | gpr_test_util |
| 4930 | gpr |
| 4931 | ) |
| 4932 | |
| 4933 | endif (gRPC_BUILD_TESTS) |
| 4934 | if (gRPC_BUILD_TESTS) |
| 4935 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4936 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4937 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4938 | ) |
| 4939 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4940 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4941 | target_include_directories(bad_server_response_test |
| 4942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4944 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4945 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4946 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4947 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4948 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4949 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4952 | ) |
| 4953 | |
| 4954 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4955 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4956 | test_tcp_server |
| 4957 | grpc_test_util |
| 4958 | grpc |
| 4959 | gpr_test_util |
| 4960 | gpr |
| 4961 | ) |
| 4962 | |
| 4963 | endif (gRPC_BUILD_TESTS) |
| 4964 | if (gRPC_BUILD_TESTS) |
| 4965 | |
| 4966 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4967 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4968 | ) |
| 4969 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4970 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4971 | target_include_directories(bin_decoder_test |
| 4972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4974 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4975 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4976 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4977 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4979 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4982 | ) |
| 4983 | |
| 4984 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4985 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4986 | grpc_test_util |
| 4987 | grpc |
| 4988 | ) |
| 4989 | |
| 4990 | endif (gRPC_BUILD_TESTS) |
| 4991 | if (gRPC_BUILD_TESTS) |
| 4992 | |
| 4993 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4994 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4995 | ) |
| 4996 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4997 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4998 | target_include_directories(bin_encoder_test |
| 4999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5001 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5002 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5003 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5004 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5006 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5009 | ) |
| 5010 | |
| 5011 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5013 | grpc_test_util |
| 5014 | grpc |
| 5015 | ) |
| 5016 | |
| 5017 | endif (gRPC_BUILD_TESTS) |
| 5018 | if (gRPC_BUILD_TESTS) |
| 5019 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5020 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5021 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5022 | ) |
| 5023 | |
| 5024 | |
| 5025 | target_include_directories(byte_stream_test |
| 5026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5028 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5033 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5036 | ) |
| 5037 | |
| 5038 | target_link_libraries(byte_stream_test |
| 5039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5040 | grpc_test_util |
| 5041 | grpc |
| 5042 | gpr_test_util |
| 5043 | gpr |
| 5044 | ) |
| 5045 | |
| 5046 | endif (gRPC_BUILD_TESTS) |
| 5047 | if (gRPC_BUILD_TESTS) |
| 5048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5049 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5050 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5051 | ) |
| 5052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5054 | target_include_directories(channel_create_test |
| 5055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5058 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5059 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5060 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5062 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5065 | ) |
| 5066 | |
| 5067 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5069 | grpc_test_util |
| 5070 | grpc |
| 5071 | gpr_test_util |
| 5072 | gpr |
| 5073 | ) |
| 5074 | |
| 5075 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5076 | |
| 5077 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 5078 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5079 | ) |
| 5080 | |
| 5081 | |
| 5082 | target_include_directories(check_epollexclusive |
| 5083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5085 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5086 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5087 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5088 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5090 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5093 | ) |
| 5094 | |
| 5095 | target_link_libraries(check_epollexclusive |
| 5096 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5097 | grpc |
| 5098 | gpr |
| 5099 | ) |
| 5100 | |
| 5101 | |
| 5102 | if (gRPC_INSTALL) |
| 5103 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5104 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5105 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5106 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5107 | ) |
| 5108 | endif() |
| 5109 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5110 | if (gRPC_BUILD_TESTS) |
| 5111 | |
| 5112 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5113 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5114 | ) |
| 5115 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5116 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5117 | target_include_directories(chttp2_hpack_encoder_test |
| 5118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5120 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5121 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5122 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5123 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5125 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5128 | ) |
| 5129 | |
| 5130 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5131 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5132 | grpc_test_util |
| 5133 | grpc |
| 5134 | gpr_test_util |
| 5135 | gpr |
| 5136 | ) |
| 5137 | |
| 5138 | endif (gRPC_BUILD_TESTS) |
| 5139 | if (gRPC_BUILD_TESTS) |
| 5140 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5141 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5142 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5143 | ) |
| 5144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5146 | target_include_directories(chttp2_stream_map_test |
| 5147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5149 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5150 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5151 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5152 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5154 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5157 | ) |
| 5158 | |
| 5159 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5160 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5161 | grpc_test_util |
| 5162 | grpc |
| 5163 | gpr_test_util |
| 5164 | gpr |
| 5165 | ) |
| 5166 | |
| 5167 | endif (gRPC_BUILD_TESTS) |
| 5168 | if (gRPC_BUILD_TESTS) |
| 5169 | |
| 5170 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5171 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5172 | ) |
| 5173 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5175 | target_include_directories(chttp2_varint_test |
| 5176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5178 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5179 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5180 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5181 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5183 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5186 | ) |
| 5187 | |
| 5188 | target_link_libraries(chttp2_varint_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(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5200 | test/core/iomgr/combiner_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(combiner_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5208 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5209 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5210 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5212 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5215 | ) |
| 5216 | |
| 5217 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5219 | grpc_test_util |
| 5220 | grpc |
| 5221 | gpr_test_util |
| 5222 | gpr |
| 5223 | ) |
| 5224 | |
| 5225 | endif (gRPC_BUILD_TESTS) |
| 5226 | if (gRPC_BUILD_TESTS) |
| 5227 | |
| 5228 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5229 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5230 | ) |
| 5231 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5232 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5233 | target_include_directories(compression_test |
| 5234 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5236 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5237 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5238 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5239 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5241 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5244 | ) |
| 5245 | |
| 5246 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5247 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5248 | grpc_test_util |
| 5249 | grpc |
| 5250 | gpr_test_util |
| 5251 | gpr |
| 5252 | ) |
| 5253 | |
| 5254 | endif (gRPC_BUILD_TESTS) |
| 5255 | if (gRPC_BUILD_TESTS) |
| 5256 | |
| 5257 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5258 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5259 | ) |
| 5260 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5261 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5262 | target_include_directories(concurrent_connectivity_test |
| 5263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5265 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5266 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5267 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5268 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5270 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5273 | ) |
| 5274 | |
| 5275 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5276 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5277 | grpc_test_util |
| 5278 | grpc |
| 5279 | gpr_test_util |
| 5280 | gpr |
| 5281 | ) |
| 5282 | |
| 5283 | endif (gRPC_BUILD_TESTS) |
| 5284 | if (gRPC_BUILD_TESTS) |
| 5285 | |
| 5286 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5287 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5288 | ) |
| 5289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5290 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5291 | target_include_directories(connection_refused_test |
| 5292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5294 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5295 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5296 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5297 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5299 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5302 | ) |
| 5303 | |
| 5304 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5305 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5306 | grpc_test_util |
| 5307 | grpc |
| 5308 | gpr_test_util |
| 5309 | gpr |
| 5310 | ) |
| 5311 | |
| 5312 | endif (gRPC_BUILD_TESTS) |
| 5313 | if (gRPC_BUILD_TESTS) |
| 5314 | |
| 5315 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5316 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5317 | ) |
| 5318 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5319 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5320 | target_include_directories(dns_resolver_connectivity_test |
| 5321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5323 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5324 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5325 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5326 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5328 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5331 | ) |
| 5332 | |
| 5333 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5335 | grpc_test_util |
| 5336 | grpc |
| 5337 | gpr_test_util |
| 5338 | gpr |
| 5339 | ) |
| 5340 | |
| 5341 | endif (gRPC_BUILD_TESTS) |
| 5342 | if (gRPC_BUILD_TESTS) |
| 5343 | |
| 5344 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5345 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5346 | ) |
| 5347 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5349 | target_include_directories(dns_resolver_test |
| 5350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5352 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5353 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5354 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5355 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5357 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5360 | ) |
| 5361 | |
| 5362 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5363 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5364 | grpc_test_util |
| 5365 | grpc |
| 5366 | gpr_test_util |
| 5367 | gpr |
| 5368 | ) |
| 5369 | |
| 5370 | endif (gRPC_BUILD_TESTS) |
| 5371 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5372 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5373 | |
| 5374 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5375 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5376 | ) |
| 5377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5378 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5379 | target_include_directories(dualstack_socket_test |
| 5380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5382 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5383 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5384 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5385 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5387 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5390 | ) |
| 5391 | |
| 5392 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5394 | grpc_test_util |
| 5395 | grpc |
| 5396 | gpr_test_util |
| 5397 | gpr |
| 5398 | ) |
| 5399 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5400 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5401 | endif (gRPC_BUILD_TESTS) |
| 5402 | if (gRPC_BUILD_TESTS) |
| 5403 | |
| 5404 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5405 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5406 | ) |
| 5407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5409 | target_include_directories(endpoint_pair_test |
| 5410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5412 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5413 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5414 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5415 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5417 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5420 | ) |
| 5421 | |
| 5422 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5423 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5424 | grpc_test_util |
| 5425 | grpc |
| 5426 | gpr_test_util |
| 5427 | gpr |
| 5428 | ) |
| 5429 | |
| 5430 | endif (gRPC_BUILD_TESTS) |
| 5431 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5432 | |
| 5433 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5434 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5435 | ) |
| 5436 | |
| 5437 | |
| 5438 | target_include_directories(error_test |
| 5439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5441 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5442 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5443 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5444 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5445 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5446 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5449 | ) |
| 5450 | |
| 5451 | target_link_libraries(error_test |
| 5452 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5453 | grpc_test_util |
| 5454 | grpc |
| 5455 | gpr_test_util |
| 5456 | gpr |
| 5457 | ) |
| 5458 | |
| 5459 | endif (gRPC_BUILD_TESTS) |
| 5460 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5461 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5462 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5463 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5464 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5465 | ) |
| 5466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5467 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5468 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5471 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5476 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5479 | ) |
| 5480 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5481 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5483 | grpc_test_util |
| 5484 | grpc |
| 5485 | gpr_test_util |
| 5486 | gpr |
| 5487 | ) |
| 5488 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5489 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5490 | endif (gRPC_BUILD_TESTS) |
| 5491 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5492 | |
| 5493 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5494 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5495 | ) |
| 5496 | |
| 5497 | |
| 5498 | target_include_directories(fake_resolver_test |
| 5499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5501 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5502 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5503 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5504 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5506 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5509 | ) |
| 5510 | |
| 5511 | target_link_libraries(fake_resolver_test |
| 5512 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5513 | grpc_test_util |
| 5514 | grpc |
| 5515 | gpr_test_util |
| 5516 | gpr |
| 5517 | ) |
| 5518 | |
| 5519 | endif (gRPC_BUILD_TESTS) |
| 5520 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5522 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5523 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5524 | test/core/tsi/fake_transport_security_test.cc |
| 5525 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5526 | ) |
| 5527 | |
| 5528 | |
| 5529 | target_include_directories(fake_transport_security_test |
| 5530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5532 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5533 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5534 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5535 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5537 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5540 | ) |
| 5541 | |
| 5542 | target_link_libraries(fake_transport_security_test |
| 5543 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5544 | gpr_test_util |
| 5545 | gpr |
| 5546 | grpc |
| 5547 | ) |
| 5548 | |
| 5549 | endif() |
| 5550 | endif (gRPC_BUILD_TESTS) |
| 5551 | if (gRPC_BUILD_TESTS) |
| 5552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5553 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5554 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5555 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5556 | ) |
| 5557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5559 | target_include_directories(fd_conservation_posix_test |
| 5560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5562 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5567 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5570 | ) |
| 5571 | |
| 5572 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5574 | grpc_test_util |
| 5575 | grpc |
| 5576 | gpr_test_util |
| 5577 | gpr |
| 5578 | ) |
| 5579 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5580 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5581 | endif (gRPC_BUILD_TESTS) |
| 5582 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5583 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5584 | |
| 5585 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5586 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5587 | ) |
| 5588 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5589 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5590 | target_include_directories(fd_posix_test |
| 5591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5593 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5594 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5595 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5596 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5598 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5601 | ) |
| 5602 | |
| 5603 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5605 | grpc_test_util |
| 5606 | grpc |
| 5607 | gpr_test_util |
| 5608 | gpr |
| 5609 | ) |
| 5610 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5611 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5612 | endif (gRPC_BUILD_TESTS) |
| 5613 | if (gRPC_BUILD_TESTS) |
| 5614 | |
| 5615 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5616 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5617 | ) |
| 5618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5620 | target_include_directories(fling_client |
| 5621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5623 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5628 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5631 | ) |
| 5632 | |
| 5633 | target_link_libraries(fling_client |
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 | |
| 5641 | endif (gRPC_BUILD_TESTS) |
| 5642 | if (gRPC_BUILD_TESTS) |
| 5643 | |
| 5644 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5645 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5646 | ) |
| 5647 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5648 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5649 | target_include_directories(fling_server |
| 5650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5652 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5653 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5654 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5655 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5657 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5660 | ) |
| 5661 | |
| 5662 | target_link_libraries(fling_server |
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 | |
| 5670 | endif (gRPC_BUILD_TESTS) |
| 5671 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5672 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5673 | |
| 5674 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5675 | test/core/fling/fling_stream_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(fling_stream_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5683 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5684 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5685 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5687 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5690 | ) |
| 5691 | |
| 5692 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5693 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5694 | grpc_test_util |
| 5695 | grpc |
| 5696 | gpr_test_util |
| 5697 | gpr |
| 5698 | ) |
| 5699 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5700 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5701 | endif (gRPC_BUILD_TESTS) |
| 5702 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5703 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5704 | |
| 5705 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5706 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5707 | ) |
| 5708 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5709 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5710 | target_include_directories(fling_test |
| 5711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5713 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5714 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5715 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5716 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5718 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5719 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5721 | ) |
| 5722 | |
| 5723 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5725 | grpc_test_util |
| 5726 | grpc |
| 5727 | gpr_test_util |
| 5728 | gpr |
| 5729 | ) |
| 5730 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5731 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5732 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5733 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5734 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5735 | |
| 5736 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5737 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5738 | ) |
| 5739 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5741 | target_include_directories(goaway_server_test |
| 5742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5744 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5745 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5746 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5747 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5749 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5752 | ) |
| 5753 | |
| 5754 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5756 | grpc_test_util |
| 5757 | grpc |
| 5758 | gpr_test_util |
| 5759 | gpr |
| 5760 | ) |
| 5761 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5762 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5763 | endif (gRPC_BUILD_TESTS) |
| 5764 | if (gRPC_BUILD_TESTS) |
| 5765 | |
| 5766 | add_executable(gpr_avl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5767 | test/core/support/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5768 | ) |
| 5769 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5770 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5771 | target_include_directories(gpr_avl_test |
| 5772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5774 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5775 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5776 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5777 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5779 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5782 | ) |
| 5783 | |
| 5784 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5785 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5786 | gpr_test_util |
| 5787 | gpr |
| 5788 | ) |
| 5789 | |
| 5790 | endif (gRPC_BUILD_TESTS) |
| 5791 | if (gRPC_BUILD_TESTS) |
| 5792 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5793 | add_executable(gpr_cmdline_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5794 | test/core/support/cmdline_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5795 | ) |
| 5796 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5798 | target_include_directories(gpr_cmdline_test |
| 5799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5801 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5802 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5803 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5804 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5806 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5809 | ) |
| 5810 | |
| 5811 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5813 | gpr_test_util |
| 5814 | gpr |
| 5815 | ) |
| 5816 | |
| 5817 | endif (gRPC_BUILD_TESTS) |
| 5818 | if (gRPC_BUILD_TESTS) |
| 5819 | |
| 5820 | add_executable(gpr_cpu_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5821 | test/core/support/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5822 | ) |
| 5823 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5824 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5825 | target_include_directories(gpr_cpu_test |
| 5826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5828 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5829 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5830 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5831 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5833 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5836 | ) |
| 5837 | |
| 5838 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5839 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5840 | gpr_test_util |
| 5841 | gpr |
| 5842 | ) |
| 5843 | |
| 5844 | endif (gRPC_BUILD_TESTS) |
| 5845 | if (gRPC_BUILD_TESTS) |
| 5846 | |
| 5847 | add_executable(gpr_env_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5848 | test/core/support/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5849 | ) |
| 5850 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5851 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5852 | target_include_directories(gpr_env_test |
| 5853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5855 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5856 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5857 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5858 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5860 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5861 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5863 | ) |
| 5864 | |
| 5865 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5866 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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_host_port_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5875 | test/core/support/host_port_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_host_port_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5883 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5884 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5885 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5887 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5890 | ) |
| 5891 | |
| 5892 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5893 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5894 | gpr_test_util |
| 5895 | gpr |
| 5896 | ) |
| 5897 | |
| 5898 | endif (gRPC_BUILD_TESTS) |
| 5899 | if (gRPC_BUILD_TESTS) |
| 5900 | |
| 5901 | add_executable(gpr_log_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5902 | test/core/support/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5903 | ) |
| 5904 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5905 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5906 | target_include_directories(gpr_log_test |
| 5907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5909 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5910 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5911 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5912 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5914 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5917 | ) |
| 5918 | |
| 5919 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5920 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5921 | gpr_test_util |
| 5922 | gpr |
| 5923 | ) |
| 5924 | |
| 5925 | endif (gRPC_BUILD_TESTS) |
| 5926 | if (gRPC_BUILD_TESTS) |
| 5927 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5928 | add_executable(gpr_manual_constructor_test |
| 5929 | test/core/support/manual_constructor_test.cc |
| 5930 | ) |
| 5931 | |
| 5932 | |
| 5933 | target_include_directories(gpr_manual_constructor_test |
| 5934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5936 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5937 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5938 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5939 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5941 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5944 | ) |
| 5945 | |
| 5946 | target_link_libraries(gpr_manual_constructor_test |
| 5947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5948 | gpr_test_util |
| 5949 | gpr |
| 5950 | ) |
| 5951 | |
| 5952 | endif (gRPC_BUILD_TESTS) |
| 5953 | if (gRPC_BUILD_TESTS) |
| 5954 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5955 | add_executable(gpr_mpscq_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5956 | test/core/support/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5957 | ) |
| 5958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5960 | target_include_directories(gpr_mpscq_test |
| 5961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5963 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5968 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5971 | ) |
| 5972 | |
| 5973 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5974 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5975 | gpr_test_util |
| 5976 | gpr |
| 5977 | ) |
| 5978 | |
| 5979 | endif (gRPC_BUILD_TESTS) |
| 5980 | if (gRPC_BUILD_TESTS) |
| 5981 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5982 | add_executable(gpr_spinlock_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5983 | test/core/support/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5984 | ) |
| 5985 | |
| 5986 | |
| 5987 | target_include_directories(gpr_spinlock_test |
| 5988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5990 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5991 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5992 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5993 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5995 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5998 | ) |
| 5999 | |
| 6000 | target_link_libraries(gpr_spinlock_test |
| 6001 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6002 | gpr_test_util |
| 6003 | gpr |
| 6004 | ) |
| 6005 | |
| 6006 | endif (gRPC_BUILD_TESTS) |
| 6007 | if (gRPC_BUILD_TESTS) |
| 6008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6009 | add_executable(gpr_string_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6010 | test/core/support/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6011 | ) |
| 6012 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6013 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6014 | target_include_directories(gpr_string_test |
| 6015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6017 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6018 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6019 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6020 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6022 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6025 | ) |
| 6026 | |
| 6027 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6028 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6029 | gpr_test_util |
| 6030 | gpr |
| 6031 | ) |
| 6032 | |
| 6033 | endif (gRPC_BUILD_TESTS) |
| 6034 | if (gRPC_BUILD_TESTS) |
| 6035 | |
| 6036 | add_executable(gpr_sync_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6037 | test/core/support/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6038 | ) |
| 6039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6041 | target_include_directories(gpr_sync_test |
| 6042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6044 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6045 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6046 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6047 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6049 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6052 | ) |
| 6053 | |
| 6054 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6055 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6056 | gpr_test_util |
| 6057 | gpr |
| 6058 | ) |
| 6059 | |
| 6060 | endif (gRPC_BUILD_TESTS) |
| 6061 | if (gRPC_BUILD_TESTS) |
| 6062 | |
| 6063 | add_executable(gpr_thd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6064 | test/core/support/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6065 | ) |
| 6066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6068 | target_include_directories(gpr_thd_test |
| 6069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6071 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6076 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6079 | ) |
| 6080 | |
| 6081 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6083 | gpr_test_util |
| 6084 | gpr |
| 6085 | ) |
| 6086 | |
| 6087 | endif (gRPC_BUILD_TESTS) |
| 6088 | if (gRPC_BUILD_TESTS) |
| 6089 | |
| 6090 | add_executable(gpr_time_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6091 | test/core/support/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6092 | ) |
| 6093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6094 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6095 | target_include_directories(gpr_time_test |
| 6096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6098 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6099 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6100 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6101 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6103 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6106 | ) |
| 6107 | |
| 6108 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6110 | gpr_test_util |
| 6111 | gpr |
| 6112 | ) |
| 6113 | |
| 6114 | endif (gRPC_BUILD_TESTS) |
| 6115 | if (gRPC_BUILD_TESTS) |
| 6116 | |
| 6117 | add_executable(gpr_tls_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6118 | test/core/support/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6119 | ) |
| 6120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6121 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6122 | target_include_directories(gpr_tls_test |
| 6123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6125 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6126 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6127 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6128 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6130 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6133 | ) |
| 6134 | |
| 6135 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6136 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6137 | gpr_test_util |
| 6138 | gpr |
| 6139 | ) |
| 6140 | |
| 6141 | endif (gRPC_BUILD_TESTS) |
| 6142 | if (gRPC_BUILD_TESTS) |
| 6143 | |
| 6144 | add_executable(gpr_useful_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6145 | test/core/support/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6146 | ) |
| 6147 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6149 | target_include_directories(gpr_useful_test |
| 6150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6152 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6153 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6154 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6155 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6157 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6160 | ) |
| 6161 | |
| 6162 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6163 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6164 | gpr_test_util |
| 6165 | gpr |
| 6166 | ) |
| 6167 | |
| 6168 | endif (gRPC_BUILD_TESTS) |
| 6169 | if (gRPC_BUILD_TESTS) |
| 6170 | |
| 6171 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6172 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6173 | ) |
| 6174 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6175 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6176 | target_include_directories(grpc_auth_context_test |
| 6177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6179 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6180 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6181 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6182 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6184 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6187 | ) |
| 6188 | |
| 6189 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6190 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6191 | grpc_test_util |
| 6192 | grpc |
| 6193 | gpr_test_util |
| 6194 | gpr |
| 6195 | ) |
| 6196 | |
| 6197 | endif (gRPC_BUILD_TESTS) |
| 6198 | if (gRPC_BUILD_TESTS) |
| 6199 | |
| 6200 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6201 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6202 | ) |
| 6203 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6204 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6205 | target_include_directories(grpc_b64_test |
| 6206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6208 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6209 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6210 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6211 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6212 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6213 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6216 | ) |
| 6217 | |
| 6218 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6219 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6220 | grpc_test_util |
| 6221 | grpc |
| 6222 | gpr_test_util |
| 6223 | gpr |
| 6224 | ) |
| 6225 | |
| 6226 | endif (gRPC_BUILD_TESTS) |
| 6227 | if (gRPC_BUILD_TESTS) |
| 6228 | |
| 6229 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6230 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6231 | ) |
| 6232 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6233 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6234 | target_include_directories(grpc_byte_buffer_reader_test |
| 6235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6237 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6238 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6239 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6240 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6241 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6242 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6245 | ) |
| 6246 | |
| 6247 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6248 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6249 | grpc_test_util |
| 6250 | grpc |
| 6251 | gpr_test_util |
| 6252 | gpr |
| 6253 | ) |
| 6254 | |
| 6255 | endif (gRPC_BUILD_TESTS) |
| 6256 | if (gRPC_BUILD_TESTS) |
| 6257 | |
| 6258 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6259 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6260 | ) |
| 6261 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6262 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6263 | target_include_directories(grpc_channel_args_test |
| 6264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6266 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6267 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6268 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6269 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6271 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6274 | ) |
| 6275 | |
| 6276 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6277 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6278 | grpc_test_util |
| 6279 | grpc |
| 6280 | gpr_test_util |
| 6281 | gpr |
| 6282 | ) |
| 6283 | |
| 6284 | endif (gRPC_BUILD_TESTS) |
| 6285 | if (gRPC_BUILD_TESTS) |
| 6286 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6287 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6288 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6289 | ) |
| 6290 | |
| 6291 | |
| 6292 | target_include_directories(grpc_channel_stack_builder_test |
| 6293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6295 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6296 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6297 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6298 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6300 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6303 | ) |
| 6304 | |
| 6305 | target_link_libraries(grpc_channel_stack_builder_test |
| 6306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6307 | grpc_test_util |
| 6308 | grpc |
| 6309 | gpr_test_util |
| 6310 | gpr |
| 6311 | ) |
| 6312 | |
| 6313 | endif (gRPC_BUILD_TESTS) |
| 6314 | if (gRPC_BUILD_TESTS) |
| 6315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6316 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6317 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6318 | ) |
| 6319 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6320 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6321 | target_include_directories(grpc_channel_stack_test |
| 6322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6324 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6325 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6326 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6327 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6329 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6332 | ) |
| 6333 | |
| 6334 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6336 | grpc_test_util |
| 6337 | grpc |
| 6338 | gpr_test_util |
| 6339 | gpr |
| 6340 | ) |
| 6341 | |
| 6342 | endif (gRPC_BUILD_TESTS) |
| 6343 | if (gRPC_BUILD_TESTS) |
| 6344 | |
| 6345 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6346 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6347 | ) |
| 6348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6350 | target_include_directories(grpc_completion_queue_test |
| 6351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6355 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6356 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6361 | ) |
| 6362 | |
| 6363 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6365 | grpc_test_util |
| 6366 | grpc |
| 6367 | gpr_test_util |
| 6368 | gpr |
| 6369 | ) |
| 6370 | |
| 6371 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6372 | if (gRPC_BUILD_TESTS) |
| 6373 | |
| 6374 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6375 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6376 | ) |
| 6377 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6378 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6379 | target_include_directories(grpc_completion_queue_threading_test |
| 6380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6382 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6383 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6384 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6385 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6387 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6390 | ) |
| 6391 | |
| 6392 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6394 | grpc_test_util |
| 6395 | grpc |
| 6396 | gpr_test_util |
| 6397 | gpr |
| 6398 | ) |
| 6399 | |
| 6400 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6401 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6402 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6403 | test/core/security/create_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6404 | ) |
| 6405 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6406 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6407 | target_include_directories(grpc_create_jwt |
| 6408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6409 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6410 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6411 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6412 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6413 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6415 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6418 | ) |
| 6419 | |
| 6420 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6421 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6422 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6423 | grpc |
| 6424 | gpr |
| 6425 | ) |
| 6426 | |
| 6427 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6428 | if (gRPC_INSTALL) |
| 6429 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6430 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6431 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6432 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6433 | ) |
| 6434 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6435 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6436 | if (gRPC_BUILD_TESTS) |
| 6437 | |
| 6438 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6439 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6440 | ) |
| 6441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6442 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6443 | target_include_directories(grpc_credentials_test |
| 6444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6446 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6447 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6448 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6449 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6451 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6454 | ) |
| 6455 | |
| 6456 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6458 | grpc_test_util |
| 6459 | grpc |
| 6460 | gpr_test_util |
| 6461 | gpr |
| 6462 | ) |
| 6463 | |
| 6464 | endif (gRPC_BUILD_TESTS) |
| 6465 | if (gRPC_BUILD_TESTS) |
| 6466 | |
| 6467 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6468 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6469 | ) |
| 6470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6472 | target_include_directories(grpc_fetch_oauth2 |
| 6473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6475 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6476 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6477 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6478 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6480 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6483 | ) |
| 6484 | |
| 6485 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6486 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6487 | grpc_test_util |
| 6488 | grpc |
| 6489 | gpr_test_util |
| 6490 | gpr |
| 6491 | ) |
| 6492 | |
| 6493 | endif (gRPC_BUILD_TESTS) |
| 6494 | if (gRPC_BUILD_TESTS) |
| 6495 | |
| 6496 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6497 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6498 | ) |
| 6499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6501 | target_include_directories(grpc_invalid_channel_args_test |
| 6502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6504 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6505 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6506 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6507 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6509 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6512 | ) |
| 6513 | |
| 6514 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6516 | grpc_test_util |
| 6517 | grpc |
| 6518 | gpr_test_util |
| 6519 | gpr |
| 6520 | ) |
| 6521 | |
| 6522 | endif (gRPC_BUILD_TESTS) |
| 6523 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6524 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6525 | |
| 6526 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6527 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6528 | ) |
| 6529 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6530 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | target_include_directories(grpc_json_token_test |
| 6532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6534 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6539 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6542 | ) |
| 6543 | |
| 6544 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6545 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6546 | grpc_test_util |
| 6547 | grpc |
| 6548 | gpr_test_util |
| 6549 | gpr |
| 6550 | ) |
| 6551 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6552 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | endif (gRPC_BUILD_TESTS) |
| 6554 | if (gRPC_BUILD_TESTS) |
| 6555 | |
| 6556 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6557 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6558 | ) |
| 6559 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6560 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6561 | target_include_directories(grpc_jwt_verifier_test |
| 6562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6564 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6565 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6566 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6567 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6569 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6572 | ) |
| 6573 | |
| 6574 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6575 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6576 | grpc_test_util |
| 6577 | grpc |
| 6578 | gpr_test_util |
| 6579 | gpr |
| 6580 | ) |
| 6581 | |
| 6582 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6583 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6584 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6585 | test/core/security/print_google_default_creds_token.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6586 | ) |
| 6587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6588 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6589 | target_include_directories(grpc_print_google_default_creds_token |
| 6590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6592 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6593 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6594 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6595 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6597 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6600 | ) |
| 6601 | |
| 6602 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6603 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6604 | grpc |
| 6605 | gpr |
| 6606 | ) |
| 6607 | |
| 6608 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6609 | if (gRPC_INSTALL) |
| 6610 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6611 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6612 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6613 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6614 | ) |
| 6615 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6617 | if (gRPC_BUILD_TESTS) |
| 6618 | |
| 6619 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6620 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6621 | ) |
| 6622 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6623 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6624 | target_include_directories(grpc_security_connector_test |
| 6625 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6627 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6628 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6629 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6630 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6632 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6633 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6634 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6635 | ) |
| 6636 | |
| 6637 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6638 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6639 | grpc_test_util |
| 6640 | grpc |
| 6641 | gpr_test_util |
| 6642 | gpr |
| 6643 | ) |
| 6644 | |
| 6645 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6646 | if (gRPC_BUILD_TESTS) |
| 6647 | |
| 6648 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6649 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6650 | ) |
| 6651 | |
| 6652 | |
| 6653 | target_include_directories(grpc_ssl_credentials_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} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6657 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6658 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6659 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6661 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6664 | ) |
| 6665 | |
| 6666 | target_link_libraries(grpc_ssl_credentials_test |
| 6667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6668 | grpc_test_util |
| 6669 | grpc |
| 6670 | gpr_test_util |
| 6671 | gpr |
| 6672 | ) |
| 6673 | |
| 6674 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6675 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6676 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6677 | test/core/security/verify_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6678 | ) |
| 6679 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6680 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6681 | target_include_directories(grpc_verify_jwt |
| 6682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6684 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6685 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6686 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6687 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6689 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6692 | ) |
| 6693 | |
| 6694 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6696 | grpc |
| 6697 | gpr |
| 6698 | ) |
| 6699 | |
| 6700 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6701 | if (gRPC_INSTALL) |
| 6702 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6703 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6704 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6705 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6706 | ) |
| 6707 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6708 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6709 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6710 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6711 | |
| 6712 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6713 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6714 | ) |
| 6715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6717 | target_include_directories(handshake_client |
| 6718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6725 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6728 | ) |
| 6729 | |
| 6730 | target_link_libraries(handshake_client |
| 6731 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6733 | grpc_test_util |
| 6734 | grpc |
| 6735 | gpr_test_util |
| 6736 | gpr |
| 6737 | ) |
| 6738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6739 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6740 | endif (gRPC_BUILD_TESTS) |
| 6741 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6742 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6743 | |
| 6744 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6745 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6746 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6747 | ) |
| 6748 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6749 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6750 | target_include_directories(handshake_server |
| 6751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6753 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6754 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6755 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6756 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6758 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6761 | ) |
| 6762 | |
| 6763 | target_link_libraries(handshake_server |
| 6764 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6765 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6766 | grpc_test_util |
| 6767 | grpc |
| 6768 | gpr_test_util |
| 6769 | gpr |
| 6770 | ) |
| 6771 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6772 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6773 | endif (gRPC_BUILD_TESTS) |
| 6774 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6775 | if(_gRPC_PLATFORM_LINUX) |
| 6776 | |
| 6777 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6778 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6779 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6780 | ) |
| 6781 | |
| 6782 | |
| 6783 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6786 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6787 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6788 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6789 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6791 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6794 | ) |
| 6795 | |
| 6796 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 6797 | ${_gRPC_SSL_LIBRARIES} |
| 6798 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6799 | grpc_test_util |
| 6800 | grpc |
| 6801 | gpr_test_util |
| 6802 | gpr |
| 6803 | ) |
| 6804 | |
| 6805 | endif() |
| 6806 | endif (gRPC_BUILD_TESTS) |
| 6807 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6808 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6809 | add_executable(histogram_test |
| 6810 | test/core/util/histogram_test.cc |
| 6811 | ) |
| 6812 | |
| 6813 | |
| 6814 | target_include_directories(histogram_test |
| 6815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6816 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6817 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6818 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6819 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6820 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6822 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6825 | ) |
| 6826 | |
| 6827 | target_link_libraries(histogram_test |
| 6828 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6829 | grpc_test_util |
| 6830 | gpr |
| 6831 | ) |
| 6832 | |
| 6833 | endif (gRPC_BUILD_TESTS) |
| 6834 | if (gRPC_BUILD_TESTS) |
| 6835 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6836 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6837 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6838 | ) |
| 6839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6841 | target_include_directories(hpack_parser_test |
| 6842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6845 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6846 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6847 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6849 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6852 | ) |
| 6853 | |
| 6854 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6856 | grpc_test_util |
| 6857 | grpc |
| 6858 | gpr_test_util |
| 6859 | gpr |
| 6860 | ) |
| 6861 | |
| 6862 | endif (gRPC_BUILD_TESTS) |
| 6863 | if (gRPC_BUILD_TESTS) |
| 6864 | |
| 6865 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6866 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6867 | ) |
| 6868 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6869 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6870 | target_include_directories(hpack_table_test |
| 6871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6873 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6874 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6875 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6876 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6878 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6881 | ) |
| 6882 | |
| 6883 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6884 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6885 | grpc_test_util |
| 6886 | grpc |
| 6887 | gpr_test_util |
| 6888 | gpr |
| 6889 | ) |
| 6890 | |
| 6891 | endif (gRPC_BUILD_TESTS) |
| 6892 | if (gRPC_BUILD_TESTS) |
| 6893 | |
| 6894 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6895 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6896 | ) |
| 6897 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6898 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6899 | target_include_directories(http_parser_test |
| 6900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6902 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6904 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6905 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6907 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6910 | ) |
| 6911 | |
| 6912 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6913 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6914 | grpc_test_util |
| 6915 | grpc |
| 6916 | gpr_test_util |
| 6917 | gpr |
| 6918 | ) |
| 6919 | |
| 6920 | endif (gRPC_BUILD_TESTS) |
| 6921 | if (gRPC_BUILD_TESTS) |
| 6922 | |
| 6923 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6924 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6925 | ) |
| 6926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6928 | target_include_directories(httpcli_format_request_test |
| 6929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6931 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6933 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6934 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6936 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6939 | ) |
| 6940 | |
| 6941 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6943 | grpc_test_util |
| 6944 | grpc |
| 6945 | gpr_test_util |
| 6946 | gpr |
| 6947 | ) |
| 6948 | |
| 6949 | endif (gRPC_BUILD_TESTS) |
| 6950 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6951 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6952 | |
| 6953 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6954 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6955 | ) |
| 6956 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6957 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6958 | target_include_directories(httpcli_test |
| 6959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6961 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6962 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6963 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6964 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6966 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6969 | ) |
| 6970 | |
| 6971 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6972 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6973 | grpc_test_util |
| 6974 | grpc |
| 6975 | gpr_test_util |
| 6976 | gpr |
| 6977 | ) |
| 6978 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6979 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6980 | endif (gRPC_BUILD_TESTS) |
| 6981 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6982 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6983 | |
| 6984 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6985 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6986 | ) |
| 6987 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6988 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6989 | target_include_directories(httpscli_test |
| 6990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6992 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6993 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6994 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6995 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6997 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7000 | ) |
| 7001 | |
| 7002 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7003 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7004 | grpc_test_util |
| 7005 | grpc |
| 7006 | gpr_test_util |
| 7007 | gpr |
| 7008 | ) |
| 7009 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7010 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7011 | endif (gRPC_BUILD_TESTS) |
| 7012 | if (gRPC_BUILD_TESTS) |
| 7013 | |
| 7014 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7015 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7016 | ) |
| 7017 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7018 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7019 | target_include_directories(init_test |
| 7020 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7021 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7022 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7023 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7024 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7025 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7027 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7030 | ) |
| 7031 | |
| 7032 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7034 | grpc_test_util |
| 7035 | grpc |
| 7036 | gpr_test_util |
| 7037 | gpr |
| 7038 | ) |
| 7039 | |
| 7040 | endif (gRPC_BUILD_TESTS) |
| 7041 | if (gRPC_BUILD_TESTS) |
| 7042 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7043 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7044 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7045 | ) |
| 7046 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7047 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7048 | target_include_directories(invalid_call_argument_test |
| 7049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7051 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7052 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7053 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7054 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7056 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7059 | ) |
| 7060 | |
| 7061 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7062 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7063 | grpc_test_util |
| 7064 | grpc |
| 7065 | gpr_test_util |
| 7066 | gpr |
| 7067 | ) |
| 7068 | |
| 7069 | endif (gRPC_BUILD_TESTS) |
| 7070 | if (gRPC_BUILD_TESTS) |
| 7071 | |
| 7072 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7073 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7074 | ) |
| 7075 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7076 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7077 | target_include_directories(json_rewrite |
| 7078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7080 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7081 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7082 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7083 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7085 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7088 | ) |
| 7089 | |
| 7090 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7091 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7092 | grpc |
| 7093 | gpr |
| 7094 | ) |
| 7095 | |
| 7096 | endif (gRPC_BUILD_TESTS) |
| 7097 | if (gRPC_BUILD_TESTS) |
| 7098 | |
| 7099 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7100 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7101 | ) |
| 7102 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7104 | target_include_directories(json_rewrite_test |
| 7105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7107 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7108 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7109 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7110 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7112 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7115 | ) |
| 7116 | |
| 7117 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7118 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7119 | grpc_test_util |
| 7120 | grpc |
| 7121 | gpr_test_util |
| 7122 | gpr |
| 7123 | ) |
| 7124 | |
| 7125 | endif (gRPC_BUILD_TESTS) |
| 7126 | if (gRPC_BUILD_TESTS) |
| 7127 | |
| 7128 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7129 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7130 | ) |
| 7131 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7132 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7133 | target_include_directories(json_stream_error_test |
| 7134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7136 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7137 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7138 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7139 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7141 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7144 | ) |
| 7145 | |
| 7146 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7147 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7148 | grpc_test_util |
| 7149 | grpc |
| 7150 | gpr_test_util |
| 7151 | gpr |
| 7152 | ) |
| 7153 | |
| 7154 | endif (gRPC_BUILD_TESTS) |
| 7155 | if (gRPC_BUILD_TESTS) |
| 7156 | |
| 7157 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7158 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7159 | ) |
| 7160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7161 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7162 | target_include_directories(json_test |
| 7163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7166 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7167 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7168 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7170 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7173 | ) |
| 7174 | |
| 7175 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7176 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7177 | grpc_test_util |
| 7178 | grpc |
| 7179 | gpr_test_util |
| 7180 | gpr |
| 7181 | ) |
| 7182 | |
| 7183 | endif (gRPC_BUILD_TESTS) |
| 7184 | if (gRPC_BUILD_TESTS) |
| 7185 | |
| 7186 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7187 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7188 | ) |
| 7189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7191 | target_include_directories(lame_client_test |
| 7192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7194 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7195 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7196 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7197 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7198 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7199 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7202 | ) |
| 7203 | |
| 7204 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7206 | grpc_test_util |
| 7207 | grpc |
| 7208 | gpr_test_util |
| 7209 | gpr |
| 7210 | ) |
| 7211 | |
| 7212 | endif (gRPC_BUILD_TESTS) |
| 7213 | if (gRPC_BUILD_TESTS) |
| 7214 | |
| 7215 | add_executable(lb_policies_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7216 | test/core/client_channel/lb_policies_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7217 | ) |
| 7218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7220 | target_include_directories(lb_policies_test |
| 7221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7223 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7226 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7228 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7231 | ) |
| 7232 | |
| 7233 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7235 | grpc_test_util |
| 7236 | grpc |
| 7237 | gpr_test_util |
| 7238 | gpr |
| 7239 | ) |
| 7240 | |
| 7241 | endif (gRPC_BUILD_TESTS) |
| 7242 | if (gRPC_BUILD_TESTS) |
| 7243 | |
| 7244 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7245 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7246 | ) |
| 7247 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7249 | target_include_directories(load_file_test |
| 7250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7252 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7253 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7254 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7255 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7257 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7260 | ) |
| 7261 | |
| 7262 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | |
| 7273 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7274 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7275 | ) |
| 7276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7278 | target_include_directories(memory_profile_client |
| 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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7283 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7284 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7286 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7289 | ) |
| 7290 | |
| 7291 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7292 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7293 | grpc_test_util |
| 7294 | grpc |
| 7295 | gpr_test_util |
| 7296 | gpr |
| 7297 | ) |
| 7298 | |
| 7299 | endif (gRPC_BUILD_TESTS) |
| 7300 | if (gRPC_BUILD_TESTS) |
| 7301 | |
| 7302 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7303 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7304 | ) |
| 7305 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7306 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7307 | target_include_directories(memory_profile_server |
| 7308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7310 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7311 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7312 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7313 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7315 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7318 | ) |
| 7319 | |
| 7320 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7322 | grpc_test_util |
| 7323 | grpc |
| 7324 | gpr_test_util |
| 7325 | gpr |
| 7326 | ) |
| 7327 | |
| 7328 | endif (gRPC_BUILD_TESTS) |
| 7329 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7330 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7331 | |
| 7332 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7333 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7334 | ) |
| 7335 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7336 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7337 | target_include_directories(memory_profile_test |
| 7338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7340 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7341 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7342 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7343 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7344 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7345 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7348 | ) |
| 7349 | |
| 7350 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7351 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7352 | grpc_test_util |
| 7353 | grpc |
| 7354 | gpr_test_util |
| 7355 | gpr |
| 7356 | ) |
| 7357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7358 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7359 | endif (gRPC_BUILD_TESTS) |
| 7360 | if (gRPC_BUILD_TESTS) |
| 7361 | |
| 7362 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7363 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7364 | ) |
| 7365 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7367 | target_include_directories(message_compress_test |
| 7368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7370 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7371 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7372 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7373 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7375 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7378 | ) |
| 7379 | |
| 7380 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7381 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7382 | grpc_test_util |
| 7383 | grpc |
| 7384 | gpr_test_util |
| 7385 | gpr |
| 7386 | ) |
| 7387 | |
| 7388 | endif (gRPC_BUILD_TESTS) |
| 7389 | if (gRPC_BUILD_TESTS) |
| 7390 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7391 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7392 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7393 | ) |
| 7394 | |
| 7395 | |
| 7396 | target_include_directories(minimal_stack_is_minimal_test |
| 7397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7399 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7400 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7401 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7402 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7404 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7407 | ) |
| 7408 | |
| 7409 | target_link_libraries(minimal_stack_is_minimal_test |
| 7410 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7411 | grpc_test_util |
| 7412 | grpc |
| 7413 | gpr_test_util |
| 7414 | gpr |
| 7415 | ) |
| 7416 | |
| 7417 | endif (gRPC_BUILD_TESTS) |
| 7418 | if (gRPC_BUILD_TESTS) |
| 7419 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7420 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7421 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7422 | ) |
| 7423 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7424 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7425 | target_include_directories(multiple_server_queues_test |
| 7426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7428 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7429 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7430 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7431 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7433 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7434 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7436 | ) |
| 7437 | |
| 7438 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7439 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7440 | grpc_test_util |
| 7441 | grpc |
| 7442 | gpr_test_util |
| 7443 | gpr |
| 7444 | ) |
| 7445 | |
| 7446 | endif (gRPC_BUILD_TESTS) |
| 7447 | if (gRPC_BUILD_TESTS) |
| 7448 | |
| 7449 | add_executable(murmur_hash_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7450 | test/core/support/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7451 | ) |
| 7452 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7453 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7454 | target_include_directories(murmur_hash_test |
| 7455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7456 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7457 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7458 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7459 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7460 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7462 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7463 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7465 | ) |
| 7466 | |
| 7467 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7469 | gpr_test_util |
| 7470 | gpr |
| 7471 | ) |
| 7472 | |
| 7473 | endif (gRPC_BUILD_TESTS) |
| 7474 | if (gRPC_BUILD_TESTS) |
| 7475 | |
| 7476 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7477 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7478 | ) |
| 7479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7481 | target_include_directories(no_server_test |
| 7482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7485 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7486 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7487 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7489 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7492 | ) |
| 7493 | |
| 7494 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7496 | grpc_test_util |
| 7497 | grpc |
| 7498 | gpr_test_util |
| 7499 | gpr |
| 7500 | ) |
| 7501 | |
| 7502 | endif (gRPC_BUILD_TESTS) |
| 7503 | if (gRPC_BUILD_TESTS) |
| 7504 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7505 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7506 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7507 | ) |
| 7508 | |
| 7509 | |
| 7510 | target_include_directories(num_external_connectivity_watchers_test |
| 7511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7513 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7514 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7515 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7516 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7518 | PRIVATE ${CARES_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7521 | ) |
| 7522 | |
| 7523 | target_link_libraries(num_external_connectivity_watchers_test |
| 7524 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7525 | grpc_test_util |
| 7526 | grpc |
| 7527 | gpr_test_util |
| 7528 | gpr |
| 7529 | ) |
| 7530 | |
| 7531 | endif (gRPC_BUILD_TESTS) |
| 7532 | if (gRPC_BUILD_TESTS) |
| 7533 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7534 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7535 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7536 | ) |
| 7537 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7538 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7539 | target_include_directories(parse_address_test |
| 7540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7547 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7550 | ) |
| 7551 | |
| 7552 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7554 | grpc_test_util |
| 7555 | grpc |
| 7556 | gpr_test_util |
| 7557 | gpr |
| 7558 | ) |
| 7559 | |
| 7560 | endif (gRPC_BUILD_TESTS) |
| 7561 | if (gRPC_BUILD_TESTS) |
| 7562 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7563 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7564 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7565 | ) |
| 7566 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7567 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7568 | target_include_directories(percent_encoding_test |
| 7569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7571 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7572 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7573 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7574 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7576 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7577 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7579 | ) |
| 7580 | |
| 7581 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7582 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7583 | grpc_test_util |
| 7584 | grpc |
| 7585 | gpr_test_util |
| 7586 | gpr |
| 7587 | ) |
| 7588 | |
| 7589 | endif (gRPC_BUILD_TESTS) |
| 7590 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7591 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7592 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7593 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7594 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7595 | ) |
| 7596 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7597 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7598 | target_include_directories(pollset_set_test |
| 7599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7601 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7602 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7603 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7604 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7605 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7606 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7609 | ) |
| 7610 | |
| 7611 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7613 | grpc_test_util |
| 7614 | grpc |
| 7615 | gpr_test_util |
| 7616 | gpr |
| 7617 | ) |
| 7618 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7619 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7620 | endif (gRPC_BUILD_TESTS) |
| 7621 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7622 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7623 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7624 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7625 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7626 | ) |
| 7627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7628 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7629 | target_include_directories(resolve_address_posix_test |
| 7630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7632 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7637 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7640 | ) |
| 7641 | |
| 7642 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7644 | grpc_test_util |
| 7645 | grpc |
| 7646 | gpr_test_util |
| 7647 | gpr |
| 7648 | ) |
| 7649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7650 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7651 | endif (gRPC_BUILD_TESTS) |
| 7652 | if (gRPC_BUILD_TESTS) |
| 7653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7654 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7655 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7656 | ) |
| 7657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7659 | target_include_directories(resolve_address_test |
| 7660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7662 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7667 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7670 | ) |
| 7671 | |
| 7672 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7673 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7674 | grpc_test_util |
| 7675 | grpc |
| 7676 | gpr_test_util |
| 7677 | gpr |
| 7678 | ) |
| 7679 | |
| 7680 | endif (gRPC_BUILD_TESTS) |
| 7681 | if (gRPC_BUILD_TESTS) |
| 7682 | |
| 7683 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7684 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7685 | ) |
| 7686 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7687 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7688 | target_include_directories(resource_quota_test |
| 7689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7691 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7692 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7693 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7694 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7695 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7696 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7699 | ) |
| 7700 | |
| 7701 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7703 | grpc_test_util |
| 7704 | grpc |
| 7705 | gpr_test_util |
| 7706 | gpr |
| 7707 | ) |
| 7708 | |
| 7709 | endif (gRPC_BUILD_TESTS) |
| 7710 | if (gRPC_BUILD_TESTS) |
| 7711 | |
| 7712 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7713 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7714 | ) |
| 7715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7717 | target_include_directories(secure_channel_create_test |
| 7718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7725 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7728 | ) |
| 7729 | |
| 7730 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7731 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7732 | grpc_test_util |
| 7733 | grpc |
| 7734 | gpr_test_util |
| 7735 | gpr |
| 7736 | ) |
| 7737 | |
| 7738 | endif (gRPC_BUILD_TESTS) |
| 7739 | if (gRPC_BUILD_TESTS) |
| 7740 | |
| 7741 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7742 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7743 | ) |
| 7744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7746 | target_include_directories(secure_endpoint_test |
| 7747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7749 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7750 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7751 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7752 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7754 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7757 | ) |
| 7758 | |
| 7759 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7761 | grpc_test_util |
| 7762 | grpc |
| 7763 | gpr_test_util |
| 7764 | gpr |
| 7765 | ) |
| 7766 | |
| 7767 | endif (gRPC_BUILD_TESTS) |
| 7768 | if (gRPC_BUILD_TESTS) |
| 7769 | |
| 7770 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7771 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7772 | ) |
| 7773 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7774 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7775 | target_include_directories(sequential_connectivity_test |
| 7776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7778 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7779 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7780 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7781 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7783 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7786 | ) |
| 7787 | |
| 7788 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7790 | grpc_test_util |
| 7791 | grpc |
| 7792 | gpr_test_util |
| 7793 | gpr |
| 7794 | ) |
| 7795 | |
| 7796 | endif (gRPC_BUILD_TESTS) |
| 7797 | if (gRPC_BUILD_TESTS) |
| 7798 | |
| 7799 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7800 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7801 | ) |
| 7802 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7803 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7804 | target_include_directories(server_chttp2_test |
| 7805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7807 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7808 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7809 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7810 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7812 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7815 | ) |
| 7816 | |
| 7817 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7819 | grpc_test_util |
| 7820 | grpc |
| 7821 | gpr_test_util |
| 7822 | gpr |
| 7823 | ) |
| 7824 | |
| 7825 | endif (gRPC_BUILD_TESTS) |
| 7826 | if (gRPC_BUILD_TESTS) |
| 7827 | |
| 7828 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7829 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7830 | ) |
| 7831 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7833 | target_include_directories(server_test |
| 7834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7836 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7837 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7838 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7839 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7841 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7844 | ) |
| 7845 | |
| 7846 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7847 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7848 | grpc_test_util |
| 7849 | grpc |
| 7850 | gpr_test_util |
| 7851 | gpr |
| 7852 | ) |
| 7853 | |
| 7854 | endif (gRPC_BUILD_TESTS) |
| 7855 | if (gRPC_BUILD_TESTS) |
| 7856 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7857 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7858 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7859 | ) |
| 7860 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7861 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7862 | target_include_directories(slice_buffer_test |
| 7863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7865 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7866 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7867 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7868 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7870 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7873 | ) |
| 7874 | |
| 7875 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7876 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7877 | grpc_test_util |
| 7878 | grpc |
| 7879 | gpr_test_util |
| 7880 | gpr |
| 7881 | ) |
| 7882 | |
| 7883 | endif (gRPC_BUILD_TESTS) |
| 7884 | if (gRPC_BUILD_TESTS) |
| 7885 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7886 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7887 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7888 | ) |
| 7889 | |
| 7890 | |
| 7891 | target_include_directories(slice_hash_table_test |
| 7892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7894 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7895 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7896 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7897 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7899 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7902 | ) |
| 7903 | |
| 7904 | target_link_libraries(slice_hash_table_test |
| 7905 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7906 | grpc_test_util |
| 7907 | grpc |
| 7908 | gpr_test_util |
| 7909 | gpr |
| 7910 | ) |
| 7911 | |
| 7912 | endif (gRPC_BUILD_TESTS) |
| 7913 | if (gRPC_BUILD_TESTS) |
| 7914 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7915 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7916 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7917 | ) |
| 7918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7919 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7920 | target_include_directories(slice_string_helpers_test |
| 7921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7923 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7925 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7926 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7928 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7931 | ) |
| 7932 | |
| 7933 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7935 | grpc_test_util |
| 7936 | grpc |
| 7937 | gpr_test_util |
| 7938 | gpr |
| 7939 | ) |
| 7940 | |
| 7941 | endif (gRPC_BUILD_TESTS) |
| 7942 | if (gRPC_BUILD_TESTS) |
| 7943 | |
| 7944 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7945 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7946 | ) |
| 7947 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7948 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7949 | target_include_directories(slice_test |
| 7950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7952 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7953 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7954 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7955 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7957 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7960 | ) |
| 7961 | |
| 7962 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7963 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7964 | grpc_test_util |
| 7965 | grpc |
| 7966 | gpr_test_util |
| 7967 | gpr |
| 7968 | ) |
| 7969 | |
| 7970 | endif (gRPC_BUILD_TESTS) |
| 7971 | if (gRPC_BUILD_TESTS) |
| 7972 | |
| 7973 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7974 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7975 | ) |
| 7976 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7977 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7978 | target_include_directories(sockaddr_resolver_test |
| 7979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7981 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7982 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7983 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7984 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7986 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7987 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7989 | ) |
| 7990 | |
| 7991 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7992 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7993 | grpc_test_util |
| 7994 | grpc |
| 7995 | gpr_test_util |
| 7996 | gpr |
| 7997 | ) |
| 7998 | |
| 7999 | endif (gRPC_BUILD_TESTS) |
| 8000 | if (gRPC_BUILD_TESTS) |
| 8001 | |
| 8002 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8003 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8004 | ) |
| 8005 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8007 | target_include_directories(sockaddr_utils_test |
| 8008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8010 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8012 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8013 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8015 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8018 | ) |
| 8019 | |
| 8020 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8022 | grpc_test_util |
| 8023 | grpc |
| 8024 | gpr_test_util |
| 8025 | gpr |
| 8026 | ) |
| 8027 | |
| 8028 | endif (gRPC_BUILD_TESTS) |
| 8029 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8030 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8031 | |
| 8032 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8033 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8034 | ) |
| 8035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8036 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8037 | target_include_directories(socket_utils_test |
| 8038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8040 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8041 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8042 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8043 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8045 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8046 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8048 | ) |
| 8049 | |
| 8050 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8051 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8052 | grpc_test_util |
| 8053 | grpc |
| 8054 | gpr_test_util |
| 8055 | gpr |
| 8056 | ) |
| 8057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8058 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8059 | endif (gRPC_BUILD_TESTS) |
| 8060 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8061 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8062 | |
| 8063 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8064 | test/core/tsi/ssl_transport_security_test.cc |
| 8065 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8066 | ) |
| 8067 | |
| 8068 | |
| 8069 | target_include_directories(ssl_transport_security_test |
| 8070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8072 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8073 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8074 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8075 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8077 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8080 | ) |
| 8081 | |
| 8082 | target_link_libraries(ssl_transport_security_test |
| 8083 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8084 | gpr_test_util |
| 8085 | gpr |
| 8086 | grpc |
| 8087 | ) |
| 8088 | |
| 8089 | endif() |
| 8090 | endif (gRPC_BUILD_TESTS) |
| 8091 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8092 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8093 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8094 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8095 | ) |
| 8096 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8097 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8098 | target_include_directories(status_conversion_test |
| 8099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8100 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8101 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8102 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8103 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8104 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8106 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8109 | ) |
| 8110 | |
| 8111 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8112 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8113 | grpc_test_util |
| 8114 | grpc |
| 8115 | gpr_test_util |
| 8116 | gpr |
| 8117 | ) |
| 8118 | |
| 8119 | endif (gRPC_BUILD_TESTS) |
| 8120 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8121 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8122 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8123 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8124 | ) |
| 8125 | |
| 8126 | |
| 8127 | target_include_directories(stream_compression_test |
| 8128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8130 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8131 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8132 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8133 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8135 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8138 | ) |
| 8139 | |
| 8140 | target_link_libraries(stream_compression_test |
| 8141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 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 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8151 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8152 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8153 | ) |
| 8154 | |
| 8155 | |
| 8156 | target_include_directories(stream_owned_slice_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} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8160 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8161 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8162 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8164 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8167 | ) |
| 8168 | |
| 8169 | target_link_libraries(stream_owned_slice_test |
| 8170 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8171 | grpc_test_util |
| 8172 | grpc |
| 8173 | gpr_test_util |
| 8174 | gpr |
| 8175 | ) |
| 8176 | |
| 8177 | endif (gRPC_BUILD_TESTS) |
| 8178 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8179 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8180 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8181 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8182 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8183 | ) |
| 8184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8185 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8186 | target_include_directories(tcp_client_posix_test |
| 8187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8189 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8190 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8191 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8192 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8194 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8197 | ) |
| 8198 | |
| 8199 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8201 | grpc_test_util |
| 8202 | grpc |
| 8203 | gpr_test_util |
| 8204 | gpr |
| 8205 | ) |
| 8206 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8207 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8208 | endif (gRPC_BUILD_TESTS) |
| 8209 | if (gRPC_BUILD_TESTS) |
| 8210 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8211 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8212 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8213 | ) |
| 8214 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8215 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8216 | target_include_directories(tcp_client_uv_test |
| 8217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8219 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8220 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8221 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8222 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8224 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8227 | ) |
| 8228 | |
| 8229 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8231 | grpc_test_util |
| 8232 | grpc |
| 8233 | gpr_test_util |
| 8234 | gpr |
| 8235 | ) |
| 8236 | |
| 8237 | endif (gRPC_BUILD_TESTS) |
| 8238 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8239 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8240 | |
| 8241 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8242 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8243 | ) |
| 8244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8246 | target_include_directories(tcp_posix_test |
| 8247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8249 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8254 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8257 | ) |
| 8258 | |
| 8259 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8261 | grpc_test_util |
| 8262 | grpc |
| 8263 | gpr_test_util |
| 8264 | gpr |
| 8265 | ) |
| 8266 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8267 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8268 | endif (gRPC_BUILD_TESTS) |
| 8269 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8270 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8271 | |
| 8272 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8273 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8274 | ) |
| 8275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8277 | target_include_directories(tcp_server_posix_test |
| 8278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8280 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8285 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8288 | ) |
| 8289 | |
| 8290 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8292 | grpc_test_util |
| 8293 | grpc |
| 8294 | gpr_test_util |
| 8295 | gpr |
| 8296 | ) |
| 8297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8298 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8299 | endif (gRPC_BUILD_TESTS) |
| 8300 | if (gRPC_BUILD_TESTS) |
| 8301 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8302 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8303 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8304 | ) |
| 8305 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8306 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8307 | target_include_directories(tcp_server_uv_test |
| 8308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8310 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8311 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8312 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8313 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8315 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8318 | ) |
| 8319 | |
| 8320 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8322 | grpc_test_util |
| 8323 | grpc |
| 8324 | gpr_test_util |
| 8325 | gpr |
| 8326 | ) |
| 8327 | |
| 8328 | endif (gRPC_BUILD_TESTS) |
| 8329 | if (gRPC_BUILD_TESTS) |
| 8330 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8331 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8332 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8333 | ) |
| 8334 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8335 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8336 | target_include_directories(time_averaged_stats_test |
| 8337 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8339 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8340 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8341 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8342 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8344 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8345 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8347 | ) |
| 8348 | |
| 8349 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8350 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8351 | grpc_test_util |
| 8352 | grpc |
| 8353 | gpr_test_util |
| 8354 | gpr |
| 8355 | ) |
| 8356 | |
| 8357 | endif (gRPC_BUILD_TESTS) |
| 8358 | if (gRPC_BUILD_TESTS) |
| 8359 | |
| 8360 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8361 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8362 | ) |
| 8363 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8364 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8365 | target_include_directories(timeout_encoding_test |
| 8366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8368 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8369 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8370 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8371 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8373 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8376 | ) |
| 8377 | |
| 8378 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8379 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8380 | grpc_test_util |
| 8381 | grpc |
| 8382 | gpr_test_util |
| 8383 | gpr |
| 8384 | ) |
| 8385 | |
| 8386 | endif (gRPC_BUILD_TESTS) |
| 8387 | if (gRPC_BUILD_TESTS) |
| 8388 | |
| 8389 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8390 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8391 | ) |
| 8392 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8393 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8394 | target_include_directories(timer_heap_test |
| 8395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8397 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8398 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8399 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8400 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8402 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8405 | ) |
| 8406 | |
| 8407 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8409 | grpc_test_util |
| 8410 | grpc |
| 8411 | gpr_test_util |
| 8412 | gpr |
| 8413 | ) |
| 8414 | |
| 8415 | endif (gRPC_BUILD_TESTS) |
| 8416 | if (gRPC_BUILD_TESTS) |
| 8417 | |
| 8418 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8419 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8420 | ) |
| 8421 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8422 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8423 | target_include_directories(timer_list_test |
| 8424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8426 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8427 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8428 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8429 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8431 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8434 | ) |
| 8435 | |
| 8436 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8437 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8438 | grpc_test_util |
| 8439 | grpc |
| 8440 | gpr_test_util |
| 8441 | gpr |
| 8442 | ) |
| 8443 | |
| 8444 | endif (gRPC_BUILD_TESTS) |
| 8445 | if (gRPC_BUILD_TESTS) |
| 8446 | |
| 8447 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8448 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8449 | ) |
| 8450 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8451 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8452 | target_include_directories(transport_connectivity_state_test |
| 8453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8455 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8456 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8457 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8458 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8460 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8463 | ) |
| 8464 | |
| 8465 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8466 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8467 | grpc_test_util |
| 8468 | grpc |
| 8469 | gpr_test_util |
| 8470 | gpr |
| 8471 | ) |
| 8472 | |
| 8473 | endif (gRPC_BUILD_TESTS) |
| 8474 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8475 | |
| 8476 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8477 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8478 | ) |
| 8479 | |
| 8480 | |
| 8481 | target_include_directories(transport_metadata_test |
| 8482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8485 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8486 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8487 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8489 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8492 | ) |
| 8493 | |
| 8494 | target_link_libraries(transport_metadata_test |
| 8495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8496 | grpc_test_util |
| 8497 | grpc |
| 8498 | gpr_test_util |
| 8499 | gpr |
| 8500 | ) |
| 8501 | |
| 8502 | endif (gRPC_BUILD_TESTS) |
| 8503 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8505 | |
| 8506 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8507 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8508 | ) |
| 8509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8511 | target_include_directories(transport_security_test |
| 8512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8514 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8515 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8516 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8517 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8519 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8522 | ) |
| 8523 | |
| 8524 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8525 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8526 | grpc_test_util |
| 8527 | grpc |
| 8528 | gpr_test_util |
| 8529 | gpr |
| 8530 | ) |
| 8531 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8532 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8533 | endif (gRPC_BUILD_TESTS) |
| 8534 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8535 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8536 | |
| 8537 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8538 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8539 | ) |
| 8540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8541 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8542 | target_include_directories(udp_server_test |
| 8543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8545 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8546 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8547 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8548 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8550 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8553 | ) |
| 8554 | |
| 8555 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8556 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8557 | grpc_test_util |
| 8558 | grpc |
| 8559 | gpr_test_util |
| 8560 | gpr |
| 8561 | ) |
| 8562 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8563 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8564 | endif (gRPC_BUILD_TESTS) |
| 8565 | if (gRPC_BUILD_TESTS) |
| 8566 | |
| 8567 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8568 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8569 | ) |
| 8570 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8571 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8572 | target_include_directories(uri_parser_test |
| 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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8576 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8577 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8578 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8580 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8583 | ) |
| 8584 | |
| 8585 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8586 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8587 | grpc_test_util |
| 8588 | grpc |
| 8589 | gpr_test_util |
| 8590 | gpr |
| 8591 | ) |
| 8592 | |
| 8593 | endif (gRPC_BUILD_TESTS) |
| 8594 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8595 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8596 | |
| 8597 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8598 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8599 | ) |
| 8600 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8602 | target_include_directories(wakeup_fd_cv_test |
| 8603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8607 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8608 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8610 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8613 | ) |
| 8614 | |
| 8615 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8617 | grpc_test_util |
| 8618 | grpc |
| 8619 | gpr_test_util |
| 8620 | gpr |
| 8621 | ) |
| 8622 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8623 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8624 | endif (gRPC_BUILD_TESTS) |
| 8625 | if (gRPC_BUILD_TESTS) |
| 8626 | |
| 8627 | add_executable(alarm_cpp_test |
| 8628 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8629 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8630 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8631 | ) |
| 8632 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8633 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8634 | target_include_directories(alarm_cpp_test |
| 8635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8638 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8639 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8640 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8642 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8645 | PRIVATE third_party/googletest/googletest/include |
| 8646 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8647 | PRIVATE third_party/googletest/googlemock/include |
| 8648 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8649 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8650 | ) |
| 8651 | |
| 8652 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8653 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8655 | grpc++_test_util_unsecure |
| 8656 | grpc_test_util_unsecure |
| 8657 | grpc++_unsecure |
| 8658 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8659 | gpr_test_util |
| 8660 | gpr |
| 8661 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8662 | ) |
| 8663 | |
| 8664 | endif (gRPC_BUILD_TESTS) |
| 8665 | if (gRPC_BUILD_TESTS) |
| 8666 | |
| 8667 | add_executable(async_end2end_test |
| 8668 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8669 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8670 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8671 | ) |
| 8672 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8673 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8674 | target_include_directories(async_end2end_test |
| 8675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8677 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8678 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8679 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8680 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8681 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8682 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8685 | PRIVATE third_party/googletest/googletest/include |
| 8686 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8687 | PRIVATE third_party/googletest/googlemock/include |
| 8688 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8689 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8690 | ) |
| 8691 | |
| 8692 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8693 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8695 | grpc++_test_util |
| 8696 | grpc_test_util |
| 8697 | grpc++ |
| 8698 | grpc |
| 8699 | gpr_test_util |
| 8700 | gpr |
| 8701 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8702 | ) |
| 8703 | |
| 8704 | endif (gRPC_BUILD_TESTS) |
| 8705 | if (gRPC_BUILD_TESTS) |
| 8706 | |
| 8707 | add_executable(auth_property_iterator_test |
| 8708 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8709 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8710 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8711 | ) |
| 8712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8714 | target_include_directories(auth_property_iterator_test |
| 8715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8718 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8719 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8720 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8722 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8725 | PRIVATE third_party/googletest/googletest/include |
| 8726 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8727 | PRIVATE third_party/googletest/googlemock/include |
| 8728 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8729 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8730 | ) |
| 8731 | |
| 8732 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8733 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8735 | grpc++_test_util |
| 8736 | grpc_test_util |
| 8737 | grpc++ |
| 8738 | grpc |
| 8739 | gpr_test_util |
| 8740 | gpr |
| 8741 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8742 | ) |
| 8743 | |
| 8744 | endif (gRPC_BUILD_TESTS) |
| 8745 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8746 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8747 | add_executable(backoff_test |
| 8748 | test/core/backoff/backoff_test.cc |
| 8749 | third_party/googletest/googletest/src/gtest-all.cc |
| 8750 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8751 | ) |
| 8752 | |
| 8753 | |
| 8754 | target_include_directories(backoff_test |
| 8755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 8757 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8758 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8759 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8760 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8762 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8765 | PRIVATE third_party/googletest/googletest/include |
| 8766 | PRIVATE third_party/googletest/googletest |
| 8767 | PRIVATE third_party/googletest/googlemock/include |
| 8768 | PRIVATE third_party/googletest/googlemock |
| 8769 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8770 | ) |
| 8771 | |
| 8772 | target_link_libraries(backoff_test |
| 8773 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8774 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8775 | grpc_test_util |
| 8776 | grpc |
| 8777 | gpr_test_util |
| 8778 | gpr |
| 8779 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8780 | ) |
| 8781 | |
| 8782 | endif (gRPC_BUILD_TESTS) |
| 8783 | if (gRPC_BUILD_TESTS) |
| 8784 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8785 | add_executable(bdp_estimator_test |
| 8786 | test/core/transport/bdp_estimator_test.cc |
| 8787 | third_party/googletest/googletest/src/gtest-all.cc |
| 8788 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8789 | ) |
| 8790 | |
| 8791 | |
| 8792 | target_include_directories(bdp_estimator_test |
| 8793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8795 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8796 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8797 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8798 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8799 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8800 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8803 | PRIVATE third_party/googletest/googletest/include |
| 8804 | PRIVATE third_party/googletest/googletest |
| 8805 | PRIVATE third_party/googletest/googlemock/include |
| 8806 | PRIVATE third_party/googletest/googlemock |
| 8807 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8808 | ) |
| 8809 | |
| 8810 | target_link_libraries(bdp_estimator_test |
| 8811 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8813 | grpc++_test_util |
| 8814 | grpc++ |
| 8815 | grpc_test_util |
| 8816 | grpc |
| 8817 | gpr_test_util |
| 8818 | gpr |
| 8819 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8820 | ) |
| 8821 | |
| 8822 | endif (gRPC_BUILD_TESTS) |
| 8823 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8824 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8825 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8826 | add_executable(bm_arena |
| 8827 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8828 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8829 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8830 | ) |
| 8831 | |
| 8832 | |
| 8833 | target_include_directories(bm_arena |
| 8834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8836 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8837 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8838 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8839 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8841 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8844 | PRIVATE third_party/googletest/googletest/include |
| 8845 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8846 | PRIVATE third_party/googletest/googlemock/include |
| 8847 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8848 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8849 | ) |
| 8850 | |
| 8851 | target_link_libraries(bm_arena |
| 8852 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8853 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8854 | grpc_benchmark |
| 8855 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8856 | grpc++_test_util_unsecure |
| 8857 | grpc_test_util_unsecure |
| 8858 | grpc++_unsecure |
| 8859 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8860 | gpr_test_util |
| 8861 | gpr |
| 8862 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8863 | ) |
| 8864 | |
| 8865 | endif() |
| 8866 | endif (gRPC_BUILD_TESTS) |
| 8867 | if (gRPC_BUILD_TESTS) |
| 8868 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8869 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8870 | add_executable(bm_call_create |
| 8871 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8872 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8873 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8874 | ) |
| 8875 | |
| 8876 | |
| 8877 | target_include_directories(bm_call_create |
| 8878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8880 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8881 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8882 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8883 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8885 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8888 | PRIVATE third_party/googletest/googletest/include |
| 8889 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8890 | PRIVATE third_party/googletest/googlemock/include |
| 8891 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8892 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8893 | ) |
| 8894 | |
| 8895 | target_link_libraries(bm_call_create |
| 8896 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8897 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8898 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8899 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8900 | grpc++_test_util_unsecure |
| 8901 | grpc_test_util_unsecure |
| 8902 | grpc++_unsecure |
| 8903 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8904 | gpr_test_util |
| 8905 | gpr |
| 8906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8907 | ) |
| 8908 | |
| 8909 | endif() |
| 8910 | endif (gRPC_BUILD_TESTS) |
| 8911 | if (gRPC_BUILD_TESTS) |
| 8912 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8913 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8914 | add_executable(bm_chttp2_hpack |
| 8915 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8916 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8917 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8918 | ) |
| 8919 | |
| 8920 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8921 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8924 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8925 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8926 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8927 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8929 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8932 | PRIVATE third_party/googletest/googletest/include |
| 8933 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8934 | PRIVATE third_party/googletest/googlemock/include |
| 8935 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8936 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8937 | ) |
| 8938 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8939 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8940 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8942 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8943 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8944 | grpc++_test_util_unsecure |
| 8945 | grpc_test_util_unsecure |
| 8946 | grpc++_unsecure |
| 8947 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8948 | gpr_test_util |
| 8949 | gpr |
| 8950 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8951 | ) |
| 8952 | |
| 8953 | endif() |
| 8954 | endif (gRPC_BUILD_TESTS) |
| 8955 | if (gRPC_BUILD_TESTS) |
| 8956 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8957 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8958 | add_executable(bm_chttp2_transport |
| 8959 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8960 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8961 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8962 | ) |
| 8963 | |
| 8964 | |
| 8965 | target_include_directories(bm_chttp2_transport |
| 8966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8969 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8970 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8971 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 8973 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 8974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8976 | PRIVATE third_party/googletest/googletest/include |
| 8977 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8978 | PRIVATE third_party/googletest/googlemock/include |
| 8979 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8980 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8981 | ) |
| 8982 | |
| 8983 | target_link_libraries(bm_chttp2_transport |
| 8984 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8985 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8986 | grpc_benchmark |
| 8987 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8988 | grpc++_test_util_unsecure |
| 8989 | grpc_test_util_unsecure |
| 8990 | grpc++_unsecure |
| 8991 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8992 | gpr_test_util |
| 8993 | gpr |
| 8994 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8995 | ) |
| 8996 | |
| 8997 | endif() |
| 8998 | endif (gRPC_BUILD_TESTS) |
| 8999 | if (gRPC_BUILD_TESTS) |
| 9000 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9001 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9002 | add_executable(bm_closure |
| 9003 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9004 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9005 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9006 | ) |
| 9007 | |
| 9008 | |
| 9009 | target_include_directories(bm_closure |
| 9010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9012 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9013 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9014 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9015 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9017 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9020 | PRIVATE third_party/googletest/googletest/include |
| 9021 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9022 | PRIVATE third_party/googletest/googlemock/include |
| 9023 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9024 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9025 | ) |
| 9026 | |
| 9027 | target_link_libraries(bm_closure |
| 9028 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9030 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9031 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9032 | grpc++_test_util_unsecure |
| 9033 | grpc_test_util_unsecure |
| 9034 | grpc++_unsecure |
| 9035 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9036 | gpr_test_util |
| 9037 | gpr |
| 9038 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9039 | ) |
| 9040 | |
| 9041 | endif() |
| 9042 | endif (gRPC_BUILD_TESTS) |
| 9043 | if (gRPC_BUILD_TESTS) |
| 9044 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9045 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9046 | add_executable(bm_cq |
| 9047 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9048 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9049 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9050 | ) |
| 9051 | |
| 9052 | |
| 9053 | target_include_directories(bm_cq |
| 9054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9056 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9057 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9058 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9059 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9061 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9064 | PRIVATE third_party/googletest/googletest/include |
| 9065 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9066 | PRIVATE third_party/googletest/googlemock/include |
| 9067 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9068 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9069 | ) |
| 9070 | |
| 9071 | target_link_libraries(bm_cq |
| 9072 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9074 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9075 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9076 | grpc++_test_util_unsecure |
| 9077 | grpc_test_util_unsecure |
| 9078 | grpc++_unsecure |
| 9079 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9080 | gpr_test_util |
| 9081 | gpr |
| 9082 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9083 | ) |
| 9084 | |
| 9085 | endif() |
| 9086 | endif (gRPC_BUILD_TESTS) |
| 9087 | if (gRPC_BUILD_TESTS) |
| 9088 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9089 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9090 | add_executable(bm_cq_multiple_threads |
| 9091 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9092 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9093 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9094 | ) |
| 9095 | |
| 9096 | |
| 9097 | target_include_directories(bm_cq_multiple_threads |
| 9098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9100 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9102 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9103 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9105 | PRIVATE ${CARES_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9108 | PRIVATE third_party/googletest/googletest/include |
| 9109 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9110 | PRIVATE third_party/googletest/googlemock/include |
| 9111 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9112 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9113 | ) |
| 9114 | |
| 9115 | target_link_libraries(bm_cq_multiple_threads |
| 9116 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9118 | grpc_benchmark |
| 9119 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9120 | grpc++_test_util_unsecure |
| 9121 | grpc_test_util_unsecure |
| 9122 | grpc++_unsecure |
| 9123 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9124 | gpr_test_util |
| 9125 | gpr |
| 9126 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9127 | ) |
| 9128 | |
| 9129 | endif() |
| 9130 | endif (gRPC_BUILD_TESTS) |
| 9131 | if (gRPC_BUILD_TESTS) |
| 9132 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9133 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9134 | add_executable(bm_error |
| 9135 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9136 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9137 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9138 | ) |
| 9139 | |
| 9140 | |
| 9141 | target_include_directories(bm_error |
| 9142 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9144 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9145 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9146 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9147 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9149 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9152 | PRIVATE third_party/googletest/googletest/include |
| 9153 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9154 | PRIVATE third_party/googletest/googlemock/include |
| 9155 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9156 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9157 | ) |
| 9158 | |
| 9159 | target_link_libraries(bm_error |
| 9160 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9161 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9162 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9163 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9164 | grpc++_test_util_unsecure |
| 9165 | grpc_test_util_unsecure |
| 9166 | grpc++_unsecure |
| 9167 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9168 | gpr_test_util |
| 9169 | gpr |
| 9170 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9171 | ) |
| 9172 | |
| 9173 | endif() |
| 9174 | endif (gRPC_BUILD_TESTS) |
| 9175 | if (gRPC_BUILD_TESTS) |
| 9176 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9177 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9178 | add_executable(bm_fullstack_streaming_ping_pong |
| 9179 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9180 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9181 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9182 | ) |
| 9183 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9184 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9185 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9188 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9189 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9190 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9191 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9193 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9196 | PRIVATE third_party/googletest/googletest/include |
| 9197 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9198 | PRIVATE third_party/googletest/googlemock/include |
| 9199 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9200 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9201 | ) |
| 9202 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9203 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9204 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9205 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9206 | grpc_benchmark |
| 9207 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9208 | grpc++_test_util_unsecure |
| 9209 | grpc_test_util_unsecure |
| 9210 | grpc++_unsecure |
| 9211 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9212 | gpr_test_util |
| 9213 | gpr |
| 9214 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9215 | ) |
| 9216 | |
| 9217 | endif() |
| 9218 | endif (gRPC_BUILD_TESTS) |
| 9219 | if (gRPC_BUILD_TESTS) |
| 9220 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9221 | |
| 9222 | add_executable(bm_fullstack_streaming_pump |
| 9223 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9224 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9225 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9226 | ) |
| 9227 | |
| 9228 | |
| 9229 | target_include_directories(bm_fullstack_streaming_pump |
| 9230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9232 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9233 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9234 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9235 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9237 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9240 | PRIVATE third_party/googletest/googletest/include |
| 9241 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9242 | PRIVATE third_party/googletest/googlemock/include |
| 9243 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9244 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9245 | ) |
| 9246 | |
| 9247 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9248 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9250 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9251 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9252 | grpc++_test_util_unsecure |
| 9253 | grpc_test_util_unsecure |
| 9254 | grpc++_unsecure |
| 9255 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9256 | gpr_test_util |
| 9257 | gpr |
| 9258 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9259 | ) |
| 9260 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9261 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9262 | endif (gRPC_BUILD_TESTS) |
| 9263 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9264 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9265 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9266 | add_executable(bm_fullstack_trickle |
| 9267 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9268 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9269 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9270 | ) |
| 9271 | |
| 9272 | |
| 9273 | target_include_directories(bm_fullstack_trickle |
| 9274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9276 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9277 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9278 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9279 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9281 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9284 | PRIVATE third_party/googletest/googletest/include |
| 9285 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9286 | PRIVATE third_party/googletest/googlemock/include |
| 9287 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9288 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9289 | ) |
| 9290 | |
| 9291 | target_link_libraries(bm_fullstack_trickle |
| 9292 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9294 | grpc_benchmark |
| 9295 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9296 | grpc++_test_util_unsecure |
| 9297 | grpc_test_util_unsecure |
| 9298 | grpc++_unsecure |
| 9299 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9300 | gpr_test_util |
| 9301 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 9302 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9303 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9304 | ) |
| 9305 | |
| 9306 | endif() |
| 9307 | endif (gRPC_BUILD_TESTS) |
| 9308 | if (gRPC_BUILD_TESTS) |
| 9309 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9310 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9311 | add_executable(bm_fullstack_unary_ping_pong |
| 9312 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9313 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9314 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9315 | ) |
| 9316 | |
| 9317 | |
| 9318 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9321 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9326 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9329 | PRIVATE third_party/googletest/googletest/include |
| 9330 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9331 | PRIVATE third_party/googletest/googlemock/include |
| 9332 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9333 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9334 | ) |
| 9335 | |
| 9336 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9337 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9339 | grpc_benchmark |
| 9340 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9341 | grpc++_test_util_unsecure |
| 9342 | grpc_test_util_unsecure |
| 9343 | grpc++_unsecure |
| 9344 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9345 | gpr_test_util |
| 9346 | gpr |
| 9347 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9348 | ) |
| 9349 | |
| 9350 | endif() |
| 9351 | endif (gRPC_BUILD_TESTS) |
| 9352 | if (gRPC_BUILD_TESTS) |
| 9353 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9354 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9355 | add_executable(bm_metadata |
| 9356 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9357 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9358 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9359 | ) |
| 9360 | |
| 9361 | |
| 9362 | target_include_directories(bm_metadata |
| 9363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9365 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9366 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9367 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9368 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9370 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9371 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9373 | PRIVATE third_party/googletest/googletest/include |
| 9374 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9375 | PRIVATE third_party/googletest/googlemock/include |
| 9376 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9377 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9378 | ) |
| 9379 | |
| 9380 | target_link_libraries(bm_metadata |
| 9381 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9382 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9383 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9384 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9385 | grpc++_test_util_unsecure |
| 9386 | grpc_test_util_unsecure |
| 9387 | grpc++_unsecure |
| 9388 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9389 | gpr_test_util |
| 9390 | gpr |
| 9391 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9392 | ) |
| 9393 | |
| 9394 | endif() |
| 9395 | endif (gRPC_BUILD_TESTS) |
| 9396 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9397 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9398 | |
| 9399 | add_executable(bm_pollset |
| 9400 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9401 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9402 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9403 | ) |
| 9404 | |
| 9405 | |
| 9406 | target_include_directories(bm_pollset |
| 9407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9409 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9410 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9411 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9412 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9414 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9417 | PRIVATE third_party/googletest/googletest/include |
| 9418 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9419 | PRIVATE third_party/googletest/googlemock/include |
| 9420 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9421 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9422 | ) |
| 9423 | |
| 9424 | target_link_libraries(bm_pollset |
| 9425 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9426 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9427 | grpc_benchmark |
| 9428 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9429 | grpc++_test_util_unsecure |
| 9430 | grpc_test_util_unsecure |
| 9431 | grpc++_unsecure |
| 9432 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9433 | gpr_test_util |
| 9434 | gpr |
| 9435 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9436 | ) |
| 9437 | |
| 9438 | endif() |
| 9439 | endif (gRPC_BUILD_TESTS) |
| 9440 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9441 | |
| 9442 | add_executable(channel_arguments_test |
| 9443 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9444 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9445 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9446 | ) |
| 9447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9449 | target_include_directories(channel_arguments_test |
| 9450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9453 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9454 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9455 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9457 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9460 | PRIVATE third_party/googletest/googletest/include |
| 9461 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9462 | PRIVATE third_party/googletest/googlemock/include |
| 9463 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9464 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9465 | ) |
| 9466 | |
| 9467 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9468 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9469 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9470 | grpc++ |
| 9471 | grpc |
| 9472 | gpr |
| 9473 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9474 | ) |
| 9475 | |
| 9476 | endif (gRPC_BUILD_TESTS) |
| 9477 | if (gRPC_BUILD_TESTS) |
| 9478 | |
| 9479 | add_executable(channel_filter_test |
| 9480 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9481 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9482 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9483 | ) |
| 9484 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9485 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9486 | target_include_directories(channel_filter_test |
| 9487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9489 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9490 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9491 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9492 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9494 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9497 | PRIVATE third_party/googletest/googletest/include |
| 9498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9499 | PRIVATE third_party/googletest/googlemock/include |
| 9500 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9502 | ) |
| 9503 | |
| 9504 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9507 | grpc++ |
| 9508 | grpc |
| 9509 | gpr |
| 9510 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9511 | ) |
| 9512 | |
| 9513 | endif (gRPC_BUILD_TESTS) |
| 9514 | if (gRPC_BUILD_TESTS) |
| 9515 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9516 | add_executable(chttp2_settings_timeout_test |
| 9517 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9518 | third_party/googletest/googletest/src/gtest-all.cc |
| 9519 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9520 | ) |
| 9521 | |
| 9522 | |
| 9523 | target_include_directories(chttp2_settings_timeout_test |
| 9524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9526 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9527 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9528 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9529 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9531 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9532 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9534 | PRIVATE third_party/googletest/googletest/include |
| 9535 | PRIVATE third_party/googletest/googletest |
| 9536 | PRIVATE third_party/googletest/googlemock/include |
| 9537 | PRIVATE third_party/googletest/googlemock |
| 9538 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9539 | ) |
| 9540 | |
| 9541 | target_link_libraries(chttp2_settings_timeout_test |
| 9542 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9543 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9544 | grpc_test_util |
| 9545 | grpc |
| 9546 | gpr_test_util |
| 9547 | gpr |
| 9548 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9549 | ) |
| 9550 | |
| 9551 | endif (gRPC_BUILD_TESTS) |
| 9552 | if (gRPC_BUILD_TESTS) |
| 9553 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9554 | add_executable(cli_call_test |
| 9555 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9556 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9557 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9558 | ) |
| 9559 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9560 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9561 | target_include_directories(cli_call_test |
| 9562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9564 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9565 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9566 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9567 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9569 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9572 | PRIVATE third_party/googletest/googletest/include |
| 9573 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9574 | PRIVATE third_party/googletest/googlemock/include |
| 9575 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9576 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9577 | ) |
| 9578 | |
| 9579 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9580 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9582 | grpc_cli_libs |
| 9583 | grpc++_test_util |
| 9584 | grpc_test_util |
| 9585 | grpc++ |
| 9586 | grpc |
| 9587 | gpr_test_util |
| 9588 | gpr |
| 9589 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9590 | ) |
| 9591 | |
| 9592 | endif (gRPC_BUILD_TESTS) |
| 9593 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9594 | |
| 9595 | add_executable(client_channel_stress_test |
| 9596 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9597 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9598 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9599 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9600 | test/cpp/client/client_channel_stress_test.cc |
| 9601 | third_party/googletest/googletest/src/gtest-all.cc |
| 9602 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9603 | ) |
| 9604 | |
| 9605 | protobuf_generate_grpc_cpp( |
| 9606 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9607 | ) |
| 9608 | |
| 9609 | target_include_directories(client_channel_stress_test |
| 9610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9613 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9614 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9615 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9617 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9620 | PRIVATE third_party/googletest/googletest/include |
| 9621 | PRIVATE third_party/googletest/googletest |
| 9622 | PRIVATE third_party/googletest/googlemock/include |
| 9623 | PRIVATE third_party/googletest/googlemock |
| 9624 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9625 | ) |
| 9626 | |
| 9627 | target_link_libraries(client_channel_stress_test |
| 9628 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9630 | grpc++_test_util |
| 9631 | grpc_test_util |
| 9632 | grpc++ |
| 9633 | grpc |
| 9634 | gpr_test_util |
| 9635 | gpr |
| 9636 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9637 | ) |
| 9638 | |
| 9639 | endif (gRPC_BUILD_TESTS) |
| 9640 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9641 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9642 | |
| 9643 | add_executable(client_crash_test |
| 9644 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9645 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9646 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9647 | ) |
| 9648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9650 | target_include_directories(client_crash_test |
| 9651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9653 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9654 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9655 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9656 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9658 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9661 | PRIVATE third_party/googletest/googletest/include |
| 9662 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9663 | PRIVATE third_party/googletest/googlemock/include |
| 9664 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9665 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9666 | ) |
| 9667 | |
| 9668 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9669 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9670 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9671 | grpc++_test_util |
| 9672 | grpc_test_util |
| 9673 | grpc++ |
| 9674 | grpc |
| 9675 | gpr_test_util |
| 9676 | gpr |
| 9677 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9678 | ) |
| 9679 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9680 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9681 | endif (gRPC_BUILD_TESTS) |
| 9682 | if (gRPC_BUILD_TESTS) |
| 9683 | |
| 9684 | add_executable(client_crash_test_server |
| 9685 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9686 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9687 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9688 | ) |
| 9689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9690 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9691 | target_include_directories(client_crash_test_server |
| 9692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9694 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9699 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9702 | PRIVATE third_party/googletest/googletest/include |
| 9703 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9704 | PRIVATE third_party/googletest/googlemock/include |
| 9705 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9707 | ) |
| 9708 | |
| 9709 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9710 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9712 | grpc++_test_util |
| 9713 | grpc_test_util |
| 9714 | grpc++ |
| 9715 | grpc |
| 9716 | gpr_test_util |
| 9717 | gpr |
| 9718 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9719 | ) |
| 9720 | |
| 9721 | endif (gRPC_BUILD_TESTS) |
| 9722 | if (gRPC_BUILD_TESTS) |
| 9723 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9724 | add_executable(client_lb_end2end_test |
| 9725 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9726 | third_party/googletest/googletest/src/gtest-all.cc |
| 9727 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9728 | ) |
| 9729 | |
| 9730 | |
| 9731 | target_include_directories(client_lb_end2end_test |
| 9732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9734 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9735 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9736 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9737 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9739 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9742 | PRIVATE third_party/googletest/googletest/include |
| 9743 | PRIVATE third_party/googletest/googletest |
| 9744 | PRIVATE third_party/googletest/googlemock/include |
| 9745 | PRIVATE third_party/googletest/googlemock |
| 9746 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9747 | ) |
| 9748 | |
| 9749 | target_link_libraries(client_lb_end2end_test |
| 9750 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9751 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9752 | grpc++_test_util |
| 9753 | grpc_test_util |
| 9754 | grpc++ |
| 9755 | grpc |
| 9756 | gpr_test_util |
| 9757 | gpr |
| 9758 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9759 | ) |
| 9760 | |
| 9761 | endif (gRPC_BUILD_TESTS) |
| 9762 | if (gRPC_BUILD_TESTS) |
| 9763 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9764 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9766 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9770 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9771 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9772 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9777 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9778 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9779 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9780 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9781 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9782 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9783 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9784 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9785 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9786 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9787 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9788 | ) |
| 9789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9790 | protobuf_generate_grpc_cpp( |
| 9791 | src/proto/grpc/testing/control.proto |
| 9792 | ) |
| 9793 | protobuf_generate_grpc_cpp( |
| 9794 | src/proto/grpc/testing/messages.proto |
| 9795 | ) |
| 9796 | protobuf_generate_grpc_cpp( |
| 9797 | src/proto/grpc/testing/payloads.proto |
| 9798 | ) |
| 9799 | protobuf_generate_grpc_cpp( |
| 9800 | src/proto/grpc/testing/services.proto |
| 9801 | ) |
| 9802 | protobuf_generate_grpc_cpp( |
| 9803 | src/proto/grpc/testing/stats.proto |
| 9804 | ) |
| 9805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9806 | target_include_directories(codegen_test_full |
| 9807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9809 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9811 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9812 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9814 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9817 | PRIVATE third_party/googletest/googletest/include |
| 9818 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9819 | PRIVATE third_party/googletest/googlemock/include |
| 9820 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9821 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9822 | ) |
| 9823 | |
| 9824 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9825 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9826 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9827 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9828 | grpc++ |
| 9829 | grpc |
| 9830 | gpr |
| 9831 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9832 | ) |
| 9833 | |
| 9834 | endif (gRPC_BUILD_TESTS) |
| 9835 | if (gRPC_BUILD_TESTS) |
| 9836 | |
| 9837 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9838 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9839 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9840 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9841 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9842 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9843 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9844 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9845 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9846 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9847 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9848 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9849 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9850 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9851 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9852 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9853 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9858 | test/cpp/codegen/codegen_test_minimal.cc |
| 9859 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9860 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9861 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9862 | ) |
| 9863 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9864 | protobuf_generate_grpc_cpp( |
| 9865 | src/proto/grpc/testing/control.proto |
| 9866 | ) |
| 9867 | protobuf_generate_grpc_cpp( |
| 9868 | src/proto/grpc/testing/messages.proto |
| 9869 | ) |
| 9870 | protobuf_generate_grpc_cpp( |
| 9871 | src/proto/grpc/testing/payloads.proto |
| 9872 | ) |
| 9873 | protobuf_generate_grpc_cpp( |
| 9874 | src/proto/grpc/testing/services.proto |
| 9875 | ) |
| 9876 | protobuf_generate_grpc_cpp( |
| 9877 | src/proto/grpc/testing/stats.proto |
| 9878 | ) |
| 9879 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9880 | target_include_directories(codegen_test_minimal |
| 9881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9883 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9884 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9885 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9886 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9888 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9891 | PRIVATE third_party/googletest/googletest/include |
| 9892 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9893 | PRIVATE third_party/googletest/googlemock/include |
| 9894 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9895 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9896 | ) |
| 9897 | |
| 9898 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9899 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9900 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9901 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9902 | grpc |
| 9903 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9904 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9905 | ) |
| 9906 | |
| 9907 | endif (gRPC_BUILD_TESTS) |
| 9908 | if (gRPC_BUILD_TESTS) |
| 9909 | |
| 9910 | add_executable(credentials_test |
| 9911 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9912 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9913 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9914 | ) |
| 9915 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9916 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9917 | target_include_directories(credentials_test |
| 9918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9920 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9921 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9922 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9923 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9925 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9928 | PRIVATE third_party/googletest/googletest/include |
| 9929 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9930 | PRIVATE third_party/googletest/googlemock/include |
| 9931 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9932 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9933 | ) |
| 9934 | |
| 9935 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9936 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9937 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9938 | grpc++ |
| 9939 | grpc |
| 9940 | gpr |
| 9941 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9942 | ) |
| 9943 | |
| 9944 | endif (gRPC_BUILD_TESTS) |
| 9945 | if (gRPC_BUILD_TESTS) |
| 9946 | |
| 9947 | add_executable(cxx_byte_buffer_test |
| 9948 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9949 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9950 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9951 | ) |
| 9952 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9953 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9954 | target_include_directories(cxx_byte_buffer_test |
| 9955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9957 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9958 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9959 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9960 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9962 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9963 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9965 | PRIVATE third_party/googletest/googletest/include |
| 9966 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9967 | PRIVATE third_party/googletest/googlemock/include |
| 9968 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9969 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9970 | ) |
| 9971 | |
| 9972 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9973 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9974 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9975 | grpc_test_util |
| 9976 | grpc++ |
| 9977 | grpc |
| 9978 | gpr_test_util |
| 9979 | gpr |
| 9980 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9981 | ) |
| 9982 | |
| 9983 | endif (gRPC_BUILD_TESTS) |
| 9984 | if (gRPC_BUILD_TESTS) |
| 9985 | |
| 9986 | add_executable(cxx_slice_test |
| 9987 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9988 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9989 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9990 | ) |
| 9991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9993 | target_include_directories(cxx_slice_test |
| 9994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9997 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9998 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9999 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10000 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10001 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10004 | PRIVATE third_party/googletest/googletest/include |
| 10005 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10006 | PRIVATE third_party/googletest/googlemock/include |
| 10007 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10008 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10009 | ) |
| 10010 | |
| 10011 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10012 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10013 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10014 | grpc_test_util |
| 10015 | grpc++ |
| 10016 | grpc |
| 10017 | gpr_test_util |
| 10018 | gpr |
| 10019 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10020 | ) |
| 10021 | |
| 10022 | endif (gRPC_BUILD_TESTS) |
| 10023 | if (gRPC_BUILD_TESTS) |
| 10024 | |
| 10025 | add_executable(cxx_string_ref_test |
| 10026 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10027 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10028 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10029 | ) |
| 10030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10032 | target_include_directories(cxx_string_ref_test |
| 10033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10035 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10036 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10037 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10038 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10040 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10043 | PRIVATE third_party/googletest/googletest/include |
| 10044 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10045 | PRIVATE third_party/googletest/googlemock/include |
| 10046 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10047 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10048 | ) |
| 10049 | |
| 10050 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10051 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10052 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10053 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10054 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10055 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10056 | ) |
| 10057 | |
| 10058 | endif (gRPC_BUILD_TESTS) |
| 10059 | if (gRPC_BUILD_TESTS) |
| 10060 | |
| 10061 | add_executable(cxx_time_test |
| 10062 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10063 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10064 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10065 | ) |
| 10066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10068 | target_include_directories(cxx_time_test |
| 10069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10071 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10076 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10079 | PRIVATE third_party/googletest/googletest/include |
| 10080 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10081 | PRIVATE third_party/googletest/googlemock/include |
| 10082 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10083 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10084 | ) |
| 10085 | |
| 10086 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10087 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10089 | grpc_test_util |
| 10090 | grpc++ |
| 10091 | grpc |
| 10092 | gpr_test_util |
| 10093 | gpr |
| 10094 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10095 | ) |
| 10096 | |
| 10097 | endif (gRPC_BUILD_TESTS) |
| 10098 | if (gRPC_BUILD_TESTS) |
| 10099 | |
| 10100 | add_executable(end2end_test |
| 10101 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10102 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10103 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10104 | ) |
| 10105 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10106 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10107 | target_include_directories(end2end_test |
| 10108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10109 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10110 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10111 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10112 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10113 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10115 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10117 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10118 | PRIVATE third_party/googletest/googletest/include |
| 10119 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10120 | PRIVATE third_party/googletest/googlemock/include |
| 10121 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10122 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10123 | ) |
| 10124 | |
| 10125 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10126 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10127 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10128 | grpc++_test_util |
| 10129 | grpc_test_util |
| 10130 | grpc++ |
| 10131 | grpc |
| 10132 | gpr_test_util |
| 10133 | gpr |
| 10134 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10135 | ) |
| 10136 | |
| 10137 | endif (gRPC_BUILD_TESTS) |
| 10138 | if (gRPC_BUILD_TESTS) |
| 10139 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10140 | add_executable(error_details_test |
| 10141 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10142 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10143 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10144 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10145 | test/cpp/util/error_details_test.cc |
| 10146 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10147 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10148 | ) |
| 10149 | |
| 10150 | protobuf_generate_grpc_cpp( |
| 10151 | src/proto/grpc/testing/echo_messages.proto |
| 10152 | ) |
| 10153 | |
| 10154 | target_include_directories(error_details_test |
| 10155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10157 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10162 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10165 | PRIVATE third_party/googletest/googletest/include |
| 10166 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10167 | PRIVATE third_party/googletest/googlemock/include |
| 10168 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10169 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10170 | ) |
| 10171 | |
| 10172 | target_link_libraries(error_details_test |
| 10173 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10175 | grpc++_error_details |
| 10176 | grpc++ |
| 10177 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10178 | ) |
| 10179 | |
| 10180 | endif (gRPC_BUILD_TESTS) |
| 10181 | if (gRPC_BUILD_TESTS) |
| 10182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10183 | add_executable(filter_end2end_test |
| 10184 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10185 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10186 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10187 | ) |
| 10188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10190 | target_include_directories(filter_end2end_test |
| 10191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10193 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10194 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10195 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10196 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10198 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10201 | PRIVATE third_party/googletest/googletest/include |
| 10202 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10203 | PRIVATE third_party/googletest/googlemock/include |
| 10204 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10205 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10206 | ) |
| 10207 | |
| 10208 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10209 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10211 | grpc++_test_util |
| 10212 | grpc_test_util |
| 10213 | grpc++ |
| 10214 | grpc |
| 10215 | gpr_test_util |
| 10216 | gpr |
| 10217 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10218 | ) |
| 10219 | |
| 10220 | endif (gRPC_BUILD_TESTS) |
| 10221 | if (gRPC_BUILD_TESTS) |
| 10222 | |
| 10223 | add_executable(generic_end2end_test |
| 10224 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10225 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10226 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10227 | ) |
| 10228 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10229 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10230 | target_include_directories(generic_end2end_test |
| 10231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10233 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10234 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10235 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10236 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10238 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10241 | PRIVATE third_party/googletest/googletest/include |
| 10242 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10243 | PRIVATE third_party/googletest/googlemock/include |
| 10244 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10245 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10246 | ) |
| 10247 | |
| 10248 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10249 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10250 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10267 | ${_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] | 10268 | test/cpp/codegen/golden_file_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/testing/compiler_test.proto |
| 10275 | ) |
| 10276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10277 | target_include_directories(golden_file_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10285 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10288 | PRIVATE third_party/googletest/googletest/include |
| 10289 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10290 | PRIVATE third_party/googletest/googlemock/include |
| 10291 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10292 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10293 | ) |
| 10294 | |
| 10295 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10296 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10298 | grpc++ |
| 10299 | grpc |
| 10300 | gpr |
| 10301 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10302 | ) |
| 10303 | |
| 10304 | endif (gRPC_BUILD_TESTS) |
| 10305 | if (gRPC_BUILD_TESTS) |
| 10306 | |
| 10307 | add_executable(grpc_cli |
| 10308 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10309 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10310 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10311 | ) |
| 10312 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10313 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10314 | target_include_directories(grpc_cli |
| 10315 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10317 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10318 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10319 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10320 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10322 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10325 | PRIVATE third_party/googletest/googletest/include |
| 10326 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10327 | PRIVATE third_party/googletest/googlemock/include |
| 10328 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10329 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10330 | ) |
| 10331 | |
| 10332 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10333 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10335 | grpc_cli_libs |
| 10336 | grpc++_proto_reflection_desc_db |
| 10337 | grpc++ |
| 10338 | grpc |
| 10339 | gpr |
| 10340 | grpc++_test_config |
| 10341 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10342 | ) |
| 10343 | |
| 10344 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10345 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10346 | add_executable(grpc_cpp_plugin |
| 10347 | src/compiler/cpp_plugin.cc |
| 10348 | ) |
| 10349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10350 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10351 | target_include_directories(grpc_cpp_plugin |
| 10352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10354 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10355 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10356 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10357 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10359 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10362 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10363 | ) |
| 10364 | |
| 10365 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10366 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10367 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10369 | grpc_plugin_support |
| 10370 | ) |
| 10371 | |
| 10372 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10373 | if (gRPC_INSTALL) |
| 10374 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10375 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10376 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10377 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10378 | ) |
| 10379 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10380 | |
| 10381 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10382 | add_executable(grpc_csharp_plugin |
| 10383 | src/compiler/csharp_plugin.cc |
| 10384 | ) |
| 10385 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10386 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10387 | target_include_directories(grpc_csharp_plugin |
| 10388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10390 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10392 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10393 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10395 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10398 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10399 | ) |
| 10400 | |
| 10401 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10402 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10403 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10404 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10405 | grpc_plugin_support |
| 10406 | ) |
| 10407 | |
| 10408 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10409 | if (gRPC_INSTALL) |
| 10410 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10411 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10412 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10413 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10414 | ) |
| 10415 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10416 | |
| 10417 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10418 | add_executable(grpc_node_plugin |
| 10419 | src/compiler/node_plugin.cc |
| 10420 | ) |
| 10421 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10422 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10423 | target_include_directories(grpc_node_plugin |
| 10424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10426 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10427 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10428 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10429 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10431 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10434 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10435 | ) |
| 10436 | |
| 10437 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10438 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10439 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10440 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10441 | grpc_plugin_support |
| 10442 | ) |
| 10443 | |
| 10444 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10445 | if (gRPC_INSTALL) |
| 10446 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10447 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10448 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10449 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10450 | ) |
| 10451 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10452 | |
| 10453 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10454 | add_executable(grpc_objective_c_plugin |
| 10455 | src/compiler/objective_c_plugin.cc |
| 10456 | ) |
| 10457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10458 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10459 | target_include_directories(grpc_objective_c_plugin |
| 10460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10462 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10463 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10464 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10465 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10467 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10470 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10471 | ) |
| 10472 | |
| 10473 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10474 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10475 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10476 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10477 | grpc_plugin_support |
| 10478 | ) |
| 10479 | |
| 10480 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10481 | if (gRPC_INSTALL) |
| 10482 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10483 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10484 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10485 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10486 | ) |
| 10487 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10488 | |
| 10489 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10490 | add_executable(grpc_php_plugin |
| 10491 | src/compiler/php_plugin.cc |
| 10492 | ) |
| 10493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10494 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10495 | target_include_directories(grpc_php_plugin |
| 10496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10498 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10499 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10500 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10501 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10502 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10503 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10506 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10507 | ) |
| 10508 | |
| 10509 | target_link_libraries(grpc_php_plugin |
| 10510 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10511 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10512 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10513 | grpc_plugin_support |
| 10514 | ) |
| 10515 | |
| 10516 | |
| 10517 | if (gRPC_INSTALL) |
| 10518 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10519 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10520 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10521 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10522 | ) |
| 10523 | endif() |
| 10524 | |
| 10525 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10526 | add_executable(grpc_python_plugin |
| 10527 | src/compiler/python_plugin.cc |
| 10528 | ) |
| 10529 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10530 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10531 | target_include_directories(grpc_python_plugin |
| 10532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10534 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10539 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10542 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10543 | ) |
| 10544 | |
| 10545 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10546 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10547 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10548 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10549 | grpc_plugin_support |
| 10550 | ) |
| 10551 | |
| 10552 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10553 | if (gRPC_INSTALL) |
| 10554 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10555 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10556 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10557 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10558 | ) |
| 10559 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10560 | |
| 10561 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10562 | add_executable(grpc_ruby_plugin |
| 10563 | src/compiler/ruby_plugin.cc |
| 10564 | ) |
| 10565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10566 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10567 | target_include_directories(grpc_ruby_plugin |
| 10568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10570 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10575 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10577 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10578 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10579 | ) |
| 10580 | |
| 10581 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10582 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10585 | grpc_plugin_support |
| 10586 | ) |
| 10587 | |
| 10588 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10589 | if (gRPC_INSTALL) |
| 10590 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10591 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10592 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10593 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10594 | ) |
| 10595 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10596 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10597 | if (gRPC_BUILD_TESTS) |
| 10598 | |
| 10599 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10600 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10601 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10602 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10603 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10604 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10605 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10606 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10607 | ${_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] | 10608 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10609 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10610 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10611 | ) |
| 10612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10613 | protobuf_generate_grpc_cpp( |
| 10614 | src/proto/grpc/testing/echo.proto |
| 10615 | ) |
| 10616 | protobuf_generate_grpc_cpp( |
| 10617 | src/proto/grpc/testing/echo_messages.proto |
| 10618 | ) |
| 10619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10620 | target_include_directories(grpc_tool_test |
| 10621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10623 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10628 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10631 | PRIVATE third_party/googletest/googletest/include |
| 10632 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10633 | PRIVATE third_party/googletest/googlemock/include |
| 10634 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10635 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10636 | ) |
| 10637 | |
| 10638 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10639 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10640 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10641 | grpc_cli_libs |
| 10642 | grpc++_proto_reflection_desc_db |
| 10643 | grpc++_reflection |
| 10644 | grpc++_test_util |
| 10645 | grpc_test_util |
| 10646 | grpc++ |
| 10647 | grpc |
| 10648 | gpr_test_util |
| 10649 | gpr |
| 10650 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10651 | ) |
| 10652 | |
| 10653 | endif (gRPC_BUILD_TESTS) |
| 10654 | if (gRPC_BUILD_TESTS) |
| 10655 | |
| 10656 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10657 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10660 | ${_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] | 10661 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10662 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10663 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10664 | ) |
| 10665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10666 | protobuf_generate_grpc_cpp( |
| 10667 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10668 | ) |
| 10669 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10670 | target_include_directories(grpclb_api_test |
| 10671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10672 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10673 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10674 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10675 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10676 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10678 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10681 | PRIVATE third_party/googletest/googletest/include |
| 10682 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10683 | PRIVATE third_party/googletest/googlemock/include |
| 10684 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10685 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10686 | ) |
| 10687 | |
| 10688 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10689 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10690 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | grpc++_test_util |
| 10692 | grpc_test_util |
| 10693 | grpc++ |
| 10694 | grpc |
| 10695 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10696 | ) |
| 10697 | |
| 10698 | endif (gRPC_BUILD_TESTS) |
| 10699 | if (gRPC_BUILD_TESTS) |
| 10700 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10701 | add_executable(grpclb_end2end_test |
| 10702 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10703 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10704 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10705 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10706 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10707 | third_party/googletest/googletest/src/gtest-all.cc |
| 10708 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10709 | ) |
| 10710 | |
| 10711 | protobuf_generate_grpc_cpp( |
| 10712 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10713 | ) |
| 10714 | |
| 10715 | target_include_directories(grpclb_end2end_test |
| 10716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10718 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10719 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10720 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10721 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10723 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10726 | PRIVATE third_party/googletest/googletest/include |
| 10727 | PRIVATE third_party/googletest/googletest |
| 10728 | PRIVATE third_party/googletest/googlemock/include |
| 10729 | PRIVATE third_party/googletest/googlemock |
| 10730 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10731 | ) |
| 10732 | |
| 10733 | target_link_libraries(grpclb_end2end_test |
| 10734 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10735 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10736 | grpc++_test_util |
| 10737 | grpc_test_util |
| 10738 | grpc++ |
| 10739 | grpc |
| 10740 | gpr_test_util |
| 10741 | gpr |
| 10742 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10743 | ) |
| 10744 | |
| 10745 | endif (gRPC_BUILD_TESTS) |
| 10746 | if (gRPC_BUILD_TESTS) |
| 10747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10748 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10749 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10750 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10751 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10752 | ${_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] | 10753 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10754 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10755 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10756 | ) |
| 10757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10758 | protobuf_generate_grpc_cpp( |
| 10759 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10760 | ) |
| 10761 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10762 | target_include_directories(grpclb_test |
| 10763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10765 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10766 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10767 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10768 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10770 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10773 | PRIVATE third_party/googletest/googletest/include |
| 10774 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10775 | PRIVATE third_party/googletest/googlemock/include |
| 10776 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10777 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10778 | ) |
| 10779 | |
| 10780 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10781 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10783 | grpc++_test_util |
| 10784 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10785 | grpc++ |
| 10786 | grpc |
| 10787 | gpr_test_util |
| 10788 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10789 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10790 | ) |
| 10791 | |
| 10792 | endif (gRPC_BUILD_TESTS) |
| 10793 | if (gRPC_BUILD_TESTS) |
| 10794 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10795 | add_executable(h2_ssl_cert_test |
| 10796 | test/core/end2end/h2_ssl_cert_test.cc |
| 10797 | third_party/googletest/googletest/src/gtest-all.cc |
| 10798 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10799 | ) |
| 10800 | |
| 10801 | |
| 10802 | target_include_directories(h2_ssl_cert_test |
| 10803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10804 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10805 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10806 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10807 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10808 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10810 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10813 | PRIVATE third_party/googletest/googletest/include |
| 10814 | PRIVATE third_party/googletest/googletest |
| 10815 | PRIVATE third_party/googletest/googlemock/include |
| 10816 | PRIVATE third_party/googletest/googlemock |
| 10817 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10818 | ) |
| 10819 | |
| 10820 | target_link_libraries(h2_ssl_cert_test |
| 10821 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10823 | grpc_test_util |
| 10824 | grpc++ |
| 10825 | grpc |
| 10826 | gpr_test_util |
| 10827 | gpr |
| 10828 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10829 | ) |
| 10830 | |
| 10831 | endif (gRPC_BUILD_TESTS) |
| 10832 | if (gRPC_BUILD_TESTS) |
| 10833 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10834 | add_executable(health_service_end2end_test |
| 10835 | test/cpp/end2end/health_service_end2end_test.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 |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10838 | ) |
| 10839 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10840 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10841 | target_include_directories(health_service_end2end_test |
| 10842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10845 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10846 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10847 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10849 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10852 | PRIVATE third_party/googletest/googletest/include |
| 10853 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10854 | PRIVATE third_party/googletest/googlemock/include |
| 10855 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10856 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10857 | ) |
| 10858 | |
| 10859 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10860 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10861 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10862 | grpc++_test_util |
| 10863 | grpc_test_util |
| 10864 | grpc++ |
| 10865 | grpc |
| 10866 | gpr_test_util |
| 10867 | gpr |
| 10868 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10869 | ) |
| 10870 | |
| 10871 | endif (gRPC_BUILD_TESTS) |
| 10872 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10873 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10874 | |
| 10875 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10876 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10877 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10878 | ) |
| 10879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10881 | target_include_directories(http2_client |
| 10882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10884 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10885 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10886 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10887 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10889 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10891 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10892 | PRIVATE third_party/googletest/googletest/include |
| 10893 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10894 | PRIVATE third_party/googletest/googlemock/include |
| 10895 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10896 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10897 | ) |
| 10898 | |
| 10899 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10900 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10902 | http2_client_main |
| 10903 | grpc++_test_util |
| 10904 | grpc_test_util |
| 10905 | grpc++ |
| 10906 | grpc |
| 10907 | grpc++_test_config |
| 10908 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10909 | ) |
| 10910 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10911 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10912 | endif (gRPC_BUILD_TESTS) |
| 10913 | if (gRPC_BUILD_TESTS) |
| 10914 | |
| 10915 | add_executable(hybrid_end2end_test |
| 10916 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10917 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10918 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10919 | ) |
| 10920 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10922 | target_include_directories(hybrid_end2end_test |
| 10923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10925 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10926 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10927 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10928 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10930 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10933 | PRIVATE third_party/googletest/googletest/include |
| 10934 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10935 | PRIVATE third_party/googletest/googlemock/include |
| 10936 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10937 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10938 | ) |
| 10939 | |
| 10940 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10941 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10943 | grpc++_test_util |
| 10944 | grpc_test_util |
| 10945 | grpc++ |
| 10946 | grpc |
| 10947 | gpr_test_util |
| 10948 | gpr |
| 10949 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10950 | ) |
| 10951 | |
| 10952 | endif (gRPC_BUILD_TESTS) |
| 10953 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10954 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10955 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10956 | add_executable(inproc_sync_unary_ping_pong_test |
| 10957 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 10958 | third_party/googletest/googletest/src/gtest-all.cc |
| 10959 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10960 | ) |
| 10961 | |
| 10962 | |
| 10963 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 10964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10966 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10967 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10968 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10969 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10971 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10974 | PRIVATE third_party/googletest/googletest/include |
| 10975 | PRIVATE third_party/googletest/googletest |
| 10976 | PRIVATE third_party/googletest/googlemock/include |
| 10977 | PRIVATE third_party/googletest/googlemock |
| 10978 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10979 | ) |
| 10980 | |
| 10981 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 10982 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10983 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10984 | qps |
| 10985 | grpc++_core_stats |
| 10986 | grpc++_test_util |
| 10987 | grpc_test_util |
| 10988 | grpc++ |
| 10989 | grpc |
| 10990 | gpr_test_util |
| 10991 | gpr |
| 10992 | grpc++_test_config |
| 10993 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10994 | ) |
| 10995 | |
| 10996 | endif() |
| 10997 | endif (gRPC_BUILD_TESTS) |
| 10998 | if (gRPC_BUILD_TESTS) |
| 10999 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 11000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11001 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11002 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11003 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11004 | ) |
| 11005 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11007 | target_include_directories(interop_client |
| 11008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11010 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11011 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11012 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11013 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11015 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11018 | PRIVATE third_party/googletest/googletest/include |
| 11019 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11020 | PRIVATE third_party/googletest/googlemock/include |
| 11021 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11022 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11023 | ) |
| 11024 | |
| 11025 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11026 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11027 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11028 | interop_client_main |
| 11029 | interop_client_helper |
| 11030 | grpc++_test_util |
| 11031 | grpc_test_util |
| 11032 | grpc++ |
| 11033 | grpc |
| 11034 | gpr_test_util |
| 11035 | gpr |
| 11036 | grpc++_test_config |
| 11037 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11038 | ) |
| 11039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11040 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11041 | endif (gRPC_BUILD_TESTS) |
| 11042 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11043 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11044 | |
| 11045 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11046 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11047 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11048 | ) |
| 11049 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11050 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11051 | target_include_directories(interop_server |
| 11052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11054 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11055 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11056 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11057 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11059 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11062 | PRIVATE third_party/googletest/googletest/include |
| 11063 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11064 | PRIVATE third_party/googletest/googlemock/include |
| 11065 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11066 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11067 | ) |
| 11068 | |
| 11069 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11070 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11071 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11072 | interop_server_main |
| 11073 | interop_server_helper |
| 11074 | interop_server_lib |
| 11075 | grpc++_test_util |
| 11076 | grpc_test_util |
| 11077 | grpc++ |
| 11078 | grpc |
| 11079 | gpr_test_util |
| 11080 | gpr |
| 11081 | grpc++_test_config |
| 11082 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11083 | ) |
| 11084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11085 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11086 | endif (gRPC_BUILD_TESTS) |
| 11087 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11088 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11089 | |
| 11090 | add_executable(interop_test |
| 11091 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11092 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11093 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11094 | ) |
| 11095 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11096 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11097 | target_include_directories(interop_test |
| 11098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11100 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11102 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11103 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11105 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11108 | PRIVATE third_party/googletest/googletest/include |
| 11109 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11110 | PRIVATE third_party/googletest/googlemock/include |
| 11111 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11112 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11113 | ) |
| 11114 | |
| 11115 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11116 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11118 | grpc_test_util |
| 11119 | grpc |
| 11120 | gpr_test_util |
| 11121 | gpr |
| 11122 | grpc++_test_config |
| 11123 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11124 | ) |
| 11125 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11126 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11127 | endif (gRPC_BUILD_TESTS) |
| 11128 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11129 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11130 | |
| 11131 | add_executable(json_run_localhost |
| 11132 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11133 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11134 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11135 | ) |
| 11136 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11137 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11138 | target_include_directories(json_run_localhost |
| 11139 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11141 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11142 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11143 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11144 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11146 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11147 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11149 | PRIVATE third_party/googletest/googletest/include |
| 11150 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11151 | PRIVATE third_party/googletest/googlemock/include |
| 11152 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11153 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11154 | ) |
| 11155 | |
| 11156 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11157 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11158 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11159 | grpc++_test_util |
| 11160 | grpc_test_util |
| 11161 | grpc++ |
| 11162 | grpc |
| 11163 | gpr_test_util |
| 11164 | gpr |
| 11165 | grpc++_test_config |
| 11166 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11167 | ) |
| 11168 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11169 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11170 | endif (gRPC_BUILD_TESTS) |
| 11171 | if (gRPC_BUILD_TESTS) |
| 11172 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11173 | add_executable(memory_test |
| 11174 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11175 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11176 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11177 | ) |
| 11178 | |
| 11179 | |
| 11180 | target_include_directories(memory_test |
| 11181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11183 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11188 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11191 | PRIVATE third_party/googletest/googletest/include |
| 11192 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11193 | PRIVATE third_party/googletest/googlemock/include |
| 11194 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11195 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11196 | ) |
| 11197 | |
| 11198 | target_link_libraries(memory_test |
| 11199 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11201 | grpc_test_util |
| 11202 | grpc++ |
| 11203 | grpc |
| 11204 | gpr_test_util |
| 11205 | gpr |
| 11206 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11207 | ) |
| 11208 | |
| 11209 | endif (gRPC_BUILD_TESTS) |
| 11210 | if (gRPC_BUILD_TESTS) |
| 11211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11212 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11214 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11217 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11218 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11219 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11220 | ) |
| 11221 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11222 | protobuf_generate_grpc_cpp( |
| 11223 | src/proto/grpc/testing/metrics.proto |
| 11224 | ) |
| 11225 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11226 | target_include_directories(metrics_client |
| 11227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11228 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11229 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11230 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11231 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11232 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11234 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11237 | PRIVATE third_party/googletest/googletest/include |
| 11238 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11239 | PRIVATE third_party/googletest/googlemock/include |
| 11240 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11241 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11242 | ) |
| 11243 | |
| 11244 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11245 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11247 | grpc++ |
| 11248 | grpc |
| 11249 | gpr |
| 11250 | grpc++_test_config |
| 11251 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11252 | ) |
| 11253 | |
| 11254 | endif (gRPC_BUILD_TESTS) |
| 11255 | if (gRPC_BUILD_TESTS) |
| 11256 | |
| 11257 | add_executable(mock_test |
| 11258 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11259 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11260 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11261 | ) |
| 11262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11263 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11264 | target_include_directories(mock_test |
| 11265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11267 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11268 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11269 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11270 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11271 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11272 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11275 | PRIVATE third_party/googletest/googletest/include |
| 11276 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11277 | PRIVATE third_party/googletest/googlemock/include |
| 11278 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11279 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11280 | ) |
| 11281 | |
| 11282 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11283 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11284 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11285 | grpc++_test_util |
| 11286 | grpc_test_util |
| 11287 | grpc++ |
| 11288 | grpc |
| 11289 | gpr_test_util |
| 11290 | gpr |
| 11291 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11292 | ) |
| 11293 | |
| 11294 | endif (gRPC_BUILD_TESTS) |
| 11295 | if (gRPC_BUILD_TESTS) |
| 11296 | |
| 11297 | add_executable(noop-benchmark |
| 11298 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11299 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11300 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11301 | ) |
| 11302 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11303 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11304 | target_include_directories(noop-benchmark |
| 11305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11308 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11309 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11310 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11312 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11315 | PRIVATE third_party/googletest/googletest/include |
| 11316 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11317 | PRIVATE third_party/googletest/googlemock/include |
| 11318 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11319 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11320 | ) |
| 11321 | |
| 11322 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11323 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11324 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11325 | benchmark |
| 11326 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11327 | ) |
| 11328 | |
| 11329 | endif (gRPC_BUILD_TESTS) |
| 11330 | if (gRPC_BUILD_TESTS) |
| 11331 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 11332 | add_executable(orphanable_test |
| 11333 | test/core/support/orphanable_test.cc |
| 11334 | third_party/googletest/googletest/src/gtest-all.cc |
| 11335 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11336 | ) |
| 11337 | |
| 11338 | |
| 11339 | target_include_directories(orphanable_test |
| 11340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11342 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11347 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 11350 | PRIVATE third_party/googletest/googletest/include |
| 11351 | PRIVATE third_party/googletest/googletest |
| 11352 | PRIVATE third_party/googletest/googlemock/include |
| 11353 | PRIVATE third_party/googletest/googlemock |
| 11354 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11355 | ) |
| 11356 | |
| 11357 | target_link_libraries(orphanable_test |
| 11358 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11359 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11360 | grpc_test_util |
| 11361 | grpc++ |
| 11362 | grpc |
| 11363 | gpr_test_util |
| 11364 | gpr |
| 11365 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11366 | ) |
| 11367 | |
| 11368 | endif (gRPC_BUILD_TESTS) |
| 11369 | if (gRPC_BUILD_TESTS) |
| 11370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11371 | add_executable(proto_server_reflection_test |
| 11372 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11373 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11374 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11375 | ) |
| 11376 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11377 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11378 | target_include_directories(proto_server_reflection_test |
| 11379 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11381 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11382 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11383 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11384 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11386 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11389 | PRIVATE third_party/googletest/googletest/include |
| 11390 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11391 | PRIVATE third_party/googletest/googlemock/include |
| 11392 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11393 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11394 | ) |
| 11395 | |
| 11396 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11397 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11398 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11399 | grpc++_proto_reflection_desc_db |
| 11400 | grpc++_reflection |
| 11401 | grpc++_test_util |
| 11402 | grpc_test_util |
| 11403 | grpc++ |
| 11404 | grpc |
| 11405 | gpr_test_util |
| 11406 | gpr |
| 11407 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11408 | ) |
| 11409 | |
| 11410 | endif (gRPC_BUILD_TESTS) |
| 11411 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11412 | |
| 11413 | add_executable(proto_utils_test |
| 11414 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11415 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11416 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11417 | ) |
| 11418 | |
| 11419 | |
| 11420 | target_include_directories(proto_utils_test |
| 11421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11423 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11424 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11425 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11426 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11428 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11431 | PRIVATE third_party/googletest/googletest/include |
| 11432 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11433 | PRIVATE third_party/googletest/googlemock/include |
| 11434 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11435 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11436 | ) |
| 11437 | |
| 11438 | target_link_libraries(proto_utils_test |
| 11439 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11440 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11441 | grpc++ |
| 11442 | grpc |
| 11443 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11444 | ) |
| 11445 | |
| 11446 | endif (gRPC_BUILD_TESTS) |
| 11447 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11448 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11449 | |
| 11450 | add_executable(qps_interarrival_test |
| 11451 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11452 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11453 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11454 | ) |
| 11455 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11456 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11457 | target_include_directories(qps_interarrival_test |
| 11458 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11460 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11461 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11462 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11463 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11465 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11468 | PRIVATE third_party/googletest/googletest/include |
| 11469 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11470 | PRIVATE third_party/googletest/googlemock/include |
| 11471 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11472 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11473 | ) |
| 11474 | |
| 11475 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11476 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11478 | qps |
| 11479 | grpc++_test_util |
| 11480 | grpc_test_util |
| 11481 | grpc++ |
| 11482 | grpc |
| 11483 | gpr_test_util |
| 11484 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11485 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11486 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11487 | ) |
| 11488 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11489 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11490 | endif (gRPC_BUILD_TESTS) |
| 11491 | if (gRPC_BUILD_TESTS) |
| 11492 | |
| 11493 | add_executable(qps_json_driver |
| 11494 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11495 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11496 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11497 | ) |
| 11498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11500 | target_include_directories(qps_json_driver |
| 11501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11503 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11508 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11511 | PRIVATE third_party/googletest/googletest/include |
| 11512 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11513 | PRIVATE third_party/googletest/googlemock/include |
| 11514 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11515 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11516 | ) |
| 11517 | |
| 11518 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11519 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11521 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11522 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11523 | grpc++_test_util |
| 11524 | grpc_test_util |
| 11525 | grpc++ |
| 11526 | grpc |
| 11527 | gpr_test_util |
| 11528 | gpr |
| 11529 | grpc++_test_config |
| 11530 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11531 | ) |
| 11532 | |
| 11533 | endif (gRPC_BUILD_TESTS) |
| 11534 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11535 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11536 | |
| 11537 | add_executable(qps_openloop_test |
| 11538 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11539 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11540 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11541 | ) |
| 11542 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11543 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11544 | target_include_directories(qps_openloop_test |
| 11545 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11547 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11548 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11549 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11550 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11552 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11555 | PRIVATE third_party/googletest/googletest/include |
| 11556 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11557 | PRIVATE third_party/googletest/googlemock/include |
| 11558 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11559 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11560 | ) |
| 11561 | |
| 11562 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11563 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11565 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11566 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11567 | grpc++_test_util |
| 11568 | grpc_test_util |
| 11569 | grpc++ |
| 11570 | grpc |
| 11571 | gpr_test_util |
| 11572 | gpr |
| 11573 | grpc++_test_config |
| 11574 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11575 | ) |
| 11576 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11577 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11578 | endif (gRPC_BUILD_TESTS) |
| 11579 | if (gRPC_BUILD_TESTS) |
| 11580 | |
| 11581 | add_executable(qps_worker |
| 11582 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11583 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11584 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11585 | ) |
| 11586 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11588 | target_include_directories(qps_worker |
| 11589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11591 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11596 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11599 | PRIVATE third_party/googletest/googletest/include |
| 11600 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11601 | PRIVATE third_party/googletest/googlemock/include |
| 11602 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11603 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11604 | ) |
| 11605 | |
| 11606 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11607 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11608 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11609 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11610 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11611 | grpc++_test_util |
| 11612 | grpc_test_util |
| 11613 | grpc++ |
| 11614 | grpc |
| 11615 | gpr_test_util |
| 11616 | gpr |
| 11617 | grpc++_test_config |
| 11618 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11619 | ) |
| 11620 | |
| 11621 | endif (gRPC_BUILD_TESTS) |
| 11622 | if (gRPC_BUILD_TESTS) |
| 11623 | |
| 11624 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11625 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11628 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11629 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11630 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11631 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11632 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11633 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11634 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11635 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11636 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11637 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11638 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11639 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11640 | ) |
| 11641 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11642 | protobuf_generate_grpc_cpp( |
| 11643 | src/proto/grpc/testing/empty.proto |
| 11644 | ) |
| 11645 | protobuf_generate_grpc_cpp( |
| 11646 | src/proto/grpc/testing/messages.proto |
| 11647 | ) |
| 11648 | protobuf_generate_grpc_cpp( |
| 11649 | src/proto/grpc/testing/test.proto |
| 11650 | ) |
| 11651 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11652 | target_include_directories(reconnect_interop_client |
| 11653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11655 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11656 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11657 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11658 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11660 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11663 | PRIVATE third_party/googletest/googletest/include |
| 11664 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11665 | PRIVATE third_party/googletest/googlemock/include |
| 11666 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11667 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11668 | ) |
| 11669 | |
| 11670 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11671 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11673 | grpc++_test_util |
| 11674 | grpc_test_util |
| 11675 | grpc++ |
| 11676 | grpc |
| 11677 | gpr_test_util |
| 11678 | gpr |
| 11679 | grpc++_test_config |
| 11680 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11681 | ) |
| 11682 | |
| 11683 | endif (gRPC_BUILD_TESTS) |
| 11684 | if (gRPC_BUILD_TESTS) |
| 11685 | |
| 11686 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11687 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11688 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11689 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11690 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11691 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11692 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11693 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11694 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11695 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11696 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11697 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11698 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11699 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11700 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11701 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11702 | ) |
| 11703 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11704 | protobuf_generate_grpc_cpp( |
| 11705 | src/proto/grpc/testing/empty.proto |
| 11706 | ) |
| 11707 | protobuf_generate_grpc_cpp( |
| 11708 | src/proto/grpc/testing/messages.proto |
| 11709 | ) |
| 11710 | protobuf_generate_grpc_cpp( |
| 11711 | src/proto/grpc/testing/test.proto |
| 11712 | ) |
| 11713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11714 | target_include_directories(reconnect_interop_server |
| 11715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11718 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11719 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11720 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11722 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11725 | PRIVATE third_party/googletest/googletest/include |
| 11726 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11727 | PRIVATE third_party/googletest/googlemock/include |
| 11728 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11729 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11730 | ) |
| 11731 | |
| 11732 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11733 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11735 | reconnect_server |
| 11736 | test_tcp_server |
| 11737 | grpc++_test_util |
| 11738 | grpc_test_util |
| 11739 | grpc++ |
| 11740 | grpc |
| 11741 | gpr_test_util |
| 11742 | gpr |
| 11743 | grpc++_test_config |
| 11744 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11745 | ) |
| 11746 | |
| 11747 | endif (gRPC_BUILD_TESTS) |
| 11748 | if (gRPC_BUILD_TESTS) |
| 11749 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11750 | add_executable(ref_counted_ptr_test |
| 11751 | test/core/support/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11752 | third_party/googletest/googletest/src/gtest-all.cc |
| 11753 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11754 | ) |
| 11755 | |
| 11756 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11757 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11760 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11761 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11762 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11763 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11765 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11768 | PRIVATE third_party/googletest/googletest/include |
| 11769 | PRIVATE third_party/googletest/googletest |
| 11770 | PRIVATE third_party/googletest/googlemock/include |
| 11771 | PRIVATE third_party/googletest/googlemock |
| 11772 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11773 | ) |
| 11774 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11775 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11776 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11777 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11778 | grpc_test_util |
| 11779 | grpc++ |
| 11780 | grpc |
| 11781 | gpr_test_util |
| 11782 | gpr |
| 11783 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11784 | ) |
| 11785 | |
| 11786 | endif (gRPC_BUILD_TESTS) |
| 11787 | if (gRPC_BUILD_TESTS) |
| 11788 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11789 | add_executable(ref_counted_test |
| 11790 | test/core/support/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11791 | third_party/googletest/googletest/src/gtest-all.cc |
| 11792 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11793 | ) |
| 11794 | |
| 11795 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11796 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11799 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11800 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11801 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11802 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11804 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11807 | PRIVATE third_party/googletest/googletest/include |
| 11808 | PRIVATE third_party/googletest/googletest |
| 11809 | PRIVATE third_party/googletest/googlemock/include |
| 11810 | PRIVATE third_party/googletest/googlemock |
| 11811 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11812 | ) |
| 11813 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11814 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11815 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11816 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11817 | grpc_test_util |
| 11818 | grpc++ |
| 11819 | grpc |
| 11820 | gpr_test_util |
| 11821 | gpr |
| 11822 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11823 | ) |
| 11824 | |
| 11825 | endif (gRPC_BUILD_TESTS) |
| 11826 | if (gRPC_BUILD_TESTS) |
| 11827 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11828 | add_executable(secure_auth_context_test |
| 11829 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11830 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11831 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11832 | ) |
| 11833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11835 | target_include_directories(secure_auth_context_test |
| 11836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11838 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11846 | PRIVATE third_party/googletest/googletest/include |
| 11847 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11848 | PRIVATE third_party/googletest/googlemock/include |
| 11849 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11850 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11851 | ) |
| 11852 | |
| 11853 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11854 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11856 | grpc++_test_util |
| 11857 | grpc_test_util |
| 11858 | grpc++ |
| 11859 | grpc |
| 11860 | gpr_test_util |
| 11861 | gpr |
| 11862 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11863 | ) |
| 11864 | |
| 11865 | endif (gRPC_BUILD_TESTS) |
| 11866 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11867 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11868 | |
| 11869 | add_executable(secure_sync_unary_ping_pong_test |
| 11870 | test/cpp/qps/secure_sync_unary_ping_pong_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(secure_sync_unary_ping_pong_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11880 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11881 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11882 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11884 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11887 | PRIVATE third_party/googletest/googletest/include |
| 11888 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11889 | PRIVATE third_party/googletest/googlemock/include |
| 11890 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11891 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11892 | ) |
| 11893 | |
| 11894 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11895 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11896 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11897 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11898 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11899 | grpc++_test_util |
| 11900 | grpc_test_util |
| 11901 | grpc++ |
| 11902 | grpc |
| 11903 | gpr_test_util |
| 11904 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11905 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11907 | ) |
| 11908 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11909 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11910 | endif (gRPC_BUILD_TESTS) |
| 11911 | if (gRPC_BUILD_TESTS) |
| 11912 | |
| 11913 | add_executable(server_builder_plugin_test |
| 11914 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11915 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11916 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11917 | ) |
| 11918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11919 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11920 | target_include_directories(server_builder_plugin_test |
| 11921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11923 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11925 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11926 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11928 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11931 | PRIVATE third_party/googletest/googletest/include |
| 11932 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11933 | PRIVATE third_party/googletest/googlemock/include |
| 11934 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11935 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11936 | ) |
| 11937 | |
| 11938 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11939 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11940 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11941 | grpc++_test_util |
| 11942 | grpc_test_util |
| 11943 | grpc++ |
| 11944 | grpc |
| 11945 | gpr_test_util |
| 11946 | gpr |
| 11947 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11948 | ) |
| 11949 | |
| 11950 | endif (gRPC_BUILD_TESTS) |
| 11951 | if (gRPC_BUILD_TESTS) |
| 11952 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11953 | add_executable(server_builder_test |
| 11954 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11955 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11956 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11957 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11962 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11963 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11964 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11965 | ) |
| 11966 | |
| 11967 | protobuf_generate_grpc_cpp( |
| 11968 | src/proto/grpc/testing/echo_messages.proto |
| 11969 | ) |
| 11970 | protobuf_generate_grpc_cpp( |
| 11971 | src/proto/grpc/testing/echo.proto |
| 11972 | ) |
| 11973 | |
| 11974 | target_include_directories(server_builder_test |
| 11975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11977 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11978 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11979 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11980 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11982 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11985 | PRIVATE third_party/googletest/googletest/include |
| 11986 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11987 | PRIVATE third_party/googletest/googlemock/include |
| 11988 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11989 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11990 | ) |
| 11991 | |
| 11992 | target_link_libraries(server_builder_test |
| 11993 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11994 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11995 | grpc++_test_util_unsecure |
| 11996 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11997 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11998 | grpc++_unsecure |
| 11999 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12000 | gpr |
| 12001 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12002 | ) |
| 12003 | |
| 12004 | endif (gRPC_BUILD_TESTS) |
| 12005 | if (gRPC_BUILD_TESTS) |
| 12006 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12007 | add_executable(server_context_test_spouse_test |
| 12008 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12009 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12010 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12011 | ) |
| 12012 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12013 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12014 | target_include_directories(server_context_test_spouse_test |
| 12015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12017 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12018 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12019 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12020 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12022 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12025 | PRIVATE third_party/googletest/googletest/include |
| 12026 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12027 | PRIVATE third_party/googletest/googlemock/include |
| 12028 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12029 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12030 | ) |
| 12031 | |
| 12032 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12033 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12034 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12035 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12036 | grpc++ |
| 12037 | grpc |
| 12038 | gpr_test_util |
| 12039 | gpr |
| 12040 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12041 | ) |
| 12042 | |
| 12043 | endif (gRPC_BUILD_TESTS) |
| 12044 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12045 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12046 | |
| 12047 | add_executable(server_crash_test |
| 12048 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12049 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12050 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12051 | ) |
| 12052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12054 | target_include_directories(server_crash_test |
| 12055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12058 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12059 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12060 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12062 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12065 | PRIVATE third_party/googletest/googletest/include |
| 12066 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12067 | PRIVATE third_party/googletest/googlemock/include |
| 12068 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12069 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12070 | ) |
| 12071 | |
| 12072 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12073 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12074 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12075 | grpc++_test_util |
| 12076 | grpc_test_util |
| 12077 | grpc++ |
| 12078 | grpc |
| 12079 | gpr_test_util |
| 12080 | gpr |
| 12081 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12082 | ) |
| 12083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12084 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12085 | endif (gRPC_BUILD_TESTS) |
| 12086 | if (gRPC_BUILD_TESTS) |
| 12087 | |
| 12088 | add_executable(server_crash_test_client |
| 12089 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12090 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12091 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12092 | ) |
| 12093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12094 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12095 | target_include_directories(server_crash_test_client |
| 12096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12098 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12099 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12100 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12101 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12103 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12106 | PRIVATE third_party/googletest/googletest/include |
| 12107 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12108 | PRIVATE third_party/googletest/googlemock/include |
| 12109 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12110 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12111 | ) |
| 12112 | |
| 12113 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12114 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12115 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12116 | grpc++_test_util |
| 12117 | grpc_test_util |
| 12118 | grpc++ |
| 12119 | grpc |
| 12120 | gpr_test_util |
| 12121 | gpr |
| 12122 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12123 | ) |
| 12124 | |
| 12125 | endif (gRPC_BUILD_TESTS) |
| 12126 | if (gRPC_BUILD_TESTS) |
| 12127 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12128 | add_executable(server_request_call_test |
| 12129 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12130 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12131 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12132 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12133 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12134 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12135 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12136 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12137 | test/cpp/server/server_request_call_test.cc |
| 12138 | third_party/googletest/googletest/src/gtest-all.cc |
| 12139 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12140 | ) |
| 12141 | |
| 12142 | protobuf_generate_grpc_cpp( |
| 12143 | src/proto/grpc/testing/echo_messages.proto |
| 12144 | ) |
| 12145 | protobuf_generate_grpc_cpp( |
| 12146 | src/proto/grpc/testing/echo.proto |
| 12147 | ) |
| 12148 | |
| 12149 | target_include_directories(server_request_call_test |
| 12150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12152 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12153 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12154 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12155 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12157 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12160 | PRIVATE third_party/googletest/googletest/include |
| 12161 | PRIVATE third_party/googletest/googletest |
| 12162 | PRIVATE third_party/googletest/googlemock/include |
| 12163 | PRIVATE third_party/googletest/googlemock |
| 12164 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12165 | ) |
| 12166 | |
| 12167 | target_link_libraries(server_request_call_test |
| 12168 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12170 | grpc++_test_util_unsecure |
| 12171 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12172 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12173 | grpc++_unsecure |
| 12174 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12175 | gpr |
| 12176 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12177 | ) |
| 12178 | |
| 12179 | endif (gRPC_BUILD_TESTS) |
| 12180 | if (gRPC_BUILD_TESTS) |
| 12181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12182 | add_executable(shutdown_test |
| 12183 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12184 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12185 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12186 | ) |
| 12187 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12188 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12189 | target_include_directories(shutdown_test |
| 12190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12192 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12193 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12194 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12195 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12197 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12198 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12200 | PRIVATE third_party/googletest/googletest/include |
| 12201 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12202 | PRIVATE third_party/googletest/googlemock/include |
| 12203 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12204 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12205 | ) |
| 12206 | |
| 12207 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12208 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12209 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12210 | grpc++_test_util |
| 12211 | grpc_test_util |
| 12212 | grpc++ |
| 12213 | grpc |
| 12214 | gpr_test_util |
| 12215 | gpr |
| 12216 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12217 | ) |
| 12218 | |
| 12219 | endif (gRPC_BUILD_TESTS) |
| 12220 | if (gRPC_BUILD_TESTS) |
| 12221 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12222 | add_executable(stats_test |
| 12223 | test/core/debug/stats_test.cc |
| 12224 | third_party/googletest/googletest/src/gtest-all.cc |
| 12225 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12226 | ) |
| 12227 | |
| 12228 | |
| 12229 | target_include_directories(stats_test |
| 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} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12233 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12234 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12235 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12237 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12240 | PRIVATE third_party/googletest/googletest/include |
| 12241 | PRIVATE third_party/googletest/googletest |
| 12242 | PRIVATE third_party/googletest/googlemock/include |
| 12243 | PRIVATE third_party/googletest/googlemock |
| 12244 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12245 | ) |
| 12246 | |
| 12247 | target_link_libraries(stats_test |
| 12248 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12250 | grpc++_test_util |
| 12251 | grpc_test_util |
| 12252 | grpc |
| 12253 | gpr_test_util |
| 12254 | gpr |
| 12255 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12256 | ) |
| 12257 | |
| 12258 | endif (gRPC_BUILD_TESTS) |
| 12259 | if (gRPC_BUILD_TESTS) |
| 12260 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12261 | add_executable(status_test |
| 12262 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12263 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12264 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12265 | ) |
| 12266 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12267 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12268 | target_include_directories(status_test |
| 12269 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12271 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12272 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12273 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12274 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12276 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12277 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12279 | PRIVATE third_party/googletest/googletest/include |
| 12280 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12281 | PRIVATE third_party/googletest/googlemock/include |
| 12282 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12283 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12284 | ) |
| 12285 | |
| 12286 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12287 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12289 | grpc_test_util |
| 12290 | grpc++ |
| 12291 | grpc |
| 12292 | gpr_test_util |
| 12293 | gpr |
| 12294 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12295 | ) |
| 12296 | |
| 12297 | endif (gRPC_BUILD_TESTS) |
| 12298 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12299 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12300 | |
| 12301 | add_executable(streaming_throughput_test |
| 12302 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12303 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12304 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12305 | ) |
| 12306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12307 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12308 | target_include_directories(streaming_throughput_test |
| 12309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12311 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12312 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12313 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12314 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12316 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12319 | PRIVATE third_party/googletest/googletest/include |
| 12320 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12321 | PRIVATE third_party/googletest/googlemock/include |
| 12322 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12323 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12324 | ) |
| 12325 | |
| 12326 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12327 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12328 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12329 | grpc++_test_util |
| 12330 | grpc_test_util |
| 12331 | grpc++ |
| 12332 | grpc |
| 12333 | gpr_test_util |
| 12334 | gpr |
| 12335 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12336 | ) |
| 12337 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12338 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12339 | endif (gRPC_BUILD_TESTS) |
| 12340 | if (gRPC_BUILD_TESTS) |
| 12341 | |
| 12342 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12343 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12344 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12345 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12346 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12347 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12348 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12349 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12350 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12351 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12352 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12353 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12354 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12355 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12356 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12357 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12358 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12359 | test/cpp/interop/interop_client.cc |
| 12360 | test/cpp/interop/stress_interop_client.cc |
| 12361 | test/cpp/interop/stress_test.cc |
| 12362 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12363 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12364 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12365 | ) |
| 12366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12367 | protobuf_generate_grpc_cpp( |
| 12368 | src/proto/grpc/testing/empty.proto |
| 12369 | ) |
| 12370 | protobuf_generate_grpc_cpp( |
| 12371 | src/proto/grpc/testing/messages.proto |
| 12372 | ) |
| 12373 | protobuf_generate_grpc_cpp( |
| 12374 | src/proto/grpc/testing/metrics.proto |
| 12375 | ) |
| 12376 | protobuf_generate_grpc_cpp( |
| 12377 | src/proto/grpc/testing/test.proto |
| 12378 | ) |
| 12379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12380 | target_include_directories(stress_test |
| 12381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12383 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12385 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12386 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12388 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12391 | PRIVATE third_party/googletest/googletest/include |
| 12392 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12393 | PRIVATE third_party/googletest/googlemock/include |
| 12394 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12395 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12396 | ) |
| 12397 | |
| 12398 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12399 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12400 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12401 | grpc++_test_util |
| 12402 | grpc_test_util |
| 12403 | grpc++ |
| 12404 | grpc |
| 12405 | gpr_test_util |
| 12406 | gpr |
| 12407 | grpc++_test_config |
| 12408 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12409 | ) |
| 12410 | |
| 12411 | endif (gRPC_BUILD_TESTS) |
| 12412 | if (gRPC_BUILD_TESTS) |
| 12413 | |
| 12414 | add_executable(thread_manager_test |
| 12415 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12416 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12417 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12418 | ) |
| 12419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12420 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12421 | target_include_directories(thread_manager_test |
| 12422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12424 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12425 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12426 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12427 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12429 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12431 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12432 | PRIVATE third_party/googletest/googletest/include |
| 12433 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12434 | PRIVATE third_party/googletest/googlemock/include |
| 12435 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12436 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12437 | ) |
| 12438 | |
| 12439 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12440 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12441 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12442 | grpc++_unsecure |
| 12443 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12444 | gpr |
| 12445 | grpc++_test_config |
| 12446 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12447 | ) |
| 12448 | |
| 12449 | endif (gRPC_BUILD_TESTS) |
| 12450 | if (gRPC_BUILD_TESTS) |
| 12451 | |
| 12452 | add_executable(thread_stress_test |
| 12453 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12454 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12455 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12456 | ) |
| 12457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12458 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12459 | target_include_directories(thread_stress_test |
| 12460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12462 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12463 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12464 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12465 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12467 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12468 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12470 | PRIVATE third_party/googletest/googletest/include |
| 12471 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12472 | PRIVATE third_party/googletest/googlemock/include |
| 12473 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12474 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12475 | ) |
| 12476 | |
| 12477 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12478 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12479 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12480 | grpc++_test_util_unsecure |
| 12481 | grpc_test_util_unsecure |
| 12482 | grpc++_unsecure |
| 12483 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12484 | gpr_test_util |
| 12485 | gpr |
| 12486 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12487 | ) |
| 12488 | |
| 12489 | endif (gRPC_BUILD_TESTS) |
| 12490 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12491 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12492 | add_executable(transport_pid_controller_test |
| 12493 | test/core/transport/pid_controller_test.cc |
| 12494 | third_party/googletest/googletest/src/gtest-all.cc |
| 12495 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12496 | ) |
| 12497 | |
| 12498 | |
| 12499 | target_include_directories(transport_pid_controller_test |
| 12500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12502 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12503 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12504 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12505 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12507 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12510 | PRIVATE third_party/googletest/googletest/include |
| 12511 | PRIVATE third_party/googletest/googletest |
| 12512 | PRIVATE third_party/googletest/googlemock/include |
| 12513 | PRIVATE third_party/googletest/googlemock |
| 12514 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12515 | ) |
| 12516 | |
| 12517 | target_link_libraries(transport_pid_controller_test |
| 12518 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12519 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12520 | grpc++_test_util |
| 12521 | grpc++ |
| 12522 | grpc_test_util |
| 12523 | grpc |
| 12524 | gpr_test_util |
| 12525 | gpr |
| 12526 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12527 | ) |
| 12528 | |
| 12529 | endif (gRPC_BUILD_TESTS) |
| 12530 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | c6406f3 | 2018-01-10 14:47:37 -0800 | [diff] [blame] | 12531 | |
| 12532 | add_executable(vector_test |
| 12533 | test/core/support/vector_test.cc |
| 12534 | third_party/googletest/googletest/src/gtest-all.cc |
| 12535 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12536 | ) |
| 12537 | |
| 12538 | |
| 12539 | target_include_directories(vector_test |
| 12540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12547 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12550 | PRIVATE third_party/googletest/googletest/include |
| 12551 | PRIVATE third_party/googletest/googletest |
| 12552 | PRIVATE third_party/googletest/googlemock/include |
| 12553 | PRIVATE third_party/googletest/googlemock |
| 12554 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12555 | ) |
| 12556 | |
| 12557 | target_link_libraries(vector_test |
| 12558 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12559 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12560 | grpc_test_util |
| 12561 | grpc++ |
| 12562 | grpc |
| 12563 | gpr_test_util |
| 12564 | gpr |
| 12565 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12566 | ) |
| 12567 | |
| 12568 | endif (gRPC_BUILD_TESTS) |
| 12569 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12570 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12571 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12572 | add_executable(writes_per_rpc_test |
| 12573 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12574 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12575 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12576 | ) |
| 12577 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12578 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12579 | target_include_directories(writes_per_rpc_test |
| 12580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12582 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12583 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12584 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12585 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12586 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12587 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12590 | PRIVATE third_party/googletest/googletest/include |
| 12591 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12592 | PRIVATE third_party/googletest/googlemock/include |
| 12593 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12594 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12595 | ) |
| 12596 | |
| 12597 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12598 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12600 | grpc++_test_util |
| 12601 | grpc_test_util |
| 12602 | grpc++ |
| 12603 | grpc |
| 12604 | gpr_test_util |
| 12605 | gpr |
| 12606 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12607 | ) |
| 12608 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12609 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12610 | endif (gRPC_BUILD_TESTS) |
| 12611 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12613 | add_executable(public_headers_must_be_c89 |
| 12614 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12615 | ) |
| 12616 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12617 | |
| 12618 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12621 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12622 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12623 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12624 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12626 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12629 | ) |
| 12630 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12631 | target_link_libraries(public_headers_must_be_c89 |
| 12632 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12633 | grpc |
| 12634 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12635 | ) |
| 12636 | |
| 12637 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12638 | |
| 12639 | add_executable(gen_hpack_tables |
| 12640 | tools/codegen/core/gen_hpack_tables.cc |
| 12641 | ) |
| 12642 | |
| 12643 | |
| 12644 | target_include_directories(gen_hpack_tables |
| 12645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12647 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12648 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12649 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12650 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12652 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12655 | ) |
| 12656 | |
| 12657 | target_link_libraries(gen_hpack_tables |
| 12658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12659 | gpr |
| 12660 | grpc |
| 12661 | ) |
| 12662 | |
| 12663 | |
| 12664 | if (gRPC_INSTALL) |
| 12665 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12666 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12667 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12668 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12669 | ) |
| 12670 | endif() |
| 12671 | |
| 12672 | |
| 12673 | add_executable(gen_legal_metadata_characters |
| 12674 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12675 | ) |
| 12676 | |
| 12677 | |
| 12678 | target_include_directories(gen_legal_metadata_characters |
| 12679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12681 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12682 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12683 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12684 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12686 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12689 | ) |
| 12690 | |
| 12691 | target_link_libraries(gen_legal_metadata_characters |
| 12692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12693 | ) |
| 12694 | |
| 12695 | |
| 12696 | if (gRPC_INSTALL) |
| 12697 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12698 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12699 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12700 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12701 | ) |
| 12702 | endif() |
| 12703 | |
| 12704 | |
| 12705 | add_executable(gen_percent_encoding_tables |
| 12706 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12707 | ) |
| 12708 | |
| 12709 | |
| 12710 | target_include_directories(gen_percent_encoding_tables |
| 12711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12713 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12714 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12715 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12716 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12718 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12719 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12721 | ) |
| 12722 | |
| 12723 | target_link_libraries(gen_percent_encoding_tables |
| 12724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12725 | ) |
| 12726 | |
| 12727 | |
| 12728 | if (gRPC_INSTALL) |
| 12729 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12730 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12731 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12732 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12733 | ) |
| 12734 | endif() |
| 12735 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12736 | if (gRPC_BUILD_TESTS) |
| 12737 | |
| 12738 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12739 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12740 | ) |
| 12741 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12742 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12743 | target_include_directories(badreq_bad_client_test |
| 12744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12745 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12746 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12747 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12748 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12749 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12751 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12754 | ) |
| 12755 | |
| 12756 | target_link_libraries(badreq_bad_client_test |
| 12757 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12758 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12759 | bad_client_test |
| 12760 | grpc_test_util_unsecure |
| 12761 | grpc_unsecure |
| 12762 | gpr_test_util |
| 12763 | gpr |
| 12764 | ) |
| 12765 | |
| 12766 | endif (gRPC_BUILD_TESTS) |
| 12767 | if (gRPC_BUILD_TESTS) |
| 12768 | |
| 12769 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12770 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12771 | ) |
| 12772 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12773 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12774 | target_include_directories(connection_prefix_bad_client_test |
| 12775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12777 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12778 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12779 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12780 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12782 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12785 | ) |
| 12786 | |
| 12787 | target_link_libraries(connection_prefix_bad_client_test |
| 12788 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12790 | bad_client_test |
| 12791 | grpc_test_util_unsecure |
| 12792 | grpc_unsecure |
| 12793 | gpr_test_util |
| 12794 | gpr |
| 12795 | ) |
| 12796 | |
| 12797 | endif (gRPC_BUILD_TESTS) |
| 12798 | if (gRPC_BUILD_TESTS) |
| 12799 | |
| 12800 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12801 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12802 | ) |
| 12803 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12804 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12805 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12808 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12809 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12810 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12811 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12813 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12816 | ) |
| 12817 | |
| 12818 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12819 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12821 | bad_client_test |
| 12822 | grpc_test_util_unsecure |
| 12823 | grpc_unsecure |
| 12824 | gpr_test_util |
| 12825 | gpr |
| 12826 | ) |
| 12827 | |
| 12828 | endif (gRPC_BUILD_TESTS) |
| 12829 | if (gRPC_BUILD_TESTS) |
| 12830 | |
| 12831 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12832 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12833 | ) |
| 12834 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12835 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12836 | target_include_directories(headers_bad_client_test |
| 12837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12839 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12840 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12841 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12842 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12844 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12847 | ) |
| 12848 | |
| 12849 | target_link_libraries(headers_bad_client_test |
| 12850 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12851 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12852 | bad_client_test |
| 12853 | grpc_test_util_unsecure |
| 12854 | grpc_unsecure |
| 12855 | gpr_test_util |
| 12856 | gpr |
| 12857 | ) |
| 12858 | |
| 12859 | endif (gRPC_BUILD_TESTS) |
| 12860 | if (gRPC_BUILD_TESTS) |
| 12861 | |
| 12862 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12863 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12864 | ) |
| 12865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12866 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12867 | target_include_directories(initial_settings_frame_bad_client_test |
| 12868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12870 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12871 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12872 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12873 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12875 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12878 | ) |
| 12879 | |
| 12880 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12881 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12882 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12883 | bad_client_test |
| 12884 | grpc_test_util_unsecure |
| 12885 | grpc_unsecure |
| 12886 | gpr_test_util |
| 12887 | gpr |
| 12888 | ) |
| 12889 | |
| 12890 | endif (gRPC_BUILD_TESTS) |
| 12891 | if (gRPC_BUILD_TESTS) |
| 12892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12893 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12894 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12895 | ) |
| 12896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12898 | target_include_directories(server_registered_method_bad_client_test |
| 12899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12901 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12902 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12903 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12904 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12906 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12909 | ) |
| 12910 | |
| 12911 | target_link_libraries(server_registered_method_bad_client_test |
| 12912 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12913 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12914 | bad_client_test |
| 12915 | grpc_test_util_unsecure |
| 12916 | grpc_unsecure |
| 12917 | gpr_test_util |
| 12918 | gpr |
| 12919 | ) |
| 12920 | |
| 12921 | endif (gRPC_BUILD_TESTS) |
| 12922 | if (gRPC_BUILD_TESTS) |
| 12923 | |
| 12924 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12925 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12926 | ) |
| 12927 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12928 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12929 | target_include_directories(simple_request_bad_client_test |
| 12930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12933 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12934 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12935 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12937 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12940 | ) |
| 12941 | |
| 12942 | target_link_libraries(simple_request_bad_client_test |
| 12943 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12945 | bad_client_test |
| 12946 | grpc_test_util_unsecure |
| 12947 | grpc_unsecure |
| 12948 | gpr_test_util |
| 12949 | gpr |
| 12950 | ) |
| 12951 | |
| 12952 | endif (gRPC_BUILD_TESTS) |
| 12953 | if (gRPC_BUILD_TESTS) |
| 12954 | |
| 12955 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12956 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12957 | ) |
| 12958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12960 | target_include_directories(unknown_frame_bad_client_test |
| 12961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12963 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12968 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12971 | ) |
| 12972 | |
| 12973 | target_link_libraries(unknown_frame_bad_client_test |
| 12974 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12975 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12976 | bad_client_test |
| 12977 | grpc_test_util_unsecure |
| 12978 | grpc_unsecure |
| 12979 | gpr_test_util |
| 12980 | gpr |
| 12981 | ) |
| 12982 | |
| 12983 | endif (gRPC_BUILD_TESTS) |
| 12984 | if (gRPC_BUILD_TESTS) |
| 12985 | |
| 12986 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12987 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12988 | ) |
| 12989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12991 | target_include_directories(window_overflow_bad_client_test |
| 12992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12994 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12995 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12996 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12997 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12999 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13000 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13002 | ) |
| 13003 | |
| 13004 | target_link_libraries(window_overflow_bad_client_test |
| 13005 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13007 | bad_client_test |
| 13008 | grpc_test_util_unsecure |
| 13009 | grpc_unsecure |
| 13010 | gpr_test_util |
| 13011 | gpr |
| 13012 | ) |
| 13013 | |
| 13014 | endif (gRPC_BUILD_TESTS) |
| 13015 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13016 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13017 | |
| 13018 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13019 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13020 | ) |
| 13021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13023 | target_include_directories(bad_ssl_cert_server |
| 13024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13026 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13027 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13028 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13029 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13031 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13034 | ) |
| 13035 | |
| 13036 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13037 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13038 | bad_ssl_test_server |
| 13039 | grpc_test_util |
| 13040 | grpc |
| 13041 | gpr_test_util |
| 13042 | gpr |
| 13043 | ) |
| 13044 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13045 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13046 | endif (gRPC_BUILD_TESTS) |
| 13047 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13048 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13049 | |
| 13050 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13051 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13052 | ) |
| 13053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13054 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13055 | target_include_directories(bad_ssl_cert_test |
| 13056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13058 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13059 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13060 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13061 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13063 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13066 | ) |
| 13067 | |
| 13068 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13070 | grpc_test_util |
| 13071 | grpc |
| 13072 | gpr_test_util |
| 13073 | gpr |
| 13074 | ) |
| 13075 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13076 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13077 | endif (gRPC_BUILD_TESTS) |
| 13078 | if (gRPC_BUILD_TESTS) |
| 13079 | |
| 13080 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13081 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13082 | ) |
| 13083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | target_include_directories(h2_census_test |
| 13086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13096 | ) |
| 13097 | |
| 13098 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13100 | end2end_tests |
| 13101 | grpc_test_util |
| 13102 | grpc |
| 13103 | gpr_test_util |
| 13104 | gpr |
| 13105 | ) |
| 13106 | |
| 13107 | endif (gRPC_BUILD_TESTS) |
| 13108 | if (gRPC_BUILD_TESTS) |
| 13109 | |
| 13110 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13111 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13112 | ) |
| 13113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13115 | target_include_directories(h2_compress_test |
| 13116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13118 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13120 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13121 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13123 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13126 | ) |
| 13127 | |
| 13128 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13130 | end2end_tests |
| 13131 | grpc_test_util |
| 13132 | grpc |
| 13133 | gpr_test_util |
| 13134 | gpr |
| 13135 | ) |
| 13136 | |
| 13137 | endif (gRPC_BUILD_TESTS) |
| 13138 | if (gRPC_BUILD_TESTS) |
| 13139 | |
| 13140 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13141 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13142 | ) |
| 13143 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13144 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13145 | target_include_directories(h2_fakesec_test |
| 13146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13148 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13149 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13150 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13151 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13152 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13153 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13156 | ) |
| 13157 | |
| 13158 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13160 | end2end_tests |
| 13161 | grpc_test_util |
| 13162 | grpc |
| 13163 | gpr_test_util |
| 13164 | gpr |
| 13165 | ) |
| 13166 | |
| 13167 | endif (gRPC_BUILD_TESTS) |
| 13168 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13169 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13170 | |
| 13171 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13172 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13173 | ) |
| 13174 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13175 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13176 | target_include_directories(h2_fd_test |
| 13177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13179 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13180 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13181 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13182 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13184 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13187 | ) |
| 13188 | |
| 13189 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13190 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13191 | end2end_tests |
| 13192 | grpc_test_util |
| 13193 | grpc |
| 13194 | gpr_test_util |
| 13195 | gpr |
| 13196 | ) |
| 13197 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13198 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13199 | endif (gRPC_BUILD_TESTS) |
| 13200 | if (gRPC_BUILD_TESTS) |
| 13201 | |
| 13202 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13203 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13204 | ) |
| 13205 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13206 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13207 | target_include_directories(h2_full_test |
| 13208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13210 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13211 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13212 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13213 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13215 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13218 | ) |
| 13219 | |
| 13220 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13221 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13222 | end2end_tests |
| 13223 | grpc_test_util |
| 13224 | grpc |
| 13225 | gpr_test_util |
| 13226 | gpr |
| 13227 | ) |
| 13228 | |
| 13229 | endif (gRPC_BUILD_TESTS) |
| 13230 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13231 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13232 | |
| 13233 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13234 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13235 | ) |
| 13236 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13238 | target_include_directories(h2_full+pipe_test |
| 13239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13241 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13242 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13243 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13244 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13246 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13249 | ) |
| 13250 | |
| 13251 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13252 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13253 | end2end_tests |
| 13254 | grpc_test_util |
| 13255 | grpc |
| 13256 | gpr_test_util |
| 13257 | gpr |
| 13258 | ) |
| 13259 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13260 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13261 | endif (gRPC_BUILD_TESTS) |
| 13262 | if (gRPC_BUILD_TESTS) |
| 13263 | |
| 13264 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13265 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13266 | ) |
| 13267 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13268 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13269 | target_include_directories(h2_full+trace_test |
| 13270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13272 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13273 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13274 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13275 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13277 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13280 | ) |
| 13281 | |
| 13282 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13284 | end2end_tests |
| 13285 | grpc_test_util |
| 13286 | grpc |
| 13287 | gpr_test_util |
| 13288 | gpr |
| 13289 | ) |
| 13290 | |
| 13291 | endif (gRPC_BUILD_TESTS) |
| 13292 | if (gRPC_BUILD_TESTS) |
| 13293 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13294 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13295 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13296 | ) |
| 13297 | |
| 13298 | |
| 13299 | target_include_directories(h2_full+workarounds_test |
| 13300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13303 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13304 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13305 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13307 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13310 | ) |
| 13311 | |
| 13312 | target_link_libraries(h2_full+workarounds_test |
| 13313 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13314 | end2end_tests |
| 13315 | grpc_test_util |
| 13316 | grpc |
| 13317 | gpr_test_util |
| 13318 | gpr |
| 13319 | ) |
| 13320 | |
| 13321 | endif (gRPC_BUILD_TESTS) |
| 13322 | if (gRPC_BUILD_TESTS) |
| 13323 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13324 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13325 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13326 | ) |
| 13327 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13329 | target_include_directories(h2_http_proxy_test |
| 13330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13332 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13337 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13340 | ) |
| 13341 | |
| 13342 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13344 | end2end_tests |
| 13345 | grpc_test_util |
| 13346 | grpc |
| 13347 | gpr_test_util |
| 13348 | gpr |
| 13349 | ) |
| 13350 | |
| 13351 | endif (gRPC_BUILD_TESTS) |
| 13352 | if (gRPC_BUILD_TESTS) |
| 13353 | |
| 13354 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13355 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13356 | ) |
| 13357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13358 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | target_include_directories(h2_load_reporting_test |
| 13360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13362 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13364 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13365 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13367 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13370 | ) |
| 13371 | |
| 13372 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13373 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13374 | end2end_tests |
| 13375 | grpc_test_util |
| 13376 | grpc |
| 13377 | gpr_test_util |
| 13378 | gpr |
| 13379 | ) |
| 13380 | |
| 13381 | endif (gRPC_BUILD_TESTS) |
| 13382 | if (gRPC_BUILD_TESTS) |
| 13383 | |
| 13384 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13385 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13386 | ) |
| 13387 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13388 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13389 | target_include_directories(h2_oauth2_test |
| 13390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13392 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13393 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13394 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13395 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13397 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13400 | ) |
| 13401 | |
| 13402 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13404 | end2end_tests |
| 13405 | grpc_test_util |
| 13406 | grpc |
| 13407 | gpr_test_util |
| 13408 | gpr |
| 13409 | ) |
| 13410 | |
| 13411 | endif (gRPC_BUILD_TESTS) |
| 13412 | if (gRPC_BUILD_TESTS) |
| 13413 | |
| 13414 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13415 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13416 | ) |
| 13417 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13418 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13419 | target_include_directories(h2_proxy_test |
| 13420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13422 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13423 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13424 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13425 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13427 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13430 | ) |
| 13431 | |
| 13432 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13433 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13434 | end2end_tests |
| 13435 | grpc_test_util |
| 13436 | grpc |
| 13437 | gpr_test_util |
| 13438 | gpr |
| 13439 | ) |
| 13440 | |
| 13441 | endif (gRPC_BUILD_TESTS) |
| 13442 | if (gRPC_BUILD_TESTS) |
| 13443 | |
| 13444 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13445 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13446 | ) |
| 13447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13449 | target_include_directories(h2_sockpair_test |
| 13450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13453 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13454 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13455 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13457 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13460 | ) |
| 13461 | |
| 13462 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13463 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13464 | end2end_tests |
| 13465 | grpc_test_util |
| 13466 | grpc |
| 13467 | gpr_test_util |
| 13468 | gpr |
| 13469 | ) |
| 13470 | |
| 13471 | endif (gRPC_BUILD_TESTS) |
| 13472 | if (gRPC_BUILD_TESTS) |
| 13473 | |
| 13474 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13475 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13476 | ) |
| 13477 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13478 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13479 | target_include_directories(h2_sockpair+trace_test |
| 13480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13482 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13484 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13487 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13490 | ) |
| 13491 | |
| 13492 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13494 | end2end_tests |
| 13495 | grpc_test_util |
| 13496 | grpc |
| 13497 | gpr_test_util |
| 13498 | gpr |
| 13499 | ) |
| 13500 | |
| 13501 | endif (gRPC_BUILD_TESTS) |
| 13502 | if (gRPC_BUILD_TESTS) |
| 13503 | |
| 13504 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13505 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13506 | ) |
| 13507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13509 | target_include_directories(h2_sockpair_1byte_test |
| 13510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13517 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13520 | ) |
| 13521 | |
| 13522 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13524 | end2end_tests |
| 13525 | grpc_test_util |
| 13526 | grpc |
| 13527 | gpr_test_util |
| 13528 | gpr |
| 13529 | ) |
| 13530 | |
| 13531 | endif (gRPC_BUILD_TESTS) |
| 13532 | if (gRPC_BUILD_TESTS) |
| 13533 | |
| 13534 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13535 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13536 | ) |
| 13537 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13538 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13539 | target_include_directories(h2_ssl_test |
| 13540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13547 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13550 | ) |
| 13551 | |
| 13552 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13554 | end2end_tests |
| 13555 | grpc_test_util |
| 13556 | grpc |
| 13557 | gpr_test_util |
| 13558 | gpr |
| 13559 | ) |
| 13560 | |
| 13561 | endif (gRPC_BUILD_TESTS) |
| 13562 | if (gRPC_BUILD_TESTS) |
| 13563 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13564 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13565 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13566 | ) |
| 13567 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13568 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13569 | target_include_directories(h2_ssl_proxy_test |
| 13570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13572 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13573 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13574 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13575 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13577 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13580 | ) |
| 13581 | |
| 13582 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13584 | end2end_tests |
| 13585 | grpc_test_util |
| 13586 | grpc |
| 13587 | gpr_test_util |
| 13588 | gpr |
| 13589 | ) |
| 13590 | |
| 13591 | endif (gRPC_BUILD_TESTS) |
| 13592 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13593 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13594 | |
| 13595 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13596 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13597 | ) |
| 13598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13599 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13600 | target_include_directories(h2_uds_test |
| 13601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13603 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13604 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13605 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13606 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13608 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13611 | ) |
| 13612 | |
| 13613 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13614 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13615 | end2end_tests |
| 13616 | grpc_test_util |
| 13617 | grpc |
| 13618 | gpr_test_util |
| 13619 | gpr |
| 13620 | ) |
| 13621 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13622 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13623 | endif (gRPC_BUILD_TESTS) |
| 13624 | if (gRPC_BUILD_TESTS) |
| 13625 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13626 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13627 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13628 | ) |
| 13629 | |
| 13630 | |
| 13631 | target_include_directories(inproc_test |
| 13632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13634 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13635 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13636 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13637 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13639 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13642 | ) |
| 13643 | |
| 13644 | target_link_libraries(inproc_test |
| 13645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13646 | end2end_tests |
| 13647 | grpc_test_util |
| 13648 | grpc |
| 13649 | gpr_test_util |
| 13650 | gpr |
| 13651 | ) |
| 13652 | |
| 13653 | endif (gRPC_BUILD_TESTS) |
| 13654 | if (gRPC_BUILD_TESTS) |
| 13655 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13656 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13657 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13658 | ) |
| 13659 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13660 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13661 | target_include_directories(h2_census_nosec_test |
| 13662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13664 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13665 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13666 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13667 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13669 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13672 | ) |
| 13673 | |
| 13674 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13675 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13676 | end2end_nosec_tests |
| 13677 | grpc_test_util_unsecure |
| 13678 | grpc_unsecure |
| 13679 | gpr_test_util |
| 13680 | gpr |
| 13681 | ) |
| 13682 | |
| 13683 | endif (gRPC_BUILD_TESTS) |
| 13684 | if (gRPC_BUILD_TESTS) |
| 13685 | |
| 13686 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13687 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13688 | ) |
| 13689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13690 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13691 | target_include_directories(h2_compress_nosec_test |
| 13692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13694 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13699 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13702 | ) |
| 13703 | |
| 13704 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13705 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13706 | end2end_nosec_tests |
| 13707 | grpc_test_util_unsecure |
| 13708 | grpc_unsecure |
| 13709 | gpr_test_util |
| 13710 | gpr |
| 13711 | ) |
| 13712 | |
| 13713 | endif (gRPC_BUILD_TESTS) |
| 13714 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13715 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13716 | |
| 13717 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13718 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13719 | ) |
| 13720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13721 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13722 | target_include_directories(h2_fd_nosec_test |
| 13723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13724 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13725 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13726 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13727 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13728 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13730 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13733 | ) |
| 13734 | |
| 13735 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13737 | end2end_nosec_tests |
| 13738 | grpc_test_util_unsecure |
| 13739 | grpc_unsecure |
| 13740 | gpr_test_util |
| 13741 | gpr |
| 13742 | ) |
| 13743 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13744 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13745 | endif (gRPC_BUILD_TESTS) |
| 13746 | if (gRPC_BUILD_TESTS) |
| 13747 | |
| 13748 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13749 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13750 | ) |
| 13751 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13752 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13753 | target_include_directories(h2_full_nosec_test |
| 13754 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13756 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13757 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13758 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13759 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13761 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13764 | ) |
| 13765 | |
| 13766 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13767 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13768 | end2end_nosec_tests |
| 13769 | grpc_test_util_unsecure |
| 13770 | grpc_unsecure |
| 13771 | gpr_test_util |
| 13772 | gpr |
| 13773 | ) |
| 13774 | |
| 13775 | endif (gRPC_BUILD_TESTS) |
| 13776 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13777 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13778 | |
| 13779 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13780 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13781 | ) |
| 13782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13783 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13784 | target_include_directories(h2_full+pipe_nosec_test |
| 13785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13787 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13788 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13789 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13790 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13792 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13794 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13795 | ) |
| 13796 | |
| 13797 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13798 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13799 | end2end_nosec_tests |
| 13800 | grpc_test_util_unsecure |
| 13801 | grpc_unsecure |
| 13802 | gpr_test_util |
| 13803 | gpr |
| 13804 | ) |
| 13805 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13806 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13807 | endif (gRPC_BUILD_TESTS) |
| 13808 | if (gRPC_BUILD_TESTS) |
| 13809 | |
| 13810 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13811 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13812 | ) |
| 13813 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13814 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13815 | target_include_directories(h2_full+trace_nosec_test |
| 13816 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13817 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13818 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13819 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13820 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13821 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13823 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13825 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13826 | ) |
| 13827 | |
| 13828 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13829 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13830 | end2end_nosec_tests |
| 13831 | grpc_test_util_unsecure |
| 13832 | grpc_unsecure |
| 13833 | gpr_test_util |
| 13834 | gpr |
| 13835 | ) |
| 13836 | |
| 13837 | endif (gRPC_BUILD_TESTS) |
| 13838 | if (gRPC_BUILD_TESTS) |
| 13839 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13840 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13841 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13842 | ) |
| 13843 | |
| 13844 | |
| 13845 | target_include_directories(h2_full+workarounds_nosec_test |
| 13846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13849 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13850 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13851 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13853 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13856 | ) |
| 13857 | |
| 13858 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13859 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13860 | end2end_nosec_tests |
| 13861 | grpc_test_util_unsecure |
| 13862 | grpc_unsecure |
| 13863 | gpr_test_util |
| 13864 | gpr |
| 13865 | ) |
| 13866 | |
| 13867 | endif (gRPC_BUILD_TESTS) |
| 13868 | if (gRPC_BUILD_TESTS) |
| 13869 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13870 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13871 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13872 | ) |
| 13873 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13874 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13875 | target_include_directories(h2_http_proxy_nosec_test |
| 13876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13878 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13879 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13880 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13881 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13883 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13886 | ) |
| 13887 | |
| 13888 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13890 | end2end_nosec_tests |
| 13891 | grpc_test_util_unsecure |
| 13892 | grpc_unsecure |
| 13893 | gpr_test_util |
| 13894 | gpr |
| 13895 | ) |
| 13896 | |
| 13897 | endif (gRPC_BUILD_TESTS) |
| 13898 | if (gRPC_BUILD_TESTS) |
| 13899 | |
| 13900 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13901 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13902 | ) |
| 13903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13905 | target_include_directories(h2_load_reporting_nosec_test |
| 13906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13908 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13913 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13916 | ) |
| 13917 | |
| 13918 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13920 | end2end_nosec_tests |
| 13921 | grpc_test_util_unsecure |
| 13922 | grpc_unsecure |
| 13923 | gpr_test_util |
| 13924 | gpr |
| 13925 | ) |
| 13926 | |
| 13927 | endif (gRPC_BUILD_TESTS) |
| 13928 | if (gRPC_BUILD_TESTS) |
| 13929 | |
| 13930 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13931 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13932 | ) |
| 13933 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13934 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13935 | target_include_directories(h2_proxy_nosec_test |
| 13936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13938 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13939 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13940 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13941 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13943 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(h2_proxy_nosec_test |
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 | end2end_nosec_tests |
| 13951 | grpc_test_util_unsecure |
| 13952 | grpc_unsecure |
| 13953 | gpr_test_util |
| 13954 | gpr |
| 13955 | ) |
| 13956 | |
| 13957 | endif (gRPC_BUILD_TESTS) |
| 13958 | if (gRPC_BUILD_TESTS) |
| 13959 | |
| 13960 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13961 | test/core/end2end/fixtures/h2_sockpair.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(h2_sockpair_nosec_test |
| 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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13969 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13970 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13971 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13973 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13976 | ) |
| 13977 | |
| 13978 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13980 | end2end_nosec_tests |
| 13981 | grpc_test_util_unsecure |
| 13982 | grpc_unsecure |
| 13983 | gpr_test_util |
| 13984 | gpr |
| 13985 | ) |
| 13986 | |
| 13987 | endif (gRPC_BUILD_TESTS) |
| 13988 | if (gRPC_BUILD_TESTS) |
| 13989 | |
| 13990 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13991 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13992 | ) |
| 13993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13995 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13998 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14003 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14006 | ) |
| 14007 | |
| 14008 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14010 | end2end_nosec_tests |
| 14011 | grpc_test_util_unsecure |
| 14012 | grpc_unsecure |
| 14013 | gpr_test_util |
| 14014 | gpr |
| 14015 | ) |
| 14016 | |
| 14017 | endif (gRPC_BUILD_TESTS) |
| 14018 | if (gRPC_BUILD_TESTS) |
| 14019 | |
| 14020 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14021 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14022 | ) |
| 14023 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14024 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14025 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 14026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14028 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14033 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14036 | ) |
| 14037 | |
| 14038 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14040 | end2end_nosec_tests |
| 14041 | grpc_test_util_unsecure |
| 14042 | grpc_unsecure |
| 14043 | gpr_test_util |
| 14044 | gpr |
| 14045 | ) |
| 14046 | |
| 14047 | endif (gRPC_BUILD_TESTS) |
| 14048 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14049 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14050 | |
| 14051 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14052 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14053 | ) |
| 14054 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14056 | target_include_directories(h2_uds_nosec_test |
| 14057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14059 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14060 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14061 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14062 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14064 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14067 | ) |
| 14068 | |
| 14069 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14071 | end2end_nosec_tests |
| 14072 | grpc_test_util_unsecure |
| 14073 | grpc_unsecure |
| 14074 | gpr_test_util |
| 14075 | gpr |
| 14076 | ) |
| 14077 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14078 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14079 | endif (gRPC_BUILD_TESTS) |
| 14080 | if (gRPC_BUILD_TESTS) |
| 14081 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14082 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14083 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14084 | ) |
| 14085 | |
| 14086 | |
| 14087 | target_include_directories(inproc_nosec_test |
| 14088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14090 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14092 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14093 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14095 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14098 | ) |
| 14099 | |
| 14100 | target_link_libraries(inproc_nosec_test |
| 14101 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14102 | end2end_nosec_tests |
| 14103 | grpc_test_util_unsecure |
| 14104 | grpc_unsecure |
| 14105 | gpr_test_util |
| 14106 | gpr |
| 14107 | ) |
| 14108 | |
| 14109 | endif (gRPC_BUILD_TESTS) |
| 14110 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14111 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14112 | |
| 14113 | add_executable(resolver_component_test_unsecure |
| 14114 | test/cpp/naming/resolver_component_test.cc |
| 14115 | third_party/googletest/googletest/src/gtest-all.cc |
| 14116 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14117 | ) |
| 14118 | |
| 14119 | |
| 14120 | target_include_directories(resolver_component_test_unsecure |
| 14121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14123 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14124 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14125 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14126 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14128 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14130 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14131 | PRIVATE third_party/googletest/googletest/include |
| 14132 | PRIVATE third_party/googletest/googletest |
| 14133 | PRIVATE third_party/googletest/googlemock/include |
| 14134 | PRIVATE third_party/googletest/googlemock |
| 14135 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14136 | ) |
| 14137 | |
| 14138 | target_link_libraries(resolver_component_test_unsecure |
| 14139 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14141 | grpc++_test_util_unsecure |
| 14142 | grpc_test_util_unsecure |
| 14143 | gpr_test_util |
| 14144 | grpc++_unsecure |
| 14145 | grpc_unsecure |
| 14146 | gpr |
| 14147 | grpc++_test_config |
| 14148 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14149 | ) |
| 14150 | |
| 14151 | endif() |
| 14152 | endif (gRPC_BUILD_TESTS) |
| 14153 | if (gRPC_BUILD_TESTS) |
| 14154 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14155 | |
| 14156 | add_executable(resolver_component_test |
| 14157 | test/cpp/naming/resolver_component_test.cc |
| 14158 | third_party/googletest/googletest/src/gtest-all.cc |
| 14159 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14160 | ) |
| 14161 | |
| 14162 | |
| 14163 | target_include_directories(resolver_component_test |
| 14164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14166 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14167 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14168 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14169 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14171 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14174 | PRIVATE third_party/googletest/googletest/include |
| 14175 | PRIVATE third_party/googletest/googletest |
| 14176 | PRIVATE third_party/googletest/googlemock/include |
| 14177 | PRIVATE third_party/googletest/googlemock |
| 14178 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14179 | ) |
| 14180 | |
| 14181 | target_link_libraries(resolver_component_test |
| 14182 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14183 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14184 | grpc++_test_util |
| 14185 | grpc_test_util |
| 14186 | gpr_test_util |
| 14187 | grpc++ |
| 14188 | grpc |
| 14189 | gpr |
| 14190 | grpc++_test_config |
| 14191 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14192 | ) |
| 14193 | |
| 14194 | endif() |
| 14195 | endif (gRPC_BUILD_TESTS) |
| 14196 | if (gRPC_BUILD_TESTS) |
| 14197 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14198 | |
| 14199 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 14200 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14201 | third_party/googletest/googletest/src/gtest-all.cc |
| 14202 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14203 | ) |
| 14204 | |
| 14205 | |
| 14206 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 14207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14209 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14211 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14212 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14214 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14217 | PRIVATE third_party/googletest/googletest/include |
| 14218 | PRIVATE third_party/googletest/googletest |
| 14219 | PRIVATE third_party/googletest/googlemock/include |
| 14220 | PRIVATE third_party/googletest/googlemock |
| 14221 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14222 | ) |
| 14223 | |
| 14224 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 14225 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14227 | grpc++_test_util |
| 14228 | grpc_test_util |
| 14229 | gpr_test_util |
| 14230 | grpc++ |
| 14231 | grpc |
| 14232 | gpr |
| 14233 | grpc++_test_config |
| 14234 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14235 | ) |
| 14236 | |
| 14237 | endif() |
| 14238 | endif (gRPC_BUILD_TESTS) |
| 14239 | if (gRPC_BUILD_TESTS) |
| 14240 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14241 | |
| 14242 | add_executable(resolver_component_tests_runner_invoker |
| 14243 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14244 | third_party/googletest/googletest/src/gtest-all.cc |
| 14245 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14246 | ) |
| 14247 | |
| 14248 | |
| 14249 | target_include_directories(resolver_component_tests_runner_invoker |
| 14250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14252 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14253 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14254 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14255 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14257 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14260 | PRIVATE third_party/googletest/googletest/include |
| 14261 | PRIVATE third_party/googletest/googletest |
| 14262 | PRIVATE third_party/googletest/googlemock/include |
| 14263 | PRIVATE third_party/googletest/googlemock |
| 14264 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14265 | ) |
| 14266 | |
| 14267 | target_link_libraries(resolver_component_tests_runner_invoker |
| 14268 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14269 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14270 | grpc++_test_util |
| 14271 | grpc_test_util |
| 14272 | gpr_test_util |
| 14273 | grpc++ |
| 14274 | grpc |
| 14275 | gpr |
| 14276 | grpc++_test_config |
| 14277 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14278 | ) |
| 14279 | |
| 14280 | endif() |
| 14281 | endif (gRPC_BUILD_TESTS) |
| 14282 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14284 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14285 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14286 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14287 | ) |
| 14288 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14289 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14290 | target_include_directories(api_fuzzer_one_entry |
| 14291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14293 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14294 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14295 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14296 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14298 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14301 | ) |
| 14302 | |
| 14303 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14305 | grpc_test_util |
| 14306 | grpc |
| 14307 | gpr_test_util |
| 14308 | gpr |
| 14309 | ) |
| 14310 | |
| 14311 | endif (gRPC_BUILD_TESTS) |
| 14312 | if (gRPC_BUILD_TESTS) |
| 14313 | |
| 14314 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14315 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14316 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14317 | ) |
| 14318 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14319 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14320 | target_include_directories(client_fuzzer_one_entry |
| 14321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14323 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14324 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14325 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14326 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14328 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14331 | ) |
| 14332 | |
| 14333 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14335 | grpc_test_util |
| 14336 | grpc |
| 14337 | gpr_test_util |
| 14338 | gpr |
| 14339 | ) |
| 14340 | |
| 14341 | endif (gRPC_BUILD_TESTS) |
| 14342 | if (gRPC_BUILD_TESTS) |
| 14343 | |
| 14344 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14345 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14346 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14347 | ) |
| 14348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14350 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14355 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14356 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14361 | ) |
| 14362 | |
| 14363 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14365 | grpc_test_util |
| 14366 | grpc |
| 14367 | gpr_test_util |
| 14368 | gpr |
| 14369 | ) |
| 14370 | |
| 14371 | endif (gRPC_BUILD_TESTS) |
| 14372 | if (gRPC_BUILD_TESTS) |
| 14373 | |
| 14374 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14375 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14376 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14377 | ) |
| 14378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14380 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14383 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14385 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14386 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14388 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14391 | ) |
| 14392 | |
| 14393 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14394 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14395 | grpc_test_util |
| 14396 | grpc |
| 14397 | gpr_test_util |
| 14398 | gpr |
| 14399 | ) |
| 14400 | |
| 14401 | endif (gRPC_BUILD_TESTS) |
| 14402 | if (gRPC_BUILD_TESTS) |
| 14403 | |
| 14404 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14405 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14406 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14407 | ) |
| 14408 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14410 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14413 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14414 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14415 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14416 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14418 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14421 | ) |
| 14422 | |
| 14423 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14425 | grpc_test_util |
| 14426 | grpc |
| 14427 | gpr_test_util |
| 14428 | gpr |
| 14429 | ) |
| 14430 | |
| 14431 | endif (gRPC_BUILD_TESTS) |
| 14432 | if (gRPC_BUILD_TESTS) |
| 14433 | |
| 14434 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14435 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14436 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14437 | ) |
| 14438 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14440 | target_include_directories(json_fuzzer_test_one_entry |
| 14441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14444 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14445 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14446 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14448 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14451 | ) |
| 14452 | |
| 14453 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14455 | grpc_test_util |
| 14456 | grpc |
| 14457 | gpr_test_util |
| 14458 | gpr |
| 14459 | ) |
| 14460 | |
| 14461 | endif (gRPC_BUILD_TESTS) |
| 14462 | if (gRPC_BUILD_TESTS) |
| 14463 | |
| 14464 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14465 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14466 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14467 | ) |
| 14468 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14469 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14470 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14473 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14474 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14475 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14476 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14478 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14481 | ) |
| 14482 | |
| 14483 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14485 | grpc_test_util |
| 14486 | grpc |
| 14487 | gpr_test_util |
| 14488 | gpr |
| 14489 | ) |
| 14490 | |
| 14491 | endif (gRPC_BUILD_TESTS) |
| 14492 | if (gRPC_BUILD_TESTS) |
| 14493 | |
| 14494 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14495 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14496 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14497 | ) |
| 14498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14500 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14503 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14508 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14511 | ) |
| 14512 | |
| 14513 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14514 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14515 | grpc_test_util |
| 14516 | grpc |
| 14517 | gpr_test_util |
| 14518 | gpr |
| 14519 | ) |
| 14520 | |
| 14521 | endif (gRPC_BUILD_TESTS) |
| 14522 | if (gRPC_BUILD_TESTS) |
| 14523 | |
| 14524 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14525 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14526 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14527 | ) |
| 14528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14530 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14538 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14541 | ) |
| 14542 | |
| 14543 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14545 | grpc_test_util |
| 14546 | grpc |
| 14547 | gpr_test_util |
| 14548 | gpr |
| 14549 | ) |
| 14550 | |
| 14551 | endif (gRPC_BUILD_TESTS) |
| 14552 | if (gRPC_BUILD_TESTS) |
| 14553 | |
| 14554 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14555 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14556 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14557 | ) |
| 14558 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14559 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14560 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14563 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14564 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14565 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14566 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14568 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14571 | ) |
| 14572 | |
| 14573 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14574 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14575 | grpc_test_util |
| 14576 | grpc |
| 14577 | gpr_test_util |
| 14578 | gpr |
| 14579 | ) |
| 14580 | |
| 14581 | endif (gRPC_BUILD_TESTS) |
| 14582 | if (gRPC_BUILD_TESTS) |
| 14583 | |
| 14584 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14585 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14586 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14587 | ) |
| 14588 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14589 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14590 | target_include_directories(server_fuzzer_one_entry |
| 14591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14593 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14594 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14595 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14596 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14598 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14601 | ) |
| 14602 | |
| 14603 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14605 | grpc_test_util |
| 14606 | grpc |
| 14607 | gpr_test_util |
| 14608 | gpr |
| 14609 | ) |
| 14610 | |
| 14611 | endif (gRPC_BUILD_TESTS) |
| 14612 | if (gRPC_BUILD_TESTS) |
| 14613 | |
| 14614 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14615 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14616 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14617 | ) |
| 14618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14620 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14623 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14628 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14631 | ) |
| 14632 | |
| 14633 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14634 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14635 | grpc_test_util |
| 14636 | grpc |
| 14637 | gpr_test_util |
| 14638 | gpr |
| 14639 | ) |
| 14640 | |
| 14641 | endif (gRPC_BUILD_TESTS) |
| 14642 | if (gRPC_BUILD_TESTS) |
| 14643 | |
| 14644 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14645 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14646 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14647 | ) |
| 14648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14650 | target_include_directories(uri_fuzzer_test_one_entry |
| 14651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14653 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14654 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14655 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14656 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14658 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14661 | ) |
| 14662 | |
| 14663 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14665 | grpc_test_util |
| 14666 | grpc |
| 14667 | gpr_test_util |
| 14668 | gpr |
| 14669 | ) |
| 14670 | |
| 14671 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14672 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14673 | |
| 14674 | |
| 14675 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14676 | |
| 14677 | |
| 14678 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14679 | if (gRPC_INSTALL) |
| 14680 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14681 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14682 | NAMESPACE gRPC:: |
| 14683 | ) |
| 14684 | endif() |
| 14685 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14686 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14687 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14688 | ${_config}.cmake @ONLY) |
| 14689 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14690 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14691 | ) |
| 14692 | endforeach() |