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) |
| 561 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 562 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 563 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 564 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 565 | endif() |
| 566 | add_dependencies(buildtests_cxx qps_json_driver) |
| 567 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 568 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 569 | endif() |
| 570 | add_dependencies(buildtests_cxx qps_worker) |
| 571 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 572 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 573 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 574 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 575 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 576 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 577 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 578 | endif() |
| 579 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 580 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 581 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 583 | add_dependencies(buildtests_cxx server_crash_test) |
| 584 | endif() |
| 585 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 586 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 587 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 588 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 589 | add_dependencies(buildtests_cxx status_test) |
| 590 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 591 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 592 | endif() |
| 593 | add_dependencies(buildtests_cxx stress_test) |
| 594 | add_dependencies(buildtests_cxx thread_manager_test) |
| 595 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 596 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 597 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 598 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 599 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 600 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 601 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 602 | endif() |
| 603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 604 | add_dependencies(buildtests_cxx resolver_component_test) |
| 605 | endif() |
| 606 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 607 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 608 | endif() |
| 609 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 610 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 611 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 612 | |
| 613 | add_custom_target(buildtests |
| 614 | DEPENDS buildtests_c buildtests_cxx) |
| 615 | endif (gRPC_BUILD_TESTS) |
| 616 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 617 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 618 | add_library(gpr |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 619 | src/core/lib/profiling/basic_timers.cc |
| 620 | src/core/lib/profiling/stap_timers.cc |
| 621 | src/core/lib/support/alloc.cc |
| 622 | src/core/lib/support/arena.cc |
| 623 | src/core/lib/support/atm.cc |
| 624 | src/core/lib/support/avl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 625 | src/core/lib/support/cmdline.cc |
| 626 | src/core/lib/support/cpu_iphone.cc |
| 627 | src/core/lib/support/cpu_linux.cc |
| 628 | src/core/lib/support/cpu_posix.cc |
| 629 | src/core/lib/support/cpu_windows.cc |
| 630 | src/core/lib/support/env_linux.cc |
| 631 | src/core/lib/support/env_posix.cc |
| 632 | src/core/lib/support/env_windows.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 633 | src/core/lib/support/fork.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 634 | src/core/lib/support/host_port.cc |
| 635 | src/core/lib/support/log.cc |
| 636 | src/core/lib/support/log_android.cc |
| 637 | src/core/lib/support/log_linux.cc |
| 638 | src/core/lib/support/log_posix.cc |
| 639 | src/core/lib/support/log_windows.cc |
| 640 | src/core/lib/support/mpscq.cc |
| 641 | src/core/lib/support/murmur_hash.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 642 | src/core/lib/support/string.cc |
| 643 | src/core/lib/support/string_posix.cc |
| 644 | src/core/lib/support/string_util_windows.cc |
| 645 | src/core/lib/support/string_windows.cc |
| 646 | src/core/lib/support/subprocess_posix.cc |
| 647 | src/core/lib/support/subprocess_windows.cc |
| 648 | src/core/lib/support/sync.cc |
| 649 | src/core/lib/support/sync_posix.cc |
| 650 | src/core/lib/support/sync_windows.cc |
| 651 | src/core/lib/support/thd.cc |
| 652 | src/core/lib/support/thd_posix.cc |
| 653 | src/core/lib/support/thd_windows.cc |
| 654 | src/core/lib/support/time.cc |
| 655 | src/core/lib/support/time_posix.cc |
| 656 | src/core/lib/support/time_precise.cc |
| 657 | src/core/lib/support/time_windows.cc |
| 658 | src/core/lib/support/tls_pthread.cc |
| 659 | src/core/lib/support/tmpfile_msys.cc |
| 660 | src/core/lib/support/tmpfile_posix.cc |
| 661 | src/core/lib/support/tmpfile_windows.cc |
| 662 | src/core/lib/support/wrap_memcpy.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 663 | ) |
| 664 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 665 | if(WIN32 AND MSVC) |
| 666 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 667 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 668 | ) |
| 669 | if (gRPC_INSTALL) |
| 670 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 671 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 672 | ) |
| 673 | endif() |
| 674 | endif() |
| 675 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 676 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 677 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 678 | 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] | 679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 680 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 681 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 682 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 683 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 685 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 688 | ) |
| 689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 690 | target_link_libraries(gpr |
| 691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 692 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 693 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 694 | foreach(_hdr |
| 695 | include/grpc/support/alloc.h |
| 696 | include/grpc/support/atm.h |
| 697 | include/grpc/support/atm_gcc_atomic.h |
| 698 | include/grpc/support/atm_gcc_sync.h |
| 699 | include/grpc/support/atm_windows.h |
| 700 | include/grpc/support/avl.h |
| 701 | include/grpc/support/cmdline.h |
| 702 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 703 | include/grpc/support/host_port.h |
| 704 | include/grpc/support/log.h |
| 705 | include/grpc/support/log_windows.h |
| 706 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 707 | include/grpc/support/string_util.h |
| 708 | include/grpc/support/subprocess.h |
| 709 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 710 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 711 | include/grpc/support/sync_generic.h |
| 712 | include/grpc/support/sync_posix.h |
| 713 | include/grpc/support/sync_windows.h |
| 714 | include/grpc/support/thd.h |
| 715 | include/grpc/support/time.h |
| 716 | include/grpc/support/tls.h |
| 717 | include/grpc/support/tls_gcc.h |
| 718 | include/grpc/support/tls_msvc.h |
| 719 | include/grpc/support/tls_pthread.h |
| 720 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 721 | include/grpc/impl/codegen/atm.h |
| 722 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 723 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 724 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 725 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 726 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 727 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 728 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 729 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 730 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 731 | include/grpc/impl/codegen/sync_generic.h |
| 732 | include/grpc/impl/codegen/sync_posix.h |
| 733 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 734 | ) |
| 735 | string(REPLACE "include/" "" _path ${_hdr}) |
| 736 | get_filename_component(_path ${_path} PATH) |
| 737 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 738 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 739 | ) |
| 740 | endforeach() |
| 741 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 742 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 743 | if (gRPC_INSTALL) |
| 744 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 745 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 746 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 747 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 748 | ) |
| 749 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 750 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 751 | if (gRPC_BUILD_TESTS) |
| 752 | |
| 753 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 754 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 755 | ) |
| 756 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 757 | if(WIN32 AND MSVC) |
| 758 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 759 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 760 | ) |
| 761 | if (gRPC_INSTALL) |
| 762 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 763 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 764 | ) |
| 765 | endif() |
| 766 | endif() |
| 767 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 768 | |
| 769 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 770 | 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] | 771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 772 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 773 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 774 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 775 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 777 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 780 | ) |
| 781 | |
| 782 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 783 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 784 | gpr |
| 785 | ) |
| 786 | |
| 787 | |
| 788 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 789 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 790 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 791 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 792 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 793 | src/core/lib/channel/channel_args.cc |
| 794 | src/core/lib/channel/channel_stack.cc |
| 795 | src/core/lib/channel/channel_stack_builder.cc |
| 796 | src/core/lib/channel/connected_channel.cc |
| 797 | src/core/lib/channel/handshaker.cc |
| 798 | src/core/lib/channel/handshaker_factory.cc |
| 799 | src/core/lib/channel/handshaker_registry.cc |
| 800 | src/core/lib/compression/compression.cc |
| 801 | src/core/lib/compression/message_compress.cc |
| 802 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 803 | src/core/lib/compression/stream_compression_gzip.cc |
| 804 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 805 | src/core/lib/debug/stats.cc |
| 806 | src/core/lib/debug/stats_data.cc |
| 807 | src/core/lib/http/format_request.cc |
| 808 | src/core/lib/http/httpcli.cc |
| 809 | src/core/lib/http/parser.cc |
| 810 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 811 | src/core/lib/iomgr/combiner.cc |
| 812 | src/core/lib/iomgr/endpoint.cc |
| 813 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 814 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 815 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 816 | src/core/lib/iomgr/error.cc |
| 817 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 818 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 819 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 820 | src/core/lib/iomgr/ev_poll_posix.cc |
| 821 | src/core/lib/iomgr/ev_posix.cc |
| 822 | src/core/lib/iomgr/ev_windows.cc |
| 823 | src/core/lib/iomgr/exec_ctx.cc |
| 824 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 825 | src/core/lib/iomgr/fork_posix.cc |
| 826 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 827 | src/core/lib/iomgr/gethostname_fallback.cc |
| 828 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 829 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 830 | src/core/lib/iomgr/iocp_windows.cc |
| 831 | src/core/lib/iomgr/iomgr.cc |
| 832 | src/core/lib/iomgr/iomgr_posix.cc |
| 833 | src/core/lib/iomgr/iomgr_uv.cc |
| 834 | src/core/lib/iomgr/iomgr_windows.cc |
| 835 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 836 | src/core/lib/iomgr/load_file.cc |
| 837 | src/core/lib/iomgr/lockfree_event.cc |
| 838 | src/core/lib/iomgr/network_status_tracker.cc |
| 839 | src/core/lib/iomgr/polling_entity.cc |
| 840 | src/core/lib/iomgr/pollset_set_uv.cc |
| 841 | src/core/lib/iomgr/pollset_set_windows.cc |
| 842 | src/core/lib/iomgr/pollset_uv.cc |
| 843 | src/core/lib/iomgr/pollset_windows.cc |
| 844 | src/core/lib/iomgr/resolve_address_posix.cc |
| 845 | src/core/lib/iomgr/resolve_address_uv.cc |
| 846 | src/core/lib/iomgr/resolve_address_windows.cc |
| 847 | src/core/lib/iomgr/resource_quota.cc |
| 848 | src/core/lib/iomgr/sockaddr_utils.cc |
| 849 | src/core/lib/iomgr/socket_factory_posix.cc |
| 850 | src/core/lib/iomgr/socket_mutator.cc |
| 851 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 852 | src/core/lib/iomgr/socket_utils_linux.cc |
| 853 | src/core/lib/iomgr/socket_utils_posix.cc |
| 854 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 855 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 856 | src/core/lib/iomgr/socket_windows.cc |
| 857 | src/core/lib/iomgr/tcp_client_posix.cc |
| 858 | src/core/lib/iomgr/tcp_client_uv.cc |
| 859 | src/core/lib/iomgr/tcp_client_windows.cc |
| 860 | src/core/lib/iomgr/tcp_posix.cc |
| 861 | src/core/lib/iomgr/tcp_server_posix.cc |
| 862 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 863 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 864 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 865 | src/core/lib/iomgr/tcp_server_uv.cc |
| 866 | src/core/lib/iomgr/tcp_server_windows.cc |
| 867 | src/core/lib/iomgr/tcp_uv.cc |
| 868 | src/core/lib/iomgr/tcp_windows.cc |
| 869 | src/core/lib/iomgr/time_averaged_stats.cc |
| 870 | src/core/lib/iomgr/timer_generic.cc |
| 871 | src/core/lib/iomgr/timer_heap.cc |
| 872 | src/core/lib/iomgr/timer_manager.cc |
| 873 | src/core/lib/iomgr/timer_uv.cc |
| 874 | src/core/lib/iomgr/udp_server.cc |
| 875 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 876 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 877 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 878 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 879 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 880 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 881 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 882 | src/core/lib/json/json.cc |
| 883 | src/core/lib/json/json_reader.cc |
| 884 | src/core/lib/json/json_string.cc |
| 885 | src/core/lib/json/json_writer.cc |
| 886 | src/core/lib/slice/b64.cc |
| 887 | src/core/lib/slice/percent_encoding.cc |
| 888 | src/core/lib/slice/slice.cc |
| 889 | src/core/lib/slice/slice_buffer.cc |
| 890 | src/core/lib/slice/slice_hash_table.cc |
| 891 | src/core/lib/slice/slice_intern.cc |
| 892 | src/core/lib/slice/slice_string_helpers.cc |
| 893 | src/core/lib/surface/alarm.cc |
| 894 | src/core/lib/surface/api_trace.cc |
| 895 | src/core/lib/surface/byte_buffer.cc |
| 896 | src/core/lib/surface/byte_buffer_reader.cc |
| 897 | src/core/lib/surface/call.cc |
| 898 | src/core/lib/surface/call_details.cc |
| 899 | src/core/lib/surface/call_log_batch.cc |
| 900 | src/core/lib/surface/channel.cc |
| 901 | src/core/lib/surface/channel_init.cc |
| 902 | src/core/lib/surface/channel_ping.cc |
| 903 | src/core/lib/surface/channel_stack_type.cc |
| 904 | src/core/lib/surface/completion_queue.cc |
| 905 | src/core/lib/surface/completion_queue_factory.cc |
| 906 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 907 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 908 | src/core/lib/surface/metadata_array.cc |
| 909 | src/core/lib/surface/server.cc |
| 910 | src/core/lib/surface/validate_metadata.cc |
| 911 | src/core/lib/surface/version.cc |
| 912 | src/core/lib/transport/bdp_estimator.cc |
| 913 | src/core/lib/transport/byte_stream.cc |
| 914 | src/core/lib/transport/connectivity_state.cc |
| 915 | src/core/lib/transport/error_utils.cc |
| 916 | src/core/lib/transport/metadata.cc |
| 917 | src/core/lib/transport/metadata_batch.cc |
| 918 | src/core/lib/transport/pid_controller.cc |
| 919 | src/core/lib/transport/service_config.cc |
| 920 | src/core/lib/transport/static_metadata.cc |
| 921 | src/core/lib/transport/status_conversion.cc |
| 922 | src/core/lib/transport/timeout_encoding.cc |
| 923 | src/core/lib/transport/transport.cc |
| 924 | src/core/lib/transport/transport_op_string.cc |
| 925 | src/core/lib/debug/trace.cc |
| 926 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 927 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 928 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 929 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 930 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 931 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 932 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 933 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 934 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 935 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 936 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 937 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 938 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 939 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 940 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 941 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 942 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 943 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 944 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 945 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 946 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 947 | src/core/ext/transport/chttp2/transport/varint.cc |
| 948 | src/core/ext/transport/chttp2/transport/writing.cc |
| 949 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 950 | src/core/ext/filters/http/client/http_client_filter.cc |
| 951 | src/core/ext/filters/http/http_filters_plugin.cc |
| 952 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 953 | src/core/ext/filters/http/server/http_server_filter.cc |
| 954 | src/core/lib/http/httpcli_security_connector.cc |
| 955 | src/core/lib/security/context/security_context.cc |
| 956 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 957 | src/core/lib/security/credentials/credentials.cc |
| 958 | src/core/lib/security/credentials/credentials_metadata.cc |
| 959 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 960 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 961 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 962 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 963 | src/core/lib/security/credentials/jwt/json_token.cc |
| 964 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 965 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 966 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 967 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 968 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 969 | src/core/lib/security/transport/client_auth_filter.cc |
| 970 | src/core/lib/security/transport/lb_targets_info.cc |
| 971 | src/core/lib/security/transport/secure_endpoint.cc |
| 972 | src/core/lib/security/transport/security_connector.cc |
| 973 | src/core/lib/security/transport/security_handshaker.cc |
| 974 | src/core/lib/security/transport/server_auth_filter.cc |
| 975 | src/core/lib/security/transport/tsi_error.cc |
| 976 | src/core/lib/security/util/json_util.cc |
| 977 | src/core/lib/surface/init_secure.cc |
| 978 | src/core/tsi/fake_transport_security.cc |
| 979 | src/core/tsi/gts_transport_security.cc |
| 980 | src/core/tsi/ssl_transport_security.cc |
| 981 | src/core/tsi/transport_security_grpc.cc |
| 982 | src/core/tsi/transport_security.cc |
| 983 | src/core/tsi/transport_security_adapter.cc |
| 984 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 985 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 986 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 987 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 988 | src/core/ext/filters/client_channel/client_channel.cc |
| 989 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 990 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 991 | src/core/ext/filters/client_channel/connector.cc |
| 992 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 993 | src/core/ext/filters/client_channel/http_proxy.cc |
| 994 | src/core/ext/filters/client_channel/lb_policy.cc |
| 995 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 996 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 997 | src/core/ext/filters/client_channel/parse_address.cc |
| 998 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 999 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1000 | src/core/ext/filters/client_channel/resolver.cc |
| 1001 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1002 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1003 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1004 | src/core/ext/filters/client_channel/subchannel.cc |
| 1005 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1006 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1007 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1008 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1009 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1010 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1011 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1012 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1013 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1014 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1015 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1016 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1017 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1018 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1019 | 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] | 1020 | 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] | 1021 | third_party/nanopb/pb_common.c |
| 1022 | third_party/nanopb/pb_decode.c |
| 1023 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1024 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1025 | 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] | 1026 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1027 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1028 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1029 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1030 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1031 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1032 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1033 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1034 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1035 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1036 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1037 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1038 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1039 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1040 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1041 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1042 | ) |
| 1043 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1044 | if(WIN32 AND MSVC) |
| 1045 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1046 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1047 | ) |
| 1048 | if (gRPC_INSTALL) |
| 1049 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1050 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1051 | ) |
| 1052 | endif() |
| 1053 | endif() |
| 1054 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1055 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1056 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1057 | 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] | 1058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1059 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1060 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1061 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1062 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1064 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1067 | ) |
| 1068 | |
| 1069 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1070 | ${_gRPC_BASELIB_LIBRARIES} |
| 1071 | ${_gRPC_SSL_LIBRARIES} |
| 1072 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1073 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1074 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1075 | gpr |
| 1076 | ) |
| 1077 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1078 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1079 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1080 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1081 | include/grpc/impl/codegen/compression_types.h |
| 1082 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1083 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1084 | include/grpc/impl/codegen/grpc_types.h |
| 1085 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1086 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1087 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1088 | include/grpc/impl/codegen/atm.h |
| 1089 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1090 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1091 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1092 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1093 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1094 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1095 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1096 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1097 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1098 | include/grpc/impl/codegen/sync_generic.h |
| 1099 | include/grpc/impl/codegen/sync_posix.h |
| 1100 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1101 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1102 | include/grpc/byte_buffer.h |
| 1103 | include/grpc/byte_buffer_reader.h |
| 1104 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1105 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1106 | include/grpc/grpc.h |
| 1107 | include/grpc/grpc_posix.h |
| 1108 | include/grpc/grpc_security_constants.h |
| 1109 | include/grpc/load_reporting.h |
| 1110 | include/grpc/slice.h |
| 1111 | include/grpc/slice_buffer.h |
| 1112 | include/grpc/status.h |
| 1113 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1114 | include/grpc/census.h |
| 1115 | ) |
| 1116 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1117 | get_filename_component(_path ${_path} PATH) |
| 1118 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1119 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1120 | ) |
| 1121 | endforeach() |
| 1122 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1123 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1124 | if (gRPC_INSTALL) |
| 1125 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1126 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1127 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1128 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1129 | ) |
| 1130 | endif() |
| 1131 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1132 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1133 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1134 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1135 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1136 | src/core/lib/channel/channel_args.cc |
| 1137 | src/core/lib/channel/channel_stack.cc |
| 1138 | src/core/lib/channel/channel_stack_builder.cc |
| 1139 | src/core/lib/channel/connected_channel.cc |
| 1140 | src/core/lib/channel/handshaker.cc |
| 1141 | src/core/lib/channel/handshaker_factory.cc |
| 1142 | src/core/lib/channel/handshaker_registry.cc |
| 1143 | src/core/lib/compression/compression.cc |
| 1144 | src/core/lib/compression/message_compress.cc |
| 1145 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1146 | src/core/lib/compression/stream_compression_gzip.cc |
| 1147 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1148 | src/core/lib/debug/stats.cc |
| 1149 | src/core/lib/debug/stats_data.cc |
| 1150 | src/core/lib/http/format_request.cc |
| 1151 | src/core/lib/http/httpcli.cc |
| 1152 | src/core/lib/http/parser.cc |
| 1153 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1154 | src/core/lib/iomgr/combiner.cc |
| 1155 | src/core/lib/iomgr/endpoint.cc |
| 1156 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1157 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1158 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1159 | src/core/lib/iomgr/error.cc |
| 1160 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1161 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1162 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1163 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1164 | src/core/lib/iomgr/ev_posix.cc |
| 1165 | src/core/lib/iomgr/ev_windows.cc |
| 1166 | src/core/lib/iomgr/exec_ctx.cc |
| 1167 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1168 | src/core/lib/iomgr/fork_posix.cc |
| 1169 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1170 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1171 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1172 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1173 | src/core/lib/iomgr/iocp_windows.cc |
| 1174 | src/core/lib/iomgr/iomgr.cc |
| 1175 | src/core/lib/iomgr/iomgr_posix.cc |
| 1176 | src/core/lib/iomgr/iomgr_uv.cc |
| 1177 | src/core/lib/iomgr/iomgr_windows.cc |
| 1178 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1179 | src/core/lib/iomgr/load_file.cc |
| 1180 | src/core/lib/iomgr/lockfree_event.cc |
| 1181 | src/core/lib/iomgr/network_status_tracker.cc |
| 1182 | src/core/lib/iomgr/polling_entity.cc |
| 1183 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1184 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1185 | src/core/lib/iomgr/pollset_uv.cc |
| 1186 | src/core/lib/iomgr/pollset_windows.cc |
| 1187 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1188 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1189 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1190 | src/core/lib/iomgr/resource_quota.cc |
| 1191 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1192 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1193 | src/core/lib/iomgr/socket_mutator.cc |
| 1194 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1195 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1196 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1197 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1198 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1199 | src/core/lib/iomgr/socket_windows.cc |
| 1200 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1201 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1202 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1203 | src/core/lib/iomgr/tcp_posix.cc |
| 1204 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1205 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1206 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1207 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1208 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1209 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1210 | src/core/lib/iomgr/tcp_uv.cc |
| 1211 | src/core/lib/iomgr/tcp_windows.cc |
| 1212 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1213 | src/core/lib/iomgr/timer_generic.cc |
| 1214 | src/core/lib/iomgr/timer_heap.cc |
| 1215 | src/core/lib/iomgr/timer_manager.cc |
| 1216 | src/core/lib/iomgr/timer_uv.cc |
| 1217 | src/core/lib/iomgr/udp_server.cc |
| 1218 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1219 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1220 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1221 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1222 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1223 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1224 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1225 | src/core/lib/json/json.cc |
| 1226 | src/core/lib/json/json_reader.cc |
| 1227 | src/core/lib/json/json_string.cc |
| 1228 | src/core/lib/json/json_writer.cc |
| 1229 | src/core/lib/slice/b64.cc |
| 1230 | src/core/lib/slice/percent_encoding.cc |
| 1231 | src/core/lib/slice/slice.cc |
| 1232 | src/core/lib/slice/slice_buffer.cc |
| 1233 | src/core/lib/slice/slice_hash_table.cc |
| 1234 | src/core/lib/slice/slice_intern.cc |
| 1235 | src/core/lib/slice/slice_string_helpers.cc |
| 1236 | src/core/lib/surface/alarm.cc |
| 1237 | src/core/lib/surface/api_trace.cc |
| 1238 | src/core/lib/surface/byte_buffer.cc |
| 1239 | src/core/lib/surface/byte_buffer_reader.cc |
| 1240 | src/core/lib/surface/call.cc |
| 1241 | src/core/lib/surface/call_details.cc |
| 1242 | src/core/lib/surface/call_log_batch.cc |
| 1243 | src/core/lib/surface/channel.cc |
| 1244 | src/core/lib/surface/channel_init.cc |
| 1245 | src/core/lib/surface/channel_ping.cc |
| 1246 | src/core/lib/surface/channel_stack_type.cc |
| 1247 | src/core/lib/surface/completion_queue.cc |
| 1248 | src/core/lib/surface/completion_queue_factory.cc |
| 1249 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1250 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1251 | src/core/lib/surface/metadata_array.cc |
| 1252 | src/core/lib/surface/server.cc |
| 1253 | src/core/lib/surface/validate_metadata.cc |
| 1254 | src/core/lib/surface/version.cc |
| 1255 | src/core/lib/transport/bdp_estimator.cc |
| 1256 | src/core/lib/transport/byte_stream.cc |
| 1257 | src/core/lib/transport/connectivity_state.cc |
| 1258 | src/core/lib/transport/error_utils.cc |
| 1259 | src/core/lib/transport/metadata.cc |
| 1260 | src/core/lib/transport/metadata_batch.cc |
| 1261 | src/core/lib/transport/pid_controller.cc |
| 1262 | src/core/lib/transport/service_config.cc |
| 1263 | src/core/lib/transport/static_metadata.cc |
| 1264 | src/core/lib/transport/status_conversion.cc |
| 1265 | src/core/lib/transport/timeout_encoding.cc |
| 1266 | src/core/lib/transport/transport.cc |
| 1267 | src/core/lib/transport/transport_op_string.cc |
| 1268 | src/core/lib/debug/trace.cc |
| 1269 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1270 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1271 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1272 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1273 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1274 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1275 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1276 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1277 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1278 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1279 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1280 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1281 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1282 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1283 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1284 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1285 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1286 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1287 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1288 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1289 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1290 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1291 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1292 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1293 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1294 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1295 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1296 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1297 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1298 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1299 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1300 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1301 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1302 | src/core/ext/filters/client_channel/client_channel.cc |
| 1303 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1304 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1305 | src/core/ext/filters/client_channel/connector.cc |
| 1306 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1307 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1308 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1309 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1310 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1311 | src/core/ext/filters/client_channel/parse_address.cc |
| 1312 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1313 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1314 | src/core/ext/filters/client_channel/resolver.cc |
| 1315 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1316 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1317 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1318 | src/core/ext/filters/client_channel/subchannel.cc |
| 1319 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1320 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1321 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1322 | src/core/lib/http/httpcli_security_connector.cc |
| 1323 | src/core/lib/security/context/security_context.cc |
| 1324 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1325 | src/core/lib/security/credentials/credentials.cc |
| 1326 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1327 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1328 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1329 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1330 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1331 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1332 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1333 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1334 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1335 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1336 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1337 | src/core/lib/security/transport/client_auth_filter.cc |
| 1338 | src/core/lib/security/transport/lb_targets_info.cc |
| 1339 | src/core/lib/security/transport/secure_endpoint.cc |
| 1340 | src/core/lib/security/transport/security_connector.cc |
| 1341 | src/core/lib/security/transport/security_handshaker.cc |
| 1342 | src/core/lib/security/transport/server_auth_filter.cc |
| 1343 | src/core/lib/security/transport/tsi_error.cc |
| 1344 | src/core/lib/security/util/json_util.cc |
| 1345 | src/core/lib/surface/init_secure.cc |
| 1346 | src/core/tsi/fake_transport_security.cc |
| 1347 | src/core/tsi/gts_transport_security.cc |
| 1348 | src/core/tsi/ssl_transport_security.cc |
| 1349 | src/core/tsi/transport_security_grpc.cc |
| 1350 | src/core/tsi/transport_security.cc |
| 1351 | src/core/tsi/transport_security_adapter.cc |
| 1352 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1353 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1354 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1355 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1356 | ) |
| 1357 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1358 | if(WIN32 AND MSVC) |
| 1359 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1360 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1361 | ) |
| 1362 | if (gRPC_INSTALL) |
| 1363 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1364 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1365 | ) |
| 1366 | endif() |
| 1367 | endif() |
| 1368 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1369 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1370 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1371 | 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] | 1372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1373 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1374 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1375 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1376 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1378 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1381 | ) |
| 1382 | |
| 1383 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1384 | ${_gRPC_BASELIB_LIBRARIES} |
| 1385 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1386 | ${_gRPC_ZLIB_LIBRARIES} |
| 1387 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1388 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1389 | gpr |
| 1390 | ) |
| 1391 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1392 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1393 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1394 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1395 | include/grpc/impl/codegen/compression_types.h |
| 1396 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1397 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 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 |
| 1683 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1684 | include/grpc/impl/codegen/grpc_types.h |
| 1685 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1686 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1687 | include/grpc/impl/codegen/status.h |
| 1688 | include/grpc/impl/codegen/atm.h |
| 1689 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1690 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1691 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1692 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1693 | include/grpc/impl/codegen/gpr_slice.h |
| 1694 | include/grpc/impl/codegen/gpr_types.h |
| 1695 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1696 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1697 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1698 | include/grpc/impl/codegen/sync_generic.h |
| 1699 | include/grpc/impl/codegen/sync_posix.h |
| 1700 | include/grpc/impl/codegen/sync_windows.h |
| 1701 | ) |
| 1702 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1703 | get_filename_component(_path ${_path} PATH) |
| 1704 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1705 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1706 | ) |
| 1707 | endforeach() |
| 1708 | |
| 1709 | endif (gRPC_BUILD_TESTS) |
| 1710 | if (gRPC_BUILD_TESTS) |
| 1711 | |
| 1712 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1713 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1714 | test/core/end2end/cq_verifier.cc |
| 1715 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1716 | test/core/end2end/fixtures/proxy.cc |
| 1717 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1718 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1719 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1720 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1721 | test/core/util/memory_counters.cc |
| 1722 | test/core/util/mock_endpoint.cc |
| 1723 | test/core/util/parse_hexstring.cc |
| 1724 | test/core/util/passthru_endpoint.cc |
| 1725 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1726 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1727 | test/core/util/port_server_client.cc |
| 1728 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1729 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1730 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1731 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1732 | src/core/lib/channel/channel_args.cc |
| 1733 | src/core/lib/channel/channel_stack.cc |
| 1734 | src/core/lib/channel/channel_stack_builder.cc |
| 1735 | src/core/lib/channel/connected_channel.cc |
| 1736 | src/core/lib/channel/handshaker.cc |
| 1737 | src/core/lib/channel/handshaker_factory.cc |
| 1738 | src/core/lib/channel/handshaker_registry.cc |
| 1739 | src/core/lib/compression/compression.cc |
| 1740 | src/core/lib/compression/message_compress.cc |
| 1741 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1742 | src/core/lib/compression/stream_compression_gzip.cc |
| 1743 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1744 | src/core/lib/debug/stats.cc |
| 1745 | src/core/lib/debug/stats_data.cc |
| 1746 | src/core/lib/http/format_request.cc |
| 1747 | src/core/lib/http/httpcli.cc |
| 1748 | src/core/lib/http/parser.cc |
| 1749 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1750 | src/core/lib/iomgr/combiner.cc |
| 1751 | src/core/lib/iomgr/endpoint.cc |
| 1752 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1753 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1754 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1755 | src/core/lib/iomgr/error.cc |
| 1756 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1757 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1758 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1759 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1760 | src/core/lib/iomgr/ev_posix.cc |
| 1761 | src/core/lib/iomgr/ev_windows.cc |
| 1762 | src/core/lib/iomgr/exec_ctx.cc |
| 1763 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1764 | src/core/lib/iomgr/fork_posix.cc |
| 1765 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1766 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1767 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1768 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1769 | src/core/lib/iomgr/iocp_windows.cc |
| 1770 | src/core/lib/iomgr/iomgr.cc |
| 1771 | src/core/lib/iomgr/iomgr_posix.cc |
| 1772 | src/core/lib/iomgr/iomgr_uv.cc |
| 1773 | src/core/lib/iomgr/iomgr_windows.cc |
| 1774 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1775 | src/core/lib/iomgr/load_file.cc |
| 1776 | src/core/lib/iomgr/lockfree_event.cc |
| 1777 | src/core/lib/iomgr/network_status_tracker.cc |
| 1778 | src/core/lib/iomgr/polling_entity.cc |
| 1779 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1780 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1781 | src/core/lib/iomgr/pollset_uv.cc |
| 1782 | src/core/lib/iomgr/pollset_windows.cc |
| 1783 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1784 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1785 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1786 | src/core/lib/iomgr/resource_quota.cc |
| 1787 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1788 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1789 | src/core/lib/iomgr/socket_mutator.cc |
| 1790 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1791 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1792 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1793 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1794 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1795 | src/core/lib/iomgr/socket_windows.cc |
| 1796 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1797 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1798 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1799 | src/core/lib/iomgr/tcp_posix.cc |
| 1800 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1801 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1802 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1803 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1804 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1805 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1806 | src/core/lib/iomgr/tcp_uv.cc |
| 1807 | src/core/lib/iomgr/tcp_windows.cc |
| 1808 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1809 | src/core/lib/iomgr/timer_generic.cc |
| 1810 | src/core/lib/iomgr/timer_heap.cc |
| 1811 | src/core/lib/iomgr/timer_manager.cc |
| 1812 | src/core/lib/iomgr/timer_uv.cc |
| 1813 | src/core/lib/iomgr/udp_server.cc |
| 1814 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1815 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1816 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1817 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1818 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1819 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1820 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1821 | src/core/lib/json/json.cc |
| 1822 | src/core/lib/json/json_reader.cc |
| 1823 | src/core/lib/json/json_string.cc |
| 1824 | src/core/lib/json/json_writer.cc |
| 1825 | src/core/lib/slice/b64.cc |
| 1826 | src/core/lib/slice/percent_encoding.cc |
| 1827 | src/core/lib/slice/slice.cc |
| 1828 | src/core/lib/slice/slice_buffer.cc |
| 1829 | src/core/lib/slice/slice_hash_table.cc |
| 1830 | src/core/lib/slice/slice_intern.cc |
| 1831 | src/core/lib/slice/slice_string_helpers.cc |
| 1832 | src/core/lib/surface/alarm.cc |
| 1833 | src/core/lib/surface/api_trace.cc |
| 1834 | src/core/lib/surface/byte_buffer.cc |
| 1835 | src/core/lib/surface/byte_buffer_reader.cc |
| 1836 | src/core/lib/surface/call.cc |
| 1837 | src/core/lib/surface/call_details.cc |
| 1838 | src/core/lib/surface/call_log_batch.cc |
| 1839 | src/core/lib/surface/channel.cc |
| 1840 | src/core/lib/surface/channel_init.cc |
| 1841 | src/core/lib/surface/channel_ping.cc |
| 1842 | src/core/lib/surface/channel_stack_type.cc |
| 1843 | src/core/lib/surface/completion_queue.cc |
| 1844 | src/core/lib/surface/completion_queue_factory.cc |
| 1845 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1846 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1847 | src/core/lib/surface/metadata_array.cc |
| 1848 | src/core/lib/surface/server.cc |
| 1849 | src/core/lib/surface/validate_metadata.cc |
| 1850 | src/core/lib/surface/version.cc |
| 1851 | src/core/lib/transport/bdp_estimator.cc |
| 1852 | src/core/lib/transport/byte_stream.cc |
| 1853 | src/core/lib/transport/connectivity_state.cc |
| 1854 | src/core/lib/transport/error_utils.cc |
| 1855 | src/core/lib/transport/metadata.cc |
| 1856 | src/core/lib/transport/metadata_batch.cc |
| 1857 | src/core/lib/transport/pid_controller.cc |
| 1858 | src/core/lib/transport/service_config.cc |
| 1859 | src/core/lib/transport/static_metadata.cc |
| 1860 | src/core/lib/transport/status_conversion.cc |
| 1861 | src/core/lib/transport/timeout_encoding.cc |
| 1862 | src/core/lib/transport/transport.cc |
| 1863 | src/core/lib/transport/transport_op_string.cc |
| 1864 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1865 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1866 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1867 | src/core/ext/filters/client_channel/client_channel.cc |
| 1868 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1869 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1870 | src/core/ext/filters/client_channel/connector.cc |
| 1871 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1872 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1873 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1874 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1875 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1876 | src/core/ext/filters/client_channel/parse_address.cc |
| 1877 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1878 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1879 | src/core/ext/filters/client_channel/resolver.cc |
| 1880 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1881 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1882 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1883 | src/core/ext/filters/client_channel/subchannel.cc |
| 1884 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1885 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1886 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1887 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1888 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1889 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1890 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1891 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1892 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1893 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1894 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1895 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1896 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1897 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1898 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1899 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1900 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1901 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1902 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1903 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1904 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1905 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1906 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1907 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1908 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1909 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1910 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1911 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1912 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1913 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1914 | ) |
| 1915 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1916 | if(WIN32 AND MSVC) |
| 1917 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1918 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1919 | ) |
| 1920 | if (gRPC_INSTALL) |
| 1921 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1922 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1923 | ) |
| 1924 | endif() |
| 1925 | endif() |
| 1926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1927 | |
| 1928 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1929 | 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] | 1930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1931 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1933 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1934 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1936 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1939 | ) |
| 1940 | |
| 1941 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1943 | gpr |
| 1944 | gpr_test_util |
| 1945 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1946 | ) |
| 1947 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1948 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1949 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1950 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1951 | include/grpc/impl/codegen/compression_types.h |
| 1952 | include/grpc/impl/codegen/connectivity_state.h |
| 1953 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1954 | include/grpc/impl/codegen/grpc_types.h |
| 1955 | include/grpc/impl/codegen/propagation_bits.h |
| 1956 | include/grpc/impl/codegen/slice.h |
| 1957 | include/grpc/impl/codegen/status.h |
| 1958 | include/grpc/impl/codegen/atm.h |
| 1959 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1960 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1961 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1962 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1963 | include/grpc/impl/codegen/gpr_slice.h |
| 1964 | include/grpc/impl/codegen/gpr_types.h |
| 1965 | include/grpc/impl/codegen/port_platform.h |
| 1966 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1967 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1968 | include/grpc/impl/codegen/sync_generic.h |
| 1969 | include/grpc/impl/codegen/sync_posix.h |
| 1970 | include/grpc/impl/codegen/sync_windows.h |
| 1971 | ) |
| 1972 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1973 | get_filename_component(_path ${_path} PATH) |
| 1974 | install(FILES ${_hdr} |
| 1975 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 1976 | ) |
| 1977 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1978 | |
| 1979 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1980 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1981 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1982 | src/core/lib/surface/init.cc |
| 1983 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1984 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1985 | src/core/lib/channel/channel_args.cc |
| 1986 | src/core/lib/channel/channel_stack.cc |
| 1987 | src/core/lib/channel/channel_stack_builder.cc |
| 1988 | src/core/lib/channel/connected_channel.cc |
| 1989 | src/core/lib/channel/handshaker.cc |
| 1990 | src/core/lib/channel/handshaker_factory.cc |
| 1991 | src/core/lib/channel/handshaker_registry.cc |
| 1992 | src/core/lib/compression/compression.cc |
| 1993 | src/core/lib/compression/message_compress.cc |
| 1994 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1995 | src/core/lib/compression/stream_compression_gzip.cc |
| 1996 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1997 | src/core/lib/debug/stats.cc |
| 1998 | src/core/lib/debug/stats_data.cc |
| 1999 | src/core/lib/http/format_request.cc |
| 2000 | src/core/lib/http/httpcli.cc |
| 2001 | src/core/lib/http/parser.cc |
| 2002 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2003 | src/core/lib/iomgr/combiner.cc |
| 2004 | src/core/lib/iomgr/endpoint.cc |
| 2005 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2006 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2007 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2008 | src/core/lib/iomgr/error.cc |
| 2009 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2010 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2011 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2012 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2013 | src/core/lib/iomgr/ev_posix.cc |
| 2014 | src/core/lib/iomgr/ev_windows.cc |
| 2015 | src/core/lib/iomgr/exec_ctx.cc |
| 2016 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2017 | src/core/lib/iomgr/fork_posix.cc |
| 2018 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2019 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2020 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2021 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2022 | src/core/lib/iomgr/iocp_windows.cc |
| 2023 | src/core/lib/iomgr/iomgr.cc |
| 2024 | src/core/lib/iomgr/iomgr_posix.cc |
| 2025 | src/core/lib/iomgr/iomgr_uv.cc |
| 2026 | src/core/lib/iomgr/iomgr_windows.cc |
| 2027 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2028 | src/core/lib/iomgr/load_file.cc |
| 2029 | src/core/lib/iomgr/lockfree_event.cc |
| 2030 | src/core/lib/iomgr/network_status_tracker.cc |
| 2031 | src/core/lib/iomgr/polling_entity.cc |
| 2032 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2033 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2034 | src/core/lib/iomgr/pollset_uv.cc |
| 2035 | src/core/lib/iomgr/pollset_windows.cc |
| 2036 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2037 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2038 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2039 | src/core/lib/iomgr/resource_quota.cc |
| 2040 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2041 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2042 | src/core/lib/iomgr/socket_mutator.cc |
| 2043 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2044 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2045 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2046 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2047 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2048 | src/core/lib/iomgr/socket_windows.cc |
| 2049 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2050 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2051 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2052 | src/core/lib/iomgr/tcp_posix.cc |
| 2053 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2054 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2055 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2056 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2057 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2058 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2059 | src/core/lib/iomgr/tcp_uv.cc |
| 2060 | src/core/lib/iomgr/tcp_windows.cc |
| 2061 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2062 | src/core/lib/iomgr/timer_generic.cc |
| 2063 | src/core/lib/iomgr/timer_heap.cc |
| 2064 | src/core/lib/iomgr/timer_manager.cc |
| 2065 | src/core/lib/iomgr/timer_uv.cc |
| 2066 | src/core/lib/iomgr/udp_server.cc |
| 2067 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2068 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2069 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2070 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2071 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2072 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2073 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2074 | src/core/lib/json/json.cc |
| 2075 | src/core/lib/json/json_reader.cc |
| 2076 | src/core/lib/json/json_string.cc |
| 2077 | src/core/lib/json/json_writer.cc |
| 2078 | src/core/lib/slice/b64.cc |
| 2079 | src/core/lib/slice/percent_encoding.cc |
| 2080 | src/core/lib/slice/slice.cc |
| 2081 | src/core/lib/slice/slice_buffer.cc |
| 2082 | src/core/lib/slice/slice_hash_table.cc |
| 2083 | src/core/lib/slice/slice_intern.cc |
| 2084 | src/core/lib/slice/slice_string_helpers.cc |
| 2085 | src/core/lib/surface/alarm.cc |
| 2086 | src/core/lib/surface/api_trace.cc |
| 2087 | src/core/lib/surface/byte_buffer.cc |
| 2088 | src/core/lib/surface/byte_buffer_reader.cc |
| 2089 | src/core/lib/surface/call.cc |
| 2090 | src/core/lib/surface/call_details.cc |
| 2091 | src/core/lib/surface/call_log_batch.cc |
| 2092 | src/core/lib/surface/channel.cc |
| 2093 | src/core/lib/surface/channel_init.cc |
| 2094 | src/core/lib/surface/channel_ping.cc |
| 2095 | src/core/lib/surface/channel_stack_type.cc |
| 2096 | src/core/lib/surface/completion_queue.cc |
| 2097 | src/core/lib/surface/completion_queue_factory.cc |
| 2098 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2099 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2100 | src/core/lib/surface/metadata_array.cc |
| 2101 | src/core/lib/surface/server.cc |
| 2102 | src/core/lib/surface/validate_metadata.cc |
| 2103 | src/core/lib/surface/version.cc |
| 2104 | src/core/lib/transport/bdp_estimator.cc |
| 2105 | src/core/lib/transport/byte_stream.cc |
| 2106 | src/core/lib/transport/connectivity_state.cc |
| 2107 | src/core/lib/transport/error_utils.cc |
| 2108 | src/core/lib/transport/metadata.cc |
| 2109 | src/core/lib/transport/metadata_batch.cc |
| 2110 | src/core/lib/transport/pid_controller.cc |
| 2111 | src/core/lib/transport/service_config.cc |
| 2112 | src/core/lib/transport/static_metadata.cc |
| 2113 | src/core/lib/transport/status_conversion.cc |
| 2114 | src/core/lib/transport/timeout_encoding.cc |
| 2115 | src/core/lib/transport/transport.cc |
| 2116 | src/core/lib/transport/transport_op_string.cc |
| 2117 | src/core/lib/debug/trace.cc |
| 2118 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2119 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2120 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2121 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2122 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2123 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2124 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2125 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2126 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2127 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2128 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2129 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2130 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2131 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2132 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2133 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2134 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2135 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2136 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2137 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2138 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2139 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2140 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2141 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2142 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2143 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2144 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2145 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2146 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2147 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2148 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2149 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2150 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2151 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2152 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2153 | src/core/ext/filters/client_channel/client_channel.cc |
| 2154 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2155 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2156 | src/core/ext/filters/client_channel/connector.cc |
| 2157 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2158 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2159 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2160 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2161 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2162 | src/core/ext/filters/client_channel/parse_address.cc |
| 2163 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2164 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2165 | src/core/ext/filters/client_channel/resolver.cc |
| 2166 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2167 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2168 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2169 | src/core/ext/filters/client_channel/subchannel.cc |
| 2170 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2171 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2172 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2173 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2174 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2175 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2176 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2177 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2178 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2179 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2180 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2181 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2182 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2183 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2184 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2185 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2186 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2187 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2188 | 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] | 2189 | 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] | 2190 | third_party/nanopb/pb_common.c |
| 2191 | third_party/nanopb/pb_decode.c |
| 2192 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2193 | 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] | 2194 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2195 | 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] | 2196 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2197 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2198 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2199 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2200 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2201 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2202 | ) |
| 2203 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2204 | if(WIN32 AND MSVC) |
| 2205 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2206 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2207 | ) |
| 2208 | if (gRPC_INSTALL) |
| 2209 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2210 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2211 | ) |
| 2212 | endif() |
| 2213 | endif() |
| 2214 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2215 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2216 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2217 | 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] | 2218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2219 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2220 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2221 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2222 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2224 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2227 | ) |
| 2228 | |
| 2229 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2230 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2231 | ${_gRPC_ZLIB_LIBRARIES} |
| 2232 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2233 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2234 | gpr |
| 2235 | ) |
| 2236 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2237 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2238 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2239 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2240 | include/grpc/impl/codegen/compression_types.h |
| 2241 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2242 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2243 | include/grpc/impl/codegen/grpc_types.h |
| 2244 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2245 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2246 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2247 | include/grpc/impl/codegen/atm.h |
| 2248 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2249 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2250 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2251 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2252 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2253 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2254 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2255 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2256 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2257 | include/grpc/impl/codegen/sync_generic.h |
| 2258 | include/grpc/impl/codegen/sync_posix.h |
| 2259 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2260 | include/grpc/byte_buffer.h |
| 2261 | include/grpc/byte_buffer_reader.h |
| 2262 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2263 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2264 | include/grpc/grpc.h |
| 2265 | include/grpc/grpc_posix.h |
| 2266 | include/grpc/grpc_security_constants.h |
| 2267 | include/grpc/load_reporting.h |
| 2268 | include/grpc/slice.h |
| 2269 | include/grpc/slice_buffer.h |
| 2270 | include/grpc/status.h |
| 2271 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2272 | include/grpc/census.h |
| 2273 | ) |
| 2274 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2275 | get_filename_component(_path ${_path} PATH) |
| 2276 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2277 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2278 | ) |
| 2279 | endforeach() |
| 2280 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2281 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2282 | if (gRPC_INSTALL) |
| 2283 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2284 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2285 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2286 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2287 | ) |
| 2288 | endif() |
| 2289 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2290 | if (gRPC_BUILD_TESTS) |
| 2291 | |
| 2292 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2293 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2294 | ) |
| 2295 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2296 | if(WIN32 AND MSVC) |
| 2297 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2298 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2299 | ) |
| 2300 | if (gRPC_INSTALL) |
| 2301 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2302 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2303 | ) |
| 2304 | endif() |
| 2305 | endif() |
| 2306 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2307 | |
| 2308 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2309 | 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] | 2310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2311 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2312 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2313 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2314 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2316 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2319 | ) |
| 2320 | |
| 2321 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2323 | test_tcp_server |
| 2324 | grpc_test_util |
| 2325 | grpc |
| 2326 | gpr_test_util |
| 2327 | gpr |
| 2328 | ) |
| 2329 | |
| 2330 | |
| 2331 | endif (gRPC_BUILD_TESTS) |
| 2332 | if (gRPC_BUILD_TESTS) |
| 2333 | |
| 2334 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2335 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2336 | ) |
| 2337 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2338 | if(WIN32 AND MSVC) |
| 2339 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2340 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2341 | ) |
| 2342 | if (gRPC_INSTALL) |
| 2343 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2344 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2345 | ) |
| 2346 | endif() |
| 2347 | endif() |
| 2348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2349 | |
| 2350 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2351 | 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] | 2352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2355 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2356 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2361 | ) |
| 2362 | |
| 2363 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2365 | grpc_test_util |
| 2366 | grpc |
| 2367 | gpr_test_util |
| 2368 | gpr |
| 2369 | ) |
| 2370 | |
| 2371 | |
| 2372 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2373 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2374 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2375 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2376 | src/cpp/client/secure_credentials.cc |
| 2377 | src/cpp/common/auth_property_iterator.cc |
| 2378 | src/cpp/common/secure_auth_context.cc |
| 2379 | src/cpp/common/secure_channel_arguments.cc |
| 2380 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2381 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2382 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2383 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2384 | src/cpp/client/client_context.cc |
| 2385 | src/cpp/client/create_channel.cc |
| 2386 | src/cpp/client/create_channel_internal.cc |
| 2387 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2388 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2389 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2390 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2391 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2392 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2393 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2394 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2395 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2396 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2397 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2398 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2399 | src/cpp/server/create_default_thread_pool.cc |
| 2400 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2401 | src/cpp/server/health/default_health_check_service.cc |
| 2402 | src/cpp/server/health/health.pb.c |
| 2403 | src/cpp/server/health/health_check_service.cc |
| 2404 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2405 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2406 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2407 | src/cpp/server/server_context.cc |
| 2408 | src/cpp/server/server_credentials.cc |
| 2409 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2410 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2411 | src/cpp/util/byte_buffer_cc.cc |
| 2412 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2413 | src/cpp/util/status.cc |
| 2414 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2415 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2416 | src/cpp/codegen/codegen_init.cc |
| 2417 | ) |
| 2418 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2419 | if(WIN32 AND MSVC) |
| 2420 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2421 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2422 | ) |
| 2423 | if (gRPC_INSTALL) |
| 2424 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2425 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2426 | ) |
| 2427 | endif() |
| 2428 | endif() |
| 2429 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2430 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2431 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2432 | 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] | 2433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2434 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2436 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2437 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2439 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2442 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2443 | ) |
| 2444 | |
| 2445 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2446 | ${_gRPC_BASELIB_LIBRARIES} |
| 2447 | ${_gRPC_SSL_LIBRARIES} |
| 2448 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2449 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2450 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2451 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2452 | ) |
| 2453 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2454 | foreach(_hdr |
| 2455 | include/grpc++/alarm.h |
| 2456 | include/grpc++/channel.h |
| 2457 | include/grpc++/client_context.h |
| 2458 | include/grpc++/completion_queue.h |
| 2459 | include/grpc++/create_channel.h |
| 2460 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2461 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2462 | include/grpc++/generic/async_generic_service.h |
| 2463 | include/grpc++/generic/generic_stub.h |
| 2464 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2465 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2466 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2467 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2468 | include/grpc++/impl/client_unary_call.h |
| 2469 | include/grpc++/impl/codegen/core_codegen.h |
| 2470 | include/grpc++/impl/grpc_library.h |
| 2471 | include/grpc++/impl/method_handler_impl.h |
| 2472 | include/grpc++/impl/rpc_method.h |
| 2473 | include/grpc++/impl/rpc_service_method.h |
| 2474 | include/grpc++/impl/serialization_traits.h |
| 2475 | include/grpc++/impl/server_builder_option.h |
| 2476 | include/grpc++/impl/server_builder_plugin.h |
| 2477 | include/grpc++/impl/server_initializer.h |
| 2478 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2479 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2480 | include/grpc++/security/auth_context.h |
| 2481 | include/grpc++/security/auth_metadata_processor.h |
| 2482 | include/grpc++/security/credentials.h |
| 2483 | include/grpc++/security/server_credentials.h |
| 2484 | include/grpc++/server.h |
| 2485 | include/grpc++/server_builder.h |
| 2486 | include/grpc++/server_context.h |
| 2487 | include/grpc++/server_posix.h |
| 2488 | include/grpc++/support/async_stream.h |
| 2489 | include/grpc++/support/async_unary_call.h |
| 2490 | include/grpc++/support/byte_buffer.h |
| 2491 | include/grpc++/support/channel_arguments.h |
| 2492 | include/grpc++/support/config.h |
| 2493 | include/grpc++/support/slice.h |
| 2494 | include/grpc++/support/status.h |
| 2495 | include/grpc++/support/status_code_enum.h |
| 2496 | include/grpc++/support/string_ref.h |
| 2497 | include/grpc++/support/stub_options.h |
| 2498 | include/grpc++/support/sync_stream.h |
| 2499 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2500 | include/grpc/support/alloc.h |
| 2501 | include/grpc/support/atm.h |
| 2502 | include/grpc/support/atm_gcc_atomic.h |
| 2503 | include/grpc/support/atm_gcc_sync.h |
| 2504 | include/grpc/support/atm_windows.h |
| 2505 | include/grpc/support/avl.h |
| 2506 | include/grpc/support/cmdline.h |
| 2507 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2508 | include/grpc/support/host_port.h |
| 2509 | include/grpc/support/log.h |
| 2510 | include/grpc/support/log_windows.h |
| 2511 | include/grpc/support/port_platform.h |
| 2512 | include/grpc/support/string_util.h |
| 2513 | include/grpc/support/subprocess.h |
| 2514 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2515 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2516 | include/grpc/support/sync_generic.h |
| 2517 | include/grpc/support/sync_posix.h |
| 2518 | include/grpc/support/sync_windows.h |
| 2519 | include/grpc/support/thd.h |
| 2520 | include/grpc/support/time.h |
| 2521 | include/grpc/support/tls.h |
| 2522 | include/grpc/support/tls_gcc.h |
| 2523 | include/grpc/support/tls_msvc.h |
| 2524 | include/grpc/support/tls_pthread.h |
| 2525 | include/grpc/support/useful.h |
| 2526 | include/grpc/impl/codegen/atm.h |
| 2527 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2528 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2529 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2530 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2531 | include/grpc/impl/codegen/gpr_slice.h |
| 2532 | include/grpc/impl/codegen/gpr_types.h |
| 2533 | include/grpc/impl/codegen/port_platform.h |
| 2534 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2535 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2536 | include/grpc/impl/codegen/sync_generic.h |
| 2537 | include/grpc/impl/codegen/sync_posix.h |
| 2538 | include/grpc/impl/codegen/sync_windows.h |
| 2539 | include/grpc/byte_buffer.h |
| 2540 | include/grpc/byte_buffer_reader.h |
| 2541 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2542 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2543 | include/grpc/grpc.h |
| 2544 | include/grpc/grpc_posix.h |
| 2545 | include/grpc/grpc_security_constants.h |
| 2546 | include/grpc/load_reporting.h |
| 2547 | include/grpc/slice.h |
| 2548 | include/grpc/slice_buffer.h |
| 2549 | include/grpc/status.h |
| 2550 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2551 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2552 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2553 | include/grpc/impl/codegen/compression_types.h |
| 2554 | include/grpc/impl/codegen/connectivity_state.h |
| 2555 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2556 | include/grpc/impl/codegen/grpc_types.h |
| 2557 | include/grpc/impl/codegen/propagation_bits.h |
| 2558 | include/grpc/impl/codegen/slice.h |
| 2559 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2560 | include/grpc++/impl/codegen/async_stream.h |
| 2561 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2562 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2563 | include/grpc++/impl/codegen/call.h |
| 2564 | include/grpc++/impl/codegen/call_hook.h |
| 2565 | include/grpc++/impl/codegen/channel_interface.h |
| 2566 | include/grpc++/impl/codegen/client_context.h |
| 2567 | include/grpc++/impl/codegen/client_unary_call.h |
| 2568 | include/grpc++/impl/codegen/completion_queue.h |
| 2569 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2570 | include/grpc++/impl/codegen/config.h |
| 2571 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2572 | include/grpc++/impl/codegen/create_auth_context.h |
| 2573 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2574 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2575 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2576 | include/grpc++/impl/codegen/rpc_method.h |
| 2577 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2578 | include/grpc++/impl/codegen/security/auth_context.h |
| 2579 | include/grpc++/impl/codegen/serialization_traits.h |
| 2580 | include/grpc++/impl/codegen/server_context.h |
| 2581 | include/grpc++/impl/codegen/server_interface.h |
| 2582 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2583 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2584 | include/grpc++/impl/codegen/status.h |
| 2585 | include/grpc++/impl/codegen/status_code_enum.h |
| 2586 | include/grpc++/impl/codegen/string_ref.h |
| 2587 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2588 | include/grpc++/impl/codegen/sync_stream.h |
| 2589 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2590 | include/grpc++/impl/codegen/proto_utils.h |
| 2591 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2592 | ) |
| 2593 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2594 | get_filename_component(_path ${_path} PATH) |
| 2595 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2596 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2597 | ) |
| 2598 | endforeach() |
| 2599 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2600 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2601 | if (gRPC_INSTALL) |
| 2602 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2603 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2604 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2605 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2606 | ) |
| 2607 | endif() |
| 2608 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2609 | if (gRPC_BUILD_TESTS) |
| 2610 | |
| 2611 | add_library(grpc++_core_stats |
| 2612 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2613 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2614 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2615 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2616 | src/cpp/util/core_stats.cc |
| 2617 | ) |
| 2618 | |
| 2619 | if(WIN32 AND MSVC) |
| 2620 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2621 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2622 | ) |
| 2623 | if (gRPC_INSTALL) |
| 2624 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2625 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2626 | ) |
| 2627 | endif() |
| 2628 | endif() |
| 2629 | |
| 2630 | protobuf_generate_grpc_cpp( |
| 2631 | src/proto/grpc/core/stats.proto |
| 2632 | ) |
| 2633 | |
| 2634 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2635 | 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] | 2636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2638 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2639 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2640 | PRIVATE ${BENCHMARK}/include |
| 2641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2642 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2645 | PRIVATE third_party/googletest/googletest/include |
| 2646 | PRIVATE third_party/googletest/googletest |
| 2647 | PRIVATE third_party/googletest/googlemock/include |
| 2648 | PRIVATE third_party/googletest/googlemock |
| 2649 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2650 | ) |
| 2651 | |
| 2652 | target_link_libraries(grpc++_core_stats |
| 2653 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2655 | grpc++ |
| 2656 | ) |
| 2657 | |
| 2658 | foreach(_hdr |
| 2659 | src/cpp/util/core_stats.h |
| 2660 | ) |
| 2661 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2662 | get_filename_component(_path ${_path} PATH) |
| 2663 | install(FILES ${_hdr} |
| 2664 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2665 | ) |
| 2666 | endforeach() |
| 2667 | |
| 2668 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2669 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2670 | add_library(grpc++_cronet |
| 2671 | src/cpp/client/cronet_credentials.cc |
| 2672 | src/cpp/client/insecure_credentials.cc |
| 2673 | src/cpp/common/insecure_create_auth_context.cc |
| 2674 | src/cpp/server/insecure_server_credentials.cc |
| 2675 | src/cpp/client/channel_cc.cc |
| 2676 | src/cpp/client/client_context.cc |
| 2677 | src/cpp/client/create_channel.cc |
| 2678 | src/cpp/client/create_channel_internal.cc |
| 2679 | src/cpp/client/create_channel_posix.cc |
| 2680 | src/cpp/client/credentials_cc.cc |
| 2681 | src/cpp/client/generic_stub.cc |
| 2682 | src/cpp/common/channel_arguments.cc |
| 2683 | src/cpp/common/channel_filter.cc |
| 2684 | src/cpp/common/completion_queue_cc.cc |
| 2685 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2686 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2687 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2688 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2689 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2690 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2691 | src/cpp/server/create_default_thread_pool.cc |
| 2692 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2693 | src/cpp/server/health/default_health_check_service.cc |
| 2694 | src/cpp/server/health/health.pb.c |
| 2695 | src/cpp/server/health/health_check_service.cc |
| 2696 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2697 | src/cpp/server/server_builder.cc |
| 2698 | src/cpp/server/server_cc.cc |
| 2699 | src/cpp/server/server_context.cc |
| 2700 | src/cpp/server/server_credentials.cc |
| 2701 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2702 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2703 | src/cpp/util/byte_buffer_cc.cc |
| 2704 | src/cpp/util/slice_cc.cc |
| 2705 | src/cpp/util/status.cc |
| 2706 | src/cpp/util/string_ref.cc |
| 2707 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2708 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2709 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2710 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2711 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2712 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2713 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2714 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2715 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2716 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2717 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2718 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2719 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2720 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2721 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2722 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2723 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2724 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2725 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2726 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2727 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2728 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2729 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2730 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2731 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2732 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2733 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2734 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2735 | src/core/lib/channel/channel_args.cc |
| 2736 | src/core/lib/channel/channel_stack.cc |
| 2737 | src/core/lib/channel/channel_stack_builder.cc |
| 2738 | src/core/lib/channel/connected_channel.cc |
| 2739 | src/core/lib/channel/handshaker.cc |
| 2740 | src/core/lib/channel/handshaker_factory.cc |
| 2741 | src/core/lib/channel/handshaker_registry.cc |
| 2742 | src/core/lib/compression/compression.cc |
| 2743 | src/core/lib/compression/message_compress.cc |
| 2744 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2745 | src/core/lib/compression/stream_compression_gzip.cc |
| 2746 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2747 | src/core/lib/debug/stats.cc |
| 2748 | src/core/lib/debug/stats_data.cc |
| 2749 | src/core/lib/http/format_request.cc |
| 2750 | src/core/lib/http/httpcli.cc |
| 2751 | src/core/lib/http/parser.cc |
| 2752 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2753 | src/core/lib/iomgr/combiner.cc |
| 2754 | src/core/lib/iomgr/endpoint.cc |
| 2755 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2756 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2757 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2758 | src/core/lib/iomgr/error.cc |
| 2759 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2760 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2761 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2762 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2763 | src/core/lib/iomgr/ev_posix.cc |
| 2764 | src/core/lib/iomgr/ev_windows.cc |
| 2765 | src/core/lib/iomgr/exec_ctx.cc |
| 2766 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2767 | src/core/lib/iomgr/fork_posix.cc |
| 2768 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2769 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2770 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2771 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2772 | src/core/lib/iomgr/iocp_windows.cc |
| 2773 | src/core/lib/iomgr/iomgr.cc |
| 2774 | src/core/lib/iomgr/iomgr_posix.cc |
| 2775 | src/core/lib/iomgr/iomgr_uv.cc |
| 2776 | src/core/lib/iomgr/iomgr_windows.cc |
| 2777 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2778 | src/core/lib/iomgr/load_file.cc |
| 2779 | src/core/lib/iomgr/lockfree_event.cc |
| 2780 | src/core/lib/iomgr/network_status_tracker.cc |
| 2781 | src/core/lib/iomgr/polling_entity.cc |
| 2782 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2783 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2784 | src/core/lib/iomgr/pollset_uv.cc |
| 2785 | src/core/lib/iomgr/pollset_windows.cc |
| 2786 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2787 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2788 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2789 | src/core/lib/iomgr/resource_quota.cc |
| 2790 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2791 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2792 | src/core/lib/iomgr/socket_mutator.cc |
| 2793 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2794 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2795 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2796 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2797 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2798 | src/core/lib/iomgr/socket_windows.cc |
| 2799 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2800 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2801 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2802 | src/core/lib/iomgr/tcp_posix.cc |
| 2803 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2804 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2805 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2806 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2807 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2808 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2809 | src/core/lib/iomgr/tcp_uv.cc |
| 2810 | src/core/lib/iomgr/tcp_windows.cc |
| 2811 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2812 | src/core/lib/iomgr/timer_generic.cc |
| 2813 | src/core/lib/iomgr/timer_heap.cc |
| 2814 | src/core/lib/iomgr/timer_manager.cc |
| 2815 | src/core/lib/iomgr/timer_uv.cc |
| 2816 | src/core/lib/iomgr/udp_server.cc |
| 2817 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2818 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2819 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2820 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2821 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2822 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2823 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2824 | src/core/lib/json/json.cc |
| 2825 | src/core/lib/json/json_reader.cc |
| 2826 | src/core/lib/json/json_string.cc |
| 2827 | src/core/lib/json/json_writer.cc |
| 2828 | src/core/lib/slice/b64.cc |
| 2829 | src/core/lib/slice/percent_encoding.cc |
| 2830 | src/core/lib/slice/slice.cc |
| 2831 | src/core/lib/slice/slice_buffer.cc |
| 2832 | src/core/lib/slice/slice_hash_table.cc |
| 2833 | src/core/lib/slice/slice_intern.cc |
| 2834 | src/core/lib/slice/slice_string_helpers.cc |
| 2835 | src/core/lib/surface/alarm.cc |
| 2836 | src/core/lib/surface/api_trace.cc |
| 2837 | src/core/lib/surface/byte_buffer.cc |
| 2838 | src/core/lib/surface/byte_buffer_reader.cc |
| 2839 | src/core/lib/surface/call.cc |
| 2840 | src/core/lib/surface/call_details.cc |
| 2841 | src/core/lib/surface/call_log_batch.cc |
| 2842 | src/core/lib/surface/channel.cc |
| 2843 | src/core/lib/surface/channel_init.cc |
| 2844 | src/core/lib/surface/channel_ping.cc |
| 2845 | src/core/lib/surface/channel_stack_type.cc |
| 2846 | src/core/lib/surface/completion_queue.cc |
| 2847 | src/core/lib/surface/completion_queue_factory.cc |
| 2848 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2849 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2850 | src/core/lib/surface/metadata_array.cc |
| 2851 | src/core/lib/surface/server.cc |
| 2852 | src/core/lib/surface/validate_metadata.cc |
| 2853 | src/core/lib/surface/version.cc |
| 2854 | src/core/lib/transport/bdp_estimator.cc |
| 2855 | src/core/lib/transport/byte_stream.cc |
| 2856 | src/core/lib/transport/connectivity_state.cc |
| 2857 | src/core/lib/transport/error_utils.cc |
| 2858 | src/core/lib/transport/metadata.cc |
| 2859 | src/core/lib/transport/metadata_batch.cc |
| 2860 | src/core/lib/transport/pid_controller.cc |
| 2861 | src/core/lib/transport/service_config.cc |
| 2862 | src/core/lib/transport/static_metadata.cc |
| 2863 | src/core/lib/transport/status_conversion.cc |
| 2864 | src/core/lib/transport/timeout_encoding.cc |
| 2865 | src/core/lib/transport/transport.cc |
| 2866 | src/core/lib/transport/transport_op_string.cc |
| 2867 | src/core/lib/debug/trace.cc |
| 2868 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2869 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2870 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2871 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2872 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2873 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2874 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2875 | src/core/ext/filters/client_channel/client_channel.cc |
| 2876 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2877 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2878 | src/core/ext/filters/client_channel/connector.cc |
| 2879 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2880 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2881 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2882 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2883 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2884 | src/core/ext/filters/client_channel/parse_address.cc |
| 2885 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2886 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2887 | src/core/ext/filters/client_channel/resolver.cc |
| 2888 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2889 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2890 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2891 | src/core/ext/filters/client_channel/subchannel.cc |
| 2892 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2893 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2894 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2895 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2896 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2897 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2898 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2899 | third_party/nanopb/pb_common.c |
| 2900 | third_party/nanopb/pb_decode.c |
| 2901 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2902 | ) |
| 2903 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2904 | if(WIN32 AND MSVC) |
| 2905 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2906 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2907 | ) |
| 2908 | if (gRPC_INSTALL) |
| 2909 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2910 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2911 | ) |
| 2912 | endif() |
| 2913 | endif() |
| 2914 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2915 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2916 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2917 | 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] | 2918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2919 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2921 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2922 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2924 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2927 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2928 | ) |
| 2929 | |
| 2930 | target_link_libraries(grpc++_cronet |
| 2931 | ${_gRPC_BASELIB_LIBRARIES} |
| 2932 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2933 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2935 | gpr |
| 2936 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2937 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2938 | ) |
| 2939 | |
| 2940 | foreach(_hdr |
| 2941 | include/grpc++/alarm.h |
| 2942 | include/grpc++/channel.h |
| 2943 | include/grpc++/client_context.h |
| 2944 | include/grpc++/completion_queue.h |
| 2945 | include/grpc++/create_channel.h |
| 2946 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2947 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2948 | include/grpc++/generic/async_generic_service.h |
| 2949 | include/grpc++/generic/generic_stub.h |
| 2950 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2951 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2952 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2953 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2954 | include/grpc++/impl/client_unary_call.h |
| 2955 | include/grpc++/impl/codegen/core_codegen.h |
| 2956 | include/grpc++/impl/grpc_library.h |
| 2957 | include/grpc++/impl/method_handler_impl.h |
| 2958 | include/grpc++/impl/rpc_method.h |
| 2959 | include/grpc++/impl/rpc_service_method.h |
| 2960 | include/grpc++/impl/serialization_traits.h |
| 2961 | include/grpc++/impl/server_builder_option.h |
| 2962 | include/grpc++/impl/server_builder_plugin.h |
| 2963 | include/grpc++/impl/server_initializer.h |
| 2964 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2965 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2966 | include/grpc++/security/auth_context.h |
| 2967 | include/grpc++/security/auth_metadata_processor.h |
| 2968 | include/grpc++/security/credentials.h |
| 2969 | include/grpc++/security/server_credentials.h |
| 2970 | include/grpc++/server.h |
| 2971 | include/grpc++/server_builder.h |
| 2972 | include/grpc++/server_context.h |
| 2973 | include/grpc++/server_posix.h |
| 2974 | include/grpc++/support/async_stream.h |
| 2975 | include/grpc++/support/async_unary_call.h |
| 2976 | include/grpc++/support/byte_buffer.h |
| 2977 | include/grpc++/support/channel_arguments.h |
| 2978 | include/grpc++/support/config.h |
| 2979 | include/grpc++/support/slice.h |
| 2980 | include/grpc++/support/status.h |
| 2981 | include/grpc++/support/status_code_enum.h |
| 2982 | include/grpc++/support/string_ref.h |
| 2983 | include/grpc++/support/stub_options.h |
| 2984 | include/grpc++/support/sync_stream.h |
| 2985 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2986 | include/grpc/support/alloc.h |
| 2987 | include/grpc/support/atm.h |
| 2988 | include/grpc/support/atm_gcc_atomic.h |
| 2989 | include/grpc/support/atm_gcc_sync.h |
| 2990 | include/grpc/support/atm_windows.h |
| 2991 | include/grpc/support/avl.h |
| 2992 | include/grpc/support/cmdline.h |
| 2993 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2994 | include/grpc/support/host_port.h |
| 2995 | include/grpc/support/log.h |
| 2996 | include/grpc/support/log_windows.h |
| 2997 | include/grpc/support/port_platform.h |
| 2998 | include/grpc/support/string_util.h |
| 2999 | include/grpc/support/subprocess.h |
| 3000 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3001 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3002 | include/grpc/support/sync_generic.h |
| 3003 | include/grpc/support/sync_posix.h |
| 3004 | include/grpc/support/sync_windows.h |
| 3005 | include/grpc/support/thd.h |
| 3006 | include/grpc/support/time.h |
| 3007 | include/grpc/support/tls.h |
| 3008 | include/grpc/support/tls_gcc.h |
| 3009 | include/grpc/support/tls_msvc.h |
| 3010 | include/grpc/support/tls_pthread.h |
| 3011 | include/grpc/support/useful.h |
| 3012 | include/grpc/impl/codegen/atm.h |
| 3013 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3014 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3015 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3016 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3017 | include/grpc/impl/codegen/gpr_slice.h |
| 3018 | include/grpc/impl/codegen/gpr_types.h |
| 3019 | include/grpc/impl/codegen/port_platform.h |
| 3020 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3021 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3022 | include/grpc/impl/codegen/sync_generic.h |
| 3023 | include/grpc/impl/codegen/sync_posix.h |
| 3024 | include/grpc/impl/codegen/sync_windows.h |
| 3025 | include/grpc/byte_buffer.h |
| 3026 | include/grpc/byte_buffer_reader.h |
| 3027 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3028 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3029 | include/grpc/grpc.h |
| 3030 | include/grpc/grpc_posix.h |
| 3031 | include/grpc/grpc_security_constants.h |
| 3032 | include/grpc/load_reporting.h |
| 3033 | include/grpc/slice.h |
| 3034 | include/grpc/slice_buffer.h |
| 3035 | include/grpc/status.h |
| 3036 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3037 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3038 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3039 | include/grpc/impl/codegen/compression_types.h |
| 3040 | include/grpc/impl/codegen/connectivity_state.h |
| 3041 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3042 | include/grpc/impl/codegen/grpc_types.h |
| 3043 | include/grpc/impl/codegen/propagation_bits.h |
| 3044 | include/grpc/impl/codegen/slice.h |
| 3045 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3046 | include/grpc++/impl/codegen/async_stream.h |
| 3047 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3048 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3049 | include/grpc++/impl/codegen/call.h |
| 3050 | include/grpc++/impl/codegen/call_hook.h |
| 3051 | include/grpc++/impl/codegen/channel_interface.h |
| 3052 | include/grpc++/impl/codegen/client_context.h |
| 3053 | include/grpc++/impl/codegen/client_unary_call.h |
| 3054 | include/grpc++/impl/codegen/completion_queue.h |
| 3055 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3056 | include/grpc++/impl/codegen/config.h |
| 3057 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3058 | include/grpc++/impl/codegen/create_auth_context.h |
| 3059 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3060 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3061 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3062 | include/grpc++/impl/codegen/rpc_method.h |
| 3063 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3064 | include/grpc++/impl/codegen/security/auth_context.h |
| 3065 | include/grpc++/impl/codegen/serialization_traits.h |
| 3066 | include/grpc++/impl/codegen/server_context.h |
| 3067 | include/grpc++/impl/codegen/server_interface.h |
| 3068 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3069 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3070 | include/grpc++/impl/codegen/status.h |
| 3071 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3072 | include/grpc++/impl/codegen/string_ref.h |
| 3073 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3074 | include/grpc++/impl/codegen/sync_stream.h |
| 3075 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3076 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3077 | ) |
| 3078 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3079 | get_filename_component(_path ${_path} PATH) |
| 3080 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3081 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3082 | ) |
| 3083 | endforeach() |
| 3084 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3085 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3086 | if (gRPC_INSTALL) |
| 3087 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3088 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3089 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3090 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3091 | ) |
| 3092 | endif() |
| 3093 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3094 | |
| 3095 | add_library(grpc++_error_details |
| 3096 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3097 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3098 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3099 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3100 | src/cpp/util/error_details.cc |
| 3101 | ) |
| 3102 | |
| 3103 | if(WIN32 AND MSVC) |
| 3104 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3105 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3106 | ) |
| 3107 | if (gRPC_INSTALL) |
| 3108 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3109 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3110 | ) |
| 3111 | endif() |
| 3112 | endif() |
| 3113 | |
| 3114 | protobuf_generate_grpc_cpp( |
| 3115 | src/proto/grpc/status/status.proto |
| 3116 | ) |
| 3117 | |
| 3118 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3119 | 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] | 3120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3121 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3122 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3123 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3124 | PRIVATE ${BENCHMARK}/include |
| 3125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3126 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3129 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3130 | ) |
| 3131 | |
| 3132 | target_link_libraries(grpc++_error_details |
| 3133 | ${_gRPC_BASELIB_LIBRARIES} |
| 3134 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3136 | grpc++ |
| 3137 | ) |
| 3138 | |
| 3139 | foreach(_hdr |
| 3140 | include/grpc++/support/error_details.h |
| 3141 | ) |
| 3142 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3143 | get_filename_component(_path ${_path} PATH) |
| 3144 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3145 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3146 | ) |
| 3147 | endforeach() |
| 3148 | |
| 3149 | |
| 3150 | if (gRPC_INSTALL) |
| 3151 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3152 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3153 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3154 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3155 | ) |
| 3156 | endif() |
| 3157 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3158 | if (gRPC_BUILD_TESTS) |
| 3159 | |
| 3160 | add_library(grpc++_proto_reflection_desc_db |
| 3161 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3162 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3163 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3164 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3165 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3166 | ) |
| 3167 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3168 | if(WIN32 AND MSVC) |
| 3169 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3170 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3171 | ) |
| 3172 | if (gRPC_INSTALL) |
| 3173 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3174 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3175 | ) |
| 3176 | endif() |
| 3177 | endif() |
| 3178 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3179 | protobuf_generate_grpc_cpp( |
| 3180 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3181 | ) |
| 3182 | |
| 3183 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3184 | 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] | 3185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3188 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3189 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3194 | PRIVATE third_party/googletest/googletest/include |
| 3195 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3196 | PRIVATE third_party/googletest/googlemock/include |
| 3197 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3198 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3199 | ) |
| 3200 | |
| 3201 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3204 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3205 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3206 | ) |
| 3207 | |
| 3208 | foreach(_hdr |
| 3209 | include/grpc++/impl/codegen/config_protobuf.h |
| 3210 | ) |
| 3211 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3212 | get_filename_component(_path ${_path} PATH) |
| 3213 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3214 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3215 | ) |
| 3216 | endforeach() |
| 3217 | |
| 3218 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3219 | |
| 3220 | add_library(grpc++_reflection |
| 3221 | src/cpp/ext/proto_server_reflection.cc |
| 3222 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3227 | ) |
| 3228 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3229 | if(WIN32 AND MSVC) |
| 3230 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3231 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3232 | ) |
| 3233 | if (gRPC_INSTALL) |
| 3234 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3235 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3236 | ) |
| 3237 | endif() |
| 3238 | endif() |
| 3239 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3240 | protobuf_generate_grpc_cpp( |
| 3241 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3242 | ) |
| 3243 | |
| 3244 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3245 | 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] | 3246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3247 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3248 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3249 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3250 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3252 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3255 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3256 | ) |
| 3257 | |
| 3258 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3259 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3261 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3262 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3263 | ) |
| 3264 | |
| 3265 | foreach(_hdr |
| 3266 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3267 | ) |
| 3268 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3269 | get_filename_component(_path ${_path} PATH) |
| 3270 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3271 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3272 | ) |
| 3273 | endforeach() |
| 3274 | |
| 3275 | |
| 3276 | if (gRPC_INSTALL) |
| 3277 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3278 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3279 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3280 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3281 | ) |
| 3282 | endif() |
| 3283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3284 | if (gRPC_BUILD_TESTS) |
| 3285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3286 | add_library(grpc++_test_config |
| 3287 | test/cpp/util/test_config_cc.cc |
| 3288 | ) |
| 3289 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3290 | if(WIN32 AND MSVC) |
| 3291 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3292 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3293 | ) |
| 3294 | if (gRPC_INSTALL) |
| 3295 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3296 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3297 | ) |
| 3298 | endif() |
| 3299 | endif() |
| 3300 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3301 | |
| 3302 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3303 | 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] | 3304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3305 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3306 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3307 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3308 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3310 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3313 | PRIVATE third_party/googletest/googletest/include |
| 3314 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3315 | PRIVATE third_party/googletest/googlemock/include |
| 3316 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3317 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3318 | ) |
| 3319 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3320 | target_link_libraries(grpc++_test_config |
| 3321 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3322 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3323 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3324 | |
| 3325 | |
| 3326 | endif (gRPC_BUILD_TESTS) |
| 3327 | if (gRPC_BUILD_TESTS) |
| 3328 | |
| 3329 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3333 | ${_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] | 3334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3337 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3338 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3339 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3340 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3341 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3342 | ${_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] | 3343 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3344 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3345 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3346 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3347 | test/cpp/end2end/test_service_impl.cc |
| 3348 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3349 | test/cpp/util/create_test_channel.cc |
| 3350 | test/cpp/util/string_ref_helper.cc |
| 3351 | test/cpp/util/subprocess.cc |
| 3352 | test/cpp/util/test_credentials_provider.cc |
| 3353 | src/cpp/codegen/codegen_init.cc |
| 3354 | ) |
| 3355 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3356 | if(WIN32 AND MSVC) |
| 3357 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3358 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3359 | ) |
| 3360 | if (gRPC_INSTALL) |
| 3361 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3362 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3363 | ) |
| 3364 | endif() |
| 3365 | endif() |
| 3366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3367 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3368 | src/proto/grpc/health/v1/health.proto |
| 3369 | ) |
| 3370 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3371 | src/proto/grpc/testing/echo_messages.proto |
| 3372 | ) |
| 3373 | protobuf_generate_grpc_cpp( |
| 3374 | src/proto/grpc/testing/echo.proto |
| 3375 | ) |
| 3376 | protobuf_generate_grpc_cpp( |
| 3377 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3378 | ) |
| 3379 | |
| 3380 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3381 | 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] | 3382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3383 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3385 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3386 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3388 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3391 | PRIVATE third_party/googletest/googletest/include |
| 3392 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3393 | PRIVATE third_party/googletest/googlemock/include |
| 3394 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3395 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3396 | ) |
| 3397 | |
| 3398 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3399 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3400 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3401 | grpc++ |
| 3402 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3403 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3404 | ) |
| 3405 | |
| 3406 | foreach(_hdr |
| 3407 | include/grpc++/impl/codegen/async_stream.h |
| 3408 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3409 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3410 | include/grpc++/impl/codegen/call.h |
| 3411 | include/grpc++/impl/codegen/call_hook.h |
| 3412 | include/grpc++/impl/codegen/channel_interface.h |
| 3413 | include/grpc++/impl/codegen/client_context.h |
| 3414 | include/grpc++/impl/codegen/client_unary_call.h |
| 3415 | include/grpc++/impl/codegen/completion_queue.h |
| 3416 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3417 | include/grpc++/impl/codegen/config.h |
| 3418 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3419 | include/grpc++/impl/codegen/create_auth_context.h |
| 3420 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3421 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3422 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3423 | include/grpc++/impl/codegen/rpc_method.h |
| 3424 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3425 | include/grpc++/impl/codegen/security/auth_context.h |
| 3426 | include/grpc++/impl/codegen/serialization_traits.h |
| 3427 | include/grpc++/impl/codegen/server_context.h |
| 3428 | include/grpc++/impl/codegen/server_interface.h |
| 3429 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3430 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3431 | include/grpc++/impl/codegen/status.h |
| 3432 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3433 | include/grpc++/impl/codegen/string_ref.h |
| 3434 | include/grpc++/impl/codegen/stub_options.h |
| 3435 | include/grpc++/impl/codegen/sync_stream.h |
| 3436 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3437 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3438 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3439 | include/grpc/impl/codegen/compression_types.h |
| 3440 | include/grpc/impl/codegen/connectivity_state.h |
| 3441 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3442 | include/grpc/impl/codegen/grpc_types.h |
| 3443 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3444 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3445 | include/grpc/impl/codegen/status.h |
| 3446 | include/grpc/impl/codegen/atm.h |
| 3447 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3448 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3449 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3450 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3451 | include/grpc/impl/codegen/gpr_slice.h |
| 3452 | include/grpc/impl/codegen/gpr_types.h |
| 3453 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3454 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3455 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3456 | include/grpc/impl/codegen/sync_generic.h |
| 3457 | include/grpc/impl/codegen/sync_posix.h |
| 3458 | include/grpc/impl/codegen/sync_windows.h |
| 3459 | include/grpc++/impl/codegen/proto_utils.h |
| 3460 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3461 | ) |
| 3462 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3463 | get_filename_component(_path ${_path} PATH) |
| 3464 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3465 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3466 | ) |
| 3467 | endforeach() |
| 3468 | |
| 3469 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3470 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3471 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3472 | add_library(grpc++_test_util_unsecure |
| 3473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3475 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3476 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3477 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3478 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3479 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3480 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3481 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3482 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3483 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3484 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3485 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3486 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3487 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3488 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3489 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3490 | test/cpp/end2end/test_service_impl.cc |
| 3491 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3492 | test/cpp/util/string_ref_helper.cc |
| 3493 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3494 | src/cpp/codegen/codegen_init.cc |
| 3495 | ) |
| 3496 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3497 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3498 | 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] | 3499 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3500 | ) |
| 3501 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3502 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3503 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3504 | ) |
| 3505 | endif() |
| 3506 | endif() |
| 3507 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3508 | protobuf_generate_grpc_cpp( |
| 3509 | src/proto/grpc/health/v1/health.proto |
| 3510 | ) |
| 3511 | protobuf_generate_grpc_cpp( |
| 3512 | src/proto/grpc/testing/echo_messages.proto |
| 3513 | ) |
| 3514 | protobuf_generate_grpc_cpp( |
| 3515 | src/proto/grpc/testing/echo.proto |
| 3516 | ) |
| 3517 | protobuf_generate_grpc_cpp( |
| 3518 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3519 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3520 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3521 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3522 | 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] | 3523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3524 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3525 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3526 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3527 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3529 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3532 | PRIVATE third_party/googletest/googletest/include |
| 3533 | PRIVATE third_party/googletest/googletest |
| 3534 | PRIVATE third_party/googletest/googlemock/include |
| 3535 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3536 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3537 | ) |
| 3538 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3539 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3540 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3542 | grpc++_unsecure |
| 3543 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3544 | grpc_unsecure |
| 3545 | ) |
| 3546 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3547 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3548 | include/grpc++/impl/codegen/async_stream.h |
| 3549 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3550 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3551 | include/grpc++/impl/codegen/call.h |
| 3552 | include/grpc++/impl/codegen/call_hook.h |
| 3553 | include/grpc++/impl/codegen/channel_interface.h |
| 3554 | include/grpc++/impl/codegen/client_context.h |
| 3555 | include/grpc++/impl/codegen/client_unary_call.h |
| 3556 | include/grpc++/impl/codegen/completion_queue.h |
| 3557 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3558 | include/grpc++/impl/codegen/config.h |
| 3559 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3560 | include/grpc++/impl/codegen/create_auth_context.h |
| 3561 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3562 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3563 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3564 | include/grpc++/impl/codegen/rpc_method.h |
| 3565 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3566 | include/grpc++/impl/codegen/security/auth_context.h |
| 3567 | include/grpc++/impl/codegen/serialization_traits.h |
| 3568 | include/grpc++/impl/codegen/server_context.h |
| 3569 | include/grpc++/impl/codegen/server_interface.h |
| 3570 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3571 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3572 | include/grpc++/impl/codegen/status.h |
| 3573 | include/grpc++/impl/codegen/status_code_enum.h |
| 3574 | include/grpc++/impl/codegen/string_ref.h |
| 3575 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3576 | include/grpc++/impl/codegen/sync_stream.h |
| 3577 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3578 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3579 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3580 | include/grpc/impl/codegen/compression_types.h |
| 3581 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3582 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3583 | include/grpc/impl/codegen/grpc_types.h |
| 3584 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3585 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3586 | include/grpc/impl/codegen/status.h |
| 3587 | include/grpc/impl/codegen/atm.h |
| 3588 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3589 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3590 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3591 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3592 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3593 | include/grpc/impl/codegen/gpr_types.h |
| 3594 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3595 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3596 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3597 | include/grpc/impl/codegen/sync_generic.h |
| 3598 | include/grpc/impl/codegen/sync_posix.h |
| 3599 | include/grpc/impl/codegen/sync_windows.h |
| 3600 | include/grpc++/impl/codegen/proto_utils.h |
| 3601 | include/grpc++/impl/codegen/config_protobuf.h |
| 3602 | ) |
| 3603 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3604 | get_filename_component(_path ${_path} PATH) |
| 3605 | install(FILES ${_hdr} |
| 3606 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3607 | ) |
| 3608 | endforeach() |
| 3609 | |
| 3610 | endif (gRPC_BUILD_TESTS) |
| 3611 | |
| 3612 | add_library(grpc++_unsecure |
| 3613 | src/cpp/client/insecure_credentials.cc |
| 3614 | src/cpp/common/insecure_create_auth_context.cc |
| 3615 | src/cpp/server/insecure_server_credentials.cc |
| 3616 | src/cpp/client/channel_cc.cc |
| 3617 | src/cpp/client/client_context.cc |
| 3618 | src/cpp/client/create_channel.cc |
| 3619 | src/cpp/client/create_channel_internal.cc |
| 3620 | src/cpp/client/create_channel_posix.cc |
| 3621 | src/cpp/client/credentials_cc.cc |
| 3622 | src/cpp/client/generic_stub.cc |
| 3623 | src/cpp/common/channel_arguments.cc |
| 3624 | src/cpp/common/channel_filter.cc |
| 3625 | src/cpp/common/completion_queue_cc.cc |
| 3626 | src/cpp/common/core_codegen.cc |
| 3627 | src/cpp/common/resource_quota_cc.cc |
| 3628 | src/cpp/common/rpc_method.cc |
| 3629 | src/cpp/common/version_cc.cc |
| 3630 | src/cpp/server/async_generic_service.cc |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3631 | src/cpp/server/channel_argument_option.cc |
| 3632 | src/cpp/server/create_default_thread_pool.cc |
| 3633 | src/cpp/server/dynamic_thread_pool.cc |
| 3634 | src/cpp/server/health/default_health_check_service.cc |
| 3635 | src/cpp/server/health/health.pb.c |
| 3636 | src/cpp/server/health/health_check_service.cc |
| 3637 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3638 | src/cpp/server/server_builder.cc |
| 3639 | src/cpp/server/server_cc.cc |
| 3640 | src/cpp/server/server_context.cc |
| 3641 | src/cpp/server/server_credentials.cc |
| 3642 | src/cpp/server/server_posix.cc |
| 3643 | src/cpp/thread_manager/thread_manager.cc |
| 3644 | src/cpp/util/byte_buffer_cc.cc |
| 3645 | src/cpp/util/slice_cc.cc |
| 3646 | src/cpp/util/status.cc |
| 3647 | src/cpp/util/string_ref.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3648 | src/cpp/util/time_cc.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3649 | src/cpp/codegen/codegen_init.cc |
| 3650 | ) |
| 3651 | |
| 3652 | if(WIN32 AND MSVC) |
| 3653 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3654 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3655 | ) |
| 3656 | if (gRPC_INSTALL) |
| 3657 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3658 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3659 | ) |
| 3660 | endif() |
| 3661 | endif() |
| 3662 | |
| 3663 | |
| 3664 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3665 | 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] | 3666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3667 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3668 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3669 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3670 | PRIVATE ${BENCHMARK}/include |
| 3671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3672 | PRIVATE ${CARES_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3675 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3676 | ) |
| 3677 | |
| 3678 | target_link_libraries(grpc++_unsecure |
| 3679 | ${_gRPC_BASELIB_LIBRARIES} |
| 3680 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3682 | gpr |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3683 | grpc_unsecure |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3684 | ) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3685 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3686 | foreach(_hdr |
| 3687 | include/grpc++/alarm.h |
| 3688 | include/grpc++/channel.h |
| 3689 | include/grpc++/client_context.h |
| 3690 | include/grpc++/completion_queue.h |
| 3691 | include/grpc++/create_channel.h |
| 3692 | include/grpc++/create_channel_posix.h |
| 3693 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3694 | include/grpc++/generic/async_generic_service.h |
| 3695 | include/grpc++/generic/generic_stub.h |
| 3696 | include/grpc++/grpc++.h |
| 3697 | include/grpc++/health_check_service_interface.h |
| 3698 | include/grpc++/impl/call.h |
| 3699 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3700 | include/grpc++/impl/client_unary_call.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3701 | include/grpc++/impl/codegen/core_codegen.h |
| 3702 | include/grpc++/impl/grpc_library.h |
| 3703 | include/grpc++/impl/method_handler_impl.h |
| 3704 | include/grpc++/impl/rpc_method.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3705 | include/grpc++/impl/rpc_service_method.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3706 | include/grpc++/impl/serialization_traits.h |
| 3707 | include/grpc++/impl/server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3708 | include/grpc++/impl/server_builder_plugin.h |
| 3709 | include/grpc++/impl/server_initializer.h |
| 3710 | include/grpc++/impl/service_type.h |
| 3711 | include/grpc++/resource_quota.h |
| 3712 | include/grpc++/security/auth_context.h |
| 3713 | include/grpc++/security/auth_metadata_processor.h |
| 3714 | include/grpc++/security/credentials.h |
| 3715 | include/grpc++/security/server_credentials.h |
| 3716 | include/grpc++/server.h |
| 3717 | include/grpc++/server_builder.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3718 | include/grpc++/server_context.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3719 | include/grpc++/server_posix.h |
| 3720 | include/grpc++/support/async_stream.h |
| 3721 | include/grpc++/support/async_unary_call.h |
| 3722 | include/grpc++/support/byte_buffer.h |
| 3723 | include/grpc++/support/channel_arguments.h |
| 3724 | include/grpc++/support/config.h |
| 3725 | include/grpc++/support/slice.h |
| 3726 | include/grpc++/support/status.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3727 | include/grpc++/support/status_code_enum.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3728 | include/grpc++/support/string_ref.h |
| 3729 | include/grpc++/support/stub_options.h |
| 3730 | include/grpc++/support/sync_stream.h |
| 3731 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3732 | include/grpc/support/alloc.h |
| 3733 | include/grpc/support/atm.h |
| 3734 | include/grpc/support/atm_gcc_atomic.h |
| 3735 | include/grpc/support/atm_gcc_sync.h |
| 3736 | include/grpc/support/atm_windows.h |
| 3737 | include/grpc/support/avl.h |
| 3738 | include/grpc/support/cmdline.h |
| 3739 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3740 | include/grpc/support/host_port.h |
| 3741 | include/grpc/support/log.h |
| 3742 | include/grpc/support/log_windows.h |
| 3743 | include/grpc/support/port_platform.h |
| 3744 | include/grpc/support/string_util.h |
| 3745 | include/grpc/support/subprocess.h |
| 3746 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3747 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3748 | include/grpc/support/sync_generic.h |
| 3749 | include/grpc/support/sync_posix.h |
| 3750 | include/grpc/support/sync_windows.h |
| 3751 | include/grpc/support/thd.h |
| 3752 | include/grpc/support/time.h |
| 3753 | include/grpc/support/tls.h |
| 3754 | include/grpc/support/tls_gcc.h |
| 3755 | include/grpc/support/tls_msvc.h |
| 3756 | include/grpc/support/tls_pthread.h |
| 3757 | include/grpc/support/useful.h |
| 3758 | include/grpc/impl/codegen/atm.h |
| 3759 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3760 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3761 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3762 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3763 | include/grpc/impl/codegen/gpr_slice.h |
| 3764 | include/grpc/impl/codegen/gpr_types.h |
| 3765 | include/grpc/impl/codegen/port_platform.h |
| 3766 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3767 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3768 | include/grpc/impl/codegen/sync_generic.h |
| 3769 | include/grpc/impl/codegen/sync_posix.h |
| 3770 | include/grpc/impl/codegen/sync_windows.h |
| 3771 | include/grpc/byte_buffer.h |
| 3772 | include/grpc/byte_buffer_reader.h |
| 3773 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3774 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3775 | include/grpc/grpc.h |
| 3776 | include/grpc/grpc_posix.h |
| 3777 | include/grpc/grpc_security_constants.h |
| 3778 | include/grpc/load_reporting.h |
| 3779 | include/grpc/slice.h |
| 3780 | include/grpc/slice_buffer.h |
| 3781 | include/grpc/status.h |
| 3782 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3783 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3784 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3785 | include/grpc/impl/codegen/compression_types.h |
| 3786 | include/grpc/impl/codegen/connectivity_state.h |
| 3787 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3788 | include/grpc/impl/codegen/grpc_types.h |
| 3789 | include/grpc/impl/codegen/propagation_bits.h |
| 3790 | include/grpc/impl/codegen/slice.h |
| 3791 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3792 | include/grpc++/impl/codegen/async_stream.h |
| 3793 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3794 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3795 | include/grpc++/impl/codegen/call.h |
| 3796 | include/grpc++/impl/codegen/call_hook.h |
| 3797 | include/grpc++/impl/codegen/channel_interface.h |
| 3798 | include/grpc++/impl/codegen/client_context.h |
| 3799 | include/grpc++/impl/codegen/client_unary_call.h |
| 3800 | include/grpc++/impl/codegen/completion_queue.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3801 | include/grpc++/impl/codegen/completion_queue_tag.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3802 | include/grpc++/impl/codegen/config.h |
| 3803 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3804 | include/grpc++/impl/codegen/create_auth_context.h |
| 3805 | include/grpc++/impl/codegen/grpc_library.h |
| 3806 | include/grpc++/impl/codegen/metadata_map.h |
| 3807 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3808 | include/grpc++/impl/codegen/rpc_method.h |
| 3809 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3810 | include/grpc++/impl/codegen/security/auth_context.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3811 | include/grpc++/impl/codegen/serialization_traits.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3812 | include/grpc++/impl/codegen/server_context.h |
| 3813 | include/grpc++/impl/codegen/server_interface.h |
| 3814 | include/grpc++/impl/codegen/service_type.h |
| 3815 | include/grpc++/impl/codegen/slice.h |
| 3816 | include/grpc++/impl/codegen/status.h |
| 3817 | include/grpc++/impl/codegen/status_code_enum.h |
| 3818 | include/grpc++/impl/codegen/string_ref.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3819 | include/grpc++/impl/codegen/stub_options.h |
| 3820 | include/grpc++/impl/codegen/sync_stream.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3821 | include/grpc++/impl/codegen/time.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3822 | ) |
| 3823 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3824 | get_filename_component(_path ${_path} PATH) |
| 3825 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3826 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3827 | ) |
| 3828 | endforeach() |
| 3829 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3830 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3831 | if (gRPC_INSTALL) |
| 3832 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3833 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3834 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3835 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3836 | ) |
| 3837 | endif() |
| 3838 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3839 | if (gRPC_BUILD_TESTS) |
| 3840 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3841 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3842 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3843 | ) |
| 3844 | |
| 3845 | if(WIN32 AND MSVC) |
| 3846 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3847 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3848 | ) |
| 3849 | if (gRPC_INSTALL) |
| 3850 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3851 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3852 | ) |
| 3853 | endif() |
| 3854 | endif() |
| 3855 | |
| 3856 | |
| 3857 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3858 | 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] | 3859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3860 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3861 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3862 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3863 | PRIVATE ${BENCHMARK}/include |
| 3864 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3865 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3868 | PRIVATE third_party/googletest/googletest/include |
| 3869 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3870 | PRIVATE third_party/googletest/googlemock/include |
| 3871 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3872 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3873 | ) |
| 3874 | |
| 3875 | target_link_libraries(grpc_benchmark |
| 3876 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3877 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3878 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3879 | grpc++_unsecure |
| 3880 | grpc_test_util_unsecure |
| 3881 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3882 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3883 | ) |
| 3884 | |
| 3885 | |
| 3886 | endif (gRPC_BUILD_TESTS) |
| 3887 | if (gRPC_BUILD_TESTS) |
| 3888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3889 | add_library(grpc_cli_libs |
| 3890 | test/cpp/util/cli_call.cc |
| 3891 | test/cpp/util/cli_credentials.cc |
| 3892 | test/cpp/util/grpc_tool.cc |
| 3893 | test/cpp/util/proto_file_parser.cc |
| 3894 | test/cpp/util/service_describer.cc |
| 3895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3898 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3899 | ) |
| 3900 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3901 | if(WIN32 AND MSVC) |
| 3902 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3903 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3904 | ) |
| 3905 | if (gRPC_INSTALL) |
| 3906 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3907 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3908 | ) |
| 3909 | endif() |
| 3910 | endif() |
| 3911 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3912 | protobuf_generate_grpc_cpp( |
| 3913 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3914 | ) |
| 3915 | |
| 3916 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3917 | 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] | 3918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3919 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3921 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3922 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3924 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3927 | PRIVATE third_party/googletest/googletest/include |
| 3928 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3929 | PRIVATE third_party/googletest/googlemock/include |
| 3930 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3931 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3932 | ) |
| 3933 | |
| 3934 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3935 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3937 | grpc++_proto_reflection_desc_db |
| 3938 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3939 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3940 | ) |
| 3941 | |
| 3942 | foreach(_hdr |
| 3943 | include/grpc++/impl/codegen/config_protobuf.h |
| 3944 | ) |
| 3945 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3946 | get_filename_component(_path ${_path} PATH) |
| 3947 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3948 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3949 | ) |
| 3950 | endforeach() |
| 3951 | |
| 3952 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3953 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3954 | add_library(grpc_plugin_support |
| 3955 | src/compiler/cpp_generator.cc |
| 3956 | src/compiler/csharp_generator.cc |
| 3957 | src/compiler/node_generator.cc |
| 3958 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3959 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3960 | src/compiler/python_generator.cc |
| 3961 | src/compiler/ruby_generator.cc |
| 3962 | ) |
| 3963 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3964 | if(WIN32 AND MSVC) |
| 3965 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3966 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3967 | ) |
| 3968 | if (gRPC_INSTALL) |
| 3969 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3970 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3971 | ) |
| 3972 | endif() |
| 3973 | endif() |
| 3974 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3975 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3976 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3977 | 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] | 3978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3979 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3980 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3981 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3982 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3984 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3987 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3988 | ) |
| 3989 | |
| 3990 | target_link_libraries(grpc_plugin_support |
| 3991 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3992 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3994 | ) |
| 3995 | |
| 3996 | foreach(_hdr |
| 3997 | include/grpc++/impl/codegen/config_protobuf.h |
| 3998 | ) |
| 3999 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4000 | get_filename_component(_path ${_path} PATH) |
| 4001 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4002 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4003 | ) |
| 4004 | endforeach() |
| 4005 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4006 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4007 | if (gRPC_INSTALL) |
| 4008 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4009 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4010 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4011 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4012 | ) |
| 4013 | endif() |
| 4014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4015 | if (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4016 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4017 | add_library(http2_client_main |
| 4018 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4019 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4020 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4021 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4022 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4023 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4024 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4025 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4026 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4027 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4028 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4029 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4030 | test/cpp/interop/http2_client.cc |
| 4031 | ) |
| 4032 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4033 | if(WIN32 AND MSVC) |
| 4034 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4035 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4036 | ) |
| 4037 | if (gRPC_INSTALL) |
| 4038 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4039 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4040 | ) |
| 4041 | endif() |
| 4042 | endif() |
| 4043 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4044 | protobuf_generate_grpc_cpp( |
| 4045 | src/proto/grpc/testing/empty.proto |
| 4046 | ) |
| 4047 | protobuf_generate_grpc_cpp( |
| 4048 | src/proto/grpc/testing/messages.proto |
| 4049 | ) |
| 4050 | protobuf_generate_grpc_cpp( |
| 4051 | src/proto/grpc/testing/test.proto |
| 4052 | ) |
| 4053 | |
| 4054 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4055 | 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] | 4056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4058 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4059 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4060 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4062 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4065 | PRIVATE third_party/googletest/googletest/include |
| 4066 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4067 | PRIVATE third_party/googletest/googlemock/include |
| 4068 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4069 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4070 | ) |
| 4071 | |
| 4072 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4073 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4074 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4075 | grpc++_test_util |
| 4076 | grpc_test_util |
| 4077 | grpc++ |
| 4078 | grpc |
| 4079 | grpc++_test_config |
| 4080 | ) |
| 4081 | |
| 4082 | |
| 4083 | endif (gRPC_BUILD_TESTS) |
| 4084 | if (gRPC_BUILD_TESTS) |
| 4085 | |
| 4086 | add_library(interop_client_helper |
| 4087 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4088 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4091 | test/cpp/interop/client_helper.cc |
| 4092 | ) |
| 4093 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4094 | if(WIN32 AND MSVC) |
| 4095 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4096 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4097 | ) |
| 4098 | if (gRPC_INSTALL) |
| 4099 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4100 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4101 | ) |
| 4102 | endif() |
| 4103 | endif() |
| 4104 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4105 | protobuf_generate_grpc_cpp( |
| 4106 | src/proto/grpc/testing/messages.proto |
| 4107 | ) |
| 4108 | |
| 4109 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4110 | 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] | 4111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4112 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4113 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4114 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4115 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4117 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4120 | PRIVATE third_party/googletest/googletest/include |
| 4121 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4122 | PRIVATE third_party/googletest/googlemock/include |
| 4123 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4124 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4125 | ) |
| 4126 | |
| 4127 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4128 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4130 | grpc++_test_util |
| 4131 | grpc_test_util |
| 4132 | grpc++ |
| 4133 | grpc |
| 4134 | gpr |
| 4135 | ) |
| 4136 | |
| 4137 | |
| 4138 | endif (gRPC_BUILD_TESTS) |
| 4139 | if (gRPC_BUILD_TESTS) |
| 4140 | |
| 4141 | add_library(interop_client_main |
| 4142 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4143 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4144 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4145 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4146 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4147 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4148 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4151 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4154 | test/cpp/interop/client.cc |
| 4155 | test/cpp/interop/interop_client.cc |
| 4156 | ) |
| 4157 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4158 | if(WIN32 AND MSVC) |
| 4159 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4160 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4161 | ) |
| 4162 | if (gRPC_INSTALL) |
| 4163 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4164 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4165 | ) |
| 4166 | endif() |
| 4167 | endif() |
| 4168 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4169 | protobuf_generate_grpc_cpp( |
| 4170 | src/proto/grpc/testing/empty.proto |
| 4171 | ) |
| 4172 | protobuf_generate_grpc_cpp( |
| 4173 | src/proto/grpc/testing/messages.proto |
| 4174 | ) |
| 4175 | protobuf_generate_grpc_cpp( |
| 4176 | src/proto/grpc/testing/test.proto |
| 4177 | ) |
| 4178 | |
| 4179 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4180 | 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] | 4181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4182 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4183 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4184 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4185 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4187 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4190 | PRIVATE third_party/googletest/googletest/include |
| 4191 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4192 | PRIVATE third_party/googletest/googlemock/include |
| 4193 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4194 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4195 | ) |
| 4196 | |
| 4197 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4198 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4200 | interop_client_helper |
| 4201 | grpc++_test_util |
| 4202 | grpc_test_util |
| 4203 | grpc++ |
| 4204 | grpc |
| 4205 | gpr_test_util |
| 4206 | gpr |
| 4207 | grpc++_test_config |
| 4208 | ) |
| 4209 | |
| 4210 | |
| 4211 | endif (gRPC_BUILD_TESTS) |
| 4212 | if (gRPC_BUILD_TESTS) |
| 4213 | |
| 4214 | add_library(interop_server_helper |
| 4215 | test/cpp/interop/server_helper.cc |
| 4216 | ) |
| 4217 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4218 | if(WIN32 AND MSVC) |
| 4219 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4220 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4221 | ) |
| 4222 | if (gRPC_INSTALL) |
| 4223 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4224 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4225 | ) |
| 4226 | endif() |
| 4227 | endif() |
| 4228 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4229 | |
| 4230 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4231 | 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] | 4232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4233 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4234 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4235 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4236 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4238 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4241 | PRIVATE third_party/googletest/googletest/include |
| 4242 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4243 | PRIVATE third_party/googletest/googlemock/include |
| 4244 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4245 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4246 | ) |
| 4247 | |
| 4248 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4249 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4250 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4251 | grpc++_test_util |
| 4252 | grpc_test_util |
| 4253 | grpc++ |
| 4254 | grpc |
| 4255 | gpr |
| 4256 | ) |
| 4257 | |
| 4258 | |
| 4259 | endif (gRPC_BUILD_TESTS) |
| 4260 | if (gRPC_BUILD_TESTS) |
| 4261 | |
| 4262 | add_library(interop_server_lib |
| 4263 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4271 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4272 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4273 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4274 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4275 | test/cpp/interop/interop_server.cc |
| 4276 | ) |
| 4277 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4278 | if(WIN32 AND MSVC) |
| 4279 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4280 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4281 | ) |
| 4282 | if (gRPC_INSTALL) |
| 4283 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4284 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4285 | ) |
| 4286 | endif() |
| 4287 | endif() |
| 4288 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4289 | protobuf_generate_grpc_cpp( |
| 4290 | src/proto/grpc/testing/empty.proto |
| 4291 | ) |
| 4292 | protobuf_generate_grpc_cpp( |
| 4293 | src/proto/grpc/testing/messages.proto |
| 4294 | ) |
| 4295 | protobuf_generate_grpc_cpp( |
| 4296 | src/proto/grpc/testing/test.proto |
| 4297 | ) |
| 4298 | |
| 4299 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4300 | 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] | 4301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4303 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4304 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4305 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4307 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4310 | PRIVATE third_party/googletest/googletest/include |
| 4311 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4312 | PRIVATE third_party/googletest/googlemock/include |
| 4313 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4314 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4315 | ) |
| 4316 | |
| 4317 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4318 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4320 | interop_server_helper |
| 4321 | grpc++_test_util |
| 4322 | grpc_test_util |
| 4323 | grpc++ |
| 4324 | grpc |
| 4325 | gpr_test_util |
| 4326 | gpr |
| 4327 | grpc++_test_config |
| 4328 | ) |
| 4329 | |
| 4330 | |
| 4331 | endif (gRPC_BUILD_TESTS) |
| 4332 | if (gRPC_BUILD_TESTS) |
| 4333 | |
| 4334 | add_library(interop_server_main |
| 4335 | test/cpp/interop/interop_server_bootstrap.cc |
| 4336 | ) |
| 4337 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4338 | if(WIN32 AND MSVC) |
| 4339 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4340 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4341 | ) |
| 4342 | if (gRPC_INSTALL) |
| 4343 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4344 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4345 | ) |
| 4346 | endif() |
| 4347 | endif() |
| 4348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4349 | |
| 4350 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4351 | 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] | 4352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4355 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4356 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4361 | PRIVATE third_party/googletest/googletest/include |
| 4362 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4363 | PRIVATE third_party/googletest/googlemock/include |
| 4364 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4365 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4366 | ) |
| 4367 | |
| 4368 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4369 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4371 | interop_server_lib |
| 4372 | ) |
| 4373 | |
| 4374 | |
| 4375 | endif (gRPC_BUILD_TESTS) |
| 4376 | if (gRPC_BUILD_TESTS) |
| 4377 | |
| 4378 | add_library(qps |
| 4379 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4380 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4390 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4391 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4392 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4393 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4395 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4396 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4397 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4398 | ${_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] | 4399 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4400 | test/cpp/qps/client_async.cc |
| 4401 | test/cpp/qps/client_sync.cc |
| 4402 | test/cpp/qps/driver.cc |
| 4403 | test/cpp/qps/parse_json.cc |
| 4404 | test/cpp/qps/qps_worker.cc |
| 4405 | test/cpp/qps/report.cc |
| 4406 | test/cpp/qps/server_async.cc |
| 4407 | test/cpp/qps/server_sync.cc |
| 4408 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4409 | ) |
| 4410 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4411 | if(WIN32 AND MSVC) |
| 4412 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4413 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4414 | ) |
| 4415 | if (gRPC_INSTALL) |
| 4416 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4417 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4418 | ) |
| 4419 | endif() |
| 4420 | endif() |
| 4421 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4422 | protobuf_generate_grpc_cpp( |
| 4423 | src/proto/grpc/testing/messages.proto |
| 4424 | ) |
| 4425 | protobuf_generate_grpc_cpp( |
| 4426 | src/proto/grpc/testing/payloads.proto |
| 4427 | ) |
| 4428 | protobuf_generate_grpc_cpp( |
| 4429 | src/proto/grpc/testing/stats.proto |
| 4430 | ) |
| 4431 | protobuf_generate_grpc_cpp( |
| 4432 | src/proto/grpc/testing/control.proto |
| 4433 | ) |
| 4434 | protobuf_generate_grpc_cpp( |
| 4435 | src/proto/grpc/testing/services.proto |
| 4436 | ) |
| 4437 | |
| 4438 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4439 | 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] | 4440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4441 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4442 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4443 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4444 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4445 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4446 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4449 | PRIVATE third_party/googletest/googletest/include |
| 4450 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4451 | PRIVATE third_party/googletest/googlemock/include |
| 4452 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4453 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4454 | ) |
| 4455 | |
| 4456 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4457 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4458 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4459 | grpc_test_util |
| 4460 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4461 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4462 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4463 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4464 | ) |
| 4465 | |
| 4466 | |
| 4467 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4468 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4469 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4470 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4471 | ) |
| 4472 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4473 | if(WIN32 AND MSVC) |
| 4474 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4475 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4476 | ) |
| 4477 | if (gRPC_INSTALL) |
| 4478 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4479 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4480 | ) |
| 4481 | endif() |
| 4482 | endif() |
| 4483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4484 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4485 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4486 | 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] | 4487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4488 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4489 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4490 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4491 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4493 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4496 | ) |
| 4497 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4498 | target_link_libraries(grpc_csharp_ext |
| 4499 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4500 | grpc |
| 4501 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4502 | ) |
| 4503 | |
| 4504 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4505 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4506 | if (gRPC_INSTALL) |
| 4507 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4508 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4509 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4510 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4511 | ) |
| 4512 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4513 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4514 | if (gRPC_BUILD_TESTS) |
| 4515 | |
| 4516 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4517 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4518 | ) |
| 4519 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4520 | if(WIN32 AND MSVC) |
| 4521 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4522 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4523 | ) |
| 4524 | if (gRPC_INSTALL) |
| 4525 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4526 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4527 | ) |
| 4528 | endif() |
| 4529 | endif() |
| 4530 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4531 | |
| 4532 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4533 | 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] | 4534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4535 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4536 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4537 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4538 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4540 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4543 | ) |
| 4544 | |
| 4545 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4547 | grpc_test_util_unsecure |
| 4548 | grpc_unsecure |
| 4549 | gpr_test_util |
| 4550 | gpr |
| 4551 | ) |
| 4552 | |
| 4553 | |
| 4554 | endif (gRPC_BUILD_TESTS) |
| 4555 | if (gRPC_BUILD_TESTS) |
| 4556 | |
| 4557 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4558 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4559 | ) |
| 4560 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4561 | if(WIN32 AND MSVC) |
| 4562 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4563 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4564 | ) |
| 4565 | if (gRPC_INSTALL) |
| 4566 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4567 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4568 | ) |
| 4569 | endif() |
| 4570 | endif() |
| 4571 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4572 | |
| 4573 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4574 | 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] | 4575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4576 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4577 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4578 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4579 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4581 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4584 | ) |
| 4585 | |
| 4586 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4588 | grpc_test_util |
| 4589 | grpc |
| 4590 | gpr_test_util |
| 4591 | gpr |
| 4592 | ) |
| 4593 | |
| 4594 | |
| 4595 | endif (gRPC_BUILD_TESTS) |
| 4596 | if (gRPC_BUILD_TESTS) |
| 4597 | |
| 4598 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4599 | test/core/end2end/end2end_tests.cc |
| 4600 | test/core/end2end/end2end_test_utils.cc |
| 4601 | test/core/end2end/tests/authority_not_supported.cc |
| 4602 | test/core/end2end/tests/bad_hostname.cc |
| 4603 | test/core/end2end/tests/bad_ping.cc |
| 4604 | test/core/end2end/tests/binary_metadata.cc |
| 4605 | test/core/end2end/tests/call_creds.cc |
| 4606 | test/core/end2end/tests/cancel_after_accept.cc |
| 4607 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4608 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4609 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4610 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4611 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4612 | test/core/end2end/tests/cancel_with_status.cc |
| 4613 | test/core/end2end/tests/compressed_payload.cc |
| 4614 | test/core/end2end/tests/connectivity.cc |
| 4615 | test/core/end2end/tests/default_host.cc |
| 4616 | test/core/end2end/tests/disappearing_server.cc |
| 4617 | test/core/end2end/tests/empty_batch.cc |
| 4618 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4619 | test/core/end2end/tests/filter_causes_close.cc |
| 4620 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | 6535cfd | 2018-01-04 12:56:52 -0800 | [diff] [blame] | 4621 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4622 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4623 | test/core/end2end/tests/high_initial_seqno.cc |
| 4624 | test/core/end2end/tests/hpack_size.cc |
| 4625 | test/core/end2end/tests/idempotent_request.cc |
| 4626 | test/core/end2end/tests/invoke_large_request.cc |
| 4627 | test/core/end2end/tests/keepalive_timeout.cc |
| 4628 | test/core/end2end/tests/large_metadata.cc |
| 4629 | test/core/end2end/tests/load_reporting_hook.cc |
| 4630 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4631 | test/core/end2end/tests/max_connection_age.cc |
| 4632 | test/core/end2end/tests/max_connection_idle.cc |
| 4633 | test/core/end2end/tests/max_message_length.cc |
| 4634 | test/core/end2end/tests/negative_deadline.cc |
| 4635 | test/core/end2end/tests/network_status_change.cc |
| 4636 | test/core/end2end/tests/no_logging.cc |
| 4637 | test/core/end2end/tests/no_op.cc |
| 4638 | test/core/end2end/tests/payload.cc |
| 4639 | test/core/end2end/tests/ping.cc |
| 4640 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4641 | test/core/end2end/tests/proxy_auth.cc |
| 4642 | test/core/end2end/tests/registered_call.cc |
| 4643 | test/core/end2end/tests/request_with_flags.cc |
| 4644 | test/core/end2end/tests/request_with_payload.cc |
| 4645 | test/core/end2end/tests/resource_quota_server.cc |
| 4646 | test/core/end2end/tests/server_finishes_request.cc |
| 4647 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4648 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4649 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4650 | test/core/end2end/tests/simple_delayed_request.cc |
| 4651 | test/core/end2end/tests/simple_metadata.cc |
| 4652 | test/core/end2end/tests/simple_request.cc |
| 4653 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4654 | test/core/end2end/tests/stream_compression_payload.cc |
| 4655 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4656 | test/core/end2end/tests/streaming_error_response.cc |
| 4657 | test/core/end2end/tests/trailing_metadata.cc |
| 4658 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4659 | test/core/end2end/tests/write_buffering.cc |
| 4660 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4661 | ) |
| 4662 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4663 | if(WIN32 AND MSVC) |
| 4664 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4665 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4666 | ) |
| 4667 | if (gRPC_INSTALL) |
| 4668 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4669 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4670 | ) |
| 4671 | endif() |
| 4672 | endif() |
| 4673 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4674 | |
| 4675 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4676 | 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] | 4677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4678 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4679 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4680 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4681 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4683 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4686 | ) |
| 4687 | |
| 4688 | target_link_libraries(end2end_tests |
| 4689 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4690 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4691 | grpc_test_util |
| 4692 | grpc |
| 4693 | gpr_test_util |
| 4694 | gpr |
| 4695 | ) |
| 4696 | |
| 4697 | |
| 4698 | endif (gRPC_BUILD_TESTS) |
| 4699 | if (gRPC_BUILD_TESTS) |
| 4700 | |
| 4701 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4702 | test/core/end2end/end2end_nosec_tests.cc |
| 4703 | test/core/end2end/end2end_test_utils.cc |
| 4704 | test/core/end2end/tests/authority_not_supported.cc |
| 4705 | test/core/end2end/tests/bad_hostname.cc |
| 4706 | test/core/end2end/tests/bad_ping.cc |
| 4707 | test/core/end2end/tests/binary_metadata.cc |
| 4708 | test/core/end2end/tests/cancel_after_accept.cc |
| 4709 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4710 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4711 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4712 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4713 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4714 | test/core/end2end/tests/cancel_with_status.cc |
| 4715 | test/core/end2end/tests/compressed_payload.cc |
| 4716 | test/core/end2end/tests/connectivity.cc |
| 4717 | test/core/end2end/tests/default_host.cc |
| 4718 | test/core/end2end/tests/disappearing_server.cc |
| 4719 | test/core/end2end/tests/empty_batch.cc |
| 4720 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4721 | test/core/end2end/tests/filter_causes_close.cc |
| 4722 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | 6535cfd | 2018-01-04 12:56:52 -0800 | [diff] [blame] | 4723 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4724 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4725 | test/core/end2end/tests/high_initial_seqno.cc |
| 4726 | test/core/end2end/tests/hpack_size.cc |
| 4727 | test/core/end2end/tests/idempotent_request.cc |
| 4728 | test/core/end2end/tests/invoke_large_request.cc |
| 4729 | test/core/end2end/tests/keepalive_timeout.cc |
| 4730 | test/core/end2end/tests/large_metadata.cc |
| 4731 | test/core/end2end/tests/load_reporting_hook.cc |
| 4732 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4733 | test/core/end2end/tests/max_connection_age.cc |
| 4734 | test/core/end2end/tests/max_connection_idle.cc |
| 4735 | test/core/end2end/tests/max_message_length.cc |
| 4736 | test/core/end2end/tests/negative_deadline.cc |
| 4737 | test/core/end2end/tests/network_status_change.cc |
| 4738 | test/core/end2end/tests/no_logging.cc |
| 4739 | test/core/end2end/tests/no_op.cc |
| 4740 | test/core/end2end/tests/payload.cc |
| 4741 | test/core/end2end/tests/ping.cc |
| 4742 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4743 | test/core/end2end/tests/proxy_auth.cc |
| 4744 | test/core/end2end/tests/registered_call.cc |
| 4745 | test/core/end2end/tests/request_with_flags.cc |
| 4746 | test/core/end2end/tests/request_with_payload.cc |
| 4747 | test/core/end2end/tests/resource_quota_server.cc |
| 4748 | test/core/end2end/tests/server_finishes_request.cc |
| 4749 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4750 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4751 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4752 | test/core/end2end/tests/simple_delayed_request.cc |
| 4753 | test/core/end2end/tests/simple_metadata.cc |
| 4754 | test/core/end2end/tests/simple_request.cc |
| 4755 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4756 | test/core/end2end/tests/stream_compression_payload.cc |
| 4757 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4758 | test/core/end2end/tests/streaming_error_response.cc |
| 4759 | test/core/end2end/tests/trailing_metadata.cc |
| 4760 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4761 | test/core/end2end/tests/write_buffering.cc |
| 4762 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4763 | ) |
| 4764 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4765 | if(WIN32 AND MSVC) |
| 4766 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4767 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4768 | ) |
| 4769 | if (gRPC_INSTALL) |
| 4770 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4771 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4772 | ) |
| 4773 | endif() |
| 4774 | endif() |
| 4775 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4776 | |
| 4777 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4778 | 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] | 4779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4780 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4781 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4782 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4783 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4785 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4788 | ) |
| 4789 | |
| 4790 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4792 | grpc_test_util_unsecure |
| 4793 | grpc_unsecure |
| 4794 | gpr_test_util |
| 4795 | gpr |
| 4796 | ) |
| 4797 | |
| 4798 | |
| 4799 | endif (gRPC_BUILD_TESTS) |
| 4800 | |
| 4801 | if (gRPC_BUILD_TESTS) |
| 4802 | |
| 4803 | add_executable(alarm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4804 | test/core/surface/alarm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4805 | ) |
| 4806 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4807 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4808 | target_include_directories(alarm_test |
| 4809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4811 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4812 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4813 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4814 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4816 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4819 | ) |
| 4820 | |
| 4821 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4823 | grpc_test_util |
| 4824 | grpc |
| 4825 | gpr_test_util |
| 4826 | gpr |
| 4827 | ) |
| 4828 | |
| 4829 | endif (gRPC_BUILD_TESTS) |
| 4830 | if (gRPC_BUILD_TESTS) |
| 4831 | |
| 4832 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4833 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4834 | ) |
| 4835 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4836 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4837 | target_include_directories(algorithm_test |
| 4838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4840 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4841 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4842 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4843 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4845 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4848 | ) |
| 4849 | |
| 4850 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4851 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4852 | grpc_test_util |
| 4853 | grpc |
| 4854 | gpr_test_util |
| 4855 | gpr |
| 4856 | ) |
| 4857 | |
| 4858 | endif (gRPC_BUILD_TESTS) |
| 4859 | if (gRPC_BUILD_TESTS) |
| 4860 | |
| 4861 | add_executable(alloc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4862 | test/core/support/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4863 | ) |
| 4864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4866 | target_include_directories(alloc_test |
| 4867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4869 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4874 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4877 | ) |
| 4878 | |
| 4879 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4881 | gpr_test_util |
| 4882 | gpr |
| 4883 | ) |
| 4884 | |
| 4885 | endif (gRPC_BUILD_TESTS) |
| 4886 | if (gRPC_BUILD_TESTS) |
| 4887 | |
| 4888 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4889 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4890 | ) |
| 4891 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4893 | target_include_directories(alpn_test |
| 4894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4896 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4897 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4898 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4899 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4901 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4904 | ) |
| 4905 | |
| 4906 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4907 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4908 | grpc_test_util |
| 4909 | grpc |
| 4910 | gpr_test_util |
| 4911 | gpr |
| 4912 | ) |
| 4913 | |
| 4914 | endif (gRPC_BUILD_TESTS) |
| 4915 | if (gRPC_BUILD_TESTS) |
| 4916 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4917 | add_executable(arena_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4918 | test/core/support/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4919 | ) |
| 4920 | |
| 4921 | |
| 4922 | target_include_directories(arena_test |
| 4923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4925 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4926 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4927 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4928 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4930 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4933 | ) |
| 4934 | |
| 4935 | target_link_libraries(arena_test |
| 4936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4937 | gpr_test_util |
| 4938 | gpr |
| 4939 | ) |
| 4940 | |
| 4941 | endif (gRPC_BUILD_TESTS) |
| 4942 | if (gRPC_BUILD_TESTS) |
| 4943 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4944 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4945 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4946 | ) |
| 4947 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4948 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4949 | target_include_directories(bad_server_response_test |
| 4950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4952 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4953 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4954 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4955 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4957 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4960 | ) |
| 4961 | |
| 4962 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4963 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4964 | test_tcp_server |
| 4965 | grpc_test_util |
| 4966 | grpc |
| 4967 | gpr_test_util |
| 4968 | gpr |
| 4969 | ) |
| 4970 | |
| 4971 | endif (gRPC_BUILD_TESTS) |
| 4972 | if (gRPC_BUILD_TESTS) |
| 4973 | |
| 4974 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4975 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4976 | ) |
| 4977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4978 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4979 | target_include_directories(bin_decoder_test |
| 4980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4982 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4983 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4984 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4985 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4987 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4989 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4990 | ) |
| 4991 | |
| 4992 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4994 | grpc_test_util |
| 4995 | grpc |
| 4996 | ) |
| 4997 | |
| 4998 | endif (gRPC_BUILD_TESTS) |
| 4999 | if (gRPC_BUILD_TESTS) |
| 5000 | |
| 5001 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5002 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5003 | ) |
| 5004 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5006 | target_include_directories(bin_encoder_test |
| 5007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5009 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5010 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5011 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5012 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5014 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5017 | ) |
| 5018 | |
| 5019 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5021 | grpc_test_util |
| 5022 | grpc |
| 5023 | ) |
| 5024 | |
| 5025 | endif (gRPC_BUILD_TESTS) |
| 5026 | if (gRPC_BUILD_TESTS) |
| 5027 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5028 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5029 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5030 | ) |
| 5031 | |
| 5032 | |
| 5033 | target_include_directories(byte_stream_test |
| 5034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5035 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5036 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5037 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5038 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5039 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5040 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5041 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5044 | ) |
| 5045 | |
| 5046 | target_link_libraries(byte_stream_test |
| 5047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5048 | grpc_test_util |
| 5049 | grpc |
| 5050 | gpr_test_util |
| 5051 | gpr |
| 5052 | ) |
| 5053 | |
| 5054 | endif (gRPC_BUILD_TESTS) |
| 5055 | if (gRPC_BUILD_TESTS) |
| 5056 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5057 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5058 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5059 | ) |
| 5060 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5061 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5062 | target_include_directories(channel_create_test |
| 5063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5065 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5066 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5067 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5068 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5070 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5073 | ) |
| 5074 | |
| 5075 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5077 | grpc_test_util |
| 5078 | grpc |
| 5079 | gpr_test_util |
| 5080 | gpr |
| 5081 | ) |
| 5082 | |
| 5083 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5084 | |
| 5085 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 5086 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5087 | ) |
| 5088 | |
| 5089 | |
| 5090 | target_include_directories(check_epollexclusive |
| 5091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5093 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5094 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5095 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5096 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5098 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5101 | ) |
| 5102 | |
| 5103 | target_link_libraries(check_epollexclusive |
| 5104 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5105 | grpc |
| 5106 | gpr |
| 5107 | ) |
| 5108 | |
| 5109 | |
| 5110 | if (gRPC_INSTALL) |
| 5111 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5112 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5113 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5114 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5115 | ) |
| 5116 | endif() |
| 5117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5118 | if (gRPC_BUILD_TESTS) |
| 5119 | |
| 5120 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5121 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5122 | ) |
| 5123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5125 | target_include_directories(chttp2_hpack_encoder_test |
| 5126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5128 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5133 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5136 | ) |
| 5137 | |
| 5138 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5140 | grpc_test_util |
| 5141 | grpc |
| 5142 | gpr_test_util |
| 5143 | gpr |
| 5144 | ) |
| 5145 | |
| 5146 | endif (gRPC_BUILD_TESTS) |
| 5147 | if (gRPC_BUILD_TESTS) |
| 5148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5149 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5150 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5151 | ) |
| 5152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5153 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5154 | target_include_directories(chttp2_stream_map_test |
| 5155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5157 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5162 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5165 | ) |
| 5166 | |
| 5167 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5169 | grpc_test_util |
| 5170 | grpc |
| 5171 | gpr_test_util |
| 5172 | gpr |
| 5173 | ) |
| 5174 | |
| 5175 | endif (gRPC_BUILD_TESTS) |
| 5176 | if (gRPC_BUILD_TESTS) |
| 5177 | |
| 5178 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5179 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5180 | ) |
| 5181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5183 | target_include_directories(chttp2_varint_test |
| 5184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5194 | ) |
| 5195 | |
| 5196 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5198 | grpc_test_util |
| 5199 | grpc |
| 5200 | gpr_test_util |
| 5201 | gpr |
| 5202 | ) |
| 5203 | |
| 5204 | endif (gRPC_BUILD_TESTS) |
| 5205 | if (gRPC_BUILD_TESTS) |
| 5206 | |
| 5207 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5208 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5209 | ) |
| 5210 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5212 | target_include_directories(combiner_test |
| 5213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5215 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5216 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5217 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5218 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5220 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5223 | ) |
| 5224 | |
| 5225 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5227 | grpc_test_util |
| 5228 | grpc |
| 5229 | gpr_test_util |
| 5230 | gpr |
| 5231 | ) |
| 5232 | |
| 5233 | endif (gRPC_BUILD_TESTS) |
| 5234 | if (gRPC_BUILD_TESTS) |
| 5235 | |
| 5236 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5237 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5238 | ) |
| 5239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5241 | target_include_directories(compression_test |
| 5242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5245 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5246 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5247 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5249 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5252 | ) |
| 5253 | |
| 5254 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5256 | grpc_test_util |
| 5257 | grpc |
| 5258 | gpr_test_util |
| 5259 | gpr |
| 5260 | ) |
| 5261 | |
| 5262 | endif (gRPC_BUILD_TESTS) |
| 5263 | if (gRPC_BUILD_TESTS) |
| 5264 | |
| 5265 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5266 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5267 | ) |
| 5268 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5269 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5270 | target_include_directories(concurrent_connectivity_test |
| 5271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5273 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5274 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5275 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5276 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5277 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5278 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5281 | ) |
| 5282 | |
| 5283 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5284 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5285 | grpc_test_util |
| 5286 | grpc |
| 5287 | gpr_test_util |
| 5288 | gpr |
| 5289 | ) |
| 5290 | |
| 5291 | endif (gRPC_BUILD_TESTS) |
| 5292 | if (gRPC_BUILD_TESTS) |
| 5293 | |
| 5294 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5295 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5296 | ) |
| 5297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5298 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5299 | target_include_directories(connection_refused_test |
| 5300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5303 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5304 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5305 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5307 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5310 | ) |
| 5311 | |
| 5312 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5313 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5314 | grpc_test_util |
| 5315 | grpc |
| 5316 | gpr_test_util |
| 5317 | gpr |
| 5318 | ) |
| 5319 | |
| 5320 | endif (gRPC_BUILD_TESTS) |
| 5321 | if (gRPC_BUILD_TESTS) |
| 5322 | |
| 5323 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5324 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5325 | ) |
| 5326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5328 | target_include_directories(dns_resolver_connectivity_test |
| 5329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5331 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5332 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5333 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5334 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5336 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5339 | ) |
| 5340 | |
| 5341 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5343 | grpc_test_util |
| 5344 | grpc |
| 5345 | gpr_test_util |
| 5346 | gpr |
| 5347 | ) |
| 5348 | |
| 5349 | endif (gRPC_BUILD_TESTS) |
| 5350 | if (gRPC_BUILD_TESTS) |
| 5351 | |
| 5352 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5353 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5354 | ) |
| 5355 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5356 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5357 | target_include_directories(dns_resolver_test |
| 5358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5360 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5361 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5362 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5363 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5365 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5368 | ) |
| 5369 | |
| 5370 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5372 | grpc_test_util |
| 5373 | grpc |
| 5374 | gpr_test_util |
| 5375 | gpr |
| 5376 | ) |
| 5377 | |
| 5378 | endif (gRPC_BUILD_TESTS) |
| 5379 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5380 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5381 | |
| 5382 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5383 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5384 | ) |
| 5385 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5386 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5387 | target_include_directories(dualstack_socket_test |
| 5388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5390 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5392 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5393 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5395 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5398 | ) |
| 5399 | |
| 5400 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5402 | grpc_test_util |
| 5403 | grpc |
| 5404 | gpr_test_util |
| 5405 | gpr |
| 5406 | ) |
| 5407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5408 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5409 | endif (gRPC_BUILD_TESTS) |
| 5410 | if (gRPC_BUILD_TESTS) |
| 5411 | |
| 5412 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5413 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5414 | ) |
| 5415 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5417 | target_include_directories(endpoint_pair_test |
| 5418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5420 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5421 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5422 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5423 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5425 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5428 | ) |
| 5429 | |
| 5430 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5432 | grpc_test_util |
| 5433 | grpc |
| 5434 | gpr_test_util |
| 5435 | gpr |
| 5436 | ) |
| 5437 | |
| 5438 | endif (gRPC_BUILD_TESTS) |
| 5439 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5440 | |
| 5441 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5442 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5443 | ) |
| 5444 | |
| 5445 | |
| 5446 | target_include_directories(error_test |
| 5447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5449 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5450 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5451 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5452 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5454 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5457 | ) |
| 5458 | |
| 5459 | target_link_libraries(error_test |
| 5460 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5461 | grpc_test_util |
| 5462 | grpc |
| 5463 | gpr_test_util |
| 5464 | gpr |
| 5465 | ) |
| 5466 | |
| 5467 | endif (gRPC_BUILD_TESTS) |
| 5468 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5469 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5470 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5471 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5472 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5473 | ) |
| 5474 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5475 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5476 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5479 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5480 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5481 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5482 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5484 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5485 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5487 | ) |
| 5488 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5489 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5490 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5491 | grpc_test_util |
| 5492 | grpc |
| 5493 | gpr_test_util |
| 5494 | gpr |
| 5495 | ) |
| 5496 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5497 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5498 | endif (gRPC_BUILD_TESTS) |
| 5499 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5500 | |
| 5501 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5502 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5503 | ) |
| 5504 | |
| 5505 | |
| 5506 | target_include_directories(fake_resolver_test |
| 5507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5509 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5510 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5511 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5512 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5514 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5517 | ) |
| 5518 | |
| 5519 | target_link_libraries(fake_resolver_test |
| 5520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5521 | grpc_test_util |
| 5522 | grpc |
| 5523 | gpr_test_util |
| 5524 | gpr |
| 5525 | ) |
| 5526 | |
| 5527 | endif (gRPC_BUILD_TESTS) |
| 5528 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5529 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5530 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5531 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5532 | test/core/tsi/fake_transport_security_test.cc |
| 5533 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5534 | ) |
| 5535 | |
| 5536 | |
| 5537 | target_include_directories(fake_transport_security_test |
| 5538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5540 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5541 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5542 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5543 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5544 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5545 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5547 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5548 | ) |
| 5549 | |
| 5550 | target_link_libraries(fake_transport_security_test |
| 5551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5552 | gpr_test_util |
| 5553 | gpr |
| 5554 | grpc |
| 5555 | ) |
| 5556 | |
| 5557 | endif() |
| 5558 | endif (gRPC_BUILD_TESTS) |
| 5559 | if (gRPC_BUILD_TESTS) |
| 5560 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5562 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5563 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5564 | ) |
| 5565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5567 | target_include_directories(fd_conservation_posix_test |
| 5568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5570 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5575 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5577 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5578 | ) |
| 5579 | |
| 5580 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5582 | grpc_test_util |
| 5583 | grpc |
| 5584 | gpr_test_util |
| 5585 | gpr |
| 5586 | ) |
| 5587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5588 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5589 | endif (gRPC_BUILD_TESTS) |
| 5590 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5591 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5592 | |
| 5593 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5594 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5595 | ) |
| 5596 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5597 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5598 | target_include_directories(fd_posix_test |
| 5599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5601 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5602 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5603 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5604 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5605 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5606 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5609 | ) |
| 5610 | |
| 5611 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5613 | grpc_test_util |
| 5614 | grpc |
| 5615 | gpr_test_util |
| 5616 | gpr |
| 5617 | ) |
| 5618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5619 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5620 | endif (gRPC_BUILD_TESTS) |
| 5621 | if (gRPC_BUILD_TESTS) |
| 5622 | |
| 5623 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5624 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5625 | ) |
| 5626 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5627 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5628 | target_include_directories(fling_client |
| 5629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5631 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5632 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5633 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5634 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5635 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5636 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5639 | ) |
| 5640 | |
| 5641 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5642 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5643 | grpc_test_util |
| 5644 | grpc |
| 5645 | gpr_test_util |
| 5646 | gpr |
| 5647 | ) |
| 5648 | |
| 5649 | endif (gRPC_BUILD_TESTS) |
| 5650 | if (gRPC_BUILD_TESTS) |
| 5651 | |
| 5652 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5653 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5654 | ) |
| 5655 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5656 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5657 | target_include_directories(fling_server |
| 5658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5659 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5660 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5661 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5662 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5663 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5665 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5668 | ) |
| 5669 | |
| 5670 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5671 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5672 | grpc_test_util |
| 5673 | grpc |
| 5674 | gpr_test_util |
| 5675 | gpr |
| 5676 | ) |
| 5677 | |
| 5678 | endif (gRPC_BUILD_TESTS) |
| 5679 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5680 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5681 | |
| 5682 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5683 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5684 | ) |
| 5685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5687 | target_include_directories(fling_stream_test |
| 5688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5691 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5692 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5693 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5695 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5698 | ) |
| 5699 | |
| 5700 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5702 | grpc_test_util |
| 5703 | grpc |
| 5704 | gpr_test_util |
| 5705 | gpr |
| 5706 | ) |
| 5707 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5708 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5709 | endif (gRPC_BUILD_TESTS) |
| 5710 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5711 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5712 | |
| 5713 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5714 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5715 | ) |
| 5716 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5717 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5718 | target_include_directories(fling_test |
| 5719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5721 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5722 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5723 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5724 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5726 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5729 | ) |
| 5730 | |
| 5731 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5733 | grpc_test_util |
| 5734 | grpc |
| 5735 | gpr_test_util |
| 5736 | gpr |
| 5737 | ) |
| 5738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5739 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5740 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5741 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5742 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5743 | |
| 5744 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5745 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5746 | ) |
| 5747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5749 | target_include_directories(goaway_server_test |
| 5750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5752 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5753 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5754 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5755 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5756 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5757 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5760 | ) |
| 5761 | |
| 5762 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5764 | grpc_test_util |
| 5765 | grpc |
| 5766 | gpr_test_util |
| 5767 | gpr |
| 5768 | ) |
| 5769 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5770 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5771 | endif (gRPC_BUILD_TESTS) |
| 5772 | if (gRPC_BUILD_TESTS) |
| 5773 | |
| 5774 | add_executable(gpr_avl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5775 | test/core/support/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5776 | ) |
| 5777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5779 | target_include_directories(gpr_avl_test |
| 5780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5782 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5783 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5784 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5785 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5787 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5790 | ) |
| 5791 | |
| 5792 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5793 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5794 | gpr_test_util |
| 5795 | gpr |
| 5796 | ) |
| 5797 | |
| 5798 | endif (gRPC_BUILD_TESTS) |
| 5799 | if (gRPC_BUILD_TESTS) |
| 5800 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5801 | add_executable(gpr_cmdline_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5802 | test/core/support/cmdline_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5803 | ) |
| 5804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5806 | target_include_directories(gpr_cmdline_test |
| 5807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5809 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5811 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5812 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5814 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5817 | ) |
| 5818 | |
| 5819 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5821 | gpr_test_util |
| 5822 | gpr |
| 5823 | ) |
| 5824 | |
| 5825 | endif (gRPC_BUILD_TESTS) |
| 5826 | if (gRPC_BUILD_TESTS) |
| 5827 | |
| 5828 | add_executable(gpr_cpu_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5829 | test/core/support/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5830 | ) |
| 5831 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5833 | target_include_directories(gpr_cpu_test |
| 5834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5836 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5837 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5838 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5839 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5841 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5844 | ) |
| 5845 | |
| 5846 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5847 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5848 | gpr_test_util |
| 5849 | gpr |
| 5850 | ) |
| 5851 | |
| 5852 | endif (gRPC_BUILD_TESTS) |
| 5853 | if (gRPC_BUILD_TESTS) |
| 5854 | |
| 5855 | add_executable(gpr_env_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5856 | test/core/support/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5857 | ) |
| 5858 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5859 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5860 | target_include_directories(gpr_env_test |
| 5861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5863 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5864 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5865 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5866 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5868 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5871 | ) |
| 5872 | |
| 5873 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5874 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5875 | gpr_test_util |
| 5876 | gpr |
| 5877 | ) |
| 5878 | |
| 5879 | endif (gRPC_BUILD_TESTS) |
| 5880 | if (gRPC_BUILD_TESTS) |
| 5881 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5882 | add_executable(gpr_host_port_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5883 | test/core/support/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5884 | ) |
| 5885 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5887 | target_include_directories(gpr_host_port_test |
| 5888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5890 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5891 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5892 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5893 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5895 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5898 | ) |
| 5899 | |
| 5900 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5902 | gpr_test_util |
| 5903 | gpr |
| 5904 | ) |
| 5905 | |
| 5906 | endif (gRPC_BUILD_TESTS) |
| 5907 | if (gRPC_BUILD_TESTS) |
| 5908 | |
| 5909 | add_executable(gpr_log_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5910 | test/core/support/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5911 | ) |
| 5912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5914 | target_include_directories(gpr_log_test |
| 5915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5918 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5919 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5920 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5922 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5925 | ) |
| 5926 | |
| 5927 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5928 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5929 | gpr_test_util |
| 5930 | gpr |
| 5931 | ) |
| 5932 | |
| 5933 | endif (gRPC_BUILD_TESTS) |
| 5934 | if (gRPC_BUILD_TESTS) |
| 5935 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5936 | add_executable(gpr_manual_constructor_test |
| 5937 | test/core/support/manual_constructor_test.cc |
| 5938 | ) |
| 5939 | |
| 5940 | |
| 5941 | target_include_directories(gpr_manual_constructor_test |
| 5942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5944 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5945 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5946 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5947 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5948 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5949 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5952 | ) |
| 5953 | |
| 5954 | target_link_libraries(gpr_manual_constructor_test |
| 5955 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5956 | gpr_test_util |
| 5957 | gpr |
| 5958 | ) |
| 5959 | |
| 5960 | endif (gRPC_BUILD_TESTS) |
| 5961 | if (gRPC_BUILD_TESTS) |
| 5962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5963 | add_executable(gpr_mpscq_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5964 | test/core/support/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5965 | ) |
| 5966 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5967 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5968 | target_include_directories(gpr_mpscq_test |
| 5969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5971 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5972 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5973 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5974 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5976 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5979 | ) |
| 5980 | |
| 5981 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5983 | gpr_test_util |
| 5984 | gpr |
| 5985 | ) |
| 5986 | |
| 5987 | endif (gRPC_BUILD_TESTS) |
| 5988 | if (gRPC_BUILD_TESTS) |
| 5989 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5990 | add_executable(gpr_spinlock_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5991 | test/core/support/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5992 | ) |
| 5993 | |
| 5994 | |
| 5995 | target_include_directories(gpr_spinlock_test |
| 5996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5998 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6003 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6006 | ) |
| 6007 | |
| 6008 | target_link_libraries(gpr_spinlock_test |
| 6009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6010 | gpr_test_util |
| 6011 | gpr |
| 6012 | ) |
| 6013 | |
| 6014 | endif (gRPC_BUILD_TESTS) |
| 6015 | if (gRPC_BUILD_TESTS) |
| 6016 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6017 | add_executable(gpr_string_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6018 | test/core/support/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6019 | ) |
| 6020 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6021 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6022 | target_include_directories(gpr_string_test |
| 6023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6025 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6026 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6027 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6028 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6030 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6033 | ) |
| 6034 | |
| 6035 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6036 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6037 | gpr_test_util |
| 6038 | gpr |
| 6039 | ) |
| 6040 | |
| 6041 | endif (gRPC_BUILD_TESTS) |
| 6042 | if (gRPC_BUILD_TESTS) |
| 6043 | |
| 6044 | add_executable(gpr_sync_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6045 | test/core/support/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6046 | ) |
| 6047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6049 | target_include_directories(gpr_sync_test |
| 6050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6053 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6054 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6055 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6057 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6060 | ) |
| 6061 | |
| 6062 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6063 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6064 | gpr_test_util |
| 6065 | gpr |
| 6066 | ) |
| 6067 | |
| 6068 | endif (gRPC_BUILD_TESTS) |
| 6069 | if (gRPC_BUILD_TESTS) |
| 6070 | |
| 6071 | add_executable(gpr_thd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6072 | test/core/support/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6073 | ) |
| 6074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6075 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6076 | target_include_directories(gpr_thd_test |
| 6077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6079 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6080 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6081 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6082 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6084 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6087 | ) |
| 6088 | |
| 6089 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6090 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6091 | gpr_test_util |
| 6092 | gpr |
| 6093 | ) |
| 6094 | |
| 6095 | endif (gRPC_BUILD_TESTS) |
| 6096 | if (gRPC_BUILD_TESTS) |
| 6097 | |
| 6098 | add_executable(gpr_time_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6099 | test/core/support/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6100 | ) |
| 6101 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6102 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6103 | target_include_directories(gpr_time_test |
| 6104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6106 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6108 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6109 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6111 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6114 | ) |
| 6115 | |
| 6116 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6118 | gpr_test_util |
| 6119 | gpr |
| 6120 | ) |
| 6121 | |
| 6122 | endif (gRPC_BUILD_TESTS) |
| 6123 | if (gRPC_BUILD_TESTS) |
| 6124 | |
| 6125 | add_executable(gpr_tls_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6126 | test/core/support/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6127 | ) |
| 6128 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6129 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6130 | target_include_directories(gpr_tls_test |
| 6131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6133 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6134 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6135 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6136 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6138 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6141 | ) |
| 6142 | |
| 6143 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6144 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6145 | gpr_test_util |
| 6146 | gpr |
| 6147 | ) |
| 6148 | |
| 6149 | endif (gRPC_BUILD_TESTS) |
| 6150 | if (gRPC_BUILD_TESTS) |
| 6151 | |
| 6152 | add_executable(gpr_useful_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6153 | test/core/support/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6154 | ) |
| 6155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6157 | target_include_directories(gpr_useful_test |
| 6158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6160 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6165 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6168 | ) |
| 6169 | |
| 6170 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6172 | gpr_test_util |
| 6173 | gpr |
| 6174 | ) |
| 6175 | |
| 6176 | endif (gRPC_BUILD_TESTS) |
| 6177 | if (gRPC_BUILD_TESTS) |
| 6178 | |
| 6179 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6180 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6181 | ) |
| 6182 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6184 | target_include_directories(grpc_auth_context_test |
| 6185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6187 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6188 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6189 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6190 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6192 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6195 | ) |
| 6196 | |
| 6197 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6199 | grpc_test_util |
| 6200 | grpc |
| 6201 | gpr_test_util |
| 6202 | gpr |
| 6203 | ) |
| 6204 | |
| 6205 | endif (gRPC_BUILD_TESTS) |
| 6206 | if (gRPC_BUILD_TESTS) |
| 6207 | |
| 6208 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6209 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6210 | ) |
| 6211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6213 | target_include_directories(grpc_b64_test |
| 6214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6217 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6218 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6219 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6221 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6224 | ) |
| 6225 | |
| 6226 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6228 | grpc_test_util |
| 6229 | grpc |
| 6230 | gpr_test_util |
| 6231 | gpr |
| 6232 | ) |
| 6233 | |
| 6234 | endif (gRPC_BUILD_TESTS) |
| 6235 | if (gRPC_BUILD_TESTS) |
| 6236 | |
| 6237 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6238 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6239 | ) |
| 6240 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6241 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6242 | target_include_directories(grpc_byte_buffer_reader_test |
| 6243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6245 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6246 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6247 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6248 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6250 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6253 | ) |
| 6254 | |
| 6255 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6257 | grpc_test_util |
| 6258 | grpc |
| 6259 | gpr_test_util |
| 6260 | gpr |
| 6261 | ) |
| 6262 | |
| 6263 | endif (gRPC_BUILD_TESTS) |
| 6264 | if (gRPC_BUILD_TESTS) |
| 6265 | |
| 6266 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6267 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6268 | ) |
| 6269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6271 | target_include_directories(grpc_channel_args_test |
| 6272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6274 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6275 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6276 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6277 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6279 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6282 | ) |
| 6283 | |
| 6284 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6286 | grpc_test_util |
| 6287 | grpc |
| 6288 | gpr_test_util |
| 6289 | gpr |
| 6290 | ) |
| 6291 | |
| 6292 | endif (gRPC_BUILD_TESTS) |
| 6293 | if (gRPC_BUILD_TESTS) |
| 6294 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6295 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6296 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6297 | ) |
| 6298 | |
| 6299 | |
| 6300 | target_include_directories(grpc_channel_stack_builder_test |
| 6301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6303 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6304 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6305 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6306 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6307 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6308 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6311 | ) |
| 6312 | |
| 6313 | target_link_libraries(grpc_channel_stack_builder_test |
| 6314 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6315 | grpc_test_util |
| 6316 | grpc |
| 6317 | gpr_test_util |
| 6318 | gpr |
| 6319 | ) |
| 6320 | |
| 6321 | endif (gRPC_BUILD_TESTS) |
| 6322 | if (gRPC_BUILD_TESTS) |
| 6323 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6324 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6325 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6326 | ) |
| 6327 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6329 | target_include_directories(grpc_channel_stack_test |
| 6330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6332 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6337 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6340 | ) |
| 6341 | |
| 6342 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6344 | grpc_test_util |
| 6345 | grpc |
| 6346 | gpr_test_util |
| 6347 | gpr |
| 6348 | ) |
| 6349 | |
| 6350 | endif (gRPC_BUILD_TESTS) |
| 6351 | if (gRPC_BUILD_TESTS) |
| 6352 | |
| 6353 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6354 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6355 | ) |
| 6356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6358 | target_include_directories(grpc_completion_queue_test |
| 6359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6361 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6362 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6363 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6364 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6366 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6369 | ) |
| 6370 | |
| 6371 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6372 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6373 | grpc_test_util |
| 6374 | grpc |
| 6375 | gpr_test_util |
| 6376 | gpr |
| 6377 | ) |
| 6378 | |
| 6379 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6380 | if (gRPC_BUILD_TESTS) |
| 6381 | |
| 6382 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6383 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6384 | ) |
| 6385 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6386 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6387 | target_include_directories(grpc_completion_queue_threading_test |
| 6388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6390 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6392 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6393 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6395 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6398 | ) |
| 6399 | |
| 6400 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6402 | grpc_test_util |
| 6403 | grpc |
| 6404 | gpr_test_util |
| 6405 | gpr |
| 6406 | ) |
| 6407 | |
| 6408 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6409 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6410 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6411 | test/core/security/create_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6412 | ) |
| 6413 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6414 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6415 | target_include_directories(grpc_create_jwt |
| 6416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6418 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6420 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6421 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6423 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6426 | ) |
| 6427 | |
| 6428 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6429 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6430 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6431 | grpc |
| 6432 | gpr |
| 6433 | ) |
| 6434 | |
| 6435 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6436 | if (gRPC_INSTALL) |
| 6437 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6438 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6439 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6440 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6441 | ) |
| 6442 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6444 | if (gRPC_BUILD_TESTS) |
| 6445 | |
| 6446 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6447 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6448 | ) |
| 6449 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6451 | target_include_directories(grpc_credentials_test |
| 6452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6454 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6456 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6457 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6459 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6462 | ) |
| 6463 | |
| 6464 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6466 | grpc_test_util |
| 6467 | grpc |
| 6468 | gpr_test_util |
| 6469 | gpr |
| 6470 | ) |
| 6471 | |
| 6472 | endif (gRPC_BUILD_TESTS) |
| 6473 | if (gRPC_BUILD_TESTS) |
| 6474 | |
| 6475 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6476 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6477 | ) |
| 6478 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6479 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6480 | target_include_directories(grpc_fetch_oauth2 |
| 6481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6483 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6484 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6485 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6486 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6488 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6491 | ) |
| 6492 | |
| 6493 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6494 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6495 | grpc_test_util |
| 6496 | grpc |
| 6497 | gpr_test_util |
| 6498 | gpr |
| 6499 | ) |
| 6500 | |
| 6501 | endif (gRPC_BUILD_TESTS) |
| 6502 | if (gRPC_BUILD_TESTS) |
| 6503 | |
| 6504 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6505 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6506 | ) |
| 6507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6509 | target_include_directories(grpc_invalid_channel_args_test |
| 6510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6517 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6520 | ) |
| 6521 | |
| 6522 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6524 | grpc_test_util |
| 6525 | grpc |
| 6526 | gpr_test_util |
| 6527 | gpr |
| 6528 | ) |
| 6529 | |
| 6530 | endif (gRPC_BUILD_TESTS) |
| 6531 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6532 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6533 | |
| 6534 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6535 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6536 | ) |
| 6537 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6538 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6539 | target_include_directories(grpc_json_token_test |
| 6540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6547 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6550 | ) |
| 6551 | |
| 6552 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6554 | grpc_test_util |
| 6555 | grpc |
| 6556 | gpr_test_util |
| 6557 | gpr |
| 6558 | ) |
| 6559 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6560 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6561 | endif (gRPC_BUILD_TESTS) |
| 6562 | if (gRPC_BUILD_TESTS) |
| 6563 | |
| 6564 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6565 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6566 | ) |
| 6567 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6568 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6569 | target_include_directories(grpc_jwt_verifier_test |
| 6570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6572 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6573 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6574 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6575 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6577 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6580 | ) |
| 6581 | |
| 6582 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6584 | grpc_test_util |
| 6585 | grpc |
| 6586 | gpr_test_util |
| 6587 | gpr |
| 6588 | ) |
| 6589 | |
| 6590 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6591 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6592 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6593 | test/core/security/print_google_default_creds_token.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6594 | ) |
| 6595 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6596 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6597 | target_include_directories(grpc_print_google_default_creds_token |
| 6598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6600 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6601 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6602 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6603 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6605 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6608 | ) |
| 6609 | |
| 6610 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6611 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6612 | grpc |
| 6613 | gpr |
| 6614 | ) |
| 6615 | |
| 6616 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6617 | if (gRPC_INSTALL) |
| 6618 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6619 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6620 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6621 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6622 | ) |
| 6623 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6624 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6625 | if (gRPC_BUILD_TESTS) |
| 6626 | |
| 6627 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6628 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6629 | ) |
| 6630 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6631 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6632 | target_include_directories(grpc_security_connector_test |
| 6633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6635 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6636 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6637 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6638 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6640 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6643 | ) |
| 6644 | |
| 6645 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6646 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6647 | grpc_test_util |
| 6648 | grpc |
| 6649 | gpr_test_util |
| 6650 | gpr |
| 6651 | ) |
| 6652 | |
| 6653 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6654 | if (gRPC_BUILD_TESTS) |
| 6655 | |
| 6656 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6657 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6658 | ) |
| 6659 | |
| 6660 | |
| 6661 | target_include_directories(grpc_ssl_credentials_test |
| 6662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6664 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6665 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6666 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6667 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6669 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6672 | ) |
| 6673 | |
| 6674 | target_link_libraries(grpc_ssl_credentials_test |
| 6675 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6676 | grpc_test_util |
| 6677 | grpc |
| 6678 | gpr_test_util |
| 6679 | gpr |
| 6680 | ) |
| 6681 | |
| 6682 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6683 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6684 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6685 | test/core/security/verify_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6686 | ) |
| 6687 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6688 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6689 | target_include_directories(grpc_verify_jwt |
| 6690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6692 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6693 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6694 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6695 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6697 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6700 | ) |
| 6701 | |
| 6702 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6704 | grpc |
| 6705 | gpr |
| 6706 | ) |
| 6707 | |
| 6708 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6709 | if (gRPC_INSTALL) |
| 6710 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6711 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6712 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6713 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6714 | ) |
| 6715 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6717 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6718 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6719 | |
| 6720 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6721 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6722 | ) |
| 6723 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6724 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6725 | target_include_directories(handshake_client |
| 6726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6728 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6729 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6730 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6733 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6736 | ) |
| 6737 | |
| 6738 | target_link_libraries(handshake_client |
| 6739 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6740 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6741 | grpc_test_util |
| 6742 | grpc |
| 6743 | gpr_test_util |
| 6744 | gpr |
| 6745 | ) |
| 6746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6747 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6748 | endif (gRPC_BUILD_TESTS) |
| 6749 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6750 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6751 | |
| 6752 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6753 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6754 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6755 | ) |
| 6756 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6757 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6758 | target_include_directories(handshake_server |
| 6759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6761 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6762 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6763 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6764 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6765 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6766 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6769 | ) |
| 6770 | |
| 6771 | target_link_libraries(handshake_server |
| 6772 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6773 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6774 | grpc_test_util |
| 6775 | grpc |
| 6776 | gpr_test_util |
| 6777 | gpr |
| 6778 | ) |
| 6779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6780 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6781 | endif (gRPC_BUILD_TESTS) |
| 6782 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6783 | if(_gRPC_PLATFORM_LINUX) |
| 6784 | |
| 6785 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6786 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6787 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6788 | ) |
| 6789 | |
| 6790 | |
| 6791 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6794 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6795 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6796 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6797 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6799 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6800 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6802 | ) |
| 6803 | |
| 6804 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 6805 | ${_gRPC_SSL_LIBRARIES} |
| 6806 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6807 | grpc_test_util |
| 6808 | grpc |
| 6809 | gpr_test_util |
| 6810 | gpr |
| 6811 | ) |
| 6812 | |
| 6813 | endif() |
| 6814 | endif (gRPC_BUILD_TESTS) |
| 6815 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6816 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6817 | add_executable(histogram_test |
| 6818 | test/core/util/histogram_test.cc |
| 6819 | ) |
| 6820 | |
| 6821 | |
| 6822 | target_include_directories(histogram_test |
| 6823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6825 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6826 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6827 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6828 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6830 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6833 | ) |
| 6834 | |
| 6835 | target_link_libraries(histogram_test |
| 6836 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6837 | grpc_test_util |
| 6838 | gpr |
| 6839 | ) |
| 6840 | |
| 6841 | endif (gRPC_BUILD_TESTS) |
| 6842 | if (gRPC_BUILD_TESTS) |
| 6843 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6844 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6845 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6846 | ) |
| 6847 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6848 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6849 | target_include_directories(hpack_parser_test |
| 6850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6852 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6853 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6854 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6855 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6857 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6860 | ) |
| 6861 | |
| 6862 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6864 | grpc_test_util |
| 6865 | grpc |
| 6866 | gpr_test_util |
| 6867 | gpr |
| 6868 | ) |
| 6869 | |
| 6870 | endif (gRPC_BUILD_TESTS) |
| 6871 | if (gRPC_BUILD_TESTS) |
| 6872 | |
| 6873 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6874 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6875 | ) |
| 6876 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6877 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6878 | target_include_directories(hpack_table_test |
| 6879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6881 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6882 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6883 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6884 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6886 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6889 | ) |
| 6890 | |
| 6891 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6892 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6893 | grpc_test_util |
| 6894 | grpc |
| 6895 | gpr_test_util |
| 6896 | gpr |
| 6897 | ) |
| 6898 | |
| 6899 | endif (gRPC_BUILD_TESTS) |
| 6900 | if (gRPC_BUILD_TESTS) |
| 6901 | |
| 6902 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6903 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6904 | ) |
| 6905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6906 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6907 | target_include_directories(http_parser_test |
| 6908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6910 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6915 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6918 | ) |
| 6919 | |
| 6920 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6922 | grpc_test_util |
| 6923 | grpc |
| 6924 | gpr_test_util |
| 6925 | gpr |
| 6926 | ) |
| 6927 | |
| 6928 | endif (gRPC_BUILD_TESTS) |
| 6929 | if (gRPC_BUILD_TESTS) |
| 6930 | |
| 6931 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6932 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6933 | ) |
| 6934 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6935 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6936 | target_include_directories(httpcli_format_request_test |
| 6937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6939 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6940 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6941 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6942 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6944 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6947 | ) |
| 6948 | |
| 6949 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6951 | grpc_test_util |
| 6952 | grpc |
| 6953 | gpr_test_util |
| 6954 | gpr |
| 6955 | ) |
| 6956 | |
| 6957 | endif (gRPC_BUILD_TESTS) |
| 6958 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6959 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6960 | |
| 6961 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6962 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6963 | ) |
| 6964 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6966 | target_include_directories(httpcli_test |
| 6967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6969 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6970 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6971 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6972 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6974 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6976 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6977 | ) |
| 6978 | |
| 6979 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6981 | grpc_test_util |
| 6982 | grpc |
| 6983 | gpr_test_util |
| 6984 | gpr |
| 6985 | ) |
| 6986 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6987 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6988 | endif (gRPC_BUILD_TESTS) |
| 6989 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6990 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6991 | |
| 6992 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6993 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6994 | ) |
| 6995 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6997 | target_include_directories(httpscli_test |
| 6998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7000 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7001 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7002 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7003 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7005 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7008 | ) |
| 7009 | |
| 7010 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7012 | grpc_test_util |
| 7013 | grpc |
| 7014 | gpr_test_util |
| 7015 | gpr |
| 7016 | ) |
| 7017 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7018 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7019 | endif (gRPC_BUILD_TESTS) |
| 7020 | if (gRPC_BUILD_TESTS) |
| 7021 | |
| 7022 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7023 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7024 | ) |
| 7025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7027 | target_include_directories(init_test |
| 7028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7030 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7031 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7032 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7033 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7035 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7038 | ) |
| 7039 | |
| 7040 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7041 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7042 | grpc_test_util |
| 7043 | grpc |
| 7044 | gpr_test_util |
| 7045 | gpr |
| 7046 | ) |
| 7047 | |
| 7048 | endif (gRPC_BUILD_TESTS) |
| 7049 | if (gRPC_BUILD_TESTS) |
| 7050 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7051 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7052 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7053 | ) |
| 7054 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7056 | target_include_directories(invalid_call_argument_test |
| 7057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7059 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7060 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7061 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7062 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7064 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7067 | ) |
| 7068 | |
| 7069 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7071 | grpc_test_util |
| 7072 | grpc |
| 7073 | gpr_test_util |
| 7074 | gpr |
| 7075 | ) |
| 7076 | |
| 7077 | endif (gRPC_BUILD_TESTS) |
| 7078 | if (gRPC_BUILD_TESTS) |
| 7079 | |
| 7080 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7081 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7082 | ) |
| 7083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7085 | target_include_directories(json_rewrite |
| 7086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7096 | ) |
| 7097 | |
| 7098 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7100 | grpc |
| 7101 | gpr |
| 7102 | ) |
| 7103 | |
| 7104 | endif (gRPC_BUILD_TESTS) |
| 7105 | if (gRPC_BUILD_TESTS) |
| 7106 | |
| 7107 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7108 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7109 | ) |
| 7110 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7112 | target_include_directories(json_rewrite_test |
| 7113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7115 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7116 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7117 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7118 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7120 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7123 | ) |
| 7124 | |
| 7125 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7126 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7127 | grpc_test_util |
| 7128 | grpc |
| 7129 | gpr_test_util |
| 7130 | gpr |
| 7131 | ) |
| 7132 | |
| 7133 | endif (gRPC_BUILD_TESTS) |
| 7134 | if (gRPC_BUILD_TESTS) |
| 7135 | |
| 7136 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7137 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7138 | ) |
| 7139 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7140 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7141 | target_include_directories(json_stream_error_test |
| 7142 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7144 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7145 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7146 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7147 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7149 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7152 | ) |
| 7153 | |
| 7154 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7155 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7156 | grpc_test_util |
| 7157 | grpc |
| 7158 | gpr_test_util |
| 7159 | gpr |
| 7160 | ) |
| 7161 | |
| 7162 | endif (gRPC_BUILD_TESTS) |
| 7163 | if (gRPC_BUILD_TESTS) |
| 7164 | |
| 7165 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7166 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7167 | ) |
| 7168 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7169 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7170 | target_include_directories(json_test |
| 7171 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7172 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7173 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7174 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7175 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7176 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7178 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7180 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7181 | ) |
| 7182 | |
| 7183 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7184 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7185 | grpc_test_util |
| 7186 | grpc |
| 7187 | gpr_test_util |
| 7188 | gpr |
| 7189 | ) |
| 7190 | |
| 7191 | endif (gRPC_BUILD_TESTS) |
| 7192 | if (gRPC_BUILD_TESTS) |
| 7193 | |
| 7194 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7195 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7196 | ) |
| 7197 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7198 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7199 | target_include_directories(lame_client_test |
| 7200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7202 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7203 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7204 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7205 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7207 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7210 | ) |
| 7211 | |
| 7212 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7214 | grpc_test_util |
| 7215 | grpc |
| 7216 | gpr_test_util |
| 7217 | gpr |
| 7218 | ) |
| 7219 | |
| 7220 | endif (gRPC_BUILD_TESTS) |
| 7221 | if (gRPC_BUILD_TESTS) |
| 7222 | |
| 7223 | add_executable(lb_policies_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7224 | test/core/client_channel/lb_policies_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7225 | ) |
| 7226 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7227 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7228 | target_include_directories(lb_policies_test |
| 7229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7231 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7232 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7233 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7234 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7236 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7239 | ) |
| 7240 | |
| 7241 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7243 | grpc_test_util |
| 7244 | grpc |
| 7245 | gpr_test_util |
| 7246 | gpr |
| 7247 | ) |
| 7248 | |
| 7249 | endif (gRPC_BUILD_TESTS) |
| 7250 | if (gRPC_BUILD_TESTS) |
| 7251 | |
| 7252 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7253 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7254 | ) |
| 7255 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7256 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7257 | target_include_directories(load_file_test |
| 7258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7260 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7261 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7262 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7263 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7265 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7268 | ) |
| 7269 | |
| 7270 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7271 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7272 | grpc_test_util |
| 7273 | grpc |
| 7274 | gpr_test_util |
| 7275 | gpr |
| 7276 | ) |
| 7277 | |
| 7278 | endif (gRPC_BUILD_TESTS) |
| 7279 | if (gRPC_BUILD_TESTS) |
| 7280 | |
| 7281 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7282 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7283 | ) |
| 7284 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7286 | target_include_directories(memory_profile_client |
| 7287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7289 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7290 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7291 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7292 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7294 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7297 | ) |
| 7298 | |
| 7299 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7301 | grpc_test_util |
| 7302 | grpc |
| 7303 | gpr_test_util |
| 7304 | gpr |
| 7305 | ) |
| 7306 | |
| 7307 | endif (gRPC_BUILD_TESTS) |
| 7308 | if (gRPC_BUILD_TESTS) |
| 7309 | |
| 7310 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7311 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7312 | ) |
| 7313 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7314 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7315 | target_include_directories(memory_profile_server |
| 7316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7318 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7319 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7320 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7321 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7323 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7326 | ) |
| 7327 | |
| 7328 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7330 | grpc_test_util |
| 7331 | grpc |
| 7332 | gpr_test_util |
| 7333 | gpr |
| 7334 | ) |
| 7335 | |
| 7336 | endif (gRPC_BUILD_TESTS) |
| 7337 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7338 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7339 | |
| 7340 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7341 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7342 | ) |
| 7343 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7344 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7345 | target_include_directories(memory_profile_test |
| 7346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7347 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7348 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7349 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7350 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7351 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7353 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7355 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7356 | ) |
| 7357 | |
| 7358 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7359 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7360 | grpc_test_util |
| 7361 | grpc |
| 7362 | gpr_test_util |
| 7363 | gpr |
| 7364 | ) |
| 7365 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7366 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7367 | endif (gRPC_BUILD_TESTS) |
| 7368 | if (gRPC_BUILD_TESTS) |
| 7369 | |
| 7370 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7371 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7372 | ) |
| 7373 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7375 | target_include_directories(message_compress_test |
| 7376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7378 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7379 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7380 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7381 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7383 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7385 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7386 | ) |
| 7387 | |
| 7388 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7390 | grpc_test_util |
| 7391 | grpc |
| 7392 | gpr_test_util |
| 7393 | gpr |
| 7394 | ) |
| 7395 | |
| 7396 | endif (gRPC_BUILD_TESTS) |
| 7397 | if (gRPC_BUILD_TESTS) |
| 7398 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7399 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7400 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7401 | ) |
| 7402 | |
| 7403 | |
| 7404 | target_include_directories(minimal_stack_is_minimal_test |
| 7405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7407 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7408 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7409 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7410 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7412 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7415 | ) |
| 7416 | |
| 7417 | target_link_libraries(minimal_stack_is_minimal_test |
| 7418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7419 | grpc_test_util |
| 7420 | grpc |
| 7421 | gpr_test_util |
| 7422 | gpr |
| 7423 | ) |
| 7424 | |
| 7425 | endif (gRPC_BUILD_TESTS) |
| 7426 | if (gRPC_BUILD_TESTS) |
| 7427 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7428 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7429 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | ) |
| 7431 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7432 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7433 | target_include_directories(multiple_server_queues_test |
| 7434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7435 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7436 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7437 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7438 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7439 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7441 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7443 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7444 | ) |
| 7445 | |
| 7446 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7448 | grpc_test_util |
| 7449 | grpc |
| 7450 | gpr_test_util |
| 7451 | gpr |
| 7452 | ) |
| 7453 | |
| 7454 | endif (gRPC_BUILD_TESTS) |
| 7455 | if (gRPC_BUILD_TESTS) |
| 7456 | |
| 7457 | add_executable(murmur_hash_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7458 | test/core/support/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7459 | ) |
| 7460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7461 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7462 | target_include_directories(murmur_hash_test |
| 7463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7465 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7466 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7467 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7468 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7470 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7471 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7472 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7473 | ) |
| 7474 | |
| 7475 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7476 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7477 | gpr_test_util |
| 7478 | gpr |
| 7479 | ) |
| 7480 | |
| 7481 | endif (gRPC_BUILD_TESTS) |
| 7482 | if (gRPC_BUILD_TESTS) |
| 7483 | |
| 7484 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7485 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7486 | ) |
| 7487 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7488 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7489 | target_include_directories(no_server_test |
| 7490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7492 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7493 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7494 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7495 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7497 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7498 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7500 | ) |
| 7501 | |
| 7502 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7504 | grpc_test_util |
| 7505 | grpc |
| 7506 | gpr_test_util |
| 7507 | gpr |
| 7508 | ) |
| 7509 | |
| 7510 | endif (gRPC_BUILD_TESTS) |
| 7511 | if (gRPC_BUILD_TESTS) |
| 7512 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7513 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7514 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7515 | ) |
| 7516 | |
| 7517 | |
| 7518 | target_include_directories(num_external_connectivity_watchers_test |
| 7519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7521 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7522 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7523 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7524 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7526 | PRIVATE ${CARES_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7529 | ) |
| 7530 | |
| 7531 | target_link_libraries(num_external_connectivity_watchers_test |
| 7532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7533 | grpc_test_util |
| 7534 | grpc |
| 7535 | gpr_test_util |
| 7536 | gpr |
| 7537 | ) |
| 7538 | |
| 7539 | endif (gRPC_BUILD_TESTS) |
| 7540 | if (gRPC_BUILD_TESTS) |
| 7541 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7542 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7543 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7544 | ) |
| 7545 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7546 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7547 | target_include_directories(parse_address_test |
| 7548 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7550 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7551 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7552 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7553 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7555 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7558 | ) |
| 7559 | |
| 7560 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7562 | grpc_test_util |
| 7563 | grpc |
| 7564 | gpr_test_util |
| 7565 | gpr |
| 7566 | ) |
| 7567 | |
| 7568 | endif (gRPC_BUILD_TESTS) |
| 7569 | if (gRPC_BUILD_TESTS) |
| 7570 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7571 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7572 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7573 | ) |
| 7574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7575 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7576 | target_include_directories(percent_encoding_test |
| 7577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7579 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7580 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7581 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7582 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7584 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7586 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7587 | ) |
| 7588 | |
| 7589 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7590 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7591 | grpc_test_util |
| 7592 | grpc |
| 7593 | gpr_test_util |
| 7594 | gpr |
| 7595 | ) |
| 7596 | |
| 7597 | endif (gRPC_BUILD_TESTS) |
| 7598 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7599 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7600 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7601 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7602 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7603 | ) |
| 7604 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7605 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7606 | target_include_directories(pollset_set_test |
| 7607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7609 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7610 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7611 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7612 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7614 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7615 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7617 | ) |
| 7618 | |
| 7619 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7621 | grpc_test_util |
| 7622 | grpc |
| 7623 | gpr_test_util |
| 7624 | gpr |
| 7625 | ) |
| 7626 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7627 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7628 | endif (gRPC_BUILD_TESTS) |
| 7629 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7630 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7632 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7633 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7634 | ) |
| 7635 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7636 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7637 | target_include_directories(resolve_address_posix_test |
| 7638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7640 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7641 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7642 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7643 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7645 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7646 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7648 | ) |
| 7649 | |
| 7650 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7651 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7652 | grpc_test_util |
| 7653 | grpc |
| 7654 | gpr_test_util |
| 7655 | gpr |
| 7656 | ) |
| 7657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7658 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7659 | endif (gRPC_BUILD_TESTS) |
| 7660 | if (gRPC_BUILD_TESTS) |
| 7661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7662 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7663 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7664 | ) |
| 7665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7667 | target_include_directories(resolve_address_test |
| 7668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7670 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7672 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7673 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7675 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7678 | ) |
| 7679 | |
| 7680 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7682 | grpc_test_util |
| 7683 | grpc |
| 7684 | gpr_test_util |
| 7685 | gpr |
| 7686 | ) |
| 7687 | |
| 7688 | endif (gRPC_BUILD_TESTS) |
| 7689 | if (gRPC_BUILD_TESTS) |
| 7690 | |
| 7691 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7692 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7693 | ) |
| 7694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7695 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7696 | target_include_directories(resource_quota_test |
| 7697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7699 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7700 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7701 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7702 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7704 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7705 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7707 | ) |
| 7708 | |
| 7709 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7710 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7711 | grpc_test_util |
| 7712 | grpc |
| 7713 | gpr_test_util |
| 7714 | gpr |
| 7715 | ) |
| 7716 | |
| 7717 | endif (gRPC_BUILD_TESTS) |
| 7718 | if (gRPC_BUILD_TESTS) |
| 7719 | |
| 7720 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7721 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7722 | ) |
| 7723 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7724 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7725 | target_include_directories(secure_channel_create_test |
| 7726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7728 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7729 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7730 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7731 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7733 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7736 | ) |
| 7737 | |
| 7738 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7739 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7740 | grpc_test_util |
| 7741 | grpc |
| 7742 | gpr_test_util |
| 7743 | gpr |
| 7744 | ) |
| 7745 | |
| 7746 | endif (gRPC_BUILD_TESTS) |
| 7747 | if (gRPC_BUILD_TESTS) |
| 7748 | |
| 7749 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7750 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7751 | ) |
| 7752 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7753 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7754 | target_include_directories(secure_endpoint_test |
| 7755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7757 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7758 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7759 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7760 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7762 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7765 | ) |
| 7766 | |
| 7767 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7768 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7769 | grpc_test_util |
| 7770 | grpc |
| 7771 | gpr_test_util |
| 7772 | gpr |
| 7773 | ) |
| 7774 | |
| 7775 | endif (gRPC_BUILD_TESTS) |
| 7776 | if (gRPC_BUILD_TESTS) |
| 7777 | |
| 7778 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7779 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7780 | ) |
| 7781 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7782 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7783 | target_include_directories(sequential_connectivity_test |
| 7784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7786 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7787 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7788 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7789 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7791 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7794 | ) |
| 7795 | |
| 7796 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7798 | grpc_test_util |
| 7799 | grpc |
| 7800 | gpr_test_util |
| 7801 | gpr |
| 7802 | ) |
| 7803 | |
| 7804 | endif (gRPC_BUILD_TESTS) |
| 7805 | if (gRPC_BUILD_TESTS) |
| 7806 | |
| 7807 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7808 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7809 | ) |
| 7810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7812 | target_include_directories(server_chttp2_test |
| 7813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7815 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7816 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7817 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7818 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7820 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7823 | ) |
| 7824 | |
| 7825 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7826 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7827 | grpc_test_util |
| 7828 | grpc |
| 7829 | gpr_test_util |
| 7830 | gpr |
| 7831 | ) |
| 7832 | |
| 7833 | endif (gRPC_BUILD_TESTS) |
| 7834 | if (gRPC_BUILD_TESTS) |
| 7835 | |
| 7836 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7837 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7838 | ) |
| 7839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7841 | target_include_directories(server_test |
| 7842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7845 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7846 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7847 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7849 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7852 | ) |
| 7853 | |
| 7854 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7856 | grpc_test_util |
| 7857 | grpc |
| 7858 | gpr_test_util |
| 7859 | gpr |
| 7860 | ) |
| 7861 | |
| 7862 | endif (gRPC_BUILD_TESTS) |
| 7863 | if (gRPC_BUILD_TESTS) |
| 7864 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7865 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7866 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7867 | ) |
| 7868 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7869 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7870 | target_include_directories(slice_buffer_test |
| 7871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7873 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7874 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7875 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7876 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7878 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7881 | ) |
| 7882 | |
| 7883 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7884 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7885 | grpc_test_util |
| 7886 | grpc |
| 7887 | gpr_test_util |
| 7888 | gpr |
| 7889 | ) |
| 7890 | |
| 7891 | endif (gRPC_BUILD_TESTS) |
| 7892 | if (gRPC_BUILD_TESTS) |
| 7893 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7894 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7895 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7896 | ) |
| 7897 | |
| 7898 | |
| 7899 | target_include_directories(slice_hash_table_test |
| 7900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7902 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7904 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7905 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7907 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7910 | ) |
| 7911 | |
| 7912 | target_link_libraries(slice_hash_table_test |
| 7913 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7914 | grpc_test_util |
| 7915 | grpc |
| 7916 | gpr_test_util |
| 7917 | gpr |
| 7918 | ) |
| 7919 | |
| 7920 | endif (gRPC_BUILD_TESTS) |
| 7921 | if (gRPC_BUILD_TESTS) |
| 7922 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7923 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7924 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7925 | ) |
| 7926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7928 | target_include_directories(slice_string_helpers_test |
| 7929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7931 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7933 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7934 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7936 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7939 | ) |
| 7940 | |
| 7941 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7942 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7943 | grpc_test_util |
| 7944 | grpc |
| 7945 | gpr_test_util |
| 7946 | gpr |
| 7947 | ) |
| 7948 | |
| 7949 | endif (gRPC_BUILD_TESTS) |
| 7950 | if (gRPC_BUILD_TESTS) |
| 7951 | |
| 7952 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7953 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7954 | ) |
| 7955 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7956 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7957 | target_include_directories(slice_test |
| 7958 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7960 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7961 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7962 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7963 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7965 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7968 | ) |
| 7969 | |
| 7970 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7971 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7972 | grpc_test_util |
| 7973 | grpc |
| 7974 | gpr_test_util |
| 7975 | gpr |
| 7976 | ) |
| 7977 | |
| 7978 | endif (gRPC_BUILD_TESTS) |
| 7979 | if (gRPC_BUILD_TESTS) |
| 7980 | |
| 7981 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7982 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7983 | ) |
| 7984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7985 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7986 | target_include_directories(sockaddr_resolver_test |
| 7987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7989 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7990 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7991 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7992 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7994 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7997 | ) |
| 7998 | |
| 7999 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8000 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8001 | grpc_test_util |
| 8002 | grpc |
| 8003 | gpr_test_util |
| 8004 | gpr |
| 8005 | ) |
| 8006 | |
| 8007 | endif (gRPC_BUILD_TESTS) |
| 8008 | if (gRPC_BUILD_TESTS) |
| 8009 | |
| 8010 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8011 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8012 | ) |
| 8013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8015 | target_include_directories(sockaddr_utils_test |
| 8016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8018 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8023 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8026 | ) |
| 8027 | |
| 8028 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8030 | grpc_test_util |
| 8031 | grpc |
| 8032 | gpr_test_util |
| 8033 | gpr |
| 8034 | ) |
| 8035 | |
| 8036 | endif (gRPC_BUILD_TESTS) |
| 8037 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8038 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8039 | |
| 8040 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8041 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8042 | ) |
| 8043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8045 | target_include_directories(socket_utils_test |
| 8046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8049 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8050 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8051 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8053 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8056 | ) |
| 8057 | |
| 8058 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8059 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8060 | grpc_test_util |
| 8061 | grpc |
| 8062 | gpr_test_util |
| 8063 | gpr |
| 8064 | ) |
| 8065 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8066 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8067 | endif (gRPC_BUILD_TESTS) |
| 8068 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8069 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8070 | |
| 8071 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8072 | test/core/tsi/ssl_transport_security_test.cc |
| 8073 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8074 | ) |
| 8075 | |
| 8076 | |
| 8077 | target_include_directories(ssl_transport_security_test |
| 8078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8080 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8081 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8082 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8083 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8085 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8087 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8088 | ) |
| 8089 | |
| 8090 | target_link_libraries(ssl_transport_security_test |
| 8091 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8092 | gpr_test_util |
| 8093 | gpr |
| 8094 | grpc |
| 8095 | ) |
| 8096 | |
| 8097 | endif() |
| 8098 | endif (gRPC_BUILD_TESTS) |
| 8099 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8100 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8101 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8102 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8103 | ) |
| 8104 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8105 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8106 | target_include_directories(status_conversion_test |
| 8107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8109 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8110 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8111 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8112 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8114 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8117 | ) |
| 8118 | |
| 8119 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8120 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8121 | grpc_test_util |
| 8122 | grpc |
| 8123 | gpr_test_util |
| 8124 | gpr |
| 8125 | ) |
| 8126 | |
| 8127 | endif (gRPC_BUILD_TESTS) |
| 8128 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8129 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8130 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8131 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8132 | ) |
| 8133 | |
| 8134 | |
| 8135 | target_include_directories(stream_compression_test |
| 8136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8138 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8139 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8140 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8141 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8143 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8144 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8146 | ) |
| 8147 | |
| 8148 | target_link_libraries(stream_compression_test |
| 8149 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8150 | grpc_test_util |
| 8151 | grpc |
| 8152 | gpr_test_util |
| 8153 | gpr |
| 8154 | ) |
| 8155 | |
| 8156 | endif (gRPC_BUILD_TESTS) |
| 8157 | if (gRPC_BUILD_TESTS) |
| 8158 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8159 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8160 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8161 | ) |
| 8162 | |
| 8163 | |
| 8164 | target_include_directories(stream_owned_slice_test |
| 8165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8167 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8168 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8169 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8170 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8172 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8174 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8175 | ) |
| 8176 | |
| 8177 | target_link_libraries(stream_owned_slice_test |
| 8178 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8179 | grpc_test_util |
| 8180 | grpc |
| 8181 | gpr_test_util |
| 8182 | gpr |
| 8183 | ) |
| 8184 | |
| 8185 | endif (gRPC_BUILD_TESTS) |
| 8186 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8187 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8188 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8189 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8190 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8191 | ) |
| 8192 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8193 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8194 | target_include_directories(tcp_client_posix_test |
| 8195 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8197 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8198 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8199 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8200 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8202 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8205 | ) |
| 8206 | |
| 8207 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8208 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8209 | grpc_test_util |
| 8210 | grpc |
| 8211 | gpr_test_util |
| 8212 | gpr |
| 8213 | ) |
| 8214 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8215 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8216 | endif (gRPC_BUILD_TESTS) |
| 8217 | if (gRPC_BUILD_TESTS) |
| 8218 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8219 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8220 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8221 | ) |
| 8222 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8223 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8224 | target_include_directories(tcp_client_uv_test |
| 8225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8227 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8228 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8229 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8230 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8232 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8235 | ) |
| 8236 | |
| 8237 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8239 | grpc_test_util |
| 8240 | grpc |
| 8241 | gpr_test_util |
| 8242 | gpr |
| 8243 | ) |
| 8244 | |
| 8245 | endif (gRPC_BUILD_TESTS) |
| 8246 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8247 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8248 | |
| 8249 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8250 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8251 | ) |
| 8252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8254 | target_include_directories(tcp_posix_test |
| 8255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8257 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8258 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8259 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8260 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8262 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8265 | ) |
| 8266 | |
| 8267 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8269 | grpc_test_util |
| 8270 | grpc |
| 8271 | gpr_test_util |
| 8272 | gpr |
| 8273 | ) |
| 8274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8275 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8276 | endif (gRPC_BUILD_TESTS) |
| 8277 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8278 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8279 | |
| 8280 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8281 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8282 | ) |
| 8283 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8285 | target_include_directories(tcp_server_posix_test |
| 8286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8288 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8289 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8290 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8291 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8293 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8294 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8296 | ) |
| 8297 | |
| 8298 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8299 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8300 | grpc_test_util |
| 8301 | grpc |
| 8302 | gpr_test_util |
| 8303 | gpr |
| 8304 | ) |
| 8305 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8306 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8307 | endif (gRPC_BUILD_TESTS) |
| 8308 | if (gRPC_BUILD_TESTS) |
| 8309 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8310 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8311 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8312 | ) |
| 8313 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8314 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8315 | target_include_directories(tcp_server_uv_test |
| 8316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8318 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8319 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8320 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8321 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8323 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8326 | ) |
| 8327 | |
| 8328 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8330 | grpc_test_util |
| 8331 | grpc |
| 8332 | gpr_test_util |
| 8333 | gpr |
| 8334 | ) |
| 8335 | |
| 8336 | endif (gRPC_BUILD_TESTS) |
| 8337 | if (gRPC_BUILD_TESTS) |
| 8338 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8339 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8340 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8341 | ) |
| 8342 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8344 | target_include_directories(time_averaged_stats_test |
| 8345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8347 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8348 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8349 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8350 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8352 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8355 | ) |
| 8356 | |
| 8357 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8358 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8359 | grpc_test_util |
| 8360 | grpc |
| 8361 | gpr_test_util |
| 8362 | gpr |
| 8363 | ) |
| 8364 | |
| 8365 | endif (gRPC_BUILD_TESTS) |
| 8366 | if (gRPC_BUILD_TESTS) |
| 8367 | |
| 8368 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8369 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8370 | ) |
| 8371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8373 | target_include_directories(timeout_encoding_test |
| 8374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8376 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8377 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8378 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8379 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8381 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8384 | ) |
| 8385 | |
| 8386 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8388 | grpc_test_util |
| 8389 | grpc |
| 8390 | gpr_test_util |
| 8391 | gpr |
| 8392 | ) |
| 8393 | |
| 8394 | endif (gRPC_BUILD_TESTS) |
| 8395 | if (gRPC_BUILD_TESTS) |
| 8396 | |
| 8397 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8398 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8399 | ) |
| 8400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8401 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8402 | target_include_directories(timer_heap_test |
| 8403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8405 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8406 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8407 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8408 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8410 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8413 | ) |
| 8414 | |
| 8415 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8416 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8417 | grpc_test_util |
| 8418 | grpc |
| 8419 | gpr_test_util |
| 8420 | gpr |
| 8421 | ) |
| 8422 | |
| 8423 | endif (gRPC_BUILD_TESTS) |
| 8424 | if (gRPC_BUILD_TESTS) |
| 8425 | |
| 8426 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8427 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8428 | ) |
| 8429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8430 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8431 | target_include_directories(timer_list_test |
| 8432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8434 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8439 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8442 | ) |
| 8443 | |
| 8444 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8446 | grpc_test_util |
| 8447 | grpc |
| 8448 | gpr_test_util |
| 8449 | gpr |
| 8450 | ) |
| 8451 | |
| 8452 | endif (gRPC_BUILD_TESTS) |
| 8453 | if (gRPC_BUILD_TESTS) |
| 8454 | |
| 8455 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8456 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8457 | ) |
| 8458 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8459 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8460 | target_include_directories(transport_connectivity_state_test |
| 8461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8463 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8464 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8468 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8471 | ) |
| 8472 | |
| 8473 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8475 | grpc_test_util |
| 8476 | grpc |
| 8477 | gpr_test_util |
| 8478 | gpr |
| 8479 | ) |
| 8480 | |
| 8481 | endif (gRPC_BUILD_TESTS) |
| 8482 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8483 | |
| 8484 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8485 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8486 | ) |
| 8487 | |
| 8488 | |
| 8489 | target_include_directories(transport_metadata_test |
| 8490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8492 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8493 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8494 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8495 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8497 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8498 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8500 | ) |
| 8501 | |
| 8502 | target_link_libraries(transport_metadata_test |
| 8503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8504 | grpc_test_util |
| 8505 | grpc |
| 8506 | gpr_test_util |
| 8507 | gpr |
| 8508 | ) |
| 8509 | |
| 8510 | endif (gRPC_BUILD_TESTS) |
| 8511 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8512 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8513 | |
| 8514 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8515 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8516 | ) |
| 8517 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8518 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8519 | target_include_directories(transport_security_test |
| 8520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8522 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8523 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8524 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8525 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8527 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8530 | ) |
| 8531 | |
| 8532 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8533 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8534 | grpc_test_util |
| 8535 | grpc |
| 8536 | gpr_test_util |
| 8537 | gpr |
| 8538 | ) |
| 8539 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8540 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8541 | endif (gRPC_BUILD_TESTS) |
| 8542 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8543 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8544 | |
| 8545 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8546 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8547 | ) |
| 8548 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8549 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8550 | target_include_directories(udp_server_test |
| 8551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8553 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8554 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8555 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8556 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8558 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8561 | ) |
| 8562 | |
| 8563 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8565 | grpc_test_util |
| 8566 | grpc |
| 8567 | gpr_test_util |
| 8568 | gpr |
| 8569 | ) |
| 8570 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8571 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8572 | endif (gRPC_BUILD_TESTS) |
| 8573 | if (gRPC_BUILD_TESTS) |
| 8574 | |
| 8575 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8576 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8577 | ) |
| 8578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8579 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8580 | target_include_directories(uri_parser_test |
| 8581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8583 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8584 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8585 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8586 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8588 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8591 | ) |
| 8592 | |
| 8593 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8595 | grpc_test_util |
| 8596 | grpc |
| 8597 | gpr_test_util |
| 8598 | gpr |
| 8599 | ) |
| 8600 | |
| 8601 | endif (gRPC_BUILD_TESTS) |
| 8602 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8604 | |
| 8605 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8606 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8607 | ) |
| 8608 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8609 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8610 | target_include_directories(wakeup_fd_cv_test |
| 8611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8613 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8614 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8615 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8616 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8618 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8620 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8621 | ) |
| 8622 | |
| 8623 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8625 | grpc_test_util |
| 8626 | grpc |
| 8627 | gpr_test_util |
| 8628 | gpr |
| 8629 | ) |
| 8630 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8631 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8632 | endif (gRPC_BUILD_TESTS) |
| 8633 | if (gRPC_BUILD_TESTS) |
| 8634 | |
| 8635 | add_executable(alarm_cpp_test |
| 8636 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8637 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8638 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8639 | ) |
| 8640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8641 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8642 | target_include_directories(alarm_cpp_test |
| 8643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8645 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8646 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8647 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8648 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8650 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8653 | PRIVATE third_party/googletest/googletest/include |
| 8654 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8655 | PRIVATE third_party/googletest/googlemock/include |
| 8656 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8657 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8658 | ) |
| 8659 | |
| 8660 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8661 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8663 | grpc++_test_util_unsecure |
| 8664 | grpc_test_util_unsecure |
| 8665 | grpc++_unsecure |
| 8666 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8667 | gpr_test_util |
| 8668 | gpr |
| 8669 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8670 | ) |
| 8671 | |
| 8672 | endif (gRPC_BUILD_TESTS) |
| 8673 | if (gRPC_BUILD_TESTS) |
| 8674 | |
| 8675 | add_executable(async_end2end_test |
| 8676 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8677 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8678 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8679 | ) |
| 8680 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8681 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8682 | target_include_directories(async_end2end_test |
| 8683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8685 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8686 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8687 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8688 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8690 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8693 | PRIVATE third_party/googletest/googletest/include |
| 8694 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8695 | PRIVATE third_party/googletest/googlemock/include |
| 8696 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8697 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8698 | ) |
| 8699 | |
| 8700 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8701 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8703 | grpc++_test_util |
| 8704 | grpc_test_util |
| 8705 | grpc++ |
| 8706 | grpc |
| 8707 | gpr_test_util |
| 8708 | gpr |
| 8709 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8710 | ) |
| 8711 | |
| 8712 | endif (gRPC_BUILD_TESTS) |
| 8713 | if (gRPC_BUILD_TESTS) |
| 8714 | |
| 8715 | add_executable(auth_property_iterator_test |
| 8716 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8717 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8718 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8719 | ) |
| 8720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8721 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8722 | target_include_directories(auth_property_iterator_test |
| 8723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8724 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8725 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8726 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8727 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8728 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8729 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8730 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8733 | PRIVATE third_party/googletest/googletest/include |
| 8734 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8735 | PRIVATE third_party/googletest/googlemock/include |
| 8736 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8737 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8738 | ) |
| 8739 | |
| 8740 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8741 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8742 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8743 | grpc++_test_util |
| 8744 | grpc_test_util |
| 8745 | grpc++ |
| 8746 | grpc |
| 8747 | gpr_test_util |
| 8748 | gpr |
| 8749 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8750 | ) |
| 8751 | |
| 8752 | endif (gRPC_BUILD_TESTS) |
| 8753 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8754 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8755 | add_executable(backoff_test |
| 8756 | test/core/backoff/backoff_test.cc |
| 8757 | third_party/googletest/googletest/src/gtest-all.cc |
| 8758 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8759 | ) |
| 8760 | |
| 8761 | |
| 8762 | target_include_directories(backoff_test |
| 8763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 8765 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8766 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8767 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8768 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8770 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8773 | PRIVATE third_party/googletest/googletest/include |
| 8774 | PRIVATE third_party/googletest/googletest |
| 8775 | PRIVATE third_party/googletest/googlemock/include |
| 8776 | PRIVATE third_party/googletest/googlemock |
| 8777 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8778 | ) |
| 8779 | |
| 8780 | target_link_libraries(backoff_test |
| 8781 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8783 | grpc_test_util |
| 8784 | grpc |
| 8785 | gpr_test_util |
| 8786 | gpr |
| 8787 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8788 | ) |
| 8789 | |
| 8790 | endif (gRPC_BUILD_TESTS) |
| 8791 | if (gRPC_BUILD_TESTS) |
| 8792 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8793 | add_executable(bdp_estimator_test |
| 8794 | test/core/transport/bdp_estimator_test.cc |
| 8795 | third_party/googletest/googletest/src/gtest-all.cc |
| 8796 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8797 | ) |
| 8798 | |
| 8799 | |
| 8800 | target_include_directories(bdp_estimator_test |
| 8801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8804 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8805 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8806 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8808 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8811 | PRIVATE third_party/googletest/googletest/include |
| 8812 | PRIVATE third_party/googletest/googletest |
| 8813 | PRIVATE third_party/googletest/googlemock/include |
| 8814 | PRIVATE third_party/googletest/googlemock |
| 8815 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8816 | ) |
| 8817 | |
| 8818 | target_link_libraries(bdp_estimator_test |
| 8819 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8821 | grpc++_test_util |
| 8822 | grpc++ |
| 8823 | grpc_test_util |
| 8824 | grpc |
| 8825 | gpr_test_util |
| 8826 | gpr |
| 8827 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8828 | ) |
| 8829 | |
| 8830 | endif (gRPC_BUILD_TESTS) |
| 8831 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8832 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8833 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8834 | add_executable(bm_arena |
| 8835 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8836 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8837 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8838 | ) |
| 8839 | |
| 8840 | |
| 8841 | target_include_directories(bm_arena |
| 8842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8844 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8845 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8846 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8847 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8849 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8852 | PRIVATE third_party/googletest/googletest/include |
| 8853 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8854 | PRIVATE third_party/googletest/googlemock/include |
| 8855 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8856 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8857 | ) |
| 8858 | |
| 8859 | target_link_libraries(bm_arena |
| 8860 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8861 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8862 | grpc_benchmark |
| 8863 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8864 | grpc++_test_util_unsecure |
| 8865 | grpc_test_util_unsecure |
| 8866 | grpc++_unsecure |
| 8867 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8868 | gpr_test_util |
| 8869 | gpr |
| 8870 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8871 | ) |
| 8872 | |
| 8873 | endif() |
| 8874 | endif (gRPC_BUILD_TESTS) |
| 8875 | if (gRPC_BUILD_TESTS) |
| 8876 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8877 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8878 | add_executable(bm_call_create |
| 8879 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8880 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8881 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8882 | ) |
| 8883 | |
| 8884 | |
| 8885 | target_include_directories(bm_call_create |
| 8886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8888 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8889 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8891 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8893 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8896 | PRIVATE third_party/googletest/googletest/include |
| 8897 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8898 | PRIVATE third_party/googletest/googlemock/include |
| 8899 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8900 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8901 | ) |
| 8902 | |
| 8903 | target_link_libraries(bm_call_create |
| 8904 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8905 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8906 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8907 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8908 | grpc++_test_util_unsecure |
| 8909 | grpc_test_util_unsecure |
| 8910 | grpc++_unsecure |
| 8911 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8912 | gpr_test_util |
| 8913 | gpr |
| 8914 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8915 | ) |
| 8916 | |
| 8917 | endif() |
| 8918 | endif (gRPC_BUILD_TESTS) |
| 8919 | if (gRPC_BUILD_TESTS) |
| 8920 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8921 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8922 | add_executable(bm_chttp2_hpack |
| 8923 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8924 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8925 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8926 | ) |
| 8927 | |
| 8928 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8929 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8933 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8934 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8935 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8937 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8940 | PRIVATE third_party/googletest/googletest/include |
| 8941 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8942 | PRIVATE third_party/googletest/googlemock/include |
| 8943 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8944 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8945 | ) |
| 8946 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8947 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8948 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8950 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8951 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8952 | grpc++_test_util_unsecure |
| 8953 | grpc_test_util_unsecure |
| 8954 | grpc++_unsecure |
| 8955 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8956 | gpr_test_util |
| 8957 | gpr |
| 8958 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8959 | ) |
| 8960 | |
| 8961 | endif() |
| 8962 | endif (gRPC_BUILD_TESTS) |
| 8963 | if (gRPC_BUILD_TESTS) |
| 8964 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8965 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8966 | add_executable(bm_chttp2_transport |
| 8967 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8968 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8969 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8970 | ) |
| 8971 | |
| 8972 | |
| 8973 | target_include_directories(bm_chttp2_transport |
| 8974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8976 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8977 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8978 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8979 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 8981 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 8982 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8984 | PRIVATE third_party/googletest/googletest/include |
| 8985 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8986 | PRIVATE third_party/googletest/googlemock/include |
| 8987 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8988 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8989 | ) |
| 8990 | |
| 8991 | target_link_libraries(bm_chttp2_transport |
| 8992 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8994 | grpc_benchmark |
| 8995 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8996 | grpc++_test_util_unsecure |
| 8997 | grpc_test_util_unsecure |
| 8998 | grpc++_unsecure |
| 8999 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9000 | gpr_test_util |
| 9001 | gpr |
| 9002 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9003 | ) |
| 9004 | |
| 9005 | endif() |
| 9006 | endif (gRPC_BUILD_TESTS) |
| 9007 | if (gRPC_BUILD_TESTS) |
| 9008 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9009 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9010 | add_executable(bm_closure |
| 9011 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9012 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9013 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9014 | ) |
| 9015 | |
| 9016 | |
| 9017 | target_include_directories(bm_closure |
| 9018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9020 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9021 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9022 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9023 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9025 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9028 | PRIVATE third_party/googletest/googletest/include |
| 9029 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9030 | PRIVATE third_party/googletest/googlemock/include |
| 9031 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9032 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9033 | ) |
| 9034 | |
| 9035 | target_link_libraries(bm_closure |
| 9036 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9037 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9038 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9039 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9040 | grpc++_test_util_unsecure |
| 9041 | grpc_test_util_unsecure |
| 9042 | grpc++_unsecure |
| 9043 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9044 | gpr_test_util |
| 9045 | gpr |
| 9046 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9047 | ) |
| 9048 | |
| 9049 | endif() |
| 9050 | endif (gRPC_BUILD_TESTS) |
| 9051 | if (gRPC_BUILD_TESTS) |
| 9052 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9053 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9054 | add_executable(bm_cq |
| 9055 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9056 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9057 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9058 | ) |
| 9059 | |
| 9060 | |
| 9061 | target_include_directories(bm_cq |
| 9062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9064 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9065 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9066 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9067 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9069 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9072 | PRIVATE third_party/googletest/googletest/include |
| 9073 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9074 | PRIVATE third_party/googletest/googlemock/include |
| 9075 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9076 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9077 | ) |
| 9078 | |
| 9079 | target_link_libraries(bm_cq |
| 9080 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9082 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9083 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9084 | grpc++_test_util_unsecure |
| 9085 | grpc_test_util_unsecure |
| 9086 | grpc++_unsecure |
| 9087 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9088 | gpr_test_util |
| 9089 | gpr |
| 9090 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9091 | ) |
| 9092 | |
| 9093 | endif() |
| 9094 | endif (gRPC_BUILD_TESTS) |
| 9095 | if (gRPC_BUILD_TESTS) |
| 9096 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9097 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9098 | add_executable(bm_cq_multiple_threads |
| 9099 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9100 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9101 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9102 | ) |
| 9103 | |
| 9104 | |
| 9105 | target_include_directories(bm_cq_multiple_threads |
| 9106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9108 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9109 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9110 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9111 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9113 | PRIVATE ${CARES_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9116 | PRIVATE third_party/googletest/googletest/include |
| 9117 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9118 | PRIVATE third_party/googletest/googlemock/include |
| 9119 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9120 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9121 | ) |
| 9122 | |
| 9123 | target_link_libraries(bm_cq_multiple_threads |
| 9124 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9125 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9126 | grpc_benchmark |
| 9127 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9128 | grpc++_test_util_unsecure |
| 9129 | grpc_test_util_unsecure |
| 9130 | grpc++_unsecure |
| 9131 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9132 | gpr_test_util |
| 9133 | gpr |
| 9134 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9135 | ) |
| 9136 | |
| 9137 | endif() |
| 9138 | endif (gRPC_BUILD_TESTS) |
| 9139 | if (gRPC_BUILD_TESTS) |
| 9140 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9141 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9142 | add_executable(bm_error |
| 9143 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9144 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9145 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9146 | ) |
| 9147 | |
| 9148 | |
| 9149 | target_include_directories(bm_error |
| 9150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9152 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9153 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9154 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9155 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9157 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9160 | PRIVATE third_party/googletest/googletest/include |
| 9161 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9162 | PRIVATE third_party/googletest/googlemock/include |
| 9163 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9164 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9165 | ) |
| 9166 | |
| 9167 | target_link_libraries(bm_error |
| 9168 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9170 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9171 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9172 | grpc++_test_util_unsecure |
| 9173 | grpc_test_util_unsecure |
| 9174 | grpc++_unsecure |
| 9175 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9176 | gpr_test_util |
| 9177 | gpr |
| 9178 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9179 | ) |
| 9180 | |
| 9181 | endif() |
| 9182 | endif (gRPC_BUILD_TESTS) |
| 9183 | if (gRPC_BUILD_TESTS) |
| 9184 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9185 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9186 | add_executable(bm_fullstack_streaming_ping_pong |
| 9187 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9188 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9189 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9190 | ) |
| 9191 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9192 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9193 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9194 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9195 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9196 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9197 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9198 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9199 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9201 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9204 | PRIVATE third_party/googletest/googletest/include |
| 9205 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9206 | PRIVATE third_party/googletest/googlemock/include |
| 9207 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9208 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9209 | ) |
| 9210 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9211 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9212 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9214 | grpc_benchmark |
| 9215 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9216 | grpc++_test_util_unsecure |
| 9217 | grpc_test_util_unsecure |
| 9218 | grpc++_unsecure |
| 9219 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9220 | gpr_test_util |
| 9221 | gpr |
| 9222 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9223 | ) |
| 9224 | |
| 9225 | endif() |
| 9226 | endif (gRPC_BUILD_TESTS) |
| 9227 | if (gRPC_BUILD_TESTS) |
| 9228 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9229 | |
| 9230 | add_executable(bm_fullstack_streaming_pump |
| 9231 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9232 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9233 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9234 | ) |
| 9235 | |
| 9236 | |
| 9237 | target_include_directories(bm_fullstack_streaming_pump |
| 9238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9240 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9241 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9242 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9243 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9245 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9248 | PRIVATE third_party/googletest/googletest/include |
| 9249 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9250 | PRIVATE third_party/googletest/googlemock/include |
| 9251 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9252 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9253 | ) |
| 9254 | |
| 9255 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9256 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9258 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9259 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9260 | grpc++_test_util_unsecure |
| 9261 | grpc_test_util_unsecure |
| 9262 | grpc++_unsecure |
| 9263 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9264 | gpr_test_util |
| 9265 | gpr |
| 9266 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9267 | ) |
| 9268 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9269 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9270 | endif (gRPC_BUILD_TESTS) |
| 9271 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9272 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9273 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9274 | add_executable(bm_fullstack_trickle |
| 9275 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9276 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9277 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9278 | ) |
| 9279 | |
| 9280 | |
| 9281 | target_include_directories(bm_fullstack_trickle |
| 9282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9283 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9284 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9285 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9286 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9287 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9289 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9292 | PRIVATE third_party/googletest/googletest/include |
| 9293 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9294 | PRIVATE third_party/googletest/googlemock/include |
| 9295 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9296 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9297 | ) |
| 9298 | |
| 9299 | target_link_libraries(bm_fullstack_trickle |
| 9300 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9301 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9302 | grpc_benchmark |
| 9303 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9304 | grpc++_test_util_unsecure |
| 9305 | grpc_test_util_unsecure |
| 9306 | grpc++_unsecure |
| 9307 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9308 | gpr_test_util |
| 9309 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 9310 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9311 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9312 | ) |
| 9313 | |
| 9314 | endif() |
| 9315 | endif (gRPC_BUILD_TESTS) |
| 9316 | if (gRPC_BUILD_TESTS) |
| 9317 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9318 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9319 | add_executable(bm_fullstack_unary_ping_pong |
| 9320 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9321 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9322 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9323 | ) |
| 9324 | |
| 9325 | |
| 9326 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9329 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9330 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9331 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9332 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9334 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9337 | PRIVATE third_party/googletest/googletest/include |
| 9338 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9339 | PRIVATE third_party/googletest/googlemock/include |
| 9340 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9341 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9342 | ) |
| 9343 | |
| 9344 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9345 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9346 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9347 | grpc_benchmark |
| 9348 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9349 | grpc++_test_util_unsecure |
| 9350 | grpc_test_util_unsecure |
| 9351 | grpc++_unsecure |
| 9352 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9353 | gpr_test_util |
| 9354 | gpr |
| 9355 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9356 | ) |
| 9357 | |
| 9358 | endif() |
| 9359 | endif (gRPC_BUILD_TESTS) |
| 9360 | if (gRPC_BUILD_TESTS) |
| 9361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9362 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9363 | add_executable(bm_metadata |
| 9364 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9365 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9366 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9367 | ) |
| 9368 | |
| 9369 | |
| 9370 | target_include_directories(bm_metadata |
| 9371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9373 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9374 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9375 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9376 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9378 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9381 | PRIVATE third_party/googletest/googletest/include |
| 9382 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9383 | PRIVATE third_party/googletest/googlemock/include |
| 9384 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9385 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9386 | ) |
| 9387 | |
| 9388 | target_link_libraries(bm_metadata |
| 9389 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9390 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9391 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9392 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9393 | grpc++_test_util_unsecure |
| 9394 | grpc_test_util_unsecure |
| 9395 | grpc++_unsecure |
| 9396 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9397 | gpr_test_util |
| 9398 | gpr |
| 9399 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9400 | ) |
| 9401 | |
| 9402 | endif() |
| 9403 | endif (gRPC_BUILD_TESTS) |
| 9404 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9405 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9406 | |
| 9407 | add_executable(bm_pollset |
| 9408 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9409 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9410 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9411 | ) |
| 9412 | |
| 9413 | |
| 9414 | target_include_directories(bm_pollset |
| 9415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9417 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9418 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9419 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9420 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9422 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9425 | PRIVATE third_party/googletest/googletest/include |
| 9426 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9427 | PRIVATE third_party/googletest/googlemock/include |
| 9428 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9429 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9430 | ) |
| 9431 | |
| 9432 | target_link_libraries(bm_pollset |
| 9433 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9434 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9435 | grpc_benchmark |
| 9436 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9437 | grpc++_test_util_unsecure |
| 9438 | grpc_test_util_unsecure |
| 9439 | grpc++_unsecure |
| 9440 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9441 | gpr_test_util |
| 9442 | gpr |
| 9443 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9444 | ) |
| 9445 | |
| 9446 | endif() |
| 9447 | endif (gRPC_BUILD_TESTS) |
| 9448 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9449 | |
| 9450 | add_executable(channel_arguments_test |
| 9451 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9452 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9453 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9454 | ) |
| 9455 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9456 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9457 | target_include_directories(channel_arguments_test |
| 9458 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9460 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9461 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9462 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9463 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9465 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9466 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9468 | PRIVATE third_party/googletest/googletest/include |
| 9469 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9470 | PRIVATE third_party/googletest/googlemock/include |
| 9471 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9472 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9473 | ) |
| 9474 | |
| 9475 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9476 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9478 | grpc++ |
| 9479 | grpc |
| 9480 | gpr |
| 9481 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9482 | ) |
| 9483 | |
| 9484 | endif (gRPC_BUILD_TESTS) |
| 9485 | if (gRPC_BUILD_TESTS) |
| 9486 | |
| 9487 | add_executable(channel_filter_test |
| 9488 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9489 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9490 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9491 | ) |
| 9492 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9493 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9494 | target_include_directories(channel_filter_test |
| 9495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9497 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9498 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9499 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9500 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9501 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9502 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9505 | PRIVATE third_party/googletest/googletest/include |
| 9506 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9507 | PRIVATE third_party/googletest/googlemock/include |
| 9508 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9509 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9510 | ) |
| 9511 | |
| 9512 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9513 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9514 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9515 | grpc++ |
| 9516 | grpc |
| 9517 | gpr |
| 9518 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9519 | ) |
| 9520 | |
| 9521 | endif (gRPC_BUILD_TESTS) |
| 9522 | if (gRPC_BUILD_TESTS) |
| 9523 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9524 | add_executable(chttp2_settings_timeout_test |
| 9525 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9526 | third_party/googletest/googletest/src/gtest-all.cc |
| 9527 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9528 | ) |
| 9529 | |
| 9530 | |
| 9531 | target_include_directories(chttp2_settings_timeout_test |
| 9532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9534 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9539 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9542 | PRIVATE third_party/googletest/googletest/include |
| 9543 | PRIVATE third_party/googletest/googletest |
| 9544 | PRIVATE third_party/googletest/googlemock/include |
| 9545 | PRIVATE third_party/googletest/googlemock |
| 9546 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9547 | ) |
| 9548 | |
| 9549 | target_link_libraries(chttp2_settings_timeout_test |
| 9550 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9552 | grpc_test_util |
| 9553 | grpc |
| 9554 | gpr_test_util |
| 9555 | gpr |
| 9556 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9557 | ) |
| 9558 | |
| 9559 | endif (gRPC_BUILD_TESTS) |
| 9560 | if (gRPC_BUILD_TESTS) |
| 9561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9562 | add_executable(cli_call_test |
| 9563 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9564 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9565 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9566 | ) |
| 9567 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9568 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9569 | target_include_directories(cli_call_test |
| 9570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9572 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9573 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9574 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9575 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9577 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9580 | PRIVATE third_party/googletest/googletest/include |
| 9581 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9582 | PRIVATE third_party/googletest/googlemock/include |
| 9583 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9584 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9585 | ) |
| 9586 | |
| 9587 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9588 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9590 | grpc_cli_libs |
| 9591 | grpc++_test_util |
| 9592 | grpc_test_util |
| 9593 | grpc++ |
| 9594 | grpc |
| 9595 | gpr_test_util |
| 9596 | gpr |
| 9597 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9598 | ) |
| 9599 | |
| 9600 | endif (gRPC_BUILD_TESTS) |
| 9601 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9602 | |
| 9603 | add_executable(client_channel_stress_test |
| 9604 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9605 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9606 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9607 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9608 | test/cpp/client/client_channel_stress_test.cc |
| 9609 | third_party/googletest/googletest/src/gtest-all.cc |
| 9610 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9611 | ) |
| 9612 | |
| 9613 | protobuf_generate_grpc_cpp( |
| 9614 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9615 | ) |
| 9616 | |
| 9617 | target_include_directories(client_channel_stress_test |
| 9618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9620 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9621 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9622 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9623 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9625 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9628 | PRIVATE third_party/googletest/googletest/include |
| 9629 | PRIVATE third_party/googletest/googletest |
| 9630 | PRIVATE third_party/googletest/googlemock/include |
| 9631 | PRIVATE third_party/googletest/googlemock |
| 9632 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9633 | ) |
| 9634 | |
| 9635 | target_link_libraries(client_channel_stress_test |
| 9636 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9638 | grpc++_test_util |
| 9639 | grpc_test_util |
| 9640 | grpc++ |
| 9641 | grpc |
| 9642 | gpr_test_util |
| 9643 | gpr |
| 9644 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9645 | ) |
| 9646 | |
| 9647 | endif (gRPC_BUILD_TESTS) |
| 9648 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9649 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9650 | |
| 9651 | add_executable(client_crash_test |
| 9652 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9653 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9654 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9655 | ) |
| 9656 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9657 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9658 | target_include_directories(client_crash_test |
| 9659 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9661 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9662 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9663 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9664 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9666 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9669 | PRIVATE third_party/googletest/googletest/include |
| 9670 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9671 | PRIVATE third_party/googletest/googlemock/include |
| 9672 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9673 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9674 | ) |
| 9675 | |
| 9676 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9677 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9678 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9679 | grpc++_test_util |
| 9680 | grpc_test_util |
| 9681 | grpc++ |
| 9682 | grpc |
| 9683 | gpr_test_util |
| 9684 | gpr |
| 9685 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9686 | ) |
| 9687 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9688 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9689 | endif (gRPC_BUILD_TESTS) |
| 9690 | if (gRPC_BUILD_TESTS) |
| 9691 | |
| 9692 | add_executable(client_crash_test_server |
| 9693 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9694 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9695 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9696 | ) |
| 9697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9699 | target_include_directories(client_crash_test_server |
| 9700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9702 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9703 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9704 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9705 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9707 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9710 | PRIVATE third_party/googletest/googletest/include |
| 9711 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9712 | PRIVATE third_party/googletest/googlemock/include |
| 9713 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9714 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9715 | ) |
| 9716 | |
| 9717 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9718 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9719 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9720 | grpc++_test_util |
| 9721 | grpc_test_util |
| 9722 | grpc++ |
| 9723 | grpc |
| 9724 | gpr_test_util |
| 9725 | gpr |
| 9726 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9727 | ) |
| 9728 | |
| 9729 | endif (gRPC_BUILD_TESTS) |
| 9730 | if (gRPC_BUILD_TESTS) |
| 9731 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9732 | add_executable(client_lb_end2end_test |
| 9733 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9734 | third_party/googletest/googletest/src/gtest-all.cc |
| 9735 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9736 | ) |
| 9737 | |
| 9738 | |
| 9739 | target_include_directories(client_lb_end2end_test |
| 9740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9741 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9742 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9743 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9744 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9745 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9746 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9747 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9750 | PRIVATE third_party/googletest/googletest/include |
| 9751 | PRIVATE third_party/googletest/googletest |
| 9752 | PRIVATE third_party/googletest/googlemock/include |
| 9753 | PRIVATE third_party/googletest/googlemock |
| 9754 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9755 | ) |
| 9756 | |
| 9757 | target_link_libraries(client_lb_end2end_test |
| 9758 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9760 | grpc++_test_util |
| 9761 | grpc_test_util |
| 9762 | grpc++ |
| 9763 | grpc |
| 9764 | gpr_test_util |
| 9765 | gpr |
| 9766 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9767 | ) |
| 9768 | |
| 9769 | endif (gRPC_BUILD_TESTS) |
| 9770 | if (gRPC_BUILD_TESTS) |
| 9771 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9772 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9777 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9778 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9779 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9780 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9781 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9782 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9783 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9784 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9785 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9786 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9787 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9788 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9789 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9790 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9791 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9792 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9793 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9794 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9795 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9796 | ) |
| 9797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9798 | protobuf_generate_grpc_cpp( |
| 9799 | src/proto/grpc/testing/control.proto |
| 9800 | ) |
| 9801 | protobuf_generate_grpc_cpp( |
| 9802 | src/proto/grpc/testing/messages.proto |
| 9803 | ) |
| 9804 | protobuf_generate_grpc_cpp( |
| 9805 | src/proto/grpc/testing/payloads.proto |
| 9806 | ) |
| 9807 | protobuf_generate_grpc_cpp( |
| 9808 | src/proto/grpc/testing/services.proto |
| 9809 | ) |
| 9810 | protobuf_generate_grpc_cpp( |
| 9811 | src/proto/grpc/testing/stats.proto |
| 9812 | ) |
| 9813 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9814 | target_include_directories(codegen_test_full |
| 9815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9816 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9817 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9819 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9820 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9822 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9825 | PRIVATE third_party/googletest/googletest/include |
| 9826 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9827 | PRIVATE third_party/googletest/googlemock/include |
| 9828 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9829 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9830 | ) |
| 9831 | |
| 9832 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9833 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9834 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9835 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9836 | grpc++ |
| 9837 | grpc |
| 9838 | gpr |
| 9839 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9840 | ) |
| 9841 | |
| 9842 | endif (gRPC_BUILD_TESTS) |
| 9843 | if (gRPC_BUILD_TESTS) |
| 9844 | |
| 9845 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9846 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9847 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9848 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9849 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9850 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9851 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9852 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9853 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9866 | test/cpp/codegen/codegen_test_minimal.cc |
| 9867 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9868 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9869 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9870 | ) |
| 9871 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9872 | protobuf_generate_grpc_cpp( |
| 9873 | src/proto/grpc/testing/control.proto |
| 9874 | ) |
| 9875 | protobuf_generate_grpc_cpp( |
| 9876 | src/proto/grpc/testing/messages.proto |
| 9877 | ) |
| 9878 | protobuf_generate_grpc_cpp( |
| 9879 | src/proto/grpc/testing/payloads.proto |
| 9880 | ) |
| 9881 | protobuf_generate_grpc_cpp( |
| 9882 | src/proto/grpc/testing/services.proto |
| 9883 | ) |
| 9884 | protobuf_generate_grpc_cpp( |
| 9885 | src/proto/grpc/testing/stats.proto |
| 9886 | ) |
| 9887 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9888 | target_include_directories(codegen_test_minimal |
| 9889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9891 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9892 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9893 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9894 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9896 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9899 | PRIVATE third_party/googletest/googletest/include |
| 9900 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9901 | PRIVATE third_party/googletest/googlemock/include |
| 9902 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9903 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9904 | ) |
| 9905 | |
| 9906 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9907 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9909 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9910 | grpc |
| 9911 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9912 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9913 | ) |
| 9914 | |
| 9915 | endif (gRPC_BUILD_TESTS) |
| 9916 | if (gRPC_BUILD_TESTS) |
| 9917 | |
| 9918 | add_executable(credentials_test |
| 9919 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9920 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9921 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9922 | ) |
| 9923 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9925 | target_include_directories(credentials_test |
| 9926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9928 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9929 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9930 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9931 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9933 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9936 | PRIVATE third_party/googletest/googletest/include |
| 9937 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9938 | PRIVATE third_party/googletest/googlemock/include |
| 9939 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9940 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9941 | ) |
| 9942 | |
| 9943 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9944 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9945 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9946 | grpc++ |
| 9947 | grpc |
| 9948 | gpr |
| 9949 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9950 | ) |
| 9951 | |
| 9952 | endif (gRPC_BUILD_TESTS) |
| 9953 | if (gRPC_BUILD_TESTS) |
| 9954 | |
| 9955 | add_executable(cxx_byte_buffer_test |
| 9956 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9957 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9958 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9959 | ) |
| 9960 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9962 | target_include_directories(cxx_byte_buffer_test |
| 9963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9965 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9966 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9967 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9968 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9970 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9973 | PRIVATE third_party/googletest/googletest/include |
| 9974 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9975 | PRIVATE third_party/googletest/googlemock/include |
| 9976 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9977 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9978 | ) |
| 9979 | |
| 9980 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9981 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9983 | grpc_test_util |
| 9984 | grpc++ |
| 9985 | grpc |
| 9986 | gpr_test_util |
| 9987 | gpr |
| 9988 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9989 | ) |
| 9990 | |
| 9991 | endif (gRPC_BUILD_TESTS) |
| 9992 | if (gRPC_BUILD_TESTS) |
| 9993 | |
| 9994 | add_executable(cxx_slice_test |
| 9995 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9996 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9997 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9998 | ) |
| 9999 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10001 | target_include_directories(cxx_slice_test |
| 10002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10004 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10006 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10007 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10009 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10012 | PRIVATE third_party/googletest/googletest/include |
| 10013 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10014 | PRIVATE third_party/googletest/googlemock/include |
| 10015 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10017 | ) |
| 10018 | |
| 10019 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10022 | grpc_test_util |
| 10023 | grpc++ |
| 10024 | grpc |
| 10025 | gpr_test_util |
| 10026 | gpr |
| 10027 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10028 | ) |
| 10029 | |
| 10030 | endif (gRPC_BUILD_TESTS) |
| 10031 | if (gRPC_BUILD_TESTS) |
| 10032 | |
| 10033 | add_executable(cxx_string_ref_test |
| 10034 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10035 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10036 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10037 | ) |
| 10038 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10039 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10040 | target_include_directories(cxx_string_ref_test |
| 10041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10043 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10044 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10045 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10046 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10048 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10051 | PRIVATE third_party/googletest/googletest/include |
| 10052 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10053 | PRIVATE third_party/googletest/googlemock/include |
| 10054 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10055 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10056 | ) |
| 10057 | |
| 10058 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10059 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10060 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10061 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10062 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10063 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10064 | ) |
| 10065 | |
| 10066 | endif (gRPC_BUILD_TESTS) |
| 10067 | if (gRPC_BUILD_TESTS) |
| 10068 | |
| 10069 | add_executable(cxx_time_test |
| 10070 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10071 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10072 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10073 | ) |
| 10074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10075 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10076 | target_include_directories(cxx_time_test |
| 10077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10079 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10080 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10081 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10082 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10084 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10087 | PRIVATE third_party/googletest/googletest/include |
| 10088 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10089 | PRIVATE third_party/googletest/googlemock/include |
| 10090 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10091 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10092 | ) |
| 10093 | |
| 10094 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10095 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10096 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10097 | grpc_test_util |
| 10098 | grpc++ |
| 10099 | grpc |
| 10100 | gpr_test_util |
| 10101 | gpr |
| 10102 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10103 | ) |
| 10104 | |
| 10105 | endif (gRPC_BUILD_TESTS) |
| 10106 | if (gRPC_BUILD_TESTS) |
| 10107 | |
| 10108 | add_executable(end2end_test |
| 10109 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10110 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10111 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10112 | ) |
| 10113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10115 | target_include_directories(end2end_test |
| 10116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10118 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10119 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10120 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10121 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10123 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10126 | PRIVATE third_party/googletest/googletest/include |
| 10127 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10128 | PRIVATE third_party/googletest/googlemock/include |
| 10129 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10130 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10131 | ) |
| 10132 | |
| 10133 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10134 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10136 | grpc++_test_util |
| 10137 | grpc_test_util |
| 10138 | grpc++ |
| 10139 | grpc |
| 10140 | gpr_test_util |
| 10141 | gpr |
| 10142 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10143 | ) |
| 10144 | |
| 10145 | endif (gRPC_BUILD_TESTS) |
| 10146 | if (gRPC_BUILD_TESTS) |
| 10147 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10148 | add_executable(error_details_test |
| 10149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10151 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10153 | test/cpp/util/error_details_test.cc |
| 10154 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10155 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10156 | ) |
| 10157 | |
| 10158 | protobuf_generate_grpc_cpp( |
| 10159 | src/proto/grpc/testing/echo_messages.proto |
| 10160 | ) |
| 10161 | |
| 10162 | target_include_directories(error_details_test |
| 10163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10166 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10167 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10168 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10170 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10173 | PRIVATE third_party/googletest/googletest/include |
| 10174 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10175 | PRIVATE third_party/googletest/googlemock/include |
| 10176 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10177 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10178 | ) |
| 10179 | |
| 10180 | target_link_libraries(error_details_test |
| 10181 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10183 | grpc++_error_details |
| 10184 | grpc++ |
| 10185 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10186 | ) |
| 10187 | |
| 10188 | endif (gRPC_BUILD_TESTS) |
| 10189 | if (gRPC_BUILD_TESTS) |
| 10190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10191 | add_executable(filter_end2end_test |
| 10192 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10193 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10194 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10195 | ) |
| 10196 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10197 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10198 | target_include_directories(filter_end2end_test |
| 10199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10201 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10202 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10203 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10204 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10205 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10206 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10207 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10209 | PRIVATE third_party/googletest/googletest/include |
| 10210 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10211 | PRIVATE third_party/googletest/googlemock/include |
| 10212 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10213 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10214 | ) |
| 10215 | |
| 10216 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10217 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10219 | grpc++_test_util |
| 10220 | grpc_test_util |
| 10221 | grpc++ |
| 10222 | grpc |
| 10223 | gpr_test_util |
| 10224 | gpr |
| 10225 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10226 | ) |
| 10227 | |
| 10228 | endif (gRPC_BUILD_TESTS) |
| 10229 | if (gRPC_BUILD_TESTS) |
| 10230 | |
| 10231 | add_executable(generic_end2end_test |
| 10232 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10233 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10234 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10235 | ) |
| 10236 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10238 | target_include_directories(generic_end2end_test |
| 10239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10241 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10242 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10243 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10244 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10246 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10248 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10249 | PRIVATE third_party/googletest/googletest/include |
| 10250 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10251 | PRIVATE third_party/googletest/googlemock/include |
| 10252 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10253 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10254 | ) |
| 10255 | |
| 10256 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10257 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10259 | grpc++_test_util |
| 10260 | grpc_test_util |
| 10261 | grpc++ |
| 10262 | grpc |
| 10263 | gpr_test_util |
| 10264 | gpr |
| 10265 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10266 | ) |
| 10267 | |
| 10268 | endif (gRPC_BUILD_TESTS) |
| 10269 | if (gRPC_BUILD_TESTS) |
| 10270 | |
| 10271 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10272 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10273 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10274 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10275 | ${_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] | 10276 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10277 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10278 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10279 | ) |
| 10280 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10281 | protobuf_generate_grpc_cpp( |
| 10282 | src/proto/grpc/testing/compiler_test.proto |
| 10283 | ) |
| 10284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10285 | target_include_directories(golden_file_test |
| 10286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10288 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10289 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10290 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10291 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10293 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10294 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10296 | PRIVATE third_party/googletest/googletest/include |
| 10297 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10298 | PRIVATE third_party/googletest/googlemock/include |
| 10299 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10300 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10301 | ) |
| 10302 | |
| 10303 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10304 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10305 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10306 | grpc++ |
| 10307 | grpc |
| 10308 | gpr |
| 10309 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10310 | ) |
| 10311 | |
| 10312 | endif (gRPC_BUILD_TESTS) |
| 10313 | if (gRPC_BUILD_TESTS) |
| 10314 | |
| 10315 | add_executable(grpc_cli |
| 10316 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10317 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10318 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10319 | ) |
| 10320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10322 | target_include_directories(grpc_cli |
| 10323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10325 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10330 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10333 | PRIVATE third_party/googletest/googletest/include |
| 10334 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10335 | PRIVATE third_party/googletest/googlemock/include |
| 10336 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10337 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10338 | ) |
| 10339 | |
| 10340 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10341 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10343 | grpc_cli_libs |
| 10344 | grpc++_proto_reflection_desc_db |
| 10345 | grpc++ |
| 10346 | grpc |
| 10347 | gpr |
| 10348 | grpc++_test_config |
| 10349 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10350 | ) |
| 10351 | |
| 10352 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10353 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10354 | add_executable(grpc_cpp_plugin |
| 10355 | src/compiler/cpp_plugin.cc |
| 10356 | ) |
| 10357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10358 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10359 | target_include_directories(grpc_cpp_plugin |
| 10360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10362 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10363 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10364 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10365 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10367 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10370 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10371 | ) |
| 10372 | |
| 10373 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10374 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10375 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10376 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10377 | grpc_plugin_support |
| 10378 | ) |
| 10379 | |
| 10380 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10381 | if (gRPC_INSTALL) |
| 10382 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10383 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10384 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10385 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10386 | ) |
| 10387 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10388 | |
| 10389 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10390 | add_executable(grpc_csharp_plugin |
| 10391 | src/compiler/csharp_plugin.cc |
| 10392 | ) |
| 10393 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10394 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10395 | target_include_directories(grpc_csharp_plugin |
| 10396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10398 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10399 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10400 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10401 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10403 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10406 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10407 | ) |
| 10408 | |
| 10409 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10410 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10411 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10412 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10413 | grpc_plugin_support |
| 10414 | ) |
| 10415 | |
| 10416 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10417 | if (gRPC_INSTALL) |
| 10418 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10419 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10420 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10421 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10422 | ) |
| 10423 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10424 | |
| 10425 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10426 | add_executable(grpc_node_plugin |
| 10427 | src/compiler/node_plugin.cc |
| 10428 | ) |
| 10429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10430 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10431 | target_include_directories(grpc_node_plugin |
| 10432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10434 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10439 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10442 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10443 | ) |
| 10444 | |
| 10445 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10446 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10447 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10449 | grpc_plugin_support |
| 10450 | ) |
| 10451 | |
| 10452 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10453 | if (gRPC_INSTALL) |
| 10454 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10455 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10456 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10457 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10458 | ) |
| 10459 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10460 | |
| 10461 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10462 | add_executable(grpc_objective_c_plugin |
| 10463 | src/compiler/objective_c_plugin.cc |
| 10464 | ) |
| 10465 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10466 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10467 | target_include_directories(grpc_objective_c_plugin |
| 10468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10470 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10471 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10472 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10473 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10475 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10478 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10479 | ) |
| 10480 | |
| 10481 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10482 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10483 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10485 | grpc_plugin_support |
| 10486 | ) |
| 10487 | |
| 10488 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10489 | if (gRPC_INSTALL) |
| 10490 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10491 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10492 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10493 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10494 | ) |
| 10495 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10496 | |
| 10497 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10498 | add_executable(grpc_php_plugin |
| 10499 | src/compiler/php_plugin.cc |
| 10500 | ) |
| 10501 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10502 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10503 | target_include_directories(grpc_php_plugin |
| 10504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10507 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10508 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10509 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10511 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10514 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10515 | ) |
| 10516 | |
| 10517 | target_link_libraries(grpc_php_plugin |
| 10518 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10519 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10521 | grpc_plugin_support |
| 10522 | ) |
| 10523 | |
| 10524 | |
| 10525 | if (gRPC_INSTALL) |
| 10526 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10527 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10528 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10529 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10530 | ) |
| 10531 | endif() |
| 10532 | |
| 10533 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10534 | add_executable(grpc_python_plugin |
| 10535 | src/compiler/python_plugin.cc |
| 10536 | ) |
| 10537 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10538 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10539 | target_include_directories(grpc_python_plugin |
| 10540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10547 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10550 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10551 | ) |
| 10552 | |
| 10553 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10554 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10555 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10556 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10557 | grpc_plugin_support |
| 10558 | ) |
| 10559 | |
| 10560 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10561 | if (gRPC_INSTALL) |
| 10562 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10563 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10564 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10565 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10566 | ) |
| 10567 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10568 | |
| 10569 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10570 | add_executable(grpc_ruby_plugin |
| 10571 | src/compiler/ruby_plugin.cc |
| 10572 | ) |
| 10573 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10574 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10575 | target_include_directories(grpc_ruby_plugin |
| 10576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10578 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10579 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10580 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10581 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10583 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10585 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10586 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10587 | ) |
| 10588 | |
| 10589 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10590 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10591 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10593 | grpc_plugin_support |
| 10594 | ) |
| 10595 | |
| 10596 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10597 | if (gRPC_INSTALL) |
| 10598 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10599 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10600 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10601 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10602 | ) |
| 10603 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10604 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10605 | if (gRPC_BUILD_TESTS) |
| 10606 | |
| 10607 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10608 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10609 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10610 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10611 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10612 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10613 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10614 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10615 | ${_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] | 10616 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10617 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10618 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10619 | ) |
| 10620 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10621 | protobuf_generate_grpc_cpp( |
| 10622 | src/proto/grpc/testing/echo.proto |
| 10623 | ) |
| 10624 | protobuf_generate_grpc_cpp( |
| 10625 | src/proto/grpc/testing/echo_messages.proto |
| 10626 | ) |
| 10627 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10628 | target_include_directories(grpc_tool_test |
| 10629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10631 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10632 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10633 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10634 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10635 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10636 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10639 | PRIVATE third_party/googletest/googletest/include |
| 10640 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10641 | PRIVATE third_party/googletest/googlemock/include |
| 10642 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10643 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10644 | ) |
| 10645 | |
| 10646 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10647 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10648 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10649 | grpc_cli_libs |
| 10650 | grpc++_proto_reflection_desc_db |
| 10651 | grpc++_reflection |
| 10652 | grpc++_test_util |
| 10653 | grpc_test_util |
| 10654 | grpc++ |
| 10655 | grpc |
| 10656 | gpr_test_util |
| 10657 | gpr |
| 10658 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10659 | ) |
| 10660 | |
| 10661 | endif (gRPC_BUILD_TESTS) |
| 10662 | if (gRPC_BUILD_TESTS) |
| 10663 | |
| 10664 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10665 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10666 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10667 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10668 | ${_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] | 10669 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10670 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10671 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10672 | ) |
| 10673 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10674 | protobuf_generate_grpc_cpp( |
| 10675 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10676 | ) |
| 10677 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10678 | target_include_directories(grpclb_api_test |
| 10679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10681 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10682 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10683 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10684 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10686 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10689 | PRIVATE third_party/googletest/googletest/include |
| 10690 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10691 | PRIVATE third_party/googletest/googlemock/include |
| 10692 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10693 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10694 | ) |
| 10695 | |
| 10696 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10697 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10698 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10699 | grpc++_test_util |
| 10700 | grpc_test_util |
| 10701 | grpc++ |
| 10702 | grpc |
| 10703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10704 | ) |
| 10705 | |
| 10706 | endif (gRPC_BUILD_TESTS) |
| 10707 | if (gRPC_BUILD_TESTS) |
| 10708 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10709 | add_executable(grpclb_end2end_test |
| 10710 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10711 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10712 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10713 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10714 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10715 | third_party/googletest/googletest/src/gtest-all.cc |
| 10716 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10717 | ) |
| 10718 | |
| 10719 | protobuf_generate_grpc_cpp( |
| 10720 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10721 | ) |
| 10722 | |
| 10723 | target_include_directories(grpclb_end2end_test |
| 10724 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10725 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10726 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10727 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10728 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10729 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10731 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10733 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10734 | PRIVATE third_party/googletest/googletest/include |
| 10735 | PRIVATE third_party/googletest/googletest |
| 10736 | PRIVATE third_party/googletest/googlemock/include |
| 10737 | PRIVATE third_party/googletest/googlemock |
| 10738 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10739 | ) |
| 10740 | |
| 10741 | target_link_libraries(grpclb_end2end_test |
| 10742 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10743 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10744 | grpc++_test_util |
| 10745 | grpc_test_util |
| 10746 | grpc++ |
| 10747 | grpc |
| 10748 | gpr_test_util |
| 10749 | gpr |
| 10750 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10751 | ) |
| 10752 | |
| 10753 | endif (gRPC_BUILD_TESTS) |
| 10754 | if (gRPC_BUILD_TESTS) |
| 10755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10756 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10757 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10758 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10760 | ${_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] | 10761 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10762 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10763 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10764 | ) |
| 10765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10766 | protobuf_generate_grpc_cpp( |
| 10767 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10768 | ) |
| 10769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10770 | target_include_directories(grpclb_test |
| 10771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10773 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10774 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10775 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10776 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10778 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10781 | PRIVATE third_party/googletest/googletest/include |
| 10782 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10783 | PRIVATE third_party/googletest/googlemock/include |
| 10784 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10785 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10786 | ) |
| 10787 | |
| 10788 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10789 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10790 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10791 | grpc++_test_util |
| 10792 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10793 | grpc++ |
| 10794 | grpc |
| 10795 | gpr_test_util |
| 10796 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10797 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10798 | ) |
| 10799 | |
| 10800 | endif (gRPC_BUILD_TESTS) |
| 10801 | if (gRPC_BUILD_TESTS) |
| 10802 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10803 | add_executable(h2_ssl_cert_test |
| 10804 | test/core/end2end/h2_ssl_cert_test.cc |
| 10805 | third_party/googletest/googletest/src/gtest-all.cc |
| 10806 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10807 | ) |
| 10808 | |
| 10809 | |
| 10810 | target_include_directories(h2_ssl_cert_test |
| 10811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10813 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10814 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10815 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10816 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10818 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10820 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10821 | PRIVATE third_party/googletest/googletest/include |
| 10822 | PRIVATE third_party/googletest/googletest |
| 10823 | PRIVATE third_party/googletest/googlemock/include |
| 10824 | PRIVATE third_party/googletest/googlemock |
| 10825 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10826 | ) |
| 10827 | |
| 10828 | target_link_libraries(h2_ssl_cert_test |
| 10829 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10830 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10831 | grpc_test_util |
| 10832 | grpc++ |
| 10833 | grpc |
| 10834 | gpr_test_util |
| 10835 | gpr |
| 10836 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10837 | ) |
| 10838 | |
| 10839 | endif (gRPC_BUILD_TESTS) |
| 10840 | if (gRPC_BUILD_TESTS) |
| 10841 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10842 | add_executable(health_service_end2end_test |
| 10843 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10844 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10845 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10846 | ) |
| 10847 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10848 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10849 | target_include_directories(health_service_end2end_test |
| 10850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10852 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10853 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10854 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10855 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10857 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10860 | PRIVATE third_party/googletest/googletest/include |
| 10861 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10862 | PRIVATE third_party/googletest/googlemock/include |
| 10863 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10864 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10865 | ) |
| 10866 | |
| 10867 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10868 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10870 | grpc++_test_util |
| 10871 | grpc_test_util |
| 10872 | grpc++ |
| 10873 | grpc |
| 10874 | gpr_test_util |
| 10875 | gpr |
| 10876 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10877 | ) |
| 10878 | |
| 10879 | endif (gRPC_BUILD_TESTS) |
| 10880 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10881 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10882 | |
| 10883 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10884 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10885 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10886 | ) |
| 10887 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10889 | target_include_directories(http2_client |
| 10890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10892 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10893 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10894 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10895 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10897 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10900 | PRIVATE third_party/googletest/googletest/include |
| 10901 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10902 | PRIVATE third_party/googletest/googlemock/include |
| 10903 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10904 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10905 | ) |
| 10906 | |
| 10907 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10908 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10910 | http2_client_main |
| 10911 | grpc++_test_util |
| 10912 | grpc_test_util |
| 10913 | grpc++ |
| 10914 | grpc |
| 10915 | grpc++_test_config |
| 10916 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10917 | ) |
| 10918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10919 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10920 | endif (gRPC_BUILD_TESTS) |
| 10921 | if (gRPC_BUILD_TESTS) |
| 10922 | |
| 10923 | add_executable(hybrid_end2end_test |
| 10924 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10925 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10926 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10927 | ) |
| 10928 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10929 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10930 | target_include_directories(hybrid_end2end_test |
| 10931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10933 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10934 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10935 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10936 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10938 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10941 | PRIVATE third_party/googletest/googletest/include |
| 10942 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10943 | PRIVATE third_party/googletest/googlemock/include |
| 10944 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10945 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10946 | ) |
| 10947 | |
| 10948 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10949 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10951 | grpc++_test_util |
| 10952 | grpc_test_util |
| 10953 | grpc++ |
| 10954 | grpc |
| 10955 | gpr_test_util |
| 10956 | gpr |
| 10957 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10958 | ) |
| 10959 | |
| 10960 | endif (gRPC_BUILD_TESTS) |
| 10961 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10962 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10963 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10964 | add_executable(inproc_sync_unary_ping_pong_test |
| 10965 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 10966 | third_party/googletest/googletest/src/gtest-all.cc |
| 10967 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10968 | ) |
| 10969 | |
| 10970 | |
| 10971 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 10972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10974 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10975 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10976 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10977 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10979 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10982 | PRIVATE third_party/googletest/googletest/include |
| 10983 | PRIVATE third_party/googletest/googletest |
| 10984 | PRIVATE third_party/googletest/googlemock/include |
| 10985 | PRIVATE third_party/googletest/googlemock |
| 10986 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10987 | ) |
| 10988 | |
| 10989 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 10990 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10991 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10992 | qps |
| 10993 | grpc++_core_stats |
| 10994 | grpc++_test_util |
| 10995 | grpc_test_util |
| 10996 | grpc++ |
| 10997 | grpc |
| 10998 | gpr_test_util |
| 10999 | gpr |
| 11000 | grpc++_test_config |
| 11001 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11002 | ) |
| 11003 | |
| 11004 | endif() |
| 11005 | endif (gRPC_BUILD_TESTS) |
| 11006 | if (gRPC_BUILD_TESTS) |
| 11007 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 11008 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11009 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11010 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11011 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11012 | ) |
| 11013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11015 | target_include_directories(interop_client |
| 11016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11018 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11023 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11026 | PRIVATE third_party/googletest/googletest/include |
| 11027 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11028 | PRIVATE third_party/googletest/googlemock/include |
| 11029 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11030 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11031 | ) |
| 11032 | |
| 11033 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11034 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11036 | interop_client_main |
| 11037 | interop_client_helper |
| 11038 | grpc++_test_util |
| 11039 | grpc_test_util |
| 11040 | grpc++ |
| 11041 | grpc |
| 11042 | gpr_test_util |
| 11043 | gpr |
| 11044 | grpc++_test_config |
| 11045 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11046 | ) |
| 11047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11048 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11049 | endif (gRPC_BUILD_TESTS) |
| 11050 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11051 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11052 | |
| 11053 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11054 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11055 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11056 | ) |
| 11057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11058 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11059 | target_include_directories(interop_server |
| 11060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11062 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11063 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11064 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11065 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11067 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11070 | PRIVATE third_party/googletest/googletest/include |
| 11071 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11072 | PRIVATE third_party/googletest/googlemock/include |
| 11073 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11074 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11075 | ) |
| 11076 | |
| 11077 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11078 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11080 | interop_server_main |
| 11081 | interop_server_helper |
| 11082 | interop_server_lib |
| 11083 | grpc++_test_util |
| 11084 | grpc_test_util |
| 11085 | grpc++ |
| 11086 | grpc |
| 11087 | gpr_test_util |
| 11088 | gpr |
| 11089 | grpc++_test_config |
| 11090 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11091 | ) |
| 11092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11093 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11094 | endif (gRPC_BUILD_TESTS) |
| 11095 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11096 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11097 | |
| 11098 | add_executable(interop_test |
| 11099 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11100 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11101 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11102 | ) |
| 11103 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11104 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11105 | target_include_directories(interop_test |
| 11106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11108 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11109 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11110 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11111 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11113 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11116 | PRIVATE third_party/googletest/googletest/include |
| 11117 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11118 | PRIVATE third_party/googletest/googlemock/include |
| 11119 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11120 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11121 | ) |
| 11122 | |
| 11123 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11124 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11125 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11126 | grpc_test_util |
| 11127 | grpc |
| 11128 | gpr_test_util |
| 11129 | gpr |
| 11130 | grpc++_test_config |
| 11131 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11132 | ) |
| 11133 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11134 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11135 | endif (gRPC_BUILD_TESTS) |
| 11136 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11137 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11138 | |
| 11139 | add_executable(json_run_localhost |
| 11140 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11141 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11142 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11143 | ) |
| 11144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11146 | target_include_directories(json_run_localhost |
| 11147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11149 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11150 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11151 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11152 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11154 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11157 | PRIVATE third_party/googletest/googletest/include |
| 11158 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11159 | PRIVATE third_party/googletest/googlemock/include |
| 11160 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11161 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11162 | ) |
| 11163 | |
| 11164 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11165 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11166 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11167 | grpc++_test_util |
| 11168 | grpc_test_util |
| 11169 | grpc++ |
| 11170 | grpc |
| 11171 | gpr_test_util |
| 11172 | gpr |
| 11173 | grpc++_test_config |
| 11174 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11175 | ) |
| 11176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11177 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11178 | endif (gRPC_BUILD_TESTS) |
| 11179 | if (gRPC_BUILD_TESTS) |
| 11180 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11181 | add_executable(memory_test |
| 11182 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11183 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11184 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11185 | ) |
| 11186 | |
| 11187 | |
| 11188 | target_include_directories(memory_test |
| 11189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11192 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11193 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11194 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11196 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11198 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11199 | PRIVATE third_party/googletest/googletest/include |
| 11200 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11201 | PRIVATE third_party/googletest/googlemock/include |
| 11202 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11203 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11204 | ) |
| 11205 | |
| 11206 | target_link_libraries(memory_test |
| 11207 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11208 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11209 | grpc_test_util |
| 11210 | grpc++ |
| 11211 | grpc |
| 11212 | gpr_test_util |
| 11213 | gpr |
| 11214 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11215 | ) |
| 11216 | |
| 11217 | endif (gRPC_BUILD_TESTS) |
| 11218 | if (gRPC_BUILD_TESTS) |
| 11219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11220 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11225 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11226 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11227 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11228 | ) |
| 11229 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11230 | protobuf_generate_grpc_cpp( |
| 11231 | src/proto/grpc/testing/metrics.proto |
| 11232 | ) |
| 11233 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11234 | target_include_directories(metrics_client |
| 11235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11237 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11238 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11239 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11240 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11241 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11242 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11245 | PRIVATE third_party/googletest/googletest/include |
| 11246 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11247 | PRIVATE third_party/googletest/googlemock/include |
| 11248 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11249 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11250 | ) |
| 11251 | |
| 11252 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11253 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11254 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11255 | grpc++ |
| 11256 | grpc |
| 11257 | gpr |
| 11258 | grpc++_test_config |
| 11259 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11260 | ) |
| 11261 | |
| 11262 | endif (gRPC_BUILD_TESTS) |
| 11263 | if (gRPC_BUILD_TESTS) |
| 11264 | |
| 11265 | add_executable(mock_test |
| 11266 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11267 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11268 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11269 | ) |
| 11270 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11271 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11272 | target_include_directories(mock_test |
| 11273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11275 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11276 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11277 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11278 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11280 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11283 | PRIVATE third_party/googletest/googletest/include |
| 11284 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11285 | PRIVATE third_party/googletest/googlemock/include |
| 11286 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11287 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11288 | ) |
| 11289 | |
| 11290 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11291 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11292 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11293 | grpc++_test_util |
| 11294 | grpc_test_util |
| 11295 | grpc++ |
| 11296 | grpc |
| 11297 | gpr_test_util |
| 11298 | gpr |
| 11299 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11300 | ) |
| 11301 | |
| 11302 | endif (gRPC_BUILD_TESTS) |
| 11303 | if (gRPC_BUILD_TESTS) |
| 11304 | |
| 11305 | add_executable(noop-benchmark |
| 11306 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11307 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11308 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11309 | ) |
| 11310 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11311 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11312 | target_include_directories(noop-benchmark |
| 11313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11315 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11316 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11317 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11318 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11320 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11323 | PRIVATE third_party/googletest/googletest/include |
| 11324 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11325 | PRIVATE third_party/googletest/googlemock/include |
| 11326 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11327 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11328 | ) |
| 11329 | |
| 11330 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11331 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11332 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11333 | benchmark |
| 11334 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11335 | ) |
| 11336 | |
| 11337 | endif (gRPC_BUILD_TESTS) |
| 11338 | if (gRPC_BUILD_TESTS) |
| 11339 | |
| 11340 | add_executable(proto_server_reflection_test |
| 11341 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11342 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11343 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11344 | ) |
| 11345 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11346 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11347 | target_include_directories(proto_server_reflection_test |
| 11348 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11350 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11351 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11352 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11353 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11355 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11358 | PRIVATE third_party/googletest/googletest/include |
| 11359 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11360 | PRIVATE third_party/googletest/googlemock/include |
| 11361 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11362 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11363 | ) |
| 11364 | |
| 11365 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11366 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11367 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11368 | grpc++_proto_reflection_desc_db |
| 11369 | grpc++_reflection |
| 11370 | grpc++_test_util |
| 11371 | grpc_test_util |
| 11372 | grpc++ |
| 11373 | grpc |
| 11374 | gpr_test_util |
| 11375 | gpr |
| 11376 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11377 | ) |
| 11378 | |
| 11379 | endif (gRPC_BUILD_TESTS) |
| 11380 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11381 | |
| 11382 | add_executable(proto_utils_test |
| 11383 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11384 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11385 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11386 | ) |
| 11387 | |
| 11388 | |
| 11389 | target_include_directories(proto_utils_test |
| 11390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11392 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11393 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11394 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11395 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11397 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11400 | PRIVATE third_party/googletest/googletest/include |
| 11401 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11402 | PRIVATE third_party/googletest/googlemock/include |
| 11403 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11404 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11405 | ) |
| 11406 | |
| 11407 | target_link_libraries(proto_utils_test |
| 11408 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11409 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11410 | grpc++ |
| 11411 | grpc |
| 11412 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11413 | ) |
| 11414 | |
| 11415 | endif (gRPC_BUILD_TESTS) |
| 11416 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11417 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11418 | |
| 11419 | add_executable(qps_interarrival_test |
| 11420 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11421 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11422 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11423 | ) |
| 11424 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11425 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11426 | target_include_directories(qps_interarrival_test |
| 11427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11429 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11430 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11431 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11432 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11434 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11436 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11437 | PRIVATE third_party/googletest/googletest/include |
| 11438 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11439 | PRIVATE third_party/googletest/googlemock/include |
| 11440 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11441 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11442 | ) |
| 11443 | |
| 11444 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11445 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11447 | qps |
| 11448 | grpc++_test_util |
| 11449 | grpc_test_util |
| 11450 | grpc++ |
| 11451 | grpc |
| 11452 | gpr_test_util |
| 11453 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11454 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11455 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11456 | ) |
| 11457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11458 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11459 | endif (gRPC_BUILD_TESTS) |
| 11460 | if (gRPC_BUILD_TESTS) |
| 11461 | |
| 11462 | add_executable(qps_json_driver |
| 11463 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11464 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11465 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11466 | ) |
| 11467 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11468 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11469 | target_include_directories(qps_json_driver |
| 11470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11472 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11473 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11474 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11475 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11477 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11480 | PRIVATE third_party/googletest/googletest/include |
| 11481 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11482 | PRIVATE third_party/googletest/googlemock/include |
| 11483 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11484 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11485 | ) |
| 11486 | |
| 11487 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11488 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11489 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11490 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11491 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11492 | grpc++_test_util |
| 11493 | grpc_test_util |
| 11494 | grpc++ |
| 11495 | grpc |
| 11496 | gpr_test_util |
| 11497 | gpr |
| 11498 | grpc++_test_config |
| 11499 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11500 | ) |
| 11501 | |
| 11502 | endif (gRPC_BUILD_TESTS) |
| 11503 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11505 | |
| 11506 | add_executable(qps_openloop_test |
| 11507 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11508 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11509 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11510 | ) |
| 11511 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11512 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11513 | target_include_directories(qps_openloop_test |
| 11514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11516 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11517 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11518 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11519 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11521 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11524 | PRIVATE third_party/googletest/googletest/include |
| 11525 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11526 | PRIVATE third_party/googletest/googlemock/include |
| 11527 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11528 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11529 | ) |
| 11530 | |
| 11531 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11532 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11533 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11534 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11535 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11536 | grpc++_test_util |
| 11537 | grpc_test_util |
| 11538 | grpc++ |
| 11539 | grpc |
| 11540 | gpr_test_util |
| 11541 | gpr |
| 11542 | grpc++_test_config |
| 11543 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11544 | ) |
| 11545 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11546 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11547 | endif (gRPC_BUILD_TESTS) |
| 11548 | if (gRPC_BUILD_TESTS) |
| 11549 | |
| 11550 | add_executable(qps_worker |
| 11551 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11552 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11553 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11554 | ) |
| 11555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11557 | target_include_directories(qps_worker |
| 11558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11560 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11565 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11568 | PRIVATE third_party/googletest/googletest/include |
| 11569 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11570 | PRIVATE third_party/googletest/googlemock/include |
| 11571 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11572 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11573 | ) |
| 11574 | |
| 11575 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11576 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11577 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11578 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11579 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11580 | grpc++_test_util |
| 11581 | grpc_test_util |
| 11582 | grpc++ |
| 11583 | grpc |
| 11584 | gpr_test_util |
| 11585 | gpr |
| 11586 | grpc++_test_config |
| 11587 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11588 | ) |
| 11589 | |
| 11590 | endif (gRPC_BUILD_TESTS) |
| 11591 | if (gRPC_BUILD_TESTS) |
| 11592 | |
| 11593 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11594 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11595 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11596 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11597 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11598 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11599 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11600 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11601 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11602 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11603 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11604 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11605 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11606 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11607 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11608 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11609 | ) |
| 11610 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11611 | protobuf_generate_grpc_cpp( |
| 11612 | src/proto/grpc/testing/empty.proto |
| 11613 | ) |
| 11614 | protobuf_generate_grpc_cpp( |
| 11615 | src/proto/grpc/testing/messages.proto |
| 11616 | ) |
| 11617 | protobuf_generate_grpc_cpp( |
| 11618 | src/proto/grpc/testing/test.proto |
| 11619 | ) |
| 11620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11621 | target_include_directories(reconnect_interop_client |
| 11622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11624 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11629 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11632 | PRIVATE third_party/googletest/googletest/include |
| 11633 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11634 | PRIVATE third_party/googletest/googlemock/include |
| 11635 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11636 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11637 | ) |
| 11638 | |
| 11639 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11640 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11641 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11642 | grpc++_test_util |
| 11643 | grpc_test_util |
| 11644 | grpc++ |
| 11645 | grpc |
| 11646 | gpr_test_util |
| 11647 | gpr |
| 11648 | grpc++_test_config |
| 11649 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11650 | ) |
| 11651 | |
| 11652 | endif (gRPC_BUILD_TESTS) |
| 11653 | if (gRPC_BUILD_TESTS) |
| 11654 | |
| 11655 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11656 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11657 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11660 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11661 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11662 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11663 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11664 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11665 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11666 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11667 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11668 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11669 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11670 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11671 | ) |
| 11672 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11673 | protobuf_generate_grpc_cpp( |
| 11674 | src/proto/grpc/testing/empty.proto |
| 11675 | ) |
| 11676 | protobuf_generate_grpc_cpp( |
| 11677 | src/proto/grpc/testing/messages.proto |
| 11678 | ) |
| 11679 | protobuf_generate_grpc_cpp( |
| 11680 | src/proto/grpc/testing/test.proto |
| 11681 | ) |
| 11682 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11683 | target_include_directories(reconnect_interop_server |
| 11684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11686 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11687 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11688 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11689 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11691 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11694 | PRIVATE third_party/googletest/googletest/include |
| 11695 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11696 | PRIVATE third_party/googletest/googlemock/include |
| 11697 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11698 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11699 | ) |
| 11700 | |
| 11701 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11702 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11704 | reconnect_server |
| 11705 | test_tcp_server |
| 11706 | grpc++_test_util |
| 11707 | grpc_test_util |
| 11708 | grpc++ |
| 11709 | grpc |
| 11710 | gpr_test_util |
| 11711 | gpr |
| 11712 | grpc++_test_config |
| 11713 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11714 | ) |
| 11715 | |
| 11716 | endif (gRPC_BUILD_TESTS) |
| 11717 | if (gRPC_BUILD_TESTS) |
| 11718 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11719 | add_executable(ref_counted_ptr_test |
| 11720 | test/core/support/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11721 | third_party/googletest/googletest/src/gtest-all.cc |
| 11722 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11723 | ) |
| 11724 | |
| 11725 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11726 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11729 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11730 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11731 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11732 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11733 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11734 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11737 | PRIVATE third_party/googletest/googletest/include |
| 11738 | PRIVATE third_party/googletest/googletest |
| 11739 | PRIVATE third_party/googletest/googlemock/include |
| 11740 | PRIVATE third_party/googletest/googlemock |
| 11741 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11742 | ) |
| 11743 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11744 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11745 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11747 | grpc_test_util |
| 11748 | grpc++ |
| 11749 | grpc |
| 11750 | gpr_test_util |
| 11751 | gpr |
| 11752 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11753 | ) |
| 11754 | |
| 11755 | endif (gRPC_BUILD_TESTS) |
| 11756 | if (gRPC_BUILD_TESTS) |
| 11757 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11758 | add_executable(ref_counted_test |
| 11759 | test/core/support/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11760 | third_party/googletest/googletest/src/gtest-all.cc |
| 11761 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11762 | ) |
| 11763 | |
| 11764 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11765 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11767 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11768 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11769 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11770 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11771 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11773 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11776 | PRIVATE third_party/googletest/googletest/include |
| 11777 | PRIVATE third_party/googletest/googletest |
| 11778 | PRIVATE third_party/googletest/googlemock/include |
| 11779 | PRIVATE third_party/googletest/googlemock |
| 11780 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11781 | ) |
| 11782 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11783 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11784 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11785 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11786 | grpc_test_util |
| 11787 | grpc++ |
| 11788 | grpc |
| 11789 | gpr_test_util |
| 11790 | gpr |
| 11791 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11792 | ) |
| 11793 | |
| 11794 | endif (gRPC_BUILD_TESTS) |
| 11795 | if (gRPC_BUILD_TESTS) |
| 11796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11797 | add_executable(secure_auth_context_test |
| 11798 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11799 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11800 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11801 | ) |
| 11802 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11803 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11804 | target_include_directories(secure_auth_context_test |
| 11805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11807 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11808 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11809 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11810 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11812 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11815 | PRIVATE third_party/googletest/googletest/include |
| 11816 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11817 | PRIVATE third_party/googletest/googlemock/include |
| 11818 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11819 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11820 | ) |
| 11821 | |
| 11822 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11823 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11824 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11825 | grpc++_test_util |
| 11826 | grpc_test_util |
| 11827 | grpc++ |
| 11828 | grpc |
| 11829 | gpr_test_util |
| 11830 | gpr |
| 11831 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11832 | ) |
| 11833 | |
| 11834 | endif (gRPC_BUILD_TESTS) |
| 11835 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11836 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11837 | |
| 11838 | add_executable(secure_sync_unary_ping_pong_test |
| 11839 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11840 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11841 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11842 | ) |
| 11843 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11844 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11845 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11849 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11850 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11851 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11853 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11856 | PRIVATE third_party/googletest/googletest/include |
| 11857 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11858 | PRIVATE third_party/googletest/googlemock/include |
| 11859 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11860 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11861 | ) |
| 11862 | |
| 11863 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11864 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11866 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11867 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11868 | grpc++_test_util |
| 11869 | grpc_test_util |
| 11870 | grpc++ |
| 11871 | grpc |
| 11872 | gpr_test_util |
| 11873 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11874 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11875 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11876 | ) |
| 11877 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11878 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11879 | endif (gRPC_BUILD_TESTS) |
| 11880 | if (gRPC_BUILD_TESTS) |
| 11881 | |
| 11882 | add_executable(server_builder_plugin_test |
| 11883 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11884 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11885 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11886 | ) |
| 11887 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11889 | target_include_directories(server_builder_plugin_test |
| 11890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11892 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11893 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11894 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11895 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11897 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11900 | PRIVATE third_party/googletest/googletest/include |
| 11901 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11902 | PRIVATE third_party/googletest/googlemock/include |
| 11903 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11904 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11905 | ) |
| 11906 | |
| 11907 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11908 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11910 | grpc++_test_util |
| 11911 | grpc_test_util |
| 11912 | grpc++ |
| 11913 | grpc |
| 11914 | gpr_test_util |
| 11915 | gpr |
| 11916 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11917 | ) |
| 11918 | |
| 11919 | endif (gRPC_BUILD_TESTS) |
| 11920 | if (gRPC_BUILD_TESTS) |
| 11921 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11922 | add_executable(server_builder_test |
| 11923 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11924 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11925 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11926 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11927 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11928 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11929 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11930 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11931 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11932 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11933 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11934 | ) |
| 11935 | |
| 11936 | protobuf_generate_grpc_cpp( |
| 11937 | src/proto/grpc/testing/echo_messages.proto |
| 11938 | ) |
| 11939 | protobuf_generate_grpc_cpp( |
| 11940 | src/proto/grpc/testing/echo.proto |
| 11941 | ) |
| 11942 | |
| 11943 | target_include_directories(server_builder_test |
| 11944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11945 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11946 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11947 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11948 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11949 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11951 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11954 | PRIVATE third_party/googletest/googletest/include |
| 11955 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11956 | PRIVATE third_party/googletest/googlemock/include |
| 11957 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11958 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11959 | ) |
| 11960 | |
| 11961 | target_link_libraries(server_builder_test |
| 11962 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11963 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11964 | grpc++_test_util_unsecure |
| 11965 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11966 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11967 | grpc++_unsecure |
| 11968 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11969 | gpr |
| 11970 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11971 | ) |
| 11972 | |
| 11973 | endif (gRPC_BUILD_TESTS) |
| 11974 | if (gRPC_BUILD_TESTS) |
| 11975 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11976 | add_executable(server_context_test_spouse_test |
| 11977 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11978 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11979 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11980 | ) |
| 11981 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11982 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11983 | target_include_directories(server_context_test_spouse_test |
| 11984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11986 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11987 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11988 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11989 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11990 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11991 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11994 | PRIVATE third_party/googletest/googletest/include |
| 11995 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11996 | PRIVATE third_party/googletest/googlemock/include |
| 11997 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11998 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11999 | ) |
| 12000 | |
| 12001 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12002 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12003 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12004 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12005 | grpc++ |
| 12006 | grpc |
| 12007 | gpr_test_util |
| 12008 | gpr |
| 12009 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12010 | ) |
| 12011 | |
| 12012 | endif (gRPC_BUILD_TESTS) |
| 12013 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12014 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12015 | |
| 12016 | add_executable(server_crash_test |
| 12017 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12018 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12019 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12020 | ) |
| 12021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12023 | target_include_directories(server_crash_test |
| 12024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12026 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12027 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12028 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12029 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12031 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12034 | PRIVATE third_party/googletest/googletest/include |
| 12035 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12036 | PRIVATE third_party/googletest/googlemock/include |
| 12037 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12038 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12039 | ) |
| 12040 | |
| 12041 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12042 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12043 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12044 | grpc++_test_util |
| 12045 | grpc_test_util |
| 12046 | grpc++ |
| 12047 | grpc |
| 12048 | gpr_test_util |
| 12049 | gpr |
| 12050 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12051 | ) |
| 12052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12053 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12054 | endif (gRPC_BUILD_TESTS) |
| 12055 | if (gRPC_BUILD_TESTS) |
| 12056 | |
| 12057 | add_executable(server_crash_test_client |
| 12058 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12059 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12060 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12061 | ) |
| 12062 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12063 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12064 | target_include_directories(server_crash_test_client |
| 12065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12067 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12068 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12069 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12070 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12072 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12075 | PRIVATE third_party/googletest/googletest/include |
| 12076 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12077 | PRIVATE third_party/googletest/googlemock/include |
| 12078 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12079 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12080 | ) |
| 12081 | |
| 12082 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12083 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12085 | grpc++_test_util |
| 12086 | grpc_test_util |
| 12087 | grpc++ |
| 12088 | grpc |
| 12089 | gpr_test_util |
| 12090 | gpr |
| 12091 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12092 | ) |
| 12093 | |
| 12094 | endif (gRPC_BUILD_TESTS) |
| 12095 | if (gRPC_BUILD_TESTS) |
| 12096 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12097 | add_executable(server_request_call_test |
| 12098 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12099 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12100 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12101 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12102 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12103 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12104 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12105 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12106 | test/cpp/server/server_request_call_test.cc |
| 12107 | third_party/googletest/googletest/src/gtest-all.cc |
| 12108 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12109 | ) |
| 12110 | |
| 12111 | protobuf_generate_grpc_cpp( |
| 12112 | src/proto/grpc/testing/echo_messages.proto |
| 12113 | ) |
| 12114 | protobuf_generate_grpc_cpp( |
| 12115 | src/proto/grpc/testing/echo.proto |
| 12116 | ) |
| 12117 | |
| 12118 | target_include_directories(server_request_call_test |
| 12119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12121 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12122 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12123 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12124 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12126 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12129 | PRIVATE third_party/googletest/googletest/include |
| 12130 | PRIVATE third_party/googletest/googletest |
| 12131 | PRIVATE third_party/googletest/googlemock/include |
| 12132 | PRIVATE third_party/googletest/googlemock |
| 12133 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12134 | ) |
| 12135 | |
| 12136 | target_link_libraries(server_request_call_test |
| 12137 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12138 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12139 | grpc++_test_util_unsecure |
| 12140 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12141 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12142 | grpc++_unsecure |
| 12143 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12144 | gpr |
| 12145 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12146 | ) |
| 12147 | |
| 12148 | endif (gRPC_BUILD_TESTS) |
| 12149 | if (gRPC_BUILD_TESTS) |
| 12150 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12151 | add_executable(shutdown_test |
| 12152 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12153 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12154 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12155 | ) |
| 12156 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12157 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12158 | target_include_directories(shutdown_test |
| 12159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12161 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12162 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12163 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12164 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12166 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12169 | PRIVATE third_party/googletest/googletest/include |
| 12170 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12171 | PRIVATE third_party/googletest/googlemock/include |
| 12172 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12173 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12174 | ) |
| 12175 | |
| 12176 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12177 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12178 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12179 | grpc++_test_util |
| 12180 | grpc_test_util |
| 12181 | grpc++ |
| 12182 | grpc |
| 12183 | gpr_test_util |
| 12184 | gpr |
| 12185 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12186 | ) |
| 12187 | |
| 12188 | endif (gRPC_BUILD_TESTS) |
| 12189 | if (gRPC_BUILD_TESTS) |
| 12190 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12191 | add_executable(stats_test |
| 12192 | test/core/debug/stats_test.cc |
| 12193 | third_party/googletest/googletest/src/gtest-all.cc |
| 12194 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12195 | ) |
| 12196 | |
| 12197 | |
| 12198 | target_include_directories(stats_test |
| 12199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12201 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12202 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12203 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12204 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12205 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12206 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12207 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12209 | PRIVATE third_party/googletest/googletest/include |
| 12210 | PRIVATE third_party/googletest/googletest |
| 12211 | PRIVATE third_party/googletest/googlemock/include |
| 12212 | PRIVATE third_party/googletest/googlemock |
| 12213 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12214 | ) |
| 12215 | |
| 12216 | target_link_libraries(stats_test |
| 12217 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12219 | grpc++_test_util |
| 12220 | grpc_test_util |
| 12221 | grpc |
| 12222 | gpr_test_util |
| 12223 | gpr |
| 12224 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12225 | ) |
| 12226 | |
| 12227 | endif (gRPC_BUILD_TESTS) |
| 12228 | if (gRPC_BUILD_TESTS) |
| 12229 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12230 | add_executable(status_test |
| 12231 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12232 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12233 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12234 | ) |
| 12235 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12237 | target_include_directories(status_test |
| 12238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12240 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12241 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12242 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12243 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12245 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12248 | PRIVATE third_party/googletest/googletest/include |
| 12249 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12250 | PRIVATE third_party/googletest/googlemock/include |
| 12251 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12252 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12253 | ) |
| 12254 | |
| 12255 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12256 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12258 | grpc_test_util |
| 12259 | grpc++ |
| 12260 | grpc |
| 12261 | gpr_test_util |
| 12262 | gpr |
| 12263 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12264 | ) |
| 12265 | |
| 12266 | endif (gRPC_BUILD_TESTS) |
| 12267 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12268 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12269 | |
| 12270 | add_executable(streaming_throughput_test |
| 12271 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12272 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12273 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12274 | ) |
| 12275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12277 | target_include_directories(streaming_throughput_test |
| 12278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12280 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12285 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12288 | PRIVATE third_party/googletest/googletest/include |
| 12289 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12290 | PRIVATE third_party/googletest/googlemock/include |
| 12291 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12292 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12293 | ) |
| 12294 | |
| 12295 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12296 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12298 | grpc++_test_util |
| 12299 | grpc_test_util |
| 12300 | grpc++ |
| 12301 | grpc |
| 12302 | gpr_test_util |
| 12303 | gpr |
| 12304 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12305 | ) |
| 12306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12307 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12308 | endif (gRPC_BUILD_TESTS) |
| 12309 | if (gRPC_BUILD_TESTS) |
| 12310 | |
| 12311 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12328 | test/cpp/interop/interop_client.cc |
| 12329 | test/cpp/interop/stress_interop_client.cc |
| 12330 | test/cpp/interop/stress_test.cc |
| 12331 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12332 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12333 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12334 | ) |
| 12335 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12336 | protobuf_generate_grpc_cpp( |
| 12337 | src/proto/grpc/testing/empty.proto |
| 12338 | ) |
| 12339 | protobuf_generate_grpc_cpp( |
| 12340 | src/proto/grpc/testing/messages.proto |
| 12341 | ) |
| 12342 | protobuf_generate_grpc_cpp( |
| 12343 | src/proto/grpc/testing/metrics.proto |
| 12344 | ) |
| 12345 | protobuf_generate_grpc_cpp( |
| 12346 | src/proto/grpc/testing/test.proto |
| 12347 | ) |
| 12348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12349 | target_include_directories(stress_test |
| 12350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12352 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12353 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12354 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12355 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12357 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12360 | PRIVATE third_party/googletest/googletest/include |
| 12361 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12362 | PRIVATE third_party/googletest/googlemock/include |
| 12363 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12364 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12365 | ) |
| 12366 | |
| 12367 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12368 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12369 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12370 | grpc++_test_util |
| 12371 | grpc_test_util |
| 12372 | grpc++ |
| 12373 | grpc |
| 12374 | gpr_test_util |
| 12375 | gpr |
| 12376 | grpc++_test_config |
| 12377 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12378 | ) |
| 12379 | |
| 12380 | endif (gRPC_BUILD_TESTS) |
| 12381 | if (gRPC_BUILD_TESTS) |
| 12382 | |
| 12383 | add_executable(thread_manager_test |
| 12384 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12385 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12386 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12387 | ) |
| 12388 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12389 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12390 | target_include_directories(thread_manager_test |
| 12391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12393 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12394 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12395 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12396 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12398 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12400 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12401 | PRIVATE third_party/googletest/googletest/include |
| 12402 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12403 | PRIVATE third_party/googletest/googlemock/include |
| 12404 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12405 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12406 | ) |
| 12407 | |
| 12408 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12409 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12410 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12411 | grpc++_unsecure |
| 12412 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12413 | gpr |
| 12414 | grpc++_test_config |
| 12415 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12416 | ) |
| 12417 | |
| 12418 | endif (gRPC_BUILD_TESTS) |
| 12419 | if (gRPC_BUILD_TESTS) |
| 12420 | |
| 12421 | add_executable(thread_stress_test |
| 12422 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12423 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12424 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12425 | ) |
| 12426 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12427 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12428 | target_include_directories(thread_stress_test |
| 12429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12431 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12432 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12433 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12434 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12436 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12439 | PRIVATE third_party/googletest/googletest/include |
| 12440 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12441 | PRIVATE third_party/googletest/googlemock/include |
| 12442 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12443 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12444 | ) |
| 12445 | |
| 12446 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12447 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12448 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12449 | grpc++_test_util_unsecure |
| 12450 | grpc_test_util_unsecure |
| 12451 | grpc++_unsecure |
| 12452 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12453 | gpr_test_util |
| 12454 | gpr |
| 12455 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12456 | ) |
| 12457 | |
| 12458 | endif (gRPC_BUILD_TESTS) |
| 12459 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12460 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12461 | add_executable(transport_pid_controller_test |
| 12462 | test/core/transport/pid_controller_test.cc |
| 12463 | third_party/googletest/googletest/src/gtest-all.cc |
| 12464 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12465 | ) |
| 12466 | |
| 12467 | |
| 12468 | target_include_directories(transport_pid_controller_test |
| 12469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12471 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12476 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12479 | PRIVATE third_party/googletest/googletest/include |
| 12480 | PRIVATE third_party/googletest/googletest |
| 12481 | PRIVATE third_party/googletest/googlemock/include |
| 12482 | PRIVATE third_party/googletest/googlemock |
| 12483 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12484 | ) |
| 12485 | |
| 12486 | target_link_libraries(transport_pid_controller_test |
| 12487 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12489 | grpc++_test_util |
| 12490 | grpc++ |
| 12491 | grpc_test_util |
| 12492 | grpc |
| 12493 | gpr_test_util |
| 12494 | gpr |
| 12495 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12496 | ) |
| 12497 | |
| 12498 | endif (gRPC_BUILD_TESTS) |
| 12499 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12500 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12501 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12502 | add_executable(writes_per_rpc_test |
| 12503 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12504 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12505 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12506 | ) |
| 12507 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12508 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12509 | target_include_directories(writes_per_rpc_test |
| 12510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12517 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12520 | PRIVATE third_party/googletest/googletest/include |
| 12521 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12522 | PRIVATE third_party/googletest/googlemock/include |
| 12523 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12524 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12525 | ) |
| 12526 | |
| 12527 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12528 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12529 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12530 | grpc++_test_util |
| 12531 | grpc_test_util |
| 12532 | grpc++ |
| 12533 | grpc |
| 12534 | gpr_test_util |
| 12535 | gpr |
| 12536 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12537 | ) |
| 12538 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12539 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12540 | endif (gRPC_BUILD_TESTS) |
| 12541 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12542 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12543 | add_executable(public_headers_must_be_c89 |
| 12544 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12545 | ) |
| 12546 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12547 | |
| 12548 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12551 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12552 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12553 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12554 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12555 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12556 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12559 | ) |
| 12560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12561 | target_link_libraries(public_headers_must_be_c89 |
| 12562 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12563 | grpc |
| 12564 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12565 | ) |
| 12566 | |
| 12567 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12568 | |
| 12569 | add_executable(gen_hpack_tables |
| 12570 | tools/codegen/core/gen_hpack_tables.cc |
| 12571 | ) |
| 12572 | |
| 12573 | |
| 12574 | target_include_directories(gen_hpack_tables |
| 12575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12577 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12578 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12579 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12580 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12582 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12585 | ) |
| 12586 | |
| 12587 | target_link_libraries(gen_hpack_tables |
| 12588 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12589 | gpr |
| 12590 | grpc |
| 12591 | ) |
| 12592 | |
| 12593 | |
| 12594 | if (gRPC_INSTALL) |
| 12595 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12596 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12597 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12598 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12599 | ) |
| 12600 | endif() |
| 12601 | |
| 12602 | |
| 12603 | add_executable(gen_legal_metadata_characters |
| 12604 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12605 | ) |
| 12606 | |
| 12607 | |
| 12608 | target_include_directories(gen_legal_metadata_characters |
| 12609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12611 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12612 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12613 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12614 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12615 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12616 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12619 | ) |
| 12620 | |
| 12621 | target_link_libraries(gen_legal_metadata_characters |
| 12622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12623 | ) |
| 12624 | |
| 12625 | |
| 12626 | if (gRPC_INSTALL) |
| 12627 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12628 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12629 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12630 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12631 | ) |
| 12632 | endif() |
| 12633 | |
| 12634 | |
| 12635 | add_executable(gen_percent_encoding_tables |
| 12636 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12637 | ) |
| 12638 | |
| 12639 | |
| 12640 | target_include_directories(gen_percent_encoding_tables |
| 12641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12643 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12644 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12645 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12646 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12648 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12651 | ) |
| 12652 | |
| 12653 | target_link_libraries(gen_percent_encoding_tables |
| 12654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12655 | ) |
| 12656 | |
| 12657 | |
| 12658 | if (gRPC_INSTALL) |
| 12659 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12660 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12661 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12662 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12663 | ) |
| 12664 | endif() |
| 12665 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12666 | if (gRPC_BUILD_TESTS) |
| 12667 | |
| 12668 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12669 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12670 | ) |
| 12671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12673 | target_include_directories(badreq_bad_client_test |
| 12674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12681 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12684 | ) |
| 12685 | |
| 12686 | target_link_libraries(badreq_bad_client_test |
| 12687 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12688 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12689 | bad_client_test |
| 12690 | grpc_test_util_unsecure |
| 12691 | grpc_unsecure |
| 12692 | gpr_test_util |
| 12693 | gpr |
| 12694 | ) |
| 12695 | |
| 12696 | endif (gRPC_BUILD_TESTS) |
| 12697 | if (gRPC_BUILD_TESTS) |
| 12698 | |
| 12699 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12700 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12701 | ) |
| 12702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12704 | target_include_directories(connection_prefix_bad_client_test |
| 12705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12707 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12712 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12714 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12715 | ) |
| 12716 | |
| 12717 | target_link_libraries(connection_prefix_bad_client_test |
| 12718 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12719 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12720 | bad_client_test |
| 12721 | grpc_test_util_unsecure |
| 12722 | grpc_unsecure |
| 12723 | gpr_test_util |
| 12724 | gpr |
| 12725 | ) |
| 12726 | |
| 12727 | endif (gRPC_BUILD_TESTS) |
| 12728 | if (gRPC_BUILD_TESTS) |
| 12729 | |
| 12730 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12731 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12732 | ) |
| 12733 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12734 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12735 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12738 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12739 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12740 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12741 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12743 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12746 | ) |
| 12747 | |
| 12748 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12749 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12750 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12751 | bad_client_test |
| 12752 | grpc_test_util_unsecure |
| 12753 | grpc_unsecure |
| 12754 | gpr_test_util |
| 12755 | gpr |
| 12756 | ) |
| 12757 | |
| 12758 | endif (gRPC_BUILD_TESTS) |
| 12759 | if (gRPC_BUILD_TESTS) |
| 12760 | |
| 12761 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12762 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12763 | ) |
| 12764 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12765 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12766 | target_include_directories(headers_bad_client_test |
| 12767 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12769 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12770 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12771 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12772 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12774 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12777 | ) |
| 12778 | |
| 12779 | target_link_libraries(headers_bad_client_test |
| 12780 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12782 | bad_client_test |
| 12783 | grpc_test_util_unsecure |
| 12784 | grpc_unsecure |
| 12785 | gpr_test_util |
| 12786 | gpr |
| 12787 | ) |
| 12788 | |
| 12789 | endif (gRPC_BUILD_TESTS) |
| 12790 | if (gRPC_BUILD_TESTS) |
| 12791 | |
| 12792 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12793 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12794 | ) |
| 12795 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12797 | target_include_directories(initial_settings_frame_bad_client_test |
| 12798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12800 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12801 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12802 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12803 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12804 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12805 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12808 | ) |
| 12809 | |
| 12810 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12811 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12813 | bad_client_test |
| 12814 | grpc_test_util_unsecure |
| 12815 | grpc_unsecure |
| 12816 | gpr_test_util |
| 12817 | gpr |
| 12818 | ) |
| 12819 | |
| 12820 | endif (gRPC_BUILD_TESTS) |
| 12821 | if (gRPC_BUILD_TESTS) |
| 12822 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12823 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12824 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12825 | ) |
| 12826 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12827 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12828 | target_include_directories(server_registered_method_bad_client_test |
| 12829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12831 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12832 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12833 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12834 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12836 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12839 | ) |
| 12840 | |
| 12841 | target_link_libraries(server_registered_method_bad_client_test |
| 12842 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12844 | bad_client_test |
| 12845 | grpc_test_util_unsecure |
| 12846 | grpc_unsecure |
| 12847 | gpr_test_util |
| 12848 | gpr |
| 12849 | ) |
| 12850 | |
| 12851 | endif (gRPC_BUILD_TESTS) |
| 12852 | if (gRPC_BUILD_TESTS) |
| 12853 | |
| 12854 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12855 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12856 | ) |
| 12857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12859 | target_include_directories(simple_request_bad_client_test |
| 12860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12862 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12863 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12864 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12867 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12870 | ) |
| 12871 | |
| 12872 | target_link_libraries(simple_request_bad_client_test |
| 12873 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12874 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12875 | bad_client_test |
| 12876 | grpc_test_util_unsecure |
| 12877 | grpc_unsecure |
| 12878 | gpr_test_util |
| 12879 | gpr |
| 12880 | ) |
| 12881 | |
| 12882 | endif (gRPC_BUILD_TESTS) |
| 12883 | if (gRPC_BUILD_TESTS) |
| 12884 | |
| 12885 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12886 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12887 | ) |
| 12888 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12889 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12890 | target_include_directories(unknown_frame_bad_client_test |
| 12891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12893 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12894 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12895 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12896 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12898 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12901 | ) |
| 12902 | |
| 12903 | target_link_libraries(unknown_frame_bad_client_test |
| 12904 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12905 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12906 | bad_client_test |
| 12907 | grpc_test_util_unsecure |
| 12908 | grpc_unsecure |
| 12909 | gpr_test_util |
| 12910 | gpr |
| 12911 | ) |
| 12912 | |
| 12913 | endif (gRPC_BUILD_TESTS) |
| 12914 | if (gRPC_BUILD_TESTS) |
| 12915 | |
| 12916 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12917 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12918 | ) |
| 12919 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12920 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12921 | target_include_directories(window_overflow_bad_client_test |
| 12922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12924 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12925 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12926 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12927 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12929 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12932 | ) |
| 12933 | |
| 12934 | target_link_libraries(window_overflow_bad_client_test |
| 12935 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12937 | bad_client_test |
| 12938 | grpc_test_util_unsecure |
| 12939 | grpc_unsecure |
| 12940 | gpr_test_util |
| 12941 | gpr |
| 12942 | ) |
| 12943 | |
| 12944 | endif (gRPC_BUILD_TESTS) |
| 12945 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12946 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12947 | |
| 12948 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12949 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12950 | ) |
| 12951 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12952 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12953 | target_include_directories(bad_ssl_cert_server |
| 12954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12956 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12957 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12958 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12959 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12961 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12963 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12964 | ) |
| 12965 | |
| 12966 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12968 | bad_ssl_test_server |
| 12969 | grpc_test_util |
| 12970 | grpc |
| 12971 | gpr_test_util |
| 12972 | gpr |
| 12973 | ) |
| 12974 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12975 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12976 | endif (gRPC_BUILD_TESTS) |
| 12977 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12978 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12979 | |
| 12980 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12981 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12982 | ) |
| 12983 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12984 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12985 | target_include_directories(bad_ssl_cert_test |
| 12986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12988 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12989 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12990 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12991 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12993 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12996 | ) |
| 12997 | |
| 12998 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12999 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13000 | grpc_test_util |
| 13001 | grpc |
| 13002 | gpr_test_util |
| 13003 | gpr |
| 13004 | ) |
| 13005 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13006 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13007 | endif (gRPC_BUILD_TESTS) |
| 13008 | if (gRPC_BUILD_TESTS) |
| 13009 | |
| 13010 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13011 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13012 | ) |
| 13013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13015 | target_include_directories(h2_census_test |
| 13016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13018 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13023 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13026 | ) |
| 13027 | |
| 13028 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13030 | end2end_tests |
| 13031 | grpc_test_util |
| 13032 | grpc |
| 13033 | gpr_test_util |
| 13034 | gpr |
| 13035 | ) |
| 13036 | |
| 13037 | endif (gRPC_BUILD_TESTS) |
| 13038 | if (gRPC_BUILD_TESTS) |
| 13039 | |
| 13040 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13041 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13042 | ) |
| 13043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13045 | target_include_directories(h2_compress_test |
| 13046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13049 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13050 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13051 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13053 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13056 | ) |
| 13057 | |
| 13058 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13059 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13060 | end2end_tests |
| 13061 | grpc_test_util |
| 13062 | grpc |
| 13063 | gpr_test_util |
| 13064 | gpr |
| 13065 | ) |
| 13066 | |
| 13067 | endif (gRPC_BUILD_TESTS) |
| 13068 | if (gRPC_BUILD_TESTS) |
| 13069 | |
| 13070 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13071 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13072 | ) |
| 13073 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13074 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13075 | target_include_directories(h2_fakesec_test |
| 13076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13078 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13079 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13080 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13081 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13083 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13086 | ) |
| 13087 | |
| 13088 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13089 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13090 | end2end_tests |
| 13091 | grpc_test_util |
| 13092 | grpc |
| 13093 | gpr_test_util |
| 13094 | gpr |
| 13095 | ) |
| 13096 | |
| 13097 | endif (gRPC_BUILD_TESTS) |
| 13098 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13099 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13100 | |
| 13101 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13102 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13103 | ) |
| 13104 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13105 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13106 | target_include_directories(h2_fd_test |
| 13107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13109 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13110 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13111 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13112 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13114 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13117 | ) |
| 13118 | |
| 13119 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13120 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13121 | end2end_tests |
| 13122 | grpc_test_util |
| 13123 | grpc |
| 13124 | gpr_test_util |
| 13125 | gpr |
| 13126 | ) |
| 13127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13128 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13129 | endif (gRPC_BUILD_TESTS) |
| 13130 | if (gRPC_BUILD_TESTS) |
| 13131 | |
| 13132 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13133 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13134 | ) |
| 13135 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13136 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13137 | target_include_directories(h2_full_test |
| 13138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13139 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13140 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13141 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13142 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13143 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13144 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13145 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13147 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13148 | ) |
| 13149 | |
| 13150 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13151 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13152 | end2end_tests |
| 13153 | grpc_test_util |
| 13154 | grpc |
| 13155 | gpr_test_util |
| 13156 | gpr |
| 13157 | ) |
| 13158 | |
| 13159 | endif (gRPC_BUILD_TESTS) |
| 13160 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13161 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13162 | |
| 13163 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13164 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13165 | ) |
| 13166 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13167 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13168 | target_include_directories(h2_full+pipe_test |
| 13169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13170 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13171 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13172 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13173 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13174 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13175 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13176 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13179 | ) |
| 13180 | |
| 13181 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13182 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13183 | end2end_tests |
| 13184 | grpc_test_util |
| 13185 | grpc |
| 13186 | gpr_test_util |
| 13187 | gpr |
| 13188 | ) |
| 13189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13190 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13191 | endif (gRPC_BUILD_TESTS) |
| 13192 | if (gRPC_BUILD_TESTS) |
| 13193 | |
| 13194 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13195 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13196 | ) |
| 13197 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13198 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13199 | target_include_directories(h2_full+trace_test |
| 13200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13202 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13203 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13204 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13205 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13207 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13210 | ) |
| 13211 | |
| 13212 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13214 | end2end_tests |
| 13215 | grpc_test_util |
| 13216 | grpc |
| 13217 | gpr_test_util |
| 13218 | gpr |
| 13219 | ) |
| 13220 | |
| 13221 | endif (gRPC_BUILD_TESTS) |
| 13222 | if (gRPC_BUILD_TESTS) |
| 13223 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13224 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13225 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13226 | ) |
| 13227 | |
| 13228 | |
| 13229 | target_include_directories(h2_full+workarounds_test |
| 13230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13232 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13233 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13234 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13235 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13237 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13240 | ) |
| 13241 | |
| 13242 | target_link_libraries(h2_full+workarounds_test |
| 13243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13244 | end2end_tests |
| 13245 | grpc_test_util |
| 13246 | grpc |
| 13247 | gpr_test_util |
| 13248 | gpr |
| 13249 | ) |
| 13250 | |
| 13251 | endif (gRPC_BUILD_TESTS) |
| 13252 | if (gRPC_BUILD_TESTS) |
| 13253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13254 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13255 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13256 | ) |
| 13257 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13258 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13259 | target_include_directories(h2_http_proxy_test |
| 13260 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13262 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13263 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13264 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13265 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13267 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13268 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13270 | ) |
| 13271 | |
| 13272 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13274 | end2end_tests |
| 13275 | grpc_test_util |
| 13276 | grpc |
| 13277 | gpr_test_util |
| 13278 | gpr |
| 13279 | ) |
| 13280 | |
| 13281 | endif (gRPC_BUILD_TESTS) |
| 13282 | if (gRPC_BUILD_TESTS) |
| 13283 | |
| 13284 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13285 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13286 | ) |
| 13287 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13288 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13289 | target_include_directories(h2_load_reporting_test |
| 13290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13292 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13293 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13294 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13295 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13297 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13300 | ) |
| 13301 | |
| 13302 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13304 | end2end_tests |
| 13305 | grpc_test_util |
| 13306 | grpc |
| 13307 | gpr_test_util |
| 13308 | gpr |
| 13309 | ) |
| 13310 | |
| 13311 | endif (gRPC_BUILD_TESTS) |
| 13312 | if (gRPC_BUILD_TESTS) |
| 13313 | |
| 13314 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13315 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13316 | ) |
| 13317 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13318 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13319 | target_include_directories(h2_oauth2_test |
| 13320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13322 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13323 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13324 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13325 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13327 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13330 | ) |
| 13331 | |
| 13332 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13333 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13334 | end2end_tests |
| 13335 | grpc_test_util |
| 13336 | grpc |
| 13337 | gpr_test_util |
| 13338 | gpr |
| 13339 | ) |
| 13340 | |
| 13341 | endif (gRPC_BUILD_TESTS) |
| 13342 | if (gRPC_BUILD_TESTS) |
| 13343 | |
| 13344 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13345 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13346 | ) |
| 13347 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13348 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13349 | target_include_directories(h2_proxy_test |
| 13350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13352 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13353 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13354 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13355 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13357 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13360 | ) |
| 13361 | |
| 13362 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13363 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13364 | end2end_tests |
| 13365 | grpc_test_util |
| 13366 | grpc |
| 13367 | gpr_test_util |
| 13368 | gpr |
| 13369 | ) |
| 13370 | |
| 13371 | endif (gRPC_BUILD_TESTS) |
| 13372 | if (gRPC_BUILD_TESTS) |
| 13373 | |
| 13374 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13375 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13376 | ) |
| 13377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13378 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13379 | target_include_directories(h2_sockpair_test |
| 13380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13382 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13384 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13385 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13387 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13390 | ) |
| 13391 | |
| 13392 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13394 | end2end_tests |
| 13395 | grpc_test_util |
| 13396 | grpc |
| 13397 | gpr_test_util |
| 13398 | gpr |
| 13399 | ) |
| 13400 | |
| 13401 | endif (gRPC_BUILD_TESTS) |
| 13402 | if (gRPC_BUILD_TESTS) |
| 13403 | |
| 13404 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13405 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13406 | ) |
| 13407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13409 | target_include_directories(h2_sockpair+trace_test |
| 13410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13412 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13413 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13414 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13415 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13417 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13420 | ) |
| 13421 | |
| 13422 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13423 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13424 | end2end_tests |
| 13425 | grpc_test_util |
| 13426 | grpc |
| 13427 | gpr_test_util |
| 13428 | gpr |
| 13429 | ) |
| 13430 | |
| 13431 | endif (gRPC_BUILD_TESTS) |
| 13432 | if (gRPC_BUILD_TESTS) |
| 13433 | |
| 13434 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13435 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13436 | ) |
| 13437 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13438 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13439 | target_include_directories(h2_sockpair_1byte_test |
| 13440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13442 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13443 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13444 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13445 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13447 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13450 | ) |
| 13451 | |
| 13452 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13453 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13454 | end2end_tests |
| 13455 | grpc_test_util |
| 13456 | grpc |
| 13457 | gpr_test_util |
| 13458 | gpr |
| 13459 | ) |
| 13460 | |
| 13461 | endif (gRPC_BUILD_TESTS) |
| 13462 | if (gRPC_BUILD_TESTS) |
| 13463 | |
| 13464 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13465 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13466 | ) |
| 13467 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13468 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13469 | target_include_directories(h2_ssl_test |
| 13470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13472 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13473 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13474 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13475 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13477 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13480 | ) |
| 13481 | |
| 13482 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13484 | end2end_tests |
| 13485 | grpc_test_util |
| 13486 | grpc |
| 13487 | gpr_test_util |
| 13488 | gpr |
| 13489 | ) |
| 13490 | |
| 13491 | endif (gRPC_BUILD_TESTS) |
| 13492 | if (gRPC_BUILD_TESTS) |
| 13493 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13494 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13495 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13496 | ) |
| 13497 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13498 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13499 | target_include_directories(h2_ssl_proxy_test |
| 13500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13502 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13503 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13504 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13505 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13507 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13510 | ) |
| 13511 | |
| 13512 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13514 | end2end_tests |
| 13515 | grpc_test_util |
| 13516 | grpc |
| 13517 | gpr_test_util |
| 13518 | gpr |
| 13519 | ) |
| 13520 | |
| 13521 | endif (gRPC_BUILD_TESTS) |
| 13522 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13523 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13524 | |
| 13525 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13526 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13527 | ) |
| 13528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13530 | target_include_directories(h2_uds_test |
| 13531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13538 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13541 | ) |
| 13542 | |
| 13543 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | end2end_tests |
| 13546 | grpc_test_util |
| 13547 | grpc |
| 13548 | gpr_test_util |
| 13549 | gpr |
| 13550 | ) |
| 13551 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13552 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13553 | endif (gRPC_BUILD_TESTS) |
| 13554 | if (gRPC_BUILD_TESTS) |
| 13555 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13556 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13557 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13558 | ) |
| 13559 | |
| 13560 | |
| 13561 | target_include_directories(inproc_test |
| 13562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13564 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13565 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13566 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13567 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13569 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13572 | ) |
| 13573 | |
| 13574 | target_link_libraries(inproc_test |
| 13575 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13576 | end2end_tests |
| 13577 | grpc_test_util |
| 13578 | grpc |
| 13579 | gpr_test_util |
| 13580 | gpr |
| 13581 | ) |
| 13582 | |
| 13583 | endif (gRPC_BUILD_TESTS) |
| 13584 | if (gRPC_BUILD_TESTS) |
| 13585 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13586 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13587 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13588 | ) |
| 13589 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13590 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13591 | target_include_directories(h2_census_nosec_test |
| 13592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13594 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13595 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13596 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13597 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13599 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13602 | ) |
| 13603 | |
| 13604 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13605 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13606 | end2end_nosec_tests |
| 13607 | grpc_test_util_unsecure |
| 13608 | grpc_unsecure |
| 13609 | gpr_test_util |
| 13610 | gpr |
| 13611 | ) |
| 13612 | |
| 13613 | endif (gRPC_BUILD_TESTS) |
| 13614 | if (gRPC_BUILD_TESTS) |
| 13615 | |
| 13616 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13617 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13618 | ) |
| 13619 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13620 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13621 | target_include_directories(h2_compress_nosec_test |
| 13622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13624 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13625 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13626 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13627 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13629 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13632 | ) |
| 13633 | |
| 13634 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13636 | end2end_nosec_tests |
| 13637 | grpc_test_util_unsecure |
| 13638 | grpc_unsecure |
| 13639 | gpr_test_util |
| 13640 | gpr |
| 13641 | ) |
| 13642 | |
| 13643 | endif (gRPC_BUILD_TESTS) |
| 13644 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13645 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13646 | |
| 13647 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13648 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13649 | ) |
| 13650 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13651 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13652 | target_include_directories(h2_fd_nosec_test |
| 13653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13654 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13655 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13656 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13657 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13658 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13660 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13663 | ) |
| 13664 | |
| 13665 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13666 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13667 | end2end_nosec_tests |
| 13668 | grpc_test_util_unsecure |
| 13669 | grpc_unsecure |
| 13670 | gpr_test_util |
| 13671 | gpr |
| 13672 | ) |
| 13673 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13674 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13675 | endif (gRPC_BUILD_TESTS) |
| 13676 | if (gRPC_BUILD_TESTS) |
| 13677 | |
| 13678 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13679 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13680 | ) |
| 13681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13682 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13683 | target_include_directories(h2_full_nosec_test |
| 13684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13686 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13687 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13688 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13689 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13691 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13694 | ) |
| 13695 | |
| 13696 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13697 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13698 | end2end_nosec_tests |
| 13699 | grpc_test_util_unsecure |
| 13700 | grpc_unsecure |
| 13701 | gpr_test_util |
| 13702 | gpr |
| 13703 | ) |
| 13704 | |
| 13705 | endif (gRPC_BUILD_TESTS) |
| 13706 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13707 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13708 | |
| 13709 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13710 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13711 | ) |
| 13712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13714 | target_include_directories(h2_full+pipe_nosec_test |
| 13715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13718 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13719 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13720 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13722 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13725 | ) |
| 13726 | |
| 13727 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13728 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13729 | end2end_nosec_tests |
| 13730 | grpc_test_util_unsecure |
| 13731 | grpc_unsecure |
| 13732 | gpr_test_util |
| 13733 | gpr |
| 13734 | ) |
| 13735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13736 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13737 | endif (gRPC_BUILD_TESTS) |
| 13738 | if (gRPC_BUILD_TESTS) |
| 13739 | |
| 13740 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13741 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13742 | ) |
| 13743 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13744 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13745 | target_include_directories(h2_full+trace_nosec_test |
| 13746 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13748 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13749 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13750 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13751 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13753 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13756 | ) |
| 13757 | |
| 13758 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13760 | end2end_nosec_tests |
| 13761 | grpc_test_util_unsecure |
| 13762 | grpc_unsecure |
| 13763 | gpr_test_util |
| 13764 | gpr |
| 13765 | ) |
| 13766 | |
| 13767 | endif (gRPC_BUILD_TESTS) |
| 13768 | if (gRPC_BUILD_TESTS) |
| 13769 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13770 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13771 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13772 | ) |
| 13773 | |
| 13774 | |
| 13775 | target_include_directories(h2_full+workarounds_nosec_test |
| 13776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13778 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13779 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13780 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13781 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13783 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13786 | ) |
| 13787 | |
| 13788 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13790 | end2end_nosec_tests |
| 13791 | grpc_test_util_unsecure |
| 13792 | grpc_unsecure |
| 13793 | gpr_test_util |
| 13794 | gpr |
| 13795 | ) |
| 13796 | |
| 13797 | endif (gRPC_BUILD_TESTS) |
| 13798 | if (gRPC_BUILD_TESTS) |
| 13799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13800 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13801 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13802 | ) |
| 13803 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13804 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13805 | target_include_directories(h2_http_proxy_nosec_test |
| 13806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13808 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13809 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13810 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13811 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13813 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13816 | ) |
| 13817 | |
| 13818 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13820 | end2end_nosec_tests |
| 13821 | grpc_test_util_unsecure |
| 13822 | grpc_unsecure |
| 13823 | gpr_test_util |
| 13824 | gpr |
| 13825 | ) |
| 13826 | |
| 13827 | endif (gRPC_BUILD_TESTS) |
| 13828 | if (gRPC_BUILD_TESTS) |
| 13829 | |
| 13830 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13831 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13832 | ) |
| 13833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13835 | target_include_directories(h2_load_reporting_nosec_test |
| 13836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13838 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13846 | ) |
| 13847 | |
| 13848 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13849 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13850 | end2end_nosec_tests |
| 13851 | grpc_test_util_unsecure |
| 13852 | grpc_unsecure |
| 13853 | gpr_test_util |
| 13854 | gpr |
| 13855 | ) |
| 13856 | |
| 13857 | endif (gRPC_BUILD_TESTS) |
| 13858 | if (gRPC_BUILD_TESTS) |
| 13859 | |
| 13860 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13861 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13862 | ) |
| 13863 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13864 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13865 | target_include_directories(h2_proxy_nosec_test |
| 13866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13868 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13869 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13870 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13871 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13873 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13876 | ) |
| 13877 | |
| 13878 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13879 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13880 | end2end_nosec_tests |
| 13881 | grpc_test_util_unsecure |
| 13882 | grpc_unsecure |
| 13883 | gpr_test_util |
| 13884 | gpr |
| 13885 | ) |
| 13886 | |
| 13887 | endif (gRPC_BUILD_TESTS) |
| 13888 | if (gRPC_BUILD_TESTS) |
| 13889 | |
| 13890 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13891 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13892 | ) |
| 13893 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13894 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13895 | target_include_directories(h2_sockpair_nosec_test |
| 13896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13898 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13899 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13900 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13901 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13903 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13906 | ) |
| 13907 | |
| 13908 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13910 | end2end_nosec_tests |
| 13911 | grpc_test_util_unsecure |
| 13912 | grpc_unsecure |
| 13913 | gpr_test_util |
| 13914 | gpr |
| 13915 | ) |
| 13916 | |
| 13917 | endif (gRPC_BUILD_TESTS) |
| 13918 | if (gRPC_BUILD_TESTS) |
| 13919 | |
| 13920 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13921 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13922 | ) |
| 13923 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13925 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13928 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13929 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13930 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13931 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13933 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13936 | ) |
| 13937 | |
| 13938 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13940 | end2end_nosec_tests |
| 13941 | grpc_test_util_unsecure |
| 13942 | grpc_unsecure |
| 13943 | gpr_test_util |
| 13944 | gpr |
| 13945 | ) |
| 13946 | |
| 13947 | endif (gRPC_BUILD_TESTS) |
| 13948 | if (gRPC_BUILD_TESTS) |
| 13949 | |
| 13950 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13951 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13952 | ) |
| 13953 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13954 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13955 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13957 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13958 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13959 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13960 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13961 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13963 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13966 | ) |
| 13967 | |
| 13968 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13969 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13970 | end2end_nosec_tests |
| 13971 | grpc_test_util_unsecure |
| 13972 | grpc_unsecure |
| 13973 | gpr_test_util |
| 13974 | gpr |
| 13975 | ) |
| 13976 | |
| 13977 | endif (gRPC_BUILD_TESTS) |
| 13978 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13979 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13980 | |
| 13981 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13982 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13983 | ) |
| 13984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13985 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13986 | target_include_directories(h2_uds_nosec_test |
| 13987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13989 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13990 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13991 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13992 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13994 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13997 | ) |
| 13998 | |
| 13999 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14000 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14001 | end2end_nosec_tests |
| 14002 | grpc_test_util_unsecure |
| 14003 | grpc_unsecure |
| 14004 | gpr_test_util |
| 14005 | gpr |
| 14006 | ) |
| 14007 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14008 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14009 | endif (gRPC_BUILD_TESTS) |
| 14010 | if (gRPC_BUILD_TESTS) |
| 14011 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14012 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14013 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14014 | ) |
| 14015 | |
| 14016 | |
| 14017 | target_include_directories(inproc_nosec_test |
| 14018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14020 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14021 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14022 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14023 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14025 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14028 | ) |
| 14029 | |
| 14030 | target_link_libraries(inproc_nosec_test |
| 14031 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14032 | end2end_nosec_tests |
| 14033 | grpc_test_util_unsecure |
| 14034 | grpc_unsecure |
| 14035 | gpr_test_util |
| 14036 | gpr |
| 14037 | ) |
| 14038 | |
| 14039 | endif (gRPC_BUILD_TESTS) |
| 14040 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14041 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14042 | |
| 14043 | add_executable(resolver_component_test_unsecure |
| 14044 | test/cpp/naming/resolver_component_test.cc |
| 14045 | third_party/googletest/googletest/src/gtest-all.cc |
| 14046 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14047 | ) |
| 14048 | |
| 14049 | |
| 14050 | target_include_directories(resolver_component_test_unsecure |
| 14051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14053 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14054 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14055 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14056 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14058 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14061 | PRIVATE third_party/googletest/googletest/include |
| 14062 | PRIVATE third_party/googletest/googletest |
| 14063 | PRIVATE third_party/googletest/googlemock/include |
| 14064 | PRIVATE third_party/googletest/googlemock |
| 14065 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14066 | ) |
| 14067 | |
| 14068 | target_link_libraries(resolver_component_test_unsecure |
| 14069 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14071 | grpc++_test_util_unsecure |
| 14072 | grpc_test_util_unsecure |
| 14073 | gpr_test_util |
| 14074 | grpc++_unsecure |
| 14075 | grpc_unsecure |
| 14076 | gpr |
| 14077 | grpc++_test_config |
| 14078 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14079 | ) |
| 14080 | |
| 14081 | endif() |
| 14082 | endif (gRPC_BUILD_TESTS) |
| 14083 | if (gRPC_BUILD_TESTS) |
| 14084 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14085 | |
| 14086 | add_executable(resolver_component_test |
| 14087 | test/cpp/naming/resolver_component_test.cc |
| 14088 | third_party/googletest/googletest/src/gtest-all.cc |
| 14089 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14090 | ) |
| 14091 | |
| 14092 | |
| 14093 | target_include_directories(resolver_component_test |
| 14094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14096 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14097 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14098 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14099 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14101 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14104 | PRIVATE third_party/googletest/googletest/include |
| 14105 | PRIVATE third_party/googletest/googletest |
| 14106 | PRIVATE third_party/googletest/googlemock/include |
| 14107 | PRIVATE third_party/googletest/googlemock |
| 14108 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14109 | ) |
| 14110 | |
| 14111 | target_link_libraries(resolver_component_test |
| 14112 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14114 | grpc++_test_util |
| 14115 | grpc_test_util |
| 14116 | gpr_test_util |
| 14117 | grpc++ |
| 14118 | grpc |
| 14119 | gpr |
| 14120 | grpc++_test_config |
| 14121 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14122 | ) |
| 14123 | |
| 14124 | endif() |
| 14125 | endif (gRPC_BUILD_TESTS) |
| 14126 | if (gRPC_BUILD_TESTS) |
| 14127 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14128 | |
| 14129 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 14130 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14131 | third_party/googletest/googletest/src/gtest-all.cc |
| 14132 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14133 | ) |
| 14134 | |
| 14135 | |
| 14136 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 14137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14139 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14140 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14141 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14142 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14144 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14145 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14147 | PRIVATE third_party/googletest/googletest/include |
| 14148 | PRIVATE third_party/googletest/googletest |
| 14149 | PRIVATE third_party/googletest/googlemock/include |
| 14150 | PRIVATE third_party/googletest/googlemock |
| 14151 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14152 | ) |
| 14153 | |
| 14154 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 14155 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14157 | grpc++_test_util |
| 14158 | grpc_test_util |
| 14159 | gpr_test_util |
| 14160 | grpc++ |
| 14161 | grpc |
| 14162 | gpr |
| 14163 | grpc++_test_config |
| 14164 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14165 | ) |
| 14166 | |
| 14167 | endif() |
| 14168 | endif (gRPC_BUILD_TESTS) |
| 14169 | if (gRPC_BUILD_TESTS) |
| 14170 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14171 | |
| 14172 | add_executable(resolver_component_tests_runner_invoker |
| 14173 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14174 | third_party/googletest/googletest/src/gtest-all.cc |
| 14175 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14176 | ) |
| 14177 | |
| 14178 | |
| 14179 | target_include_directories(resolver_component_tests_runner_invoker |
| 14180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14182 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14183 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14184 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14185 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14187 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14190 | PRIVATE third_party/googletest/googletest/include |
| 14191 | PRIVATE third_party/googletest/googletest |
| 14192 | PRIVATE third_party/googletest/googlemock/include |
| 14193 | PRIVATE third_party/googletest/googlemock |
| 14194 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14195 | ) |
| 14196 | |
| 14197 | target_link_libraries(resolver_component_tests_runner_invoker |
| 14198 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14200 | grpc++_test_util |
| 14201 | grpc_test_util |
| 14202 | gpr_test_util |
| 14203 | grpc++ |
| 14204 | grpc |
| 14205 | gpr |
| 14206 | grpc++_test_config |
| 14207 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14208 | ) |
| 14209 | |
| 14210 | endif() |
| 14211 | endif (gRPC_BUILD_TESTS) |
| 14212 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14214 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14215 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14216 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14217 | ) |
| 14218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14220 | target_include_directories(api_fuzzer_one_entry |
| 14221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14223 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14226 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14228 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14231 | ) |
| 14232 | |
| 14233 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14235 | grpc_test_util |
| 14236 | grpc |
| 14237 | gpr_test_util |
| 14238 | gpr |
| 14239 | ) |
| 14240 | |
| 14241 | endif (gRPC_BUILD_TESTS) |
| 14242 | if (gRPC_BUILD_TESTS) |
| 14243 | |
| 14244 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14245 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14246 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14247 | ) |
| 14248 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14249 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14250 | target_include_directories(client_fuzzer_one_entry |
| 14251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14252 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14253 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14254 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14255 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14256 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14258 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14261 | ) |
| 14262 | |
| 14263 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14264 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14265 | grpc_test_util |
| 14266 | grpc |
| 14267 | gpr_test_util |
| 14268 | gpr |
| 14269 | ) |
| 14270 | |
| 14271 | endif (gRPC_BUILD_TESTS) |
| 14272 | if (gRPC_BUILD_TESTS) |
| 14273 | |
| 14274 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14275 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14276 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14277 | ) |
| 14278 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14279 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14280 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14283 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14285 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14286 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14288 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14291 | ) |
| 14292 | |
| 14293 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14294 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14295 | grpc_test_util |
| 14296 | grpc |
| 14297 | gpr_test_util |
| 14298 | gpr |
| 14299 | ) |
| 14300 | |
| 14301 | endif (gRPC_BUILD_TESTS) |
| 14302 | if (gRPC_BUILD_TESTS) |
| 14303 | |
| 14304 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14305 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14306 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14307 | ) |
| 14308 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14309 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14310 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14313 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14314 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14315 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14316 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14318 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14321 | ) |
| 14322 | |
| 14323 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14324 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14325 | grpc_test_util |
| 14326 | grpc |
| 14327 | gpr_test_util |
| 14328 | gpr |
| 14329 | ) |
| 14330 | |
| 14331 | endif (gRPC_BUILD_TESTS) |
| 14332 | if (gRPC_BUILD_TESTS) |
| 14333 | |
| 14334 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14335 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14336 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14337 | ) |
| 14338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14339 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14340 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14343 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14344 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14345 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14346 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14348 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14351 | ) |
| 14352 | |
| 14353 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14354 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14355 | grpc_test_util |
| 14356 | grpc |
| 14357 | gpr_test_util |
| 14358 | gpr |
| 14359 | ) |
| 14360 | |
| 14361 | endif (gRPC_BUILD_TESTS) |
| 14362 | if (gRPC_BUILD_TESTS) |
| 14363 | |
| 14364 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14365 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14366 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14367 | ) |
| 14368 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14369 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14370 | target_include_directories(json_fuzzer_test_one_entry |
| 14371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14373 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14374 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14375 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14376 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14378 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14381 | ) |
| 14382 | |
| 14383 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14385 | grpc_test_util |
| 14386 | grpc |
| 14387 | gpr_test_util |
| 14388 | gpr |
| 14389 | ) |
| 14390 | |
| 14391 | endif (gRPC_BUILD_TESTS) |
| 14392 | if (gRPC_BUILD_TESTS) |
| 14393 | |
| 14394 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14395 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14396 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14397 | ) |
| 14398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14400 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14403 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14404 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14405 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14406 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14408 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14411 | ) |
| 14412 | |
| 14413 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14415 | grpc_test_util |
| 14416 | grpc |
| 14417 | gpr_test_util |
| 14418 | gpr |
| 14419 | ) |
| 14420 | |
| 14421 | endif (gRPC_BUILD_TESTS) |
| 14422 | if (gRPC_BUILD_TESTS) |
| 14423 | |
| 14424 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14425 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14426 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14427 | ) |
| 14428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14430 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14433 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14435 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14436 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14438 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14441 | ) |
| 14442 | |
| 14443 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14444 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14445 | grpc_test_util |
| 14446 | grpc |
| 14447 | gpr_test_util |
| 14448 | gpr |
| 14449 | ) |
| 14450 | |
| 14451 | endif (gRPC_BUILD_TESTS) |
| 14452 | if (gRPC_BUILD_TESTS) |
| 14453 | |
| 14454 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14455 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14456 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14457 | ) |
| 14458 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14459 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14460 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14463 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14464 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14465 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14466 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14468 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14471 | ) |
| 14472 | |
| 14473 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14475 | grpc_test_util |
| 14476 | grpc |
| 14477 | gpr_test_util |
| 14478 | gpr |
| 14479 | ) |
| 14480 | |
| 14481 | endif (gRPC_BUILD_TESTS) |
| 14482 | if (gRPC_BUILD_TESTS) |
| 14483 | |
| 14484 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14485 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14486 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14487 | ) |
| 14488 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14489 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14490 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14492 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14493 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14494 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14495 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14496 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14497 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14498 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14500 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14501 | ) |
| 14502 | |
| 14503 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14505 | grpc_test_util |
| 14506 | grpc |
| 14507 | gpr_test_util |
| 14508 | gpr |
| 14509 | ) |
| 14510 | |
| 14511 | endif (gRPC_BUILD_TESTS) |
| 14512 | if (gRPC_BUILD_TESTS) |
| 14513 | |
| 14514 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14515 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14516 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14517 | ) |
| 14518 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14519 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14520 | target_include_directories(server_fuzzer_one_entry |
| 14521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14522 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14523 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14524 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14525 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14526 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14528 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14531 | ) |
| 14532 | |
| 14533 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14534 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14535 | grpc_test_util |
| 14536 | grpc |
| 14537 | gpr_test_util |
| 14538 | gpr |
| 14539 | ) |
| 14540 | |
| 14541 | endif (gRPC_BUILD_TESTS) |
| 14542 | if (gRPC_BUILD_TESTS) |
| 14543 | |
| 14544 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14545 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14546 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14547 | ) |
| 14548 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14549 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14550 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14553 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14554 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14555 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14556 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14558 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14561 | ) |
| 14562 | |
| 14563 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14565 | grpc_test_util |
| 14566 | grpc |
| 14567 | gpr_test_util |
| 14568 | gpr |
| 14569 | ) |
| 14570 | |
| 14571 | endif (gRPC_BUILD_TESTS) |
| 14572 | if (gRPC_BUILD_TESTS) |
| 14573 | |
| 14574 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14575 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14576 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14577 | ) |
| 14578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14579 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14580 | target_include_directories(uri_fuzzer_test_one_entry |
| 14581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14583 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14584 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14585 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14586 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14588 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14591 | ) |
| 14592 | |
| 14593 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14595 | grpc_test_util |
| 14596 | grpc |
| 14597 | gpr_test_util |
| 14598 | gpr |
| 14599 | ) |
| 14600 | |
| 14601 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14602 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14603 | |
| 14604 | |
| 14605 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14606 | |
| 14607 | |
| 14608 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14609 | if (gRPC_INSTALL) |
| 14610 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14611 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14612 | NAMESPACE gRPC:: |
| 14613 | ) |
| 14614 | endif() |
| 14615 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14616 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14617 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14618 | ${_config}.cmake @ONLY) |
| 14619 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14620 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14621 | ) |
| 14622 | endforeach() |