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 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 49 | # Providers for third-party dependencies (gRPC_*_PROVIDER properties): |
| 50 | # "module": build the dependency using sources from git submodule (under third_party) |
| 51 | # "package": use cmake's find_package functionality to locate a pre-installed dependency |
| 52 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 53 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 54 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 55 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 56 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 57 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 58 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 59 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 60 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 61 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 62 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 63 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 64 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 65 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 66 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 67 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 68 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 69 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 70 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 71 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 72 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 73 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 74 | set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 75 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 76 | if(UNIX) |
| 77 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 78 | set(_gRPC_PLATFORM_LINUX ON) |
| 79 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 80 | set(_gRPC_PLATFORM_MAC ON) |
| 81 | else() |
| 82 | set(_gRPC_PLATFORM_POSIX ON) |
| 83 | endif() |
| 84 | endif() |
| 85 | if(WIN32) |
| 86 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 87 | endif() |
| 88 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 89 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 90 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 91 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 92 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 93 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 94 | # needed to compile protobuf |
| 95 | add_definitions(/wd4065 /wd4506) |
| 96 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 97 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 98 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 99 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 100 | endif() |
| 101 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 102 | if (gRPC_USE_PROTO_LITE) |
| 103 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 104 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 105 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 106 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 107 | endif() |
| 108 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 109 | include(cmake/zlib.cmake) |
| 110 | include(cmake/cares.cmake) |
| 111 | include(cmake/protobuf.cmake) |
| 112 | include(cmake/ssl.cmake) |
| 113 | include(cmake/gflags.cmake) |
| 114 | include(cmake/benchmark.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 115 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 116 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 117 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 118 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 119 | endif() |
| 120 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 121 | if(_gRPC_PLATFORM_MAC) |
| 122 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 123 | elseif(UNIX) |
| 124 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 125 | endif() |
| 126 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 127 | if(WIN32 AND MSVC) |
| 128 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 129 | endif() |
| 130 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 131 | # Create directory for generated .proto files |
| 132 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 133 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 134 | |
| 135 | # protobuf_generate_grpc_cpp |
| 136 | # -------------------------- |
| 137 | # |
| 138 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 139 | # GRPC plugin:: |
| 140 | # |
| 141 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 142 | # |
| 143 | # ``ARGN`` |
| 144 | # ``.proto`` files |
| 145 | # |
| 146 | function(protobuf_generate_grpc_cpp) |
| 147 | if(NOT ARGN) |
| 148 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 149 | return() |
| 150 | endif() |
| 151 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 152 | set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 153 | foreach(FIL ${ARGN}) |
| 154 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 155 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 156 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 157 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 158 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 159 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 160 | add_custom_command( |
| 161 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 162 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 163 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 164 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 165 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 166 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 167 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 168 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 169 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 170 | ${_protobuf_include_path} |
| 171 | ${REL_FIL} |
| 172 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 173 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 174 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 175 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 176 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 177 | set_source_files_properties("${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" PROPERTIES GENERATED TRUE) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 178 | endforeach() |
| 179 | endfunction() |
| 180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 181 | add_custom_target(plugins |
| 182 | DEPENDS |
| 183 | grpc_cpp_plugin |
| 184 | grpc_csharp_plugin |
| 185 | grpc_node_plugin |
| 186 | grpc_objective_c_plugin |
| 187 | grpc_php_plugin |
| 188 | grpc_python_plugin |
| 189 | grpc_ruby_plugin |
| 190 | ) |
| 191 | |
| 192 | add_custom_target(tools_c |
| 193 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 194 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 195 | grpc_create_jwt |
| 196 | grpc_print_google_default_creds_token |
| 197 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 198 | gen_hpack_tables |
| 199 | gen_legal_metadata_characters |
| 200 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | add_custom_target(tools_cxx |
| 204 | DEPENDS |
| 205 | ) |
| 206 | |
| 207 | add_custom_target(tools |
| 208 | DEPENDS tools_c tools_cxx) |
| 209 | |
| 210 | if (gRPC_BUILD_TESTS) |
| 211 | add_custom_target(buildtests_c) |
| 212 | add_dependencies(buildtests_c alarm_test) |
| 213 | add_dependencies(buildtests_c algorithm_test) |
| 214 | add_dependencies(buildtests_c alloc_test) |
| 215 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 216 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 217 | add_dependencies(buildtests_c bad_server_response_test) |
| 218 | add_dependencies(buildtests_c bin_decoder_test) |
| 219 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 220 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 221 | add_dependencies(buildtests_c channel_create_test) |
| 222 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 223 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 224 | add_dependencies(buildtests_c chttp2_varint_test) |
| 225 | add_dependencies(buildtests_c combiner_test) |
| 226 | add_dependencies(buildtests_c compression_test) |
| 227 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 228 | add_dependencies(buildtests_c connection_refused_test) |
| 229 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 230 | add_dependencies(buildtests_c dns_resolver_test) |
| 231 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 232 | add_dependencies(buildtests_c dualstack_socket_test) |
| 233 | endif() |
| 234 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 235 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 236 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 237 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 238 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 239 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 240 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 241 | add_dependencies(buildtests_c fake_transport_security_test) |
| 242 | endif() |
| 243 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 244 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 245 | endif() |
| 246 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 247 | add_dependencies(buildtests_c fd_posix_test) |
| 248 | endif() |
| 249 | add_dependencies(buildtests_c fling_client) |
| 250 | add_dependencies(buildtests_c fling_server) |
| 251 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 252 | add_dependencies(buildtests_c fling_stream_test) |
| 253 | endif() |
| 254 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 255 | add_dependencies(buildtests_c fling_test) |
| 256 | endif() |
| 257 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 258 | add_dependencies(buildtests_c goaway_server_test) |
| 259 | endif() |
| 260 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 261 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 262 | add_dependencies(buildtests_c gpr_cpu_test) |
| 263 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 264 | add_dependencies(buildtests_c gpr_host_port_test) |
| 265 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 266 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 267 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 268 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 269 | add_dependencies(buildtests_c gpr_string_test) |
| 270 | add_dependencies(buildtests_c gpr_sync_test) |
| 271 | add_dependencies(buildtests_c gpr_thd_test) |
| 272 | add_dependencies(buildtests_c gpr_time_test) |
| 273 | add_dependencies(buildtests_c gpr_tls_test) |
| 274 | add_dependencies(buildtests_c gpr_useful_test) |
| 275 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 276 | add_dependencies(buildtests_c grpc_b64_test) |
| 277 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 278 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 279 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 280 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 281 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 282 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 283 | add_dependencies(buildtests_c grpc_credentials_test) |
| 284 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 285 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 286 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 287 | add_dependencies(buildtests_c grpc_json_token_test) |
| 288 | endif() |
| 289 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 290 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 291 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 292 | if(_gRPC_PLATFORM_LINUX) |
| 293 | add_dependencies(buildtests_c handshake_client) |
| 294 | endif() |
| 295 | if(_gRPC_PLATFORM_LINUX) |
| 296 | add_dependencies(buildtests_c handshake_server) |
| 297 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 298 | if(_gRPC_PLATFORM_LINUX) |
| 299 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 300 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 301 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 302 | add_dependencies(buildtests_c hpack_parser_test) |
| 303 | add_dependencies(buildtests_c hpack_table_test) |
| 304 | add_dependencies(buildtests_c http_parser_test) |
| 305 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 306 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 307 | add_dependencies(buildtests_c httpcli_test) |
| 308 | endif() |
| 309 | if(_gRPC_PLATFORM_LINUX) |
| 310 | add_dependencies(buildtests_c httpscli_test) |
| 311 | endif() |
| 312 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 313 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 314 | add_dependencies(buildtests_c json_rewrite) |
| 315 | add_dependencies(buildtests_c json_rewrite_test) |
| 316 | add_dependencies(buildtests_c json_stream_error_test) |
| 317 | add_dependencies(buildtests_c json_test) |
| 318 | add_dependencies(buildtests_c lame_client_test) |
| 319 | add_dependencies(buildtests_c lb_policies_test) |
| 320 | add_dependencies(buildtests_c load_file_test) |
| 321 | add_dependencies(buildtests_c memory_profile_client) |
| 322 | add_dependencies(buildtests_c memory_profile_server) |
| 323 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 324 | add_dependencies(buildtests_c memory_profile_test) |
| 325 | endif() |
| 326 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 327 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 328 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 329 | add_dependencies(buildtests_c murmur_hash_test) |
| 330 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 331 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 332 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 333 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 334 | if(_gRPC_PLATFORM_LINUX) |
| 335 | add_dependencies(buildtests_c pollset_set_test) |
| 336 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 337 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 338 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 339 | endif() |
| 340 | add_dependencies(buildtests_c resolve_address_test) |
| 341 | add_dependencies(buildtests_c resource_quota_test) |
| 342 | add_dependencies(buildtests_c secure_channel_create_test) |
| 343 | add_dependencies(buildtests_c secure_endpoint_test) |
| 344 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 345 | add_dependencies(buildtests_c server_chttp2_test) |
| 346 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 347 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 348 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 349 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 350 | add_dependencies(buildtests_c slice_test) |
| 351 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 352 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 353 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 354 | add_dependencies(buildtests_c socket_utils_test) |
| 355 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 356 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 357 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 358 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 359 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 360 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 361 | add_dependencies(buildtests_c stream_owned_slice_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_client_posix_test) |
| 364 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 365 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 366 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 367 | add_dependencies(buildtests_c tcp_posix_test) |
| 368 | endif() |
| 369 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 370 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 371 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 372 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 373 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 374 | add_dependencies(buildtests_c timeout_encoding_test) |
| 375 | add_dependencies(buildtests_c timer_heap_test) |
| 376 | add_dependencies(buildtests_c timer_list_test) |
| 377 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 378 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 379 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 380 | add_dependencies(buildtests_c transport_security_test) |
| 381 | endif() |
| 382 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 383 | add_dependencies(buildtests_c udp_server_test) |
| 384 | endif() |
| 385 | add_dependencies(buildtests_c uri_parser_test) |
| 386 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 387 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 388 | endif() |
| 389 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 390 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 391 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 392 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 393 | add_dependencies(buildtests_c headers_bad_client_test) |
| 394 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 396 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 397 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 398 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 399 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 400 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 401 | endif() |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 404 | endif() |
| 405 | add_dependencies(buildtests_c h2_census_test) |
| 406 | add_dependencies(buildtests_c h2_compress_test) |
| 407 | add_dependencies(buildtests_c h2_fakesec_test) |
| 408 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 409 | add_dependencies(buildtests_c h2_fd_test) |
| 410 | endif() |
| 411 | add_dependencies(buildtests_c h2_full_test) |
| 412 | if(_gRPC_PLATFORM_LINUX) |
| 413 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 414 | endif() |
| 415 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 416 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 417 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 418 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 419 | add_dependencies(buildtests_c h2_oauth2_test) |
| 420 | add_dependencies(buildtests_c h2_proxy_test) |
| 421 | add_dependencies(buildtests_c h2_sockpair_test) |
| 422 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 423 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 424 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 425 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 426 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 427 | add_dependencies(buildtests_c h2_uds_test) |
| 428 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 429 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 430 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 431 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 432 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 433 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 434 | endif() |
| 435 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 436 | if(_gRPC_PLATFORM_LINUX) |
| 437 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 438 | endif() |
| 439 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 440 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 441 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 442 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 443 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 444 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 445 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 446 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 447 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 448 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 449 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 450 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 451 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 452 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 453 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 454 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 455 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 456 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 457 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 458 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 459 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 460 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 461 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 462 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 463 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 464 | |
| 465 | add_custom_target(buildtests_cxx) |
| 466 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 467 | add_dependencies(buildtests_cxx async_end2end_test) |
| 468 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 469 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 470 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 471 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 472 | add_dependencies(buildtests_cxx bm_arena) |
| 473 | endif() |
| 474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 475 | add_dependencies(buildtests_cxx bm_call_create) |
| 476 | endif() |
| 477 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 478 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 479 | endif() |
| 480 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 481 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 482 | endif() |
| 483 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 484 | add_dependencies(buildtests_cxx bm_closure) |
| 485 | endif() |
| 486 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 487 | add_dependencies(buildtests_cxx bm_cq) |
| 488 | endif() |
| 489 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 490 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 491 | endif() |
| 492 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 493 | add_dependencies(buildtests_cxx bm_error) |
| 494 | endif() |
| 495 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 496 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 497 | endif() |
| 498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 499 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 500 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 501 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 502 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 503 | endif() |
| 504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 505 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 506 | endif() |
| 507 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 508 | add_dependencies(buildtests_cxx bm_metadata) |
| 509 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 511 | add_dependencies(buildtests_cxx bm_pollset) |
| 512 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 513 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 514 | add_dependencies(buildtests_cxx channel_filter_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 515 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 516 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 517 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 518 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 519 | add_dependencies(buildtests_cxx client_crash_test) |
| 520 | endif() |
| 521 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 522 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 523 | add_dependencies(buildtests_cxx codegen_test_full) |
| 524 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 525 | add_dependencies(buildtests_cxx credentials_test) |
| 526 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 527 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 528 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 529 | add_dependencies(buildtests_cxx cxx_time_test) |
| 530 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 531 | add_dependencies(buildtests_cxx error_details_test) |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 532 | add_dependencies(buildtests_cxx exception_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 533 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 534 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 535 | add_dependencies(buildtests_cxx golden_file_test) |
| 536 | add_dependencies(buildtests_cxx grpc_cli) |
| 537 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 538 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 539 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 540 | add_dependencies(buildtests_cxx grpclb_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 541 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 542 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 543 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 544 | add_dependencies(buildtests_cxx http2_client) |
| 545 | endif() |
| 546 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 547 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 548 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 549 | endif() |
| 550 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 551 | add_dependencies(buildtests_cxx interop_client) |
| 552 | endif() |
| 553 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 554 | add_dependencies(buildtests_cxx interop_server) |
| 555 | endif() |
| 556 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 557 | add_dependencies(buildtests_cxx interop_test) |
| 558 | endif() |
| 559 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 560 | add_dependencies(buildtests_cxx json_run_localhost) |
| 561 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 562 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 563 | add_dependencies(buildtests_cxx metrics_client) |
| 564 | add_dependencies(buildtests_cxx mock_test) |
| 565 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 566 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 567 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 568 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 569 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 570 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 571 | endif() |
| 572 | add_dependencies(buildtests_cxx qps_json_driver) |
| 573 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 574 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 575 | endif() |
| 576 | add_dependencies(buildtests_cxx qps_worker) |
| 577 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 578 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 579 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 580 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 581 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 583 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 584 | endif() |
| 585 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 586 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 587 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 588 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 589 | add_dependencies(buildtests_cxx server_crash_test) |
| 590 | endif() |
| 591 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 592 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 593 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 594 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 595 | add_dependencies(buildtests_cxx status_test) |
| 596 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 597 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 598 | endif() |
| 599 | add_dependencies(buildtests_cxx stress_test) |
| 600 | add_dependencies(buildtests_cxx thread_manager_test) |
| 601 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 602 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Mark D. Roth | c6406f3 | 2018-01-10 14:47:37 -0800 | [diff] [blame] | 603 | add_dependencies(buildtests_cxx vector_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 604 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 605 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 606 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 607 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 608 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 609 | endif() |
| 610 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 611 | add_dependencies(buildtests_cxx resolver_component_test) |
| 612 | endif() |
| 613 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 614 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 615 | endif() |
| 616 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 617 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 618 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 619 | |
| 620 | add_custom_target(buildtests |
| 621 | DEPENDS buildtests_c buildtests_cxx) |
| 622 | endif (gRPC_BUILD_TESTS) |
| 623 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 624 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 625 | add_library(gpr |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 626 | src/core/lib/profiling/basic_timers.cc |
| 627 | src/core/lib/profiling/stap_timers.cc |
| 628 | src/core/lib/support/alloc.cc |
| 629 | src/core/lib/support/arena.cc |
| 630 | src/core/lib/support/atm.cc |
| 631 | src/core/lib/support/avl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 632 | src/core/lib/support/cmdline.cc |
| 633 | src/core/lib/support/cpu_iphone.cc |
| 634 | src/core/lib/support/cpu_linux.cc |
| 635 | src/core/lib/support/cpu_posix.cc |
| 636 | src/core/lib/support/cpu_windows.cc |
| 637 | src/core/lib/support/env_linux.cc |
| 638 | src/core/lib/support/env_posix.cc |
| 639 | src/core/lib/support/env_windows.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 640 | src/core/lib/support/fork.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 641 | src/core/lib/support/host_port.cc |
| 642 | src/core/lib/support/log.cc |
| 643 | src/core/lib/support/log_android.cc |
| 644 | src/core/lib/support/log_linux.cc |
| 645 | src/core/lib/support/log_posix.cc |
| 646 | src/core/lib/support/log_windows.cc |
| 647 | src/core/lib/support/mpscq.cc |
| 648 | src/core/lib/support/murmur_hash.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 649 | src/core/lib/support/string.cc |
| 650 | src/core/lib/support/string_posix.cc |
| 651 | src/core/lib/support/string_util_windows.cc |
| 652 | src/core/lib/support/string_windows.cc |
| 653 | src/core/lib/support/subprocess_posix.cc |
| 654 | src/core/lib/support/subprocess_windows.cc |
| 655 | src/core/lib/support/sync.cc |
| 656 | src/core/lib/support/sync_posix.cc |
| 657 | src/core/lib/support/sync_windows.cc |
| 658 | src/core/lib/support/thd.cc |
| 659 | src/core/lib/support/thd_posix.cc |
| 660 | src/core/lib/support/thd_windows.cc |
| 661 | src/core/lib/support/time.cc |
| 662 | src/core/lib/support/time_posix.cc |
| 663 | src/core/lib/support/time_precise.cc |
| 664 | src/core/lib/support/time_windows.cc |
| 665 | src/core/lib/support/tls_pthread.cc |
| 666 | src/core/lib/support/tmpfile_msys.cc |
| 667 | src/core/lib/support/tmpfile_posix.cc |
| 668 | src/core/lib/support/tmpfile_windows.cc |
| 669 | src/core/lib/support/wrap_memcpy.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 670 | ) |
| 671 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 672 | if(WIN32 AND MSVC) |
| 673 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 674 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 675 | ) |
| 676 | if (gRPC_INSTALL) |
| 677 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 678 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 679 | ) |
| 680 | endif() |
| 681 | endif() |
| 682 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 683 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 684 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 685 | 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] | 686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 687 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 688 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 689 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 690 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 691 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 692 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 693 | ) |
| 694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 695 | target_link_libraries(gpr |
| 696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 697 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 698 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 699 | foreach(_hdr |
| 700 | include/grpc/support/alloc.h |
| 701 | include/grpc/support/atm.h |
| 702 | include/grpc/support/atm_gcc_atomic.h |
| 703 | include/grpc/support/atm_gcc_sync.h |
| 704 | include/grpc/support/atm_windows.h |
| 705 | include/grpc/support/avl.h |
| 706 | include/grpc/support/cmdline.h |
| 707 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 708 | include/grpc/support/host_port.h |
| 709 | include/grpc/support/log.h |
| 710 | include/grpc/support/log_windows.h |
| 711 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 712 | include/grpc/support/string_util.h |
| 713 | include/grpc/support/subprocess.h |
| 714 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 715 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 716 | include/grpc/support/sync_generic.h |
| 717 | include/grpc/support/sync_posix.h |
| 718 | include/grpc/support/sync_windows.h |
| 719 | include/grpc/support/thd.h |
| 720 | include/grpc/support/time.h |
| 721 | include/grpc/support/tls.h |
| 722 | include/grpc/support/tls_gcc.h |
| 723 | include/grpc/support/tls_msvc.h |
| 724 | include/grpc/support/tls_pthread.h |
| 725 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 726 | include/grpc/impl/codegen/atm.h |
| 727 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 728 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 729 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 730 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 731 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 732 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 733 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 734 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 735 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 736 | include/grpc/impl/codegen/sync_generic.h |
| 737 | include/grpc/impl/codegen/sync_posix.h |
| 738 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 739 | ) |
| 740 | string(REPLACE "include/" "" _path ${_hdr}) |
| 741 | get_filename_component(_path ${_path} PATH) |
| 742 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 743 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 744 | ) |
| 745 | endforeach() |
| 746 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 747 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 748 | if (gRPC_INSTALL) |
| 749 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 750 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 751 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 752 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 753 | ) |
| 754 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 756 | if (gRPC_BUILD_TESTS) |
| 757 | |
| 758 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 759 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 760 | ) |
| 761 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 762 | if(WIN32 AND MSVC) |
| 763 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 764 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 765 | ) |
| 766 | if (gRPC_INSTALL) |
| 767 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 768 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 769 | ) |
| 770 | endif() |
| 771 | endif() |
| 772 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 773 | |
| 774 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 775 | 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] | 776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 777 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 778 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 779 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 780 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 781 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 782 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 783 | ) |
| 784 | |
| 785 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 787 | gpr |
| 788 | ) |
| 789 | |
| 790 | |
| 791 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 792 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 793 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 794 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 795 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 796 | src/core/lib/channel/channel_args.cc |
| 797 | src/core/lib/channel/channel_stack.cc |
| 798 | src/core/lib/channel/channel_stack_builder.cc |
| 799 | src/core/lib/channel/connected_channel.cc |
| 800 | src/core/lib/channel/handshaker.cc |
| 801 | src/core/lib/channel/handshaker_factory.cc |
| 802 | src/core/lib/channel/handshaker_registry.cc |
| 803 | src/core/lib/compression/compression.cc |
| 804 | src/core/lib/compression/message_compress.cc |
| 805 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 806 | src/core/lib/compression/stream_compression_gzip.cc |
| 807 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 808 | src/core/lib/debug/stats.cc |
| 809 | src/core/lib/debug/stats_data.cc |
| 810 | src/core/lib/http/format_request.cc |
| 811 | src/core/lib/http/httpcli.cc |
| 812 | src/core/lib/http/parser.cc |
| 813 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 814 | src/core/lib/iomgr/combiner.cc |
| 815 | src/core/lib/iomgr/endpoint.cc |
| 816 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 817 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 818 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 819 | src/core/lib/iomgr/error.cc |
| 820 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 821 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 822 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 823 | src/core/lib/iomgr/ev_poll_posix.cc |
| 824 | src/core/lib/iomgr/ev_posix.cc |
| 825 | src/core/lib/iomgr/ev_windows.cc |
| 826 | src/core/lib/iomgr/exec_ctx.cc |
| 827 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 828 | src/core/lib/iomgr/fork_posix.cc |
| 829 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 830 | src/core/lib/iomgr/gethostname_fallback.cc |
| 831 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 832 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 833 | src/core/lib/iomgr/iocp_windows.cc |
| 834 | src/core/lib/iomgr/iomgr.cc |
| 835 | src/core/lib/iomgr/iomgr_posix.cc |
| 836 | src/core/lib/iomgr/iomgr_uv.cc |
| 837 | src/core/lib/iomgr/iomgr_windows.cc |
| 838 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 839 | src/core/lib/iomgr/load_file.cc |
| 840 | src/core/lib/iomgr/lockfree_event.cc |
| 841 | src/core/lib/iomgr/network_status_tracker.cc |
| 842 | src/core/lib/iomgr/polling_entity.cc |
| 843 | src/core/lib/iomgr/pollset_set_uv.cc |
| 844 | src/core/lib/iomgr/pollset_set_windows.cc |
| 845 | src/core/lib/iomgr/pollset_uv.cc |
| 846 | src/core/lib/iomgr/pollset_windows.cc |
| 847 | src/core/lib/iomgr/resolve_address_posix.cc |
| 848 | src/core/lib/iomgr/resolve_address_uv.cc |
| 849 | src/core/lib/iomgr/resolve_address_windows.cc |
| 850 | src/core/lib/iomgr/resource_quota.cc |
| 851 | src/core/lib/iomgr/sockaddr_utils.cc |
| 852 | src/core/lib/iomgr/socket_factory_posix.cc |
| 853 | src/core/lib/iomgr/socket_mutator.cc |
| 854 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 855 | src/core/lib/iomgr/socket_utils_linux.cc |
| 856 | src/core/lib/iomgr/socket_utils_posix.cc |
| 857 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 858 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 859 | src/core/lib/iomgr/socket_windows.cc |
| 860 | src/core/lib/iomgr/tcp_client_posix.cc |
| 861 | src/core/lib/iomgr/tcp_client_uv.cc |
| 862 | src/core/lib/iomgr/tcp_client_windows.cc |
| 863 | src/core/lib/iomgr/tcp_posix.cc |
| 864 | src/core/lib/iomgr/tcp_server_posix.cc |
| 865 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 866 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 867 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 868 | src/core/lib/iomgr/tcp_server_uv.cc |
| 869 | src/core/lib/iomgr/tcp_server_windows.cc |
| 870 | src/core/lib/iomgr/tcp_uv.cc |
| 871 | src/core/lib/iomgr/tcp_windows.cc |
| 872 | src/core/lib/iomgr/time_averaged_stats.cc |
| 873 | src/core/lib/iomgr/timer_generic.cc |
| 874 | src/core/lib/iomgr/timer_heap.cc |
| 875 | src/core/lib/iomgr/timer_manager.cc |
| 876 | src/core/lib/iomgr/timer_uv.cc |
| 877 | src/core/lib/iomgr/udp_server.cc |
| 878 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 879 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 880 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 881 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 882 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 883 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 884 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 885 | src/core/lib/json/json.cc |
| 886 | src/core/lib/json/json_reader.cc |
| 887 | src/core/lib/json/json_string.cc |
| 888 | src/core/lib/json/json_writer.cc |
| 889 | src/core/lib/slice/b64.cc |
| 890 | src/core/lib/slice/percent_encoding.cc |
| 891 | src/core/lib/slice/slice.cc |
| 892 | src/core/lib/slice/slice_buffer.cc |
| 893 | src/core/lib/slice/slice_hash_table.cc |
| 894 | src/core/lib/slice/slice_intern.cc |
| 895 | src/core/lib/slice/slice_string_helpers.cc |
| 896 | src/core/lib/surface/alarm.cc |
| 897 | src/core/lib/surface/api_trace.cc |
| 898 | src/core/lib/surface/byte_buffer.cc |
| 899 | src/core/lib/surface/byte_buffer_reader.cc |
| 900 | src/core/lib/surface/call.cc |
| 901 | src/core/lib/surface/call_details.cc |
| 902 | src/core/lib/surface/call_log_batch.cc |
| 903 | src/core/lib/surface/channel.cc |
| 904 | src/core/lib/surface/channel_init.cc |
| 905 | src/core/lib/surface/channel_ping.cc |
| 906 | src/core/lib/surface/channel_stack_type.cc |
| 907 | src/core/lib/surface/completion_queue.cc |
| 908 | src/core/lib/surface/completion_queue_factory.cc |
| 909 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 910 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 911 | src/core/lib/surface/metadata_array.cc |
| 912 | src/core/lib/surface/server.cc |
| 913 | src/core/lib/surface/validate_metadata.cc |
| 914 | src/core/lib/surface/version.cc |
| 915 | src/core/lib/transport/bdp_estimator.cc |
| 916 | src/core/lib/transport/byte_stream.cc |
| 917 | src/core/lib/transport/connectivity_state.cc |
| 918 | src/core/lib/transport/error_utils.cc |
| 919 | src/core/lib/transport/metadata.cc |
| 920 | src/core/lib/transport/metadata_batch.cc |
| 921 | src/core/lib/transport/pid_controller.cc |
| 922 | src/core/lib/transport/service_config.cc |
| 923 | src/core/lib/transport/static_metadata.cc |
| 924 | src/core/lib/transport/status_conversion.cc |
| 925 | src/core/lib/transport/timeout_encoding.cc |
| 926 | src/core/lib/transport/transport.cc |
| 927 | src/core/lib/transport/transport_op_string.cc |
| 928 | src/core/lib/debug/trace.cc |
| 929 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 930 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 931 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 932 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 933 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 934 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 935 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 936 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 937 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 938 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 939 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 940 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 941 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 942 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 943 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 944 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 945 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 946 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 947 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 948 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 949 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 950 | src/core/ext/transport/chttp2/transport/varint.cc |
| 951 | src/core/ext/transport/chttp2/transport/writing.cc |
| 952 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 953 | src/core/ext/filters/http/client/http_client_filter.cc |
| 954 | src/core/ext/filters/http/http_filters_plugin.cc |
| 955 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 956 | src/core/ext/filters/http/server/http_server_filter.cc |
| 957 | src/core/lib/http/httpcli_security_connector.cc |
| 958 | src/core/lib/security/context/security_context.cc |
| 959 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 960 | src/core/lib/security/credentials/credentials.cc |
| 961 | src/core/lib/security/credentials/credentials_metadata.cc |
| 962 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 963 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 964 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 965 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 966 | src/core/lib/security/credentials/jwt/json_token.cc |
| 967 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 968 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 969 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 970 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 971 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 972 | src/core/lib/security/transport/client_auth_filter.cc |
| 973 | src/core/lib/security/transport/lb_targets_info.cc |
| 974 | src/core/lib/security/transport/secure_endpoint.cc |
| 975 | src/core/lib/security/transport/security_connector.cc |
| 976 | src/core/lib/security/transport/security_handshaker.cc |
| 977 | src/core/lib/security/transport/server_auth_filter.cc |
| 978 | src/core/lib/security/transport/tsi_error.cc |
| 979 | src/core/lib/security/util/json_util.cc |
| 980 | src/core/lib/surface/init_secure.cc |
| 981 | src/core/tsi/fake_transport_security.cc |
| 982 | src/core/tsi/gts_transport_security.cc |
| 983 | src/core/tsi/ssl_transport_security.cc |
| 984 | src/core/tsi/transport_security_grpc.cc |
| 985 | src/core/tsi/transport_security.cc |
| 986 | src/core/tsi/transport_security_adapter.cc |
| 987 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 988 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 989 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 990 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 991 | src/core/ext/filters/client_channel/client_channel.cc |
| 992 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 993 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 994 | src/core/ext/filters/client_channel/connector.cc |
| 995 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 996 | src/core/ext/filters/client_channel/http_proxy.cc |
| 997 | src/core/ext/filters/client_channel/lb_policy.cc |
| 998 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 999 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1000 | src/core/ext/filters/client_channel/parse_address.cc |
| 1001 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1002 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1003 | src/core/ext/filters/client_channel/resolver.cc |
| 1004 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1005 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1006 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1007 | src/core/ext/filters/client_channel/subchannel.cc |
| 1008 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1009 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1010 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1011 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1012 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1013 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1014 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1015 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1016 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1017 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1018 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1019 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1020 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1021 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1022 | 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] | 1023 | 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] | 1024 | third_party/nanopb/pb_common.c |
| 1025 | third_party/nanopb/pb_decode.c |
| 1026 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1027 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1028 | 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] | 1029 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1030 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1031 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1032 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1033 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1034 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1035 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1036 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1037 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1038 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1039 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1040 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1041 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1042 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1043 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1044 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1045 | ) |
| 1046 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1047 | if(WIN32 AND MSVC) |
| 1048 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1049 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1050 | ) |
| 1051 | if (gRPC_INSTALL) |
| 1052 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1053 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1054 | ) |
| 1055 | endif() |
| 1056 | endif() |
| 1057 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1058 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1059 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1060 | 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] | 1061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1062 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1063 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1064 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1065 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1066 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1067 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1068 | ) |
| 1069 | |
| 1070 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1071 | ${_gRPC_BASELIB_LIBRARIES} |
| 1072 | ${_gRPC_SSL_LIBRARIES} |
| 1073 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1074 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1075 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1076 | gpr |
| 1077 | ) |
| 1078 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1079 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1080 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1081 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1082 | include/grpc/impl/codegen/compression_types.h |
| 1083 | include/grpc/impl/codegen/connectivity_state.h |
| 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} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1374 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1375 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1376 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1377 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1378 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1379 | ) |
| 1380 | |
| 1381 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1382 | ${_gRPC_BASELIB_LIBRARIES} |
| 1383 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1384 | ${_gRPC_ZLIB_LIBRARIES} |
| 1385 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1386 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1387 | gpr |
| 1388 | ) |
| 1389 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1390 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1391 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1392 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1393 | include/grpc/impl/codegen/compression_types.h |
| 1394 | include/grpc/impl/codegen/connectivity_state.h |
| 1395 | include/grpc/impl/codegen/grpc_types.h |
| 1396 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1397 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1398 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1399 | include/grpc/impl/codegen/atm.h |
| 1400 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1401 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1402 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1403 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1404 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1405 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1406 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1407 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1408 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1409 | include/grpc/impl/codegen/sync_generic.h |
| 1410 | include/grpc/impl/codegen/sync_posix.h |
| 1411 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1412 | include/grpc/grpc_cronet.h |
| 1413 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1414 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1415 | ) |
| 1416 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1417 | get_filename_component(_path ${_path} PATH) |
| 1418 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1419 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1420 | ) |
| 1421 | endforeach() |
| 1422 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1423 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1424 | if (gRPC_INSTALL) |
| 1425 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1426 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1427 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1428 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1429 | ) |
| 1430 | endif() |
| 1431 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1432 | if (gRPC_BUILD_TESTS) |
| 1433 | |
| 1434 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1435 | test/core/end2end/data/client_certs.cc |
| 1436 | test/core/end2end/data/server1_cert.cc |
| 1437 | test/core/end2end/data/server1_key.cc |
| 1438 | test/core/end2end/data/test_root_cert.cc |
| 1439 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1440 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1441 | test/core/end2end/cq_verifier.cc |
| 1442 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1443 | test/core/end2end/fixtures/proxy.cc |
| 1444 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1445 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1446 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1447 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1448 | test/core/util/memory_counters.cc |
| 1449 | test/core/util/mock_endpoint.cc |
| 1450 | test/core/util/parse_hexstring.cc |
| 1451 | test/core/util/passthru_endpoint.cc |
| 1452 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1453 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1454 | test/core/util/port_server_client.cc |
| 1455 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1456 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1457 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1458 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1459 | src/core/lib/channel/channel_args.cc |
| 1460 | src/core/lib/channel/channel_stack.cc |
| 1461 | src/core/lib/channel/channel_stack_builder.cc |
| 1462 | src/core/lib/channel/connected_channel.cc |
| 1463 | src/core/lib/channel/handshaker.cc |
| 1464 | src/core/lib/channel/handshaker_factory.cc |
| 1465 | src/core/lib/channel/handshaker_registry.cc |
| 1466 | src/core/lib/compression/compression.cc |
| 1467 | src/core/lib/compression/message_compress.cc |
| 1468 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1469 | src/core/lib/compression/stream_compression_gzip.cc |
| 1470 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1471 | src/core/lib/debug/stats.cc |
| 1472 | src/core/lib/debug/stats_data.cc |
| 1473 | src/core/lib/http/format_request.cc |
| 1474 | src/core/lib/http/httpcli.cc |
| 1475 | src/core/lib/http/parser.cc |
| 1476 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1477 | src/core/lib/iomgr/combiner.cc |
| 1478 | src/core/lib/iomgr/endpoint.cc |
| 1479 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1480 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1481 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1482 | src/core/lib/iomgr/error.cc |
| 1483 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1484 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1485 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1486 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1487 | src/core/lib/iomgr/ev_posix.cc |
| 1488 | src/core/lib/iomgr/ev_windows.cc |
| 1489 | src/core/lib/iomgr/exec_ctx.cc |
| 1490 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1491 | src/core/lib/iomgr/fork_posix.cc |
| 1492 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1493 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1494 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1495 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1496 | src/core/lib/iomgr/iocp_windows.cc |
| 1497 | src/core/lib/iomgr/iomgr.cc |
| 1498 | src/core/lib/iomgr/iomgr_posix.cc |
| 1499 | src/core/lib/iomgr/iomgr_uv.cc |
| 1500 | src/core/lib/iomgr/iomgr_windows.cc |
| 1501 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1502 | src/core/lib/iomgr/load_file.cc |
| 1503 | src/core/lib/iomgr/lockfree_event.cc |
| 1504 | src/core/lib/iomgr/network_status_tracker.cc |
| 1505 | src/core/lib/iomgr/polling_entity.cc |
| 1506 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1507 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1508 | src/core/lib/iomgr/pollset_uv.cc |
| 1509 | src/core/lib/iomgr/pollset_windows.cc |
| 1510 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1511 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1512 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1513 | src/core/lib/iomgr/resource_quota.cc |
| 1514 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1515 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1516 | src/core/lib/iomgr/socket_mutator.cc |
| 1517 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1518 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1519 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1520 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1521 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1522 | src/core/lib/iomgr/socket_windows.cc |
| 1523 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1524 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1525 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1526 | src/core/lib/iomgr/tcp_posix.cc |
| 1527 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1528 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1529 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1530 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1531 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1532 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1533 | src/core/lib/iomgr/tcp_uv.cc |
| 1534 | src/core/lib/iomgr/tcp_windows.cc |
| 1535 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1536 | src/core/lib/iomgr/timer_generic.cc |
| 1537 | src/core/lib/iomgr/timer_heap.cc |
| 1538 | src/core/lib/iomgr/timer_manager.cc |
| 1539 | src/core/lib/iomgr/timer_uv.cc |
| 1540 | src/core/lib/iomgr/udp_server.cc |
| 1541 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1542 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1543 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1544 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1545 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1546 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1547 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1548 | src/core/lib/json/json.cc |
| 1549 | src/core/lib/json/json_reader.cc |
| 1550 | src/core/lib/json/json_string.cc |
| 1551 | src/core/lib/json/json_writer.cc |
| 1552 | src/core/lib/slice/b64.cc |
| 1553 | src/core/lib/slice/percent_encoding.cc |
| 1554 | src/core/lib/slice/slice.cc |
| 1555 | src/core/lib/slice/slice_buffer.cc |
| 1556 | src/core/lib/slice/slice_hash_table.cc |
| 1557 | src/core/lib/slice/slice_intern.cc |
| 1558 | src/core/lib/slice/slice_string_helpers.cc |
| 1559 | src/core/lib/surface/alarm.cc |
| 1560 | src/core/lib/surface/api_trace.cc |
| 1561 | src/core/lib/surface/byte_buffer.cc |
| 1562 | src/core/lib/surface/byte_buffer_reader.cc |
| 1563 | src/core/lib/surface/call.cc |
| 1564 | src/core/lib/surface/call_details.cc |
| 1565 | src/core/lib/surface/call_log_batch.cc |
| 1566 | src/core/lib/surface/channel.cc |
| 1567 | src/core/lib/surface/channel_init.cc |
| 1568 | src/core/lib/surface/channel_ping.cc |
| 1569 | src/core/lib/surface/channel_stack_type.cc |
| 1570 | src/core/lib/surface/completion_queue.cc |
| 1571 | src/core/lib/surface/completion_queue_factory.cc |
| 1572 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1573 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1574 | src/core/lib/surface/metadata_array.cc |
| 1575 | src/core/lib/surface/server.cc |
| 1576 | src/core/lib/surface/validate_metadata.cc |
| 1577 | src/core/lib/surface/version.cc |
| 1578 | src/core/lib/transport/bdp_estimator.cc |
| 1579 | src/core/lib/transport/byte_stream.cc |
| 1580 | src/core/lib/transport/connectivity_state.cc |
| 1581 | src/core/lib/transport/error_utils.cc |
| 1582 | src/core/lib/transport/metadata.cc |
| 1583 | src/core/lib/transport/metadata_batch.cc |
| 1584 | src/core/lib/transport/pid_controller.cc |
| 1585 | src/core/lib/transport/service_config.cc |
| 1586 | src/core/lib/transport/static_metadata.cc |
| 1587 | src/core/lib/transport/status_conversion.cc |
| 1588 | src/core/lib/transport/timeout_encoding.cc |
| 1589 | src/core/lib/transport/transport.cc |
| 1590 | src/core/lib/transport/transport_op_string.cc |
| 1591 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1592 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1593 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1594 | src/core/ext/filters/client_channel/client_channel.cc |
| 1595 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1596 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1597 | src/core/ext/filters/client_channel/connector.cc |
| 1598 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1599 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1600 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1601 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1602 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1603 | src/core/ext/filters/client_channel/parse_address.cc |
| 1604 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1605 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1606 | src/core/ext/filters/client_channel/resolver.cc |
| 1607 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1608 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1609 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1610 | src/core/ext/filters/client_channel/subchannel.cc |
| 1611 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1612 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1613 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1614 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1615 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1616 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1617 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1618 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1619 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1620 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1621 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1622 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1623 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1624 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1625 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1626 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1627 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1628 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1629 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1630 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1631 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1632 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1633 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1634 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1635 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1636 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1637 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1638 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1639 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1640 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1641 | ) |
| 1642 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1643 | if(WIN32 AND MSVC) |
| 1644 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1645 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1646 | ) |
| 1647 | if (gRPC_INSTALL) |
| 1648 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1649 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1650 | ) |
| 1651 | endif() |
| 1652 | endif() |
| 1653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1654 | |
| 1655 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1656 | 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] | 1657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1658 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1659 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1660 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1661 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1662 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1663 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1664 | ) |
| 1665 | |
| 1666 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1668 | gpr_test_util |
| 1669 | gpr |
| 1670 | grpc |
| 1671 | ) |
| 1672 | |
| 1673 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1674 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1675 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1676 | include/grpc/impl/codegen/compression_types.h |
| 1677 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1678 | include/grpc/impl/codegen/grpc_types.h |
| 1679 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1680 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1681 | include/grpc/impl/codegen/status.h |
| 1682 | include/grpc/impl/codegen/atm.h |
| 1683 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1684 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1685 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1686 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1687 | include/grpc/impl/codegen/gpr_slice.h |
| 1688 | include/grpc/impl/codegen/gpr_types.h |
| 1689 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1690 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1691 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1692 | include/grpc/impl/codegen/sync_generic.h |
| 1693 | include/grpc/impl/codegen/sync_posix.h |
| 1694 | include/grpc/impl/codegen/sync_windows.h |
| 1695 | ) |
| 1696 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1697 | get_filename_component(_path ${_path} PATH) |
| 1698 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1699 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1700 | ) |
| 1701 | endforeach() |
| 1702 | |
| 1703 | endif (gRPC_BUILD_TESTS) |
| 1704 | if (gRPC_BUILD_TESTS) |
| 1705 | |
| 1706 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1707 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1708 | test/core/end2end/cq_verifier.cc |
| 1709 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1710 | test/core/end2end/fixtures/proxy.cc |
| 1711 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1712 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1713 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1714 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1715 | test/core/util/memory_counters.cc |
| 1716 | test/core/util/mock_endpoint.cc |
| 1717 | test/core/util/parse_hexstring.cc |
| 1718 | test/core/util/passthru_endpoint.cc |
| 1719 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1720 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1721 | test/core/util/port_server_client.cc |
| 1722 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1723 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1724 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1725 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1726 | src/core/lib/channel/channel_args.cc |
| 1727 | src/core/lib/channel/channel_stack.cc |
| 1728 | src/core/lib/channel/channel_stack_builder.cc |
| 1729 | src/core/lib/channel/connected_channel.cc |
| 1730 | src/core/lib/channel/handshaker.cc |
| 1731 | src/core/lib/channel/handshaker_factory.cc |
| 1732 | src/core/lib/channel/handshaker_registry.cc |
| 1733 | src/core/lib/compression/compression.cc |
| 1734 | src/core/lib/compression/message_compress.cc |
| 1735 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1736 | src/core/lib/compression/stream_compression_gzip.cc |
| 1737 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1738 | src/core/lib/debug/stats.cc |
| 1739 | src/core/lib/debug/stats_data.cc |
| 1740 | src/core/lib/http/format_request.cc |
| 1741 | src/core/lib/http/httpcli.cc |
| 1742 | src/core/lib/http/parser.cc |
| 1743 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1744 | src/core/lib/iomgr/combiner.cc |
| 1745 | src/core/lib/iomgr/endpoint.cc |
| 1746 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1747 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1748 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1749 | src/core/lib/iomgr/error.cc |
| 1750 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1751 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1752 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1753 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1754 | src/core/lib/iomgr/ev_posix.cc |
| 1755 | src/core/lib/iomgr/ev_windows.cc |
| 1756 | src/core/lib/iomgr/exec_ctx.cc |
| 1757 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1758 | src/core/lib/iomgr/fork_posix.cc |
| 1759 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1760 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1761 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1762 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1763 | src/core/lib/iomgr/iocp_windows.cc |
| 1764 | src/core/lib/iomgr/iomgr.cc |
| 1765 | src/core/lib/iomgr/iomgr_posix.cc |
| 1766 | src/core/lib/iomgr/iomgr_uv.cc |
| 1767 | src/core/lib/iomgr/iomgr_windows.cc |
| 1768 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1769 | src/core/lib/iomgr/load_file.cc |
| 1770 | src/core/lib/iomgr/lockfree_event.cc |
| 1771 | src/core/lib/iomgr/network_status_tracker.cc |
| 1772 | src/core/lib/iomgr/polling_entity.cc |
| 1773 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1774 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1775 | src/core/lib/iomgr/pollset_uv.cc |
| 1776 | src/core/lib/iomgr/pollset_windows.cc |
| 1777 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1778 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1779 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1780 | src/core/lib/iomgr/resource_quota.cc |
| 1781 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1782 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1783 | src/core/lib/iomgr/socket_mutator.cc |
| 1784 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1785 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1786 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1787 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1788 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1789 | src/core/lib/iomgr/socket_windows.cc |
| 1790 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1791 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1792 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1793 | src/core/lib/iomgr/tcp_posix.cc |
| 1794 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1795 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1796 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1797 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1798 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1799 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1800 | src/core/lib/iomgr/tcp_uv.cc |
| 1801 | src/core/lib/iomgr/tcp_windows.cc |
| 1802 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1803 | src/core/lib/iomgr/timer_generic.cc |
| 1804 | src/core/lib/iomgr/timer_heap.cc |
| 1805 | src/core/lib/iomgr/timer_manager.cc |
| 1806 | src/core/lib/iomgr/timer_uv.cc |
| 1807 | src/core/lib/iomgr/udp_server.cc |
| 1808 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1809 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1810 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1811 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1812 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1813 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1814 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1815 | src/core/lib/json/json.cc |
| 1816 | src/core/lib/json/json_reader.cc |
| 1817 | src/core/lib/json/json_string.cc |
| 1818 | src/core/lib/json/json_writer.cc |
| 1819 | src/core/lib/slice/b64.cc |
| 1820 | src/core/lib/slice/percent_encoding.cc |
| 1821 | src/core/lib/slice/slice.cc |
| 1822 | src/core/lib/slice/slice_buffer.cc |
| 1823 | src/core/lib/slice/slice_hash_table.cc |
| 1824 | src/core/lib/slice/slice_intern.cc |
| 1825 | src/core/lib/slice/slice_string_helpers.cc |
| 1826 | src/core/lib/surface/alarm.cc |
| 1827 | src/core/lib/surface/api_trace.cc |
| 1828 | src/core/lib/surface/byte_buffer.cc |
| 1829 | src/core/lib/surface/byte_buffer_reader.cc |
| 1830 | src/core/lib/surface/call.cc |
| 1831 | src/core/lib/surface/call_details.cc |
| 1832 | src/core/lib/surface/call_log_batch.cc |
| 1833 | src/core/lib/surface/channel.cc |
| 1834 | src/core/lib/surface/channel_init.cc |
| 1835 | src/core/lib/surface/channel_ping.cc |
| 1836 | src/core/lib/surface/channel_stack_type.cc |
| 1837 | src/core/lib/surface/completion_queue.cc |
| 1838 | src/core/lib/surface/completion_queue_factory.cc |
| 1839 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1840 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1841 | src/core/lib/surface/metadata_array.cc |
| 1842 | src/core/lib/surface/server.cc |
| 1843 | src/core/lib/surface/validate_metadata.cc |
| 1844 | src/core/lib/surface/version.cc |
| 1845 | src/core/lib/transport/bdp_estimator.cc |
| 1846 | src/core/lib/transport/byte_stream.cc |
| 1847 | src/core/lib/transport/connectivity_state.cc |
| 1848 | src/core/lib/transport/error_utils.cc |
| 1849 | src/core/lib/transport/metadata.cc |
| 1850 | src/core/lib/transport/metadata_batch.cc |
| 1851 | src/core/lib/transport/pid_controller.cc |
| 1852 | src/core/lib/transport/service_config.cc |
| 1853 | src/core/lib/transport/static_metadata.cc |
| 1854 | src/core/lib/transport/status_conversion.cc |
| 1855 | src/core/lib/transport/timeout_encoding.cc |
| 1856 | src/core/lib/transport/transport.cc |
| 1857 | src/core/lib/transport/transport_op_string.cc |
| 1858 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1859 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1860 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1861 | src/core/ext/filters/client_channel/client_channel.cc |
| 1862 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1863 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1864 | src/core/ext/filters/client_channel/connector.cc |
| 1865 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1866 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1867 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1868 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1869 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1870 | src/core/ext/filters/client_channel/parse_address.cc |
| 1871 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1872 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1873 | src/core/ext/filters/client_channel/resolver.cc |
| 1874 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1875 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1876 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1877 | src/core/ext/filters/client_channel/subchannel.cc |
| 1878 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1879 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1880 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1881 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1882 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1883 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1884 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1885 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1886 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1887 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1888 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1889 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1890 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1891 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1892 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1893 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1894 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1895 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1896 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1897 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1898 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1899 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1900 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1901 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1902 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1903 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1904 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1905 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1906 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1907 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1908 | ) |
| 1909 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1910 | if(WIN32 AND MSVC) |
| 1911 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1912 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1913 | ) |
| 1914 | if (gRPC_INSTALL) |
| 1915 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1916 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1917 | ) |
| 1918 | endif() |
| 1919 | endif() |
| 1920 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1921 | |
| 1922 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1923 | 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] | 1924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1925 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1926 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1927 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1928 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1929 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1930 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1931 | ) |
| 1932 | |
| 1933 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1935 | gpr |
| 1936 | gpr_test_util |
| 1937 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1938 | ) |
| 1939 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1940 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1941 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1942 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1943 | include/grpc/impl/codegen/compression_types.h |
| 1944 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1945 | include/grpc/impl/codegen/grpc_types.h |
| 1946 | include/grpc/impl/codegen/propagation_bits.h |
| 1947 | include/grpc/impl/codegen/slice.h |
| 1948 | include/grpc/impl/codegen/status.h |
| 1949 | include/grpc/impl/codegen/atm.h |
| 1950 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1951 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1952 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1953 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1954 | include/grpc/impl/codegen/gpr_slice.h |
| 1955 | include/grpc/impl/codegen/gpr_types.h |
| 1956 | include/grpc/impl/codegen/port_platform.h |
| 1957 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1958 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1959 | include/grpc/impl/codegen/sync_generic.h |
| 1960 | include/grpc/impl/codegen/sync_posix.h |
| 1961 | include/grpc/impl/codegen/sync_windows.h |
| 1962 | ) |
| 1963 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1964 | get_filename_component(_path ${_path} PATH) |
| 1965 | install(FILES ${_hdr} |
| 1966 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 1967 | ) |
| 1968 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1969 | |
| 1970 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1971 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1972 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1973 | src/core/lib/surface/init.cc |
| 1974 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1975 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1976 | src/core/lib/channel/channel_args.cc |
| 1977 | src/core/lib/channel/channel_stack.cc |
| 1978 | src/core/lib/channel/channel_stack_builder.cc |
| 1979 | src/core/lib/channel/connected_channel.cc |
| 1980 | src/core/lib/channel/handshaker.cc |
| 1981 | src/core/lib/channel/handshaker_factory.cc |
| 1982 | src/core/lib/channel/handshaker_registry.cc |
| 1983 | src/core/lib/compression/compression.cc |
| 1984 | src/core/lib/compression/message_compress.cc |
| 1985 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1986 | src/core/lib/compression/stream_compression_gzip.cc |
| 1987 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1988 | src/core/lib/debug/stats.cc |
| 1989 | src/core/lib/debug/stats_data.cc |
| 1990 | src/core/lib/http/format_request.cc |
| 1991 | src/core/lib/http/httpcli.cc |
| 1992 | src/core/lib/http/parser.cc |
| 1993 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1994 | src/core/lib/iomgr/combiner.cc |
| 1995 | src/core/lib/iomgr/endpoint.cc |
| 1996 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1997 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1998 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1999 | src/core/lib/iomgr/error.cc |
| 2000 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2001 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2002 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2003 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2004 | src/core/lib/iomgr/ev_posix.cc |
| 2005 | src/core/lib/iomgr/ev_windows.cc |
| 2006 | src/core/lib/iomgr/exec_ctx.cc |
| 2007 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2008 | src/core/lib/iomgr/fork_posix.cc |
| 2009 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2010 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2011 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2012 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2013 | src/core/lib/iomgr/iocp_windows.cc |
| 2014 | src/core/lib/iomgr/iomgr.cc |
| 2015 | src/core/lib/iomgr/iomgr_posix.cc |
| 2016 | src/core/lib/iomgr/iomgr_uv.cc |
| 2017 | src/core/lib/iomgr/iomgr_windows.cc |
| 2018 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2019 | src/core/lib/iomgr/load_file.cc |
| 2020 | src/core/lib/iomgr/lockfree_event.cc |
| 2021 | src/core/lib/iomgr/network_status_tracker.cc |
| 2022 | src/core/lib/iomgr/polling_entity.cc |
| 2023 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2024 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2025 | src/core/lib/iomgr/pollset_uv.cc |
| 2026 | src/core/lib/iomgr/pollset_windows.cc |
| 2027 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2028 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2029 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2030 | src/core/lib/iomgr/resource_quota.cc |
| 2031 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2032 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2033 | src/core/lib/iomgr/socket_mutator.cc |
| 2034 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2035 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2036 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2037 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2038 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2039 | src/core/lib/iomgr/socket_windows.cc |
| 2040 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2041 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2042 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2043 | src/core/lib/iomgr/tcp_posix.cc |
| 2044 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2045 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2046 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2047 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2048 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2049 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2050 | src/core/lib/iomgr/tcp_uv.cc |
| 2051 | src/core/lib/iomgr/tcp_windows.cc |
| 2052 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2053 | src/core/lib/iomgr/timer_generic.cc |
| 2054 | src/core/lib/iomgr/timer_heap.cc |
| 2055 | src/core/lib/iomgr/timer_manager.cc |
| 2056 | src/core/lib/iomgr/timer_uv.cc |
| 2057 | src/core/lib/iomgr/udp_server.cc |
| 2058 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2059 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2060 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2061 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2062 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2063 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2064 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2065 | src/core/lib/json/json.cc |
| 2066 | src/core/lib/json/json_reader.cc |
| 2067 | src/core/lib/json/json_string.cc |
| 2068 | src/core/lib/json/json_writer.cc |
| 2069 | src/core/lib/slice/b64.cc |
| 2070 | src/core/lib/slice/percent_encoding.cc |
| 2071 | src/core/lib/slice/slice.cc |
| 2072 | src/core/lib/slice/slice_buffer.cc |
| 2073 | src/core/lib/slice/slice_hash_table.cc |
| 2074 | src/core/lib/slice/slice_intern.cc |
| 2075 | src/core/lib/slice/slice_string_helpers.cc |
| 2076 | src/core/lib/surface/alarm.cc |
| 2077 | src/core/lib/surface/api_trace.cc |
| 2078 | src/core/lib/surface/byte_buffer.cc |
| 2079 | src/core/lib/surface/byte_buffer_reader.cc |
| 2080 | src/core/lib/surface/call.cc |
| 2081 | src/core/lib/surface/call_details.cc |
| 2082 | src/core/lib/surface/call_log_batch.cc |
| 2083 | src/core/lib/surface/channel.cc |
| 2084 | src/core/lib/surface/channel_init.cc |
| 2085 | src/core/lib/surface/channel_ping.cc |
| 2086 | src/core/lib/surface/channel_stack_type.cc |
| 2087 | src/core/lib/surface/completion_queue.cc |
| 2088 | src/core/lib/surface/completion_queue_factory.cc |
| 2089 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2090 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2091 | src/core/lib/surface/metadata_array.cc |
| 2092 | src/core/lib/surface/server.cc |
| 2093 | src/core/lib/surface/validate_metadata.cc |
| 2094 | src/core/lib/surface/version.cc |
| 2095 | src/core/lib/transport/bdp_estimator.cc |
| 2096 | src/core/lib/transport/byte_stream.cc |
| 2097 | src/core/lib/transport/connectivity_state.cc |
| 2098 | src/core/lib/transport/error_utils.cc |
| 2099 | src/core/lib/transport/metadata.cc |
| 2100 | src/core/lib/transport/metadata_batch.cc |
| 2101 | src/core/lib/transport/pid_controller.cc |
| 2102 | src/core/lib/transport/service_config.cc |
| 2103 | src/core/lib/transport/static_metadata.cc |
| 2104 | src/core/lib/transport/status_conversion.cc |
| 2105 | src/core/lib/transport/timeout_encoding.cc |
| 2106 | src/core/lib/transport/transport.cc |
| 2107 | src/core/lib/transport/transport_op_string.cc |
| 2108 | src/core/lib/debug/trace.cc |
| 2109 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2110 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2111 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2112 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2113 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2114 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2115 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2116 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2117 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2118 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2119 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2120 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2121 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2122 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2123 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2124 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2125 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2126 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2127 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2128 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2129 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2130 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2131 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2132 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2133 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2134 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2135 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2136 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2137 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2138 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2139 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2140 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2141 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2142 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2143 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2144 | src/core/ext/filters/client_channel/client_channel.cc |
| 2145 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2146 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2147 | src/core/ext/filters/client_channel/connector.cc |
| 2148 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2149 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2150 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2151 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2152 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2153 | src/core/ext/filters/client_channel/parse_address.cc |
| 2154 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2155 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2156 | src/core/ext/filters/client_channel/resolver.cc |
| 2157 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2158 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2159 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2160 | src/core/ext/filters/client_channel/subchannel.cc |
| 2161 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2162 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2163 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2164 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2165 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2166 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2167 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2168 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2169 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2170 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2171 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2172 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2173 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2174 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2175 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2176 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2177 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2178 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2179 | 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] | 2180 | 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] | 2181 | third_party/nanopb/pb_common.c |
| 2182 | third_party/nanopb/pb_decode.c |
| 2183 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2184 | 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] | 2185 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2186 | 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] | 2187 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2188 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2189 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2190 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2191 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2192 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2193 | ) |
| 2194 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2195 | if(WIN32 AND MSVC) |
| 2196 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2197 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2198 | ) |
| 2199 | if (gRPC_INSTALL) |
| 2200 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2201 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2202 | ) |
| 2203 | endif() |
| 2204 | endif() |
| 2205 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2206 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2207 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2208 | 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] | 2209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2210 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2211 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2212 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2213 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2214 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2215 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2216 | ) |
| 2217 | |
| 2218 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2219 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2220 | ${_gRPC_ZLIB_LIBRARIES} |
| 2221 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2222 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2223 | gpr |
| 2224 | ) |
| 2225 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2226 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2227 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2228 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2229 | include/grpc/impl/codegen/compression_types.h |
| 2230 | include/grpc/impl/codegen/connectivity_state.h |
| 2231 | include/grpc/impl/codegen/grpc_types.h |
| 2232 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2233 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2234 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2235 | include/grpc/impl/codegen/atm.h |
| 2236 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2237 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2238 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2239 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2240 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2241 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2242 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2243 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2244 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2245 | include/grpc/impl/codegen/sync_generic.h |
| 2246 | include/grpc/impl/codegen/sync_posix.h |
| 2247 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2248 | include/grpc/byte_buffer.h |
| 2249 | include/grpc/byte_buffer_reader.h |
| 2250 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2251 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2252 | include/grpc/grpc.h |
| 2253 | include/grpc/grpc_posix.h |
| 2254 | include/grpc/grpc_security_constants.h |
| 2255 | include/grpc/load_reporting.h |
| 2256 | include/grpc/slice.h |
| 2257 | include/grpc/slice_buffer.h |
| 2258 | include/grpc/status.h |
| 2259 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2260 | include/grpc/census.h |
| 2261 | ) |
| 2262 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2263 | get_filename_component(_path ${_path} PATH) |
| 2264 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2265 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2266 | ) |
| 2267 | endforeach() |
| 2268 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2269 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2270 | if (gRPC_INSTALL) |
| 2271 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2272 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2273 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2274 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2275 | ) |
| 2276 | endif() |
| 2277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2278 | if (gRPC_BUILD_TESTS) |
| 2279 | |
| 2280 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2281 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2282 | ) |
| 2283 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2284 | if(WIN32 AND MSVC) |
| 2285 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2286 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2287 | ) |
| 2288 | if (gRPC_INSTALL) |
| 2289 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2290 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2291 | ) |
| 2292 | endif() |
| 2293 | endif() |
| 2294 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2295 | |
| 2296 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2297 | 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] | 2298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2299 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2300 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2301 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2302 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2303 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2304 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2305 | ) |
| 2306 | |
| 2307 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2308 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2309 | test_tcp_server |
| 2310 | grpc_test_util |
| 2311 | grpc |
| 2312 | gpr_test_util |
| 2313 | gpr |
| 2314 | ) |
| 2315 | |
| 2316 | |
| 2317 | endif (gRPC_BUILD_TESTS) |
| 2318 | if (gRPC_BUILD_TESTS) |
| 2319 | |
| 2320 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2321 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2322 | ) |
| 2323 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2324 | if(WIN32 AND MSVC) |
| 2325 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2326 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2327 | ) |
| 2328 | if (gRPC_INSTALL) |
| 2329 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2330 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2331 | ) |
| 2332 | endif() |
| 2333 | endif() |
| 2334 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2335 | |
| 2336 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2337 | 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] | 2338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2339 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2340 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2341 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2342 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2343 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2344 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2345 | ) |
| 2346 | |
| 2347 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2349 | grpc_test_util |
| 2350 | grpc |
| 2351 | gpr_test_util |
| 2352 | gpr |
| 2353 | ) |
| 2354 | |
| 2355 | |
| 2356 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2357 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2358 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2359 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2360 | src/cpp/client/secure_credentials.cc |
| 2361 | src/cpp/common/auth_property_iterator.cc |
| 2362 | src/cpp/common/secure_auth_context.cc |
| 2363 | src/cpp/common/secure_channel_arguments.cc |
| 2364 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2365 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2366 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2367 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2368 | src/cpp/client/client_context.cc |
| 2369 | src/cpp/client/create_channel.cc |
| 2370 | src/cpp/client/create_channel_internal.cc |
| 2371 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2372 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2373 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2374 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2375 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2376 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2377 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2378 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2379 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2380 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2381 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2382 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2383 | src/cpp/server/create_default_thread_pool.cc |
| 2384 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2385 | src/cpp/server/health/default_health_check_service.cc |
| 2386 | src/cpp/server/health/health.pb.c |
| 2387 | src/cpp/server/health/health_check_service.cc |
| 2388 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2389 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2390 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2391 | src/cpp/server/server_context.cc |
| 2392 | src/cpp/server/server_credentials.cc |
| 2393 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2394 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2395 | src/cpp/util/byte_buffer_cc.cc |
| 2396 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2397 | src/cpp/util/status.cc |
| 2398 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2399 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2400 | src/cpp/codegen/codegen_init.cc |
| 2401 | ) |
| 2402 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2403 | if(WIN32 AND MSVC) |
| 2404 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2405 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2406 | ) |
| 2407 | if (gRPC_INSTALL) |
| 2408 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2409 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2410 | ) |
| 2411 | endif() |
| 2412 | endif() |
| 2413 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2414 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2415 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2416 | 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] | 2417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2418 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2419 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2420 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2421 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2422 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2423 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2424 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2425 | ) |
| 2426 | |
| 2427 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2428 | ${_gRPC_BASELIB_LIBRARIES} |
| 2429 | ${_gRPC_SSL_LIBRARIES} |
| 2430 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2432 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2433 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2434 | ) |
| 2435 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2436 | foreach(_hdr |
| 2437 | include/grpc++/alarm.h |
| 2438 | include/grpc++/channel.h |
| 2439 | include/grpc++/client_context.h |
| 2440 | include/grpc++/completion_queue.h |
| 2441 | include/grpc++/create_channel.h |
| 2442 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2443 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2444 | include/grpc++/generic/async_generic_service.h |
| 2445 | include/grpc++/generic/generic_stub.h |
| 2446 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2447 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2448 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2449 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2450 | include/grpc++/impl/client_unary_call.h |
| 2451 | include/grpc++/impl/codegen/core_codegen.h |
| 2452 | include/grpc++/impl/grpc_library.h |
| 2453 | include/grpc++/impl/method_handler_impl.h |
| 2454 | include/grpc++/impl/rpc_method.h |
| 2455 | include/grpc++/impl/rpc_service_method.h |
| 2456 | include/grpc++/impl/serialization_traits.h |
| 2457 | include/grpc++/impl/server_builder_option.h |
| 2458 | include/grpc++/impl/server_builder_plugin.h |
| 2459 | include/grpc++/impl/server_initializer.h |
| 2460 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2461 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2462 | include/grpc++/security/auth_context.h |
| 2463 | include/grpc++/security/auth_metadata_processor.h |
| 2464 | include/grpc++/security/credentials.h |
| 2465 | include/grpc++/security/server_credentials.h |
| 2466 | include/grpc++/server.h |
| 2467 | include/grpc++/server_builder.h |
| 2468 | include/grpc++/server_context.h |
| 2469 | include/grpc++/server_posix.h |
| 2470 | include/grpc++/support/async_stream.h |
| 2471 | include/grpc++/support/async_unary_call.h |
| 2472 | include/grpc++/support/byte_buffer.h |
| 2473 | include/grpc++/support/channel_arguments.h |
| 2474 | include/grpc++/support/config.h |
| 2475 | include/grpc++/support/slice.h |
| 2476 | include/grpc++/support/status.h |
| 2477 | include/grpc++/support/status_code_enum.h |
| 2478 | include/grpc++/support/string_ref.h |
| 2479 | include/grpc++/support/stub_options.h |
| 2480 | include/grpc++/support/sync_stream.h |
| 2481 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2482 | include/grpc/support/alloc.h |
| 2483 | include/grpc/support/atm.h |
| 2484 | include/grpc/support/atm_gcc_atomic.h |
| 2485 | include/grpc/support/atm_gcc_sync.h |
| 2486 | include/grpc/support/atm_windows.h |
| 2487 | include/grpc/support/avl.h |
| 2488 | include/grpc/support/cmdline.h |
| 2489 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2490 | include/grpc/support/host_port.h |
| 2491 | include/grpc/support/log.h |
| 2492 | include/grpc/support/log_windows.h |
| 2493 | include/grpc/support/port_platform.h |
| 2494 | include/grpc/support/string_util.h |
| 2495 | include/grpc/support/subprocess.h |
| 2496 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2497 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2498 | include/grpc/support/sync_generic.h |
| 2499 | include/grpc/support/sync_posix.h |
| 2500 | include/grpc/support/sync_windows.h |
| 2501 | include/grpc/support/thd.h |
| 2502 | include/grpc/support/time.h |
| 2503 | include/grpc/support/tls.h |
| 2504 | include/grpc/support/tls_gcc.h |
| 2505 | include/grpc/support/tls_msvc.h |
| 2506 | include/grpc/support/tls_pthread.h |
| 2507 | include/grpc/support/useful.h |
| 2508 | include/grpc/impl/codegen/atm.h |
| 2509 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2510 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2511 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2512 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2513 | include/grpc/impl/codegen/gpr_slice.h |
| 2514 | include/grpc/impl/codegen/gpr_types.h |
| 2515 | include/grpc/impl/codegen/port_platform.h |
| 2516 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2517 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2518 | include/grpc/impl/codegen/sync_generic.h |
| 2519 | include/grpc/impl/codegen/sync_posix.h |
| 2520 | include/grpc/impl/codegen/sync_windows.h |
| 2521 | include/grpc/byte_buffer.h |
| 2522 | include/grpc/byte_buffer_reader.h |
| 2523 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2524 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2525 | include/grpc/grpc.h |
| 2526 | include/grpc/grpc_posix.h |
| 2527 | include/grpc/grpc_security_constants.h |
| 2528 | include/grpc/load_reporting.h |
| 2529 | include/grpc/slice.h |
| 2530 | include/grpc/slice_buffer.h |
| 2531 | include/grpc/status.h |
| 2532 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2533 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2534 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2535 | include/grpc/impl/codegen/compression_types.h |
| 2536 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2537 | include/grpc/impl/codegen/grpc_types.h |
| 2538 | include/grpc/impl/codegen/propagation_bits.h |
| 2539 | include/grpc/impl/codegen/slice.h |
| 2540 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2541 | include/grpc++/impl/codegen/async_stream.h |
| 2542 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2543 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2544 | include/grpc++/impl/codegen/call.h |
| 2545 | include/grpc++/impl/codegen/call_hook.h |
| 2546 | include/grpc++/impl/codegen/channel_interface.h |
| 2547 | include/grpc++/impl/codegen/client_context.h |
| 2548 | include/grpc++/impl/codegen/client_unary_call.h |
| 2549 | include/grpc++/impl/codegen/completion_queue.h |
| 2550 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2551 | include/grpc++/impl/codegen/config.h |
| 2552 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2553 | include/grpc++/impl/codegen/create_auth_context.h |
| 2554 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2555 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2556 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2557 | include/grpc++/impl/codegen/rpc_method.h |
| 2558 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2559 | include/grpc++/impl/codegen/security/auth_context.h |
| 2560 | include/grpc++/impl/codegen/serialization_traits.h |
| 2561 | include/grpc++/impl/codegen/server_context.h |
| 2562 | include/grpc++/impl/codegen/server_interface.h |
| 2563 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2564 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2565 | include/grpc++/impl/codegen/status.h |
| 2566 | include/grpc++/impl/codegen/status_code_enum.h |
| 2567 | include/grpc++/impl/codegen/string_ref.h |
| 2568 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2569 | include/grpc++/impl/codegen/sync_stream.h |
| 2570 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2571 | include/grpc++/impl/codegen/proto_utils.h |
| 2572 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2573 | ) |
| 2574 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2575 | get_filename_component(_path ${_path} PATH) |
| 2576 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2577 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2578 | ) |
| 2579 | endforeach() |
| 2580 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2581 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2582 | if (gRPC_INSTALL) |
| 2583 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2584 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2585 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2586 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2587 | ) |
| 2588 | endif() |
| 2589 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2590 | if (gRPC_BUILD_TESTS) |
| 2591 | |
| 2592 | add_library(grpc++_core_stats |
| 2593 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2594 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2595 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2596 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2597 | src/cpp/util/core_stats.cc |
| 2598 | ) |
| 2599 | |
| 2600 | if(WIN32 AND MSVC) |
| 2601 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2602 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2603 | ) |
| 2604 | if (gRPC_INSTALL) |
| 2605 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2606 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2607 | ) |
| 2608 | endif() |
| 2609 | endif() |
| 2610 | |
| 2611 | protobuf_generate_grpc_cpp( |
| 2612 | src/proto/grpc/core/stats.proto |
| 2613 | ) |
| 2614 | |
| 2615 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2616 | 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] | 2617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2618 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2619 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2620 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2621 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2622 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2623 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2624 | PRIVATE third_party/googletest/googletest/include |
| 2625 | PRIVATE third_party/googletest/googletest |
| 2626 | PRIVATE third_party/googletest/googlemock/include |
| 2627 | PRIVATE third_party/googletest/googlemock |
| 2628 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2629 | ) |
| 2630 | |
| 2631 | target_link_libraries(grpc++_core_stats |
| 2632 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2633 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2634 | grpc++ |
| 2635 | ) |
| 2636 | |
| 2637 | foreach(_hdr |
| 2638 | src/cpp/util/core_stats.h |
| 2639 | ) |
| 2640 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2641 | get_filename_component(_path ${_path} PATH) |
| 2642 | install(FILES ${_hdr} |
| 2643 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2644 | ) |
| 2645 | endforeach() |
| 2646 | |
| 2647 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2648 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2649 | add_library(grpc++_cronet |
| 2650 | src/cpp/client/cronet_credentials.cc |
| 2651 | src/cpp/client/insecure_credentials.cc |
| 2652 | src/cpp/common/insecure_create_auth_context.cc |
| 2653 | src/cpp/server/insecure_server_credentials.cc |
| 2654 | src/cpp/client/channel_cc.cc |
| 2655 | src/cpp/client/client_context.cc |
| 2656 | src/cpp/client/create_channel.cc |
| 2657 | src/cpp/client/create_channel_internal.cc |
| 2658 | src/cpp/client/create_channel_posix.cc |
| 2659 | src/cpp/client/credentials_cc.cc |
| 2660 | src/cpp/client/generic_stub.cc |
| 2661 | src/cpp/common/channel_arguments.cc |
| 2662 | src/cpp/common/channel_filter.cc |
| 2663 | src/cpp/common/completion_queue_cc.cc |
| 2664 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2665 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2666 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2667 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2668 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2669 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2670 | src/cpp/server/create_default_thread_pool.cc |
| 2671 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2672 | src/cpp/server/health/default_health_check_service.cc |
| 2673 | src/cpp/server/health/health.pb.c |
| 2674 | src/cpp/server/health/health_check_service.cc |
| 2675 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2676 | src/cpp/server/server_builder.cc |
| 2677 | src/cpp/server/server_cc.cc |
| 2678 | src/cpp/server/server_context.cc |
| 2679 | src/cpp/server/server_credentials.cc |
| 2680 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2681 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2682 | src/cpp/util/byte_buffer_cc.cc |
| 2683 | src/cpp/util/slice_cc.cc |
| 2684 | src/cpp/util/status.cc |
| 2685 | src/cpp/util/string_ref.cc |
| 2686 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2687 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2688 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2689 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2690 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2691 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2692 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2693 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2694 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2695 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2696 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2697 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2698 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2699 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2700 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2701 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2702 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2703 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2704 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2705 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2706 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2707 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2708 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2709 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2710 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2711 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2712 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2713 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2714 | src/core/lib/channel/channel_args.cc |
| 2715 | src/core/lib/channel/channel_stack.cc |
| 2716 | src/core/lib/channel/channel_stack_builder.cc |
| 2717 | src/core/lib/channel/connected_channel.cc |
| 2718 | src/core/lib/channel/handshaker.cc |
| 2719 | src/core/lib/channel/handshaker_factory.cc |
| 2720 | src/core/lib/channel/handshaker_registry.cc |
| 2721 | src/core/lib/compression/compression.cc |
| 2722 | src/core/lib/compression/message_compress.cc |
| 2723 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2724 | src/core/lib/compression/stream_compression_gzip.cc |
| 2725 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2726 | src/core/lib/debug/stats.cc |
| 2727 | src/core/lib/debug/stats_data.cc |
| 2728 | src/core/lib/http/format_request.cc |
| 2729 | src/core/lib/http/httpcli.cc |
| 2730 | src/core/lib/http/parser.cc |
| 2731 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2732 | src/core/lib/iomgr/combiner.cc |
| 2733 | src/core/lib/iomgr/endpoint.cc |
| 2734 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2735 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2736 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2737 | src/core/lib/iomgr/error.cc |
| 2738 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2739 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2740 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2741 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2742 | src/core/lib/iomgr/ev_posix.cc |
| 2743 | src/core/lib/iomgr/ev_windows.cc |
| 2744 | src/core/lib/iomgr/exec_ctx.cc |
| 2745 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2746 | src/core/lib/iomgr/fork_posix.cc |
| 2747 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2748 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2749 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2750 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2751 | src/core/lib/iomgr/iocp_windows.cc |
| 2752 | src/core/lib/iomgr/iomgr.cc |
| 2753 | src/core/lib/iomgr/iomgr_posix.cc |
| 2754 | src/core/lib/iomgr/iomgr_uv.cc |
| 2755 | src/core/lib/iomgr/iomgr_windows.cc |
| 2756 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2757 | src/core/lib/iomgr/load_file.cc |
| 2758 | src/core/lib/iomgr/lockfree_event.cc |
| 2759 | src/core/lib/iomgr/network_status_tracker.cc |
| 2760 | src/core/lib/iomgr/polling_entity.cc |
| 2761 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2762 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2763 | src/core/lib/iomgr/pollset_uv.cc |
| 2764 | src/core/lib/iomgr/pollset_windows.cc |
| 2765 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2766 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2767 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2768 | src/core/lib/iomgr/resource_quota.cc |
| 2769 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2770 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2771 | src/core/lib/iomgr/socket_mutator.cc |
| 2772 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2773 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2774 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2775 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2776 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2777 | src/core/lib/iomgr/socket_windows.cc |
| 2778 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2779 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2780 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2781 | src/core/lib/iomgr/tcp_posix.cc |
| 2782 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2783 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2784 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2785 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2786 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2787 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2788 | src/core/lib/iomgr/tcp_uv.cc |
| 2789 | src/core/lib/iomgr/tcp_windows.cc |
| 2790 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2791 | src/core/lib/iomgr/timer_generic.cc |
| 2792 | src/core/lib/iomgr/timer_heap.cc |
| 2793 | src/core/lib/iomgr/timer_manager.cc |
| 2794 | src/core/lib/iomgr/timer_uv.cc |
| 2795 | src/core/lib/iomgr/udp_server.cc |
| 2796 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2797 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2798 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2799 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2800 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2801 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2802 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2803 | src/core/lib/json/json.cc |
| 2804 | src/core/lib/json/json_reader.cc |
| 2805 | src/core/lib/json/json_string.cc |
| 2806 | src/core/lib/json/json_writer.cc |
| 2807 | src/core/lib/slice/b64.cc |
| 2808 | src/core/lib/slice/percent_encoding.cc |
| 2809 | src/core/lib/slice/slice.cc |
| 2810 | src/core/lib/slice/slice_buffer.cc |
| 2811 | src/core/lib/slice/slice_hash_table.cc |
| 2812 | src/core/lib/slice/slice_intern.cc |
| 2813 | src/core/lib/slice/slice_string_helpers.cc |
| 2814 | src/core/lib/surface/alarm.cc |
| 2815 | src/core/lib/surface/api_trace.cc |
| 2816 | src/core/lib/surface/byte_buffer.cc |
| 2817 | src/core/lib/surface/byte_buffer_reader.cc |
| 2818 | src/core/lib/surface/call.cc |
| 2819 | src/core/lib/surface/call_details.cc |
| 2820 | src/core/lib/surface/call_log_batch.cc |
| 2821 | src/core/lib/surface/channel.cc |
| 2822 | src/core/lib/surface/channel_init.cc |
| 2823 | src/core/lib/surface/channel_ping.cc |
| 2824 | src/core/lib/surface/channel_stack_type.cc |
| 2825 | src/core/lib/surface/completion_queue.cc |
| 2826 | src/core/lib/surface/completion_queue_factory.cc |
| 2827 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2828 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2829 | src/core/lib/surface/metadata_array.cc |
| 2830 | src/core/lib/surface/server.cc |
| 2831 | src/core/lib/surface/validate_metadata.cc |
| 2832 | src/core/lib/surface/version.cc |
| 2833 | src/core/lib/transport/bdp_estimator.cc |
| 2834 | src/core/lib/transport/byte_stream.cc |
| 2835 | src/core/lib/transport/connectivity_state.cc |
| 2836 | src/core/lib/transport/error_utils.cc |
| 2837 | src/core/lib/transport/metadata.cc |
| 2838 | src/core/lib/transport/metadata_batch.cc |
| 2839 | src/core/lib/transport/pid_controller.cc |
| 2840 | src/core/lib/transport/service_config.cc |
| 2841 | src/core/lib/transport/static_metadata.cc |
| 2842 | src/core/lib/transport/status_conversion.cc |
| 2843 | src/core/lib/transport/timeout_encoding.cc |
| 2844 | src/core/lib/transport/transport.cc |
| 2845 | src/core/lib/transport/transport_op_string.cc |
| 2846 | src/core/lib/debug/trace.cc |
| 2847 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2848 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2849 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2850 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2851 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2852 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2853 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2854 | src/core/ext/filters/client_channel/client_channel.cc |
| 2855 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2856 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2857 | src/core/ext/filters/client_channel/connector.cc |
| 2858 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2859 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2860 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2861 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2862 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2863 | src/core/ext/filters/client_channel/parse_address.cc |
| 2864 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2865 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2866 | src/core/ext/filters/client_channel/resolver.cc |
| 2867 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2868 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2869 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2870 | src/core/ext/filters/client_channel/subchannel.cc |
| 2871 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2872 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2873 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2874 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2875 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2876 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2877 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2878 | third_party/nanopb/pb_common.c |
| 2879 | third_party/nanopb/pb_decode.c |
| 2880 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2881 | ) |
| 2882 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2883 | if(WIN32 AND MSVC) |
| 2884 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2885 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2886 | ) |
| 2887 | if (gRPC_INSTALL) |
| 2888 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2889 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2890 | ) |
| 2891 | endif() |
| 2892 | endif() |
| 2893 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2894 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2895 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2896 | 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] | 2897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2898 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2899 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2900 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2901 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2902 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2903 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2904 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2905 | ) |
| 2906 | |
| 2907 | target_link_libraries(grpc++_cronet |
| 2908 | ${_gRPC_BASELIB_LIBRARIES} |
| 2909 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2910 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2911 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2912 | gpr |
| 2913 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2914 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2915 | ) |
| 2916 | |
| 2917 | foreach(_hdr |
| 2918 | include/grpc++/alarm.h |
| 2919 | include/grpc++/channel.h |
| 2920 | include/grpc++/client_context.h |
| 2921 | include/grpc++/completion_queue.h |
| 2922 | include/grpc++/create_channel.h |
| 2923 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2924 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2925 | include/grpc++/generic/async_generic_service.h |
| 2926 | include/grpc++/generic/generic_stub.h |
| 2927 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2928 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2929 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2930 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2931 | include/grpc++/impl/client_unary_call.h |
| 2932 | include/grpc++/impl/codegen/core_codegen.h |
| 2933 | include/grpc++/impl/grpc_library.h |
| 2934 | include/grpc++/impl/method_handler_impl.h |
| 2935 | include/grpc++/impl/rpc_method.h |
| 2936 | include/grpc++/impl/rpc_service_method.h |
| 2937 | include/grpc++/impl/serialization_traits.h |
| 2938 | include/grpc++/impl/server_builder_option.h |
| 2939 | include/grpc++/impl/server_builder_plugin.h |
| 2940 | include/grpc++/impl/server_initializer.h |
| 2941 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2942 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2943 | include/grpc++/security/auth_context.h |
| 2944 | include/grpc++/security/auth_metadata_processor.h |
| 2945 | include/grpc++/security/credentials.h |
| 2946 | include/grpc++/security/server_credentials.h |
| 2947 | include/grpc++/server.h |
| 2948 | include/grpc++/server_builder.h |
| 2949 | include/grpc++/server_context.h |
| 2950 | include/grpc++/server_posix.h |
| 2951 | include/grpc++/support/async_stream.h |
| 2952 | include/grpc++/support/async_unary_call.h |
| 2953 | include/grpc++/support/byte_buffer.h |
| 2954 | include/grpc++/support/channel_arguments.h |
| 2955 | include/grpc++/support/config.h |
| 2956 | include/grpc++/support/slice.h |
| 2957 | include/grpc++/support/status.h |
| 2958 | include/grpc++/support/status_code_enum.h |
| 2959 | include/grpc++/support/string_ref.h |
| 2960 | include/grpc++/support/stub_options.h |
| 2961 | include/grpc++/support/sync_stream.h |
| 2962 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2963 | include/grpc/support/alloc.h |
| 2964 | include/grpc/support/atm.h |
| 2965 | include/grpc/support/atm_gcc_atomic.h |
| 2966 | include/grpc/support/atm_gcc_sync.h |
| 2967 | include/grpc/support/atm_windows.h |
| 2968 | include/grpc/support/avl.h |
| 2969 | include/grpc/support/cmdline.h |
| 2970 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2971 | include/grpc/support/host_port.h |
| 2972 | include/grpc/support/log.h |
| 2973 | include/grpc/support/log_windows.h |
| 2974 | include/grpc/support/port_platform.h |
| 2975 | include/grpc/support/string_util.h |
| 2976 | include/grpc/support/subprocess.h |
| 2977 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2978 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2979 | include/grpc/support/sync_generic.h |
| 2980 | include/grpc/support/sync_posix.h |
| 2981 | include/grpc/support/sync_windows.h |
| 2982 | include/grpc/support/thd.h |
| 2983 | include/grpc/support/time.h |
| 2984 | include/grpc/support/tls.h |
| 2985 | include/grpc/support/tls_gcc.h |
| 2986 | include/grpc/support/tls_msvc.h |
| 2987 | include/grpc/support/tls_pthread.h |
| 2988 | include/grpc/support/useful.h |
| 2989 | include/grpc/impl/codegen/atm.h |
| 2990 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2991 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2992 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2993 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2994 | include/grpc/impl/codegen/gpr_slice.h |
| 2995 | include/grpc/impl/codegen/gpr_types.h |
| 2996 | include/grpc/impl/codegen/port_platform.h |
| 2997 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2998 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2999 | include/grpc/impl/codegen/sync_generic.h |
| 3000 | include/grpc/impl/codegen/sync_posix.h |
| 3001 | include/grpc/impl/codegen/sync_windows.h |
| 3002 | include/grpc/byte_buffer.h |
| 3003 | include/grpc/byte_buffer_reader.h |
| 3004 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3005 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3006 | include/grpc/grpc.h |
| 3007 | include/grpc/grpc_posix.h |
| 3008 | include/grpc/grpc_security_constants.h |
| 3009 | include/grpc/load_reporting.h |
| 3010 | include/grpc/slice.h |
| 3011 | include/grpc/slice_buffer.h |
| 3012 | include/grpc/status.h |
| 3013 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3014 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3015 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3016 | include/grpc/impl/codegen/compression_types.h |
| 3017 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3018 | include/grpc/impl/codegen/grpc_types.h |
| 3019 | include/grpc/impl/codegen/propagation_bits.h |
| 3020 | include/grpc/impl/codegen/slice.h |
| 3021 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3022 | include/grpc++/impl/codegen/async_stream.h |
| 3023 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3024 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3025 | include/grpc++/impl/codegen/call.h |
| 3026 | include/grpc++/impl/codegen/call_hook.h |
| 3027 | include/grpc++/impl/codegen/channel_interface.h |
| 3028 | include/grpc++/impl/codegen/client_context.h |
| 3029 | include/grpc++/impl/codegen/client_unary_call.h |
| 3030 | include/grpc++/impl/codegen/completion_queue.h |
| 3031 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3032 | include/grpc++/impl/codegen/config.h |
| 3033 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3034 | include/grpc++/impl/codegen/create_auth_context.h |
| 3035 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3036 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3037 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3038 | include/grpc++/impl/codegen/rpc_method.h |
| 3039 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3040 | include/grpc++/impl/codegen/security/auth_context.h |
| 3041 | include/grpc++/impl/codegen/serialization_traits.h |
| 3042 | include/grpc++/impl/codegen/server_context.h |
| 3043 | include/grpc++/impl/codegen/server_interface.h |
| 3044 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3045 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3046 | include/grpc++/impl/codegen/status.h |
| 3047 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3048 | include/grpc++/impl/codegen/string_ref.h |
| 3049 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3050 | include/grpc++/impl/codegen/sync_stream.h |
| 3051 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3052 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3053 | ) |
| 3054 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3055 | get_filename_component(_path ${_path} PATH) |
| 3056 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3057 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3058 | ) |
| 3059 | endforeach() |
| 3060 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3061 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3062 | if (gRPC_INSTALL) |
| 3063 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3064 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3065 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3066 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3067 | ) |
| 3068 | endif() |
| 3069 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3070 | |
| 3071 | add_library(grpc++_error_details |
| 3072 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3073 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3074 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3075 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3076 | src/cpp/util/error_details.cc |
| 3077 | ) |
| 3078 | |
| 3079 | if(WIN32 AND MSVC) |
| 3080 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3081 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3082 | ) |
| 3083 | if (gRPC_INSTALL) |
| 3084 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3085 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3086 | ) |
| 3087 | endif() |
| 3088 | endif() |
| 3089 | |
| 3090 | protobuf_generate_grpc_cpp( |
| 3091 | src/proto/grpc/status/status.proto |
| 3092 | ) |
| 3093 | |
| 3094 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3095 | 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] | 3096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3097 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3098 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3099 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3100 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3101 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3102 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3103 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3104 | ) |
| 3105 | |
| 3106 | target_link_libraries(grpc++_error_details |
| 3107 | ${_gRPC_BASELIB_LIBRARIES} |
| 3108 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3110 | grpc++ |
| 3111 | ) |
| 3112 | |
| 3113 | foreach(_hdr |
| 3114 | include/grpc++/support/error_details.h |
| 3115 | ) |
| 3116 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3117 | get_filename_component(_path ${_path} PATH) |
| 3118 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3119 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3120 | ) |
| 3121 | endforeach() |
| 3122 | |
| 3123 | |
| 3124 | if (gRPC_INSTALL) |
| 3125 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3126 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3127 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3128 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3129 | ) |
| 3130 | endif() |
| 3131 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3132 | if (gRPC_BUILD_TESTS) |
| 3133 | |
| 3134 | add_library(grpc++_proto_reflection_desc_db |
| 3135 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3136 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3137 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3138 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3139 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3140 | ) |
| 3141 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3142 | if(WIN32 AND MSVC) |
| 3143 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3144 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3145 | ) |
| 3146 | if (gRPC_INSTALL) |
| 3147 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3148 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3149 | ) |
| 3150 | endif() |
| 3151 | endif() |
| 3152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3153 | protobuf_generate_grpc_cpp( |
| 3154 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3155 | ) |
| 3156 | |
| 3157 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3158 | 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] | 3159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3160 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3161 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3162 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3163 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3164 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3165 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3166 | PRIVATE third_party/googletest/googletest/include |
| 3167 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3168 | PRIVATE third_party/googletest/googlemock/include |
| 3169 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3170 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3171 | ) |
| 3172 | |
| 3173 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3174 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3176 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3177 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3178 | ) |
| 3179 | |
| 3180 | foreach(_hdr |
| 3181 | include/grpc++/impl/codegen/config_protobuf.h |
| 3182 | ) |
| 3183 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3184 | get_filename_component(_path ${_path} PATH) |
| 3185 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3186 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3187 | ) |
| 3188 | endforeach() |
| 3189 | |
| 3190 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3191 | |
| 3192 | add_library(grpc++_reflection |
| 3193 | src/cpp/ext/proto_server_reflection.cc |
| 3194 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3195 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3196 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3197 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3198 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3199 | ) |
| 3200 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3201 | if(WIN32 AND MSVC) |
| 3202 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3203 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3204 | ) |
| 3205 | if (gRPC_INSTALL) |
| 3206 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3207 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3208 | ) |
| 3209 | endif() |
| 3210 | endif() |
| 3211 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3212 | protobuf_generate_grpc_cpp( |
| 3213 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3214 | ) |
| 3215 | |
| 3216 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3217 | 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] | 3218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3219 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3220 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3221 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3222 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3223 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3224 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3225 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3226 | ) |
| 3227 | |
| 3228 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3229 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3231 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3232 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3233 | ) |
| 3234 | |
| 3235 | foreach(_hdr |
| 3236 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3237 | ) |
| 3238 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3239 | get_filename_component(_path ${_path} PATH) |
| 3240 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3241 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3242 | ) |
| 3243 | endforeach() |
| 3244 | |
| 3245 | |
| 3246 | if (gRPC_INSTALL) |
| 3247 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3248 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3249 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3250 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3251 | ) |
| 3252 | endif() |
| 3253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3254 | if (gRPC_BUILD_TESTS) |
| 3255 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3256 | add_library(grpc++_test_config |
| 3257 | test/cpp/util/test_config_cc.cc |
| 3258 | ) |
| 3259 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3260 | if(WIN32 AND MSVC) |
| 3261 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3262 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3263 | ) |
| 3264 | if (gRPC_INSTALL) |
| 3265 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3266 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3267 | ) |
| 3268 | endif() |
| 3269 | endif() |
| 3270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3271 | |
| 3272 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3273 | 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] | 3274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3275 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3276 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3277 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3278 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3279 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3280 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3281 | PRIVATE third_party/googletest/googletest/include |
| 3282 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3283 | PRIVATE third_party/googletest/googlemock/include |
| 3284 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3285 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3286 | ) |
| 3287 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3288 | target_link_libraries(grpc++_test_config |
| 3289 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3290 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3291 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3292 | |
| 3293 | |
| 3294 | endif (gRPC_BUILD_TESTS) |
| 3295 | if (gRPC_BUILD_TESTS) |
| 3296 | |
| 3297 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3298 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3299 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3300 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3301 | ${_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] | 3302 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3303 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3304 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3310 | ${_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] | 3311 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3315 | test/cpp/end2end/test_service_impl.cc |
| 3316 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3317 | test/cpp/util/create_test_channel.cc |
| 3318 | test/cpp/util/string_ref_helper.cc |
| 3319 | test/cpp/util/subprocess.cc |
| 3320 | test/cpp/util/test_credentials_provider.cc |
| 3321 | src/cpp/codegen/codegen_init.cc |
| 3322 | ) |
| 3323 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3324 | if(WIN32 AND MSVC) |
| 3325 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3326 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3327 | ) |
| 3328 | if (gRPC_INSTALL) |
| 3329 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3330 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3331 | ) |
| 3332 | endif() |
| 3333 | endif() |
| 3334 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3335 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3336 | src/proto/grpc/health/v1/health.proto |
| 3337 | ) |
| 3338 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3339 | src/proto/grpc/testing/echo_messages.proto |
| 3340 | ) |
| 3341 | protobuf_generate_grpc_cpp( |
| 3342 | src/proto/grpc/testing/echo.proto |
| 3343 | ) |
| 3344 | protobuf_generate_grpc_cpp( |
| 3345 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3346 | ) |
| 3347 | |
| 3348 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3349 | 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] | 3350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3352 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3353 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3354 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3355 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3356 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3357 | PRIVATE third_party/googletest/googletest/include |
| 3358 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3359 | PRIVATE third_party/googletest/googlemock/include |
| 3360 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3361 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3362 | ) |
| 3363 | |
| 3364 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3365 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3366 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3367 | grpc++ |
| 3368 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3369 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3370 | ) |
| 3371 | |
| 3372 | foreach(_hdr |
| 3373 | include/grpc++/impl/codegen/async_stream.h |
| 3374 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3375 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3376 | include/grpc++/impl/codegen/call.h |
| 3377 | include/grpc++/impl/codegen/call_hook.h |
| 3378 | include/grpc++/impl/codegen/channel_interface.h |
| 3379 | include/grpc++/impl/codegen/client_context.h |
| 3380 | include/grpc++/impl/codegen/client_unary_call.h |
| 3381 | include/grpc++/impl/codegen/completion_queue.h |
| 3382 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3383 | include/grpc++/impl/codegen/config.h |
| 3384 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3385 | include/grpc++/impl/codegen/create_auth_context.h |
| 3386 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3387 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3388 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3389 | include/grpc++/impl/codegen/rpc_method.h |
| 3390 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3391 | include/grpc++/impl/codegen/security/auth_context.h |
| 3392 | include/grpc++/impl/codegen/serialization_traits.h |
| 3393 | include/grpc++/impl/codegen/server_context.h |
| 3394 | include/grpc++/impl/codegen/server_interface.h |
| 3395 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3396 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3397 | include/grpc++/impl/codegen/status.h |
| 3398 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3399 | include/grpc++/impl/codegen/string_ref.h |
| 3400 | include/grpc++/impl/codegen/stub_options.h |
| 3401 | include/grpc++/impl/codegen/sync_stream.h |
| 3402 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3403 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3404 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3405 | include/grpc/impl/codegen/compression_types.h |
| 3406 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3407 | include/grpc/impl/codegen/grpc_types.h |
| 3408 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3409 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3410 | include/grpc/impl/codegen/status.h |
| 3411 | include/grpc/impl/codegen/atm.h |
| 3412 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3413 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3414 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3415 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3416 | include/grpc/impl/codegen/gpr_slice.h |
| 3417 | include/grpc/impl/codegen/gpr_types.h |
| 3418 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3419 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3420 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3421 | include/grpc/impl/codegen/sync_generic.h |
| 3422 | include/grpc/impl/codegen/sync_posix.h |
| 3423 | include/grpc/impl/codegen/sync_windows.h |
| 3424 | include/grpc++/impl/codegen/proto_utils.h |
| 3425 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3426 | ) |
| 3427 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3428 | get_filename_component(_path ${_path} PATH) |
| 3429 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3430 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3431 | ) |
| 3432 | endforeach() |
| 3433 | |
| 3434 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3435 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3436 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3437 | add_library(grpc++_test_util_unsecure |
| 3438 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3439 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3440 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3441 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3442 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3443 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3444 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3445 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3446 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3447 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3448 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3449 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3450 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3451 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3452 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3453 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3454 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3455 | test/cpp/end2end/test_service_impl.cc |
| 3456 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3457 | test/cpp/util/string_ref_helper.cc |
| 3458 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3459 | src/cpp/codegen/codegen_init.cc |
| 3460 | ) |
| 3461 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3462 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3463 | 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] | 3464 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3465 | ) |
| 3466 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3467 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3468 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3469 | ) |
| 3470 | endif() |
| 3471 | endif() |
| 3472 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3473 | protobuf_generate_grpc_cpp( |
| 3474 | src/proto/grpc/health/v1/health.proto |
| 3475 | ) |
| 3476 | protobuf_generate_grpc_cpp( |
| 3477 | src/proto/grpc/testing/echo_messages.proto |
| 3478 | ) |
| 3479 | protobuf_generate_grpc_cpp( |
| 3480 | src/proto/grpc/testing/echo.proto |
| 3481 | ) |
| 3482 | protobuf_generate_grpc_cpp( |
| 3483 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3484 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3485 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3486 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3487 | 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] | 3488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3489 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3490 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3491 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3492 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3493 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3494 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3495 | PRIVATE third_party/googletest/googletest/include |
| 3496 | PRIVATE third_party/googletest/googletest |
| 3497 | PRIVATE third_party/googletest/googlemock/include |
| 3498 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3499 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3500 | ) |
| 3501 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3502 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3503 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3505 | grpc++_unsecure |
| 3506 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3507 | grpc_unsecure |
| 3508 | ) |
| 3509 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3510 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3511 | include/grpc++/impl/codegen/async_stream.h |
| 3512 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3513 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3514 | include/grpc++/impl/codegen/call.h |
| 3515 | include/grpc++/impl/codegen/call_hook.h |
| 3516 | include/grpc++/impl/codegen/channel_interface.h |
| 3517 | include/grpc++/impl/codegen/client_context.h |
| 3518 | include/grpc++/impl/codegen/client_unary_call.h |
| 3519 | include/grpc++/impl/codegen/completion_queue.h |
| 3520 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3521 | include/grpc++/impl/codegen/config.h |
| 3522 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3523 | include/grpc++/impl/codegen/create_auth_context.h |
| 3524 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3525 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3526 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3527 | include/grpc++/impl/codegen/rpc_method.h |
| 3528 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3529 | include/grpc++/impl/codegen/security/auth_context.h |
| 3530 | include/grpc++/impl/codegen/serialization_traits.h |
| 3531 | include/grpc++/impl/codegen/server_context.h |
| 3532 | include/grpc++/impl/codegen/server_interface.h |
| 3533 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3534 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3535 | include/grpc++/impl/codegen/status.h |
| 3536 | include/grpc++/impl/codegen/status_code_enum.h |
| 3537 | include/grpc++/impl/codegen/string_ref.h |
| 3538 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3539 | include/grpc++/impl/codegen/sync_stream.h |
| 3540 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3541 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3542 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3543 | include/grpc/impl/codegen/compression_types.h |
| 3544 | include/grpc/impl/codegen/connectivity_state.h |
| 3545 | include/grpc/impl/codegen/grpc_types.h |
| 3546 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3547 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3548 | include/grpc/impl/codegen/status.h |
| 3549 | include/grpc/impl/codegen/atm.h |
| 3550 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3551 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3552 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3553 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3554 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3555 | include/grpc/impl/codegen/gpr_types.h |
| 3556 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3557 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3558 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3559 | include/grpc/impl/codegen/sync_generic.h |
| 3560 | include/grpc/impl/codegen/sync_posix.h |
| 3561 | include/grpc/impl/codegen/sync_windows.h |
| 3562 | include/grpc++/impl/codegen/proto_utils.h |
| 3563 | include/grpc++/impl/codegen/config_protobuf.h |
| 3564 | ) |
| 3565 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3566 | get_filename_component(_path ${_path} PATH) |
| 3567 | install(FILES ${_hdr} |
| 3568 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3569 | ) |
| 3570 | endforeach() |
| 3571 | |
| 3572 | endif (gRPC_BUILD_TESTS) |
| 3573 | |
| 3574 | add_library(grpc++_unsecure |
| 3575 | src/cpp/client/insecure_credentials.cc |
| 3576 | src/cpp/common/insecure_create_auth_context.cc |
| 3577 | src/cpp/server/insecure_server_credentials.cc |
| 3578 | src/cpp/client/channel_cc.cc |
| 3579 | src/cpp/client/client_context.cc |
| 3580 | src/cpp/client/create_channel.cc |
| 3581 | src/cpp/client/create_channel_internal.cc |
| 3582 | src/cpp/client/create_channel_posix.cc |
| 3583 | src/cpp/client/credentials_cc.cc |
| 3584 | src/cpp/client/generic_stub.cc |
| 3585 | src/cpp/common/channel_arguments.cc |
| 3586 | src/cpp/common/channel_filter.cc |
| 3587 | src/cpp/common/completion_queue_cc.cc |
| 3588 | src/cpp/common/core_codegen.cc |
| 3589 | src/cpp/common/resource_quota_cc.cc |
| 3590 | src/cpp/common/rpc_method.cc |
| 3591 | src/cpp/common/version_cc.cc |
| 3592 | src/cpp/server/async_generic_service.cc |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3593 | src/cpp/server/channel_argument_option.cc |
| 3594 | src/cpp/server/create_default_thread_pool.cc |
| 3595 | src/cpp/server/dynamic_thread_pool.cc |
| 3596 | src/cpp/server/health/default_health_check_service.cc |
| 3597 | src/cpp/server/health/health.pb.c |
| 3598 | src/cpp/server/health/health_check_service.cc |
| 3599 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3600 | src/cpp/server/server_builder.cc |
| 3601 | src/cpp/server/server_cc.cc |
| 3602 | src/cpp/server/server_context.cc |
| 3603 | src/cpp/server/server_credentials.cc |
| 3604 | src/cpp/server/server_posix.cc |
| 3605 | src/cpp/thread_manager/thread_manager.cc |
| 3606 | src/cpp/util/byte_buffer_cc.cc |
| 3607 | src/cpp/util/slice_cc.cc |
| 3608 | src/cpp/util/status.cc |
| 3609 | src/cpp/util/string_ref.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3610 | src/cpp/util/time_cc.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3611 | src/cpp/codegen/codegen_init.cc |
| 3612 | ) |
| 3613 | |
| 3614 | if(WIN32 AND MSVC) |
| 3615 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3616 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3617 | ) |
| 3618 | if (gRPC_INSTALL) |
| 3619 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3620 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3621 | ) |
| 3622 | endif() |
| 3623 | endif() |
| 3624 | |
| 3625 | |
| 3626 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3627 | 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] | 3628 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3629 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3630 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3631 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3632 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3633 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3634 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3635 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3636 | ) |
| 3637 | |
| 3638 | target_link_libraries(grpc++_unsecure |
| 3639 | ${_gRPC_BASELIB_LIBRARIES} |
| 3640 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3641 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3642 | gpr |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3643 | grpc_unsecure |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3644 | ) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3645 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3646 | foreach(_hdr |
| 3647 | include/grpc++/alarm.h |
| 3648 | include/grpc++/channel.h |
| 3649 | include/grpc++/client_context.h |
| 3650 | include/grpc++/completion_queue.h |
| 3651 | include/grpc++/create_channel.h |
| 3652 | include/grpc++/create_channel_posix.h |
| 3653 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3654 | include/grpc++/generic/async_generic_service.h |
| 3655 | include/grpc++/generic/generic_stub.h |
| 3656 | include/grpc++/grpc++.h |
| 3657 | include/grpc++/health_check_service_interface.h |
| 3658 | include/grpc++/impl/call.h |
| 3659 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3660 | include/grpc++/impl/client_unary_call.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3661 | include/grpc++/impl/codegen/core_codegen.h |
| 3662 | include/grpc++/impl/grpc_library.h |
| 3663 | include/grpc++/impl/method_handler_impl.h |
| 3664 | include/grpc++/impl/rpc_method.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3665 | include/grpc++/impl/rpc_service_method.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3666 | include/grpc++/impl/serialization_traits.h |
| 3667 | include/grpc++/impl/server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3668 | include/grpc++/impl/server_builder_plugin.h |
| 3669 | include/grpc++/impl/server_initializer.h |
| 3670 | include/grpc++/impl/service_type.h |
| 3671 | include/grpc++/resource_quota.h |
| 3672 | include/grpc++/security/auth_context.h |
| 3673 | include/grpc++/security/auth_metadata_processor.h |
| 3674 | include/grpc++/security/credentials.h |
| 3675 | include/grpc++/security/server_credentials.h |
| 3676 | include/grpc++/server.h |
| 3677 | include/grpc++/server_builder.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3678 | include/grpc++/server_context.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3679 | include/grpc++/server_posix.h |
| 3680 | include/grpc++/support/async_stream.h |
| 3681 | include/grpc++/support/async_unary_call.h |
| 3682 | include/grpc++/support/byte_buffer.h |
| 3683 | include/grpc++/support/channel_arguments.h |
| 3684 | include/grpc++/support/config.h |
| 3685 | include/grpc++/support/slice.h |
| 3686 | include/grpc++/support/status.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3687 | include/grpc++/support/status_code_enum.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3688 | include/grpc++/support/string_ref.h |
| 3689 | include/grpc++/support/stub_options.h |
| 3690 | include/grpc++/support/sync_stream.h |
| 3691 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3692 | include/grpc/support/alloc.h |
| 3693 | include/grpc/support/atm.h |
| 3694 | include/grpc/support/atm_gcc_atomic.h |
| 3695 | include/grpc/support/atm_gcc_sync.h |
| 3696 | include/grpc/support/atm_windows.h |
| 3697 | include/grpc/support/avl.h |
| 3698 | include/grpc/support/cmdline.h |
| 3699 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3700 | include/grpc/support/host_port.h |
| 3701 | include/grpc/support/log.h |
| 3702 | include/grpc/support/log_windows.h |
| 3703 | include/grpc/support/port_platform.h |
| 3704 | include/grpc/support/string_util.h |
| 3705 | include/grpc/support/subprocess.h |
| 3706 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3707 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3708 | include/grpc/support/sync_generic.h |
| 3709 | include/grpc/support/sync_posix.h |
| 3710 | include/grpc/support/sync_windows.h |
| 3711 | include/grpc/support/thd.h |
| 3712 | include/grpc/support/time.h |
| 3713 | include/grpc/support/tls.h |
| 3714 | include/grpc/support/tls_gcc.h |
| 3715 | include/grpc/support/tls_msvc.h |
| 3716 | include/grpc/support/tls_pthread.h |
| 3717 | include/grpc/support/useful.h |
| 3718 | include/grpc/impl/codegen/atm.h |
| 3719 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3720 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3721 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3722 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3723 | include/grpc/impl/codegen/gpr_slice.h |
| 3724 | include/grpc/impl/codegen/gpr_types.h |
| 3725 | include/grpc/impl/codegen/port_platform.h |
| 3726 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3727 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3728 | include/grpc/impl/codegen/sync_generic.h |
| 3729 | include/grpc/impl/codegen/sync_posix.h |
| 3730 | include/grpc/impl/codegen/sync_windows.h |
| 3731 | include/grpc/byte_buffer.h |
| 3732 | include/grpc/byte_buffer_reader.h |
| 3733 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3734 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3735 | include/grpc/grpc.h |
| 3736 | include/grpc/grpc_posix.h |
| 3737 | include/grpc/grpc_security_constants.h |
| 3738 | include/grpc/load_reporting.h |
| 3739 | include/grpc/slice.h |
| 3740 | include/grpc/slice_buffer.h |
| 3741 | include/grpc/status.h |
| 3742 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3743 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3744 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3745 | include/grpc/impl/codegen/compression_types.h |
| 3746 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3747 | include/grpc/impl/codegen/grpc_types.h |
| 3748 | include/grpc/impl/codegen/propagation_bits.h |
| 3749 | include/grpc/impl/codegen/slice.h |
| 3750 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3751 | include/grpc++/impl/codegen/async_stream.h |
| 3752 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3753 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3754 | include/grpc++/impl/codegen/call.h |
| 3755 | include/grpc++/impl/codegen/call_hook.h |
| 3756 | include/grpc++/impl/codegen/channel_interface.h |
| 3757 | include/grpc++/impl/codegen/client_context.h |
| 3758 | include/grpc++/impl/codegen/client_unary_call.h |
| 3759 | include/grpc++/impl/codegen/completion_queue.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3760 | include/grpc++/impl/codegen/completion_queue_tag.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3761 | include/grpc++/impl/codegen/config.h |
| 3762 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3763 | include/grpc++/impl/codegen/create_auth_context.h |
| 3764 | include/grpc++/impl/codegen/grpc_library.h |
| 3765 | include/grpc++/impl/codegen/metadata_map.h |
| 3766 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3767 | include/grpc++/impl/codegen/rpc_method.h |
| 3768 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3769 | include/grpc++/impl/codegen/security/auth_context.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3770 | include/grpc++/impl/codegen/serialization_traits.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3771 | include/grpc++/impl/codegen/server_context.h |
| 3772 | include/grpc++/impl/codegen/server_interface.h |
| 3773 | include/grpc++/impl/codegen/service_type.h |
| 3774 | include/grpc++/impl/codegen/slice.h |
| 3775 | include/grpc++/impl/codegen/status.h |
| 3776 | include/grpc++/impl/codegen/status_code_enum.h |
| 3777 | include/grpc++/impl/codegen/string_ref.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3778 | include/grpc++/impl/codegen/stub_options.h |
| 3779 | include/grpc++/impl/codegen/sync_stream.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3780 | include/grpc++/impl/codegen/time.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3781 | ) |
| 3782 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3783 | get_filename_component(_path ${_path} PATH) |
| 3784 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3785 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3786 | ) |
| 3787 | endforeach() |
| 3788 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3789 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3790 | if (gRPC_INSTALL) |
| 3791 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3792 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3793 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3794 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3795 | ) |
| 3796 | endif() |
| 3797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3798 | if (gRPC_BUILD_TESTS) |
| 3799 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3800 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3801 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3802 | ) |
| 3803 | |
| 3804 | if(WIN32 AND MSVC) |
| 3805 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3806 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3807 | ) |
| 3808 | if (gRPC_INSTALL) |
| 3809 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3810 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3811 | ) |
| 3812 | endif() |
| 3813 | endif() |
| 3814 | |
| 3815 | |
| 3816 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3817 | 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] | 3818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3819 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3820 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3821 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3822 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3823 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3824 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3825 | PRIVATE third_party/googletest/googletest/include |
| 3826 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3827 | PRIVATE third_party/googletest/googlemock/include |
| 3828 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3829 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3830 | ) |
| 3831 | |
| 3832 | target_link_libraries(grpc_benchmark |
| 3833 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3834 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3835 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3836 | grpc++_unsecure |
| 3837 | grpc_test_util_unsecure |
| 3838 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3839 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3840 | ) |
| 3841 | |
| 3842 | |
| 3843 | endif (gRPC_BUILD_TESTS) |
| 3844 | if (gRPC_BUILD_TESTS) |
| 3845 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3846 | add_library(grpc_cli_libs |
| 3847 | test/cpp/util/cli_call.cc |
| 3848 | test/cpp/util/cli_credentials.cc |
| 3849 | test/cpp/util/grpc_tool.cc |
| 3850 | test/cpp/util/proto_file_parser.cc |
| 3851 | test/cpp/util/service_describer.cc |
| 3852 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3853 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3856 | ) |
| 3857 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3858 | if(WIN32 AND MSVC) |
| 3859 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3860 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3861 | ) |
| 3862 | if (gRPC_INSTALL) |
| 3863 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3864 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3865 | ) |
| 3866 | endif() |
| 3867 | endif() |
| 3868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3869 | protobuf_generate_grpc_cpp( |
| 3870 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3871 | ) |
| 3872 | |
| 3873 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3874 | 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] | 3875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3876 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3877 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3878 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3879 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3880 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3881 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3882 | PRIVATE third_party/googletest/googletest/include |
| 3883 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3884 | PRIVATE third_party/googletest/googlemock/include |
| 3885 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3886 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3887 | ) |
| 3888 | |
| 3889 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3890 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3892 | grpc++_proto_reflection_desc_db |
| 3893 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3894 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3895 | ) |
| 3896 | |
| 3897 | foreach(_hdr |
| 3898 | include/grpc++/impl/codegen/config_protobuf.h |
| 3899 | ) |
| 3900 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3901 | get_filename_component(_path ${_path} PATH) |
| 3902 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3903 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | ) |
| 3905 | endforeach() |
| 3906 | |
| 3907 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3908 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3909 | add_library(grpc_plugin_support |
| 3910 | src/compiler/cpp_generator.cc |
| 3911 | src/compiler/csharp_generator.cc |
| 3912 | src/compiler/node_generator.cc |
| 3913 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3914 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3915 | src/compiler/python_generator.cc |
| 3916 | src/compiler/ruby_generator.cc |
| 3917 | ) |
| 3918 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3919 | if(WIN32 AND MSVC) |
| 3920 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3921 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3922 | ) |
| 3923 | if (gRPC_INSTALL) |
| 3924 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3925 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3926 | ) |
| 3927 | endif() |
| 3928 | endif() |
| 3929 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3930 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3931 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3932 | 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] | 3933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3934 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3935 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3936 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3937 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3938 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3939 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3940 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3941 | ) |
| 3942 | |
| 3943 | target_link_libraries(grpc_plugin_support |
| 3944 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3945 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3947 | ) |
| 3948 | |
| 3949 | foreach(_hdr |
| 3950 | include/grpc++/impl/codegen/config_protobuf.h |
| 3951 | ) |
| 3952 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3953 | get_filename_component(_path ${_path} PATH) |
| 3954 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3955 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3956 | ) |
| 3957 | endforeach() |
| 3958 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3959 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3960 | if (gRPC_INSTALL) |
| 3961 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3962 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3963 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3964 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3965 | ) |
| 3966 | endif() |
| 3967 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3968 | if (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3969 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3970 | add_library(http2_client_main |
| 3971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3972 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3973 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3975 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3976 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3978 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3979 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3983 | test/cpp/interop/http2_client.cc |
| 3984 | ) |
| 3985 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3986 | if(WIN32 AND MSVC) |
| 3987 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3988 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3989 | ) |
| 3990 | if (gRPC_INSTALL) |
| 3991 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3992 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3993 | ) |
| 3994 | endif() |
| 3995 | endif() |
| 3996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3997 | protobuf_generate_grpc_cpp( |
| 3998 | src/proto/grpc/testing/empty.proto |
| 3999 | ) |
| 4000 | protobuf_generate_grpc_cpp( |
| 4001 | src/proto/grpc/testing/messages.proto |
| 4002 | ) |
| 4003 | protobuf_generate_grpc_cpp( |
| 4004 | src/proto/grpc/testing/test.proto |
| 4005 | ) |
| 4006 | |
| 4007 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4008 | 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] | 4009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4010 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4011 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4012 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4013 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4014 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4015 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4016 | PRIVATE third_party/googletest/googletest/include |
| 4017 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4018 | PRIVATE third_party/googletest/googlemock/include |
| 4019 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4020 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4021 | ) |
| 4022 | |
| 4023 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4024 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4026 | grpc++_test_util |
| 4027 | grpc_test_util |
| 4028 | grpc++ |
| 4029 | grpc |
| 4030 | grpc++_test_config |
| 4031 | ) |
| 4032 | |
| 4033 | |
| 4034 | endif (gRPC_BUILD_TESTS) |
| 4035 | if (gRPC_BUILD_TESTS) |
| 4036 | |
| 4037 | add_library(interop_client_helper |
| 4038 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4039 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4040 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4041 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4042 | test/cpp/interop/client_helper.cc |
| 4043 | ) |
| 4044 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4045 | if(WIN32 AND MSVC) |
| 4046 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4047 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4048 | ) |
| 4049 | if (gRPC_INSTALL) |
| 4050 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4051 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4052 | ) |
| 4053 | endif() |
| 4054 | endif() |
| 4055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4056 | protobuf_generate_grpc_cpp( |
| 4057 | src/proto/grpc/testing/messages.proto |
| 4058 | ) |
| 4059 | |
| 4060 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4061 | 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] | 4062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4063 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4064 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4065 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4066 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4067 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4068 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4069 | PRIVATE third_party/googletest/googletest/include |
| 4070 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4071 | PRIVATE third_party/googletest/googlemock/include |
| 4072 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4073 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4074 | ) |
| 4075 | |
| 4076 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4077 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4078 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4079 | grpc++_test_util |
| 4080 | grpc_test_util |
| 4081 | grpc++ |
| 4082 | grpc |
| 4083 | gpr |
| 4084 | ) |
| 4085 | |
| 4086 | |
| 4087 | endif (gRPC_BUILD_TESTS) |
| 4088 | if (gRPC_BUILD_TESTS) |
| 4089 | |
| 4090 | add_library(interop_client_main |
| 4091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4093 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4094 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4095 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4096 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4097 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4098 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4099 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4100 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4101 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4102 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4103 | test/cpp/interop/client.cc |
| 4104 | test/cpp/interop/interop_client.cc |
| 4105 | ) |
| 4106 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4107 | if(WIN32 AND MSVC) |
| 4108 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4109 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4110 | ) |
| 4111 | if (gRPC_INSTALL) |
| 4112 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4113 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4114 | ) |
| 4115 | endif() |
| 4116 | endif() |
| 4117 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4118 | protobuf_generate_grpc_cpp( |
| 4119 | src/proto/grpc/testing/empty.proto |
| 4120 | ) |
| 4121 | protobuf_generate_grpc_cpp( |
| 4122 | src/proto/grpc/testing/messages.proto |
| 4123 | ) |
| 4124 | protobuf_generate_grpc_cpp( |
| 4125 | src/proto/grpc/testing/test.proto |
| 4126 | ) |
| 4127 | |
| 4128 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4129 | 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] | 4130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4131 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4132 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4133 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4134 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4135 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4136 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4137 | PRIVATE third_party/googletest/googletest/include |
| 4138 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4139 | PRIVATE third_party/googletest/googlemock/include |
| 4140 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4141 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4142 | ) |
| 4143 | |
| 4144 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4145 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4147 | interop_client_helper |
| 4148 | grpc++_test_util |
| 4149 | grpc_test_util |
| 4150 | grpc++ |
| 4151 | grpc |
| 4152 | gpr_test_util |
| 4153 | gpr |
| 4154 | grpc++_test_config |
| 4155 | ) |
| 4156 | |
| 4157 | |
| 4158 | endif (gRPC_BUILD_TESTS) |
| 4159 | if (gRPC_BUILD_TESTS) |
| 4160 | |
| 4161 | add_library(interop_server_helper |
| 4162 | test/cpp/interop/server_helper.cc |
| 4163 | ) |
| 4164 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4165 | if(WIN32 AND MSVC) |
| 4166 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4167 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4168 | ) |
| 4169 | if (gRPC_INSTALL) |
| 4170 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4171 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4172 | ) |
| 4173 | endif() |
| 4174 | endif() |
| 4175 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4176 | |
| 4177 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4178 | 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] | 4179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4181 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4182 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4183 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4184 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4185 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4186 | PRIVATE third_party/googletest/googletest/include |
| 4187 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4188 | PRIVATE third_party/googletest/googlemock/include |
| 4189 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4190 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4191 | ) |
| 4192 | |
| 4193 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4194 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4195 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4196 | grpc++_test_util |
| 4197 | grpc_test_util |
| 4198 | grpc++ |
| 4199 | grpc |
| 4200 | gpr |
| 4201 | ) |
| 4202 | |
| 4203 | |
| 4204 | endif (gRPC_BUILD_TESTS) |
| 4205 | if (gRPC_BUILD_TESTS) |
| 4206 | |
| 4207 | add_library(interop_server_lib |
| 4208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4210 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4211 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4214 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4217 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4218 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4220 | test/cpp/interop/interop_server.cc |
| 4221 | ) |
| 4222 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4223 | if(WIN32 AND MSVC) |
| 4224 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4225 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4226 | ) |
| 4227 | if (gRPC_INSTALL) |
| 4228 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4229 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4230 | ) |
| 4231 | endif() |
| 4232 | endif() |
| 4233 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4234 | protobuf_generate_grpc_cpp( |
| 4235 | src/proto/grpc/testing/empty.proto |
| 4236 | ) |
| 4237 | protobuf_generate_grpc_cpp( |
| 4238 | src/proto/grpc/testing/messages.proto |
| 4239 | ) |
| 4240 | protobuf_generate_grpc_cpp( |
| 4241 | src/proto/grpc/testing/test.proto |
| 4242 | ) |
| 4243 | |
| 4244 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4245 | 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] | 4246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4247 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4248 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4249 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4250 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4251 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4252 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4253 | PRIVATE third_party/googletest/googletest/include |
| 4254 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4255 | PRIVATE third_party/googletest/googlemock/include |
| 4256 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4257 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4258 | ) |
| 4259 | |
| 4260 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4261 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4262 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4263 | interop_server_helper |
| 4264 | grpc++_test_util |
| 4265 | grpc_test_util |
| 4266 | grpc++ |
| 4267 | grpc |
| 4268 | gpr_test_util |
| 4269 | gpr |
| 4270 | grpc++_test_config |
| 4271 | ) |
| 4272 | |
| 4273 | |
| 4274 | endif (gRPC_BUILD_TESTS) |
| 4275 | if (gRPC_BUILD_TESTS) |
| 4276 | |
| 4277 | add_library(interop_server_main |
| 4278 | test/cpp/interop/interop_server_bootstrap.cc |
| 4279 | ) |
| 4280 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4281 | if(WIN32 AND MSVC) |
| 4282 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4283 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4284 | ) |
| 4285 | if (gRPC_INSTALL) |
| 4286 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4287 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4288 | ) |
| 4289 | endif() |
| 4290 | endif() |
| 4291 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4292 | |
| 4293 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4294 | 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] | 4295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4296 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4297 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4298 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4299 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4300 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4301 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4302 | PRIVATE third_party/googletest/googletest/include |
| 4303 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4304 | PRIVATE third_party/googletest/googlemock/include |
| 4305 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4306 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4307 | ) |
| 4308 | |
| 4309 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4310 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4312 | interop_server_lib |
| 4313 | ) |
| 4314 | |
| 4315 | |
| 4316 | endif (gRPC_BUILD_TESTS) |
| 4317 | if (gRPC_BUILD_TESTS) |
| 4318 | |
| 4319 | add_library(qps |
| 4320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4337 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4338 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4339 | ${_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] | 4340 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4341 | test/cpp/qps/client_async.cc |
| 4342 | test/cpp/qps/client_sync.cc |
| 4343 | test/cpp/qps/driver.cc |
| 4344 | test/cpp/qps/parse_json.cc |
| 4345 | test/cpp/qps/qps_worker.cc |
| 4346 | test/cpp/qps/report.cc |
| 4347 | test/cpp/qps/server_async.cc |
| 4348 | test/cpp/qps/server_sync.cc |
| 4349 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4350 | ) |
| 4351 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4352 | if(WIN32 AND MSVC) |
| 4353 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4354 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4355 | ) |
| 4356 | if (gRPC_INSTALL) |
| 4357 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4358 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4359 | ) |
| 4360 | endif() |
| 4361 | endif() |
| 4362 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4363 | protobuf_generate_grpc_cpp( |
| 4364 | src/proto/grpc/testing/messages.proto |
| 4365 | ) |
| 4366 | protobuf_generate_grpc_cpp( |
| 4367 | src/proto/grpc/testing/payloads.proto |
| 4368 | ) |
| 4369 | protobuf_generate_grpc_cpp( |
| 4370 | src/proto/grpc/testing/stats.proto |
| 4371 | ) |
| 4372 | protobuf_generate_grpc_cpp( |
| 4373 | src/proto/grpc/testing/control.proto |
| 4374 | ) |
| 4375 | protobuf_generate_grpc_cpp( |
| 4376 | src/proto/grpc/testing/services.proto |
| 4377 | ) |
| 4378 | |
| 4379 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4380 | 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] | 4381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4382 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4383 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4384 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4385 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4386 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4387 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4388 | PRIVATE third_party/googletest/googletest/include |
| 4389 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4390 | PRIVATE third_party/googletest/googlemock/include |
| 4391 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4392 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4393 | ) |
| 4394 | |
| 4395 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4396 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4397 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4398 | grpc_test_util |
| 4399 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4400 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4401 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4402 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4403 | ) |
| 4404 | |
| 4405 | |
| 4406 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4407 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4408 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4409 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4410 | ) |
| 4411 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4412 | if(WIN32 AND MSVC) |
| 4413 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4414 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4415 | ) |
| 4416 | if (gRPC_INSTALL) |
| 4417 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4418 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4419 | ) |
| 4420 | endif() |
| 4421 | endif() |
| 4422 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4423 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4424 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4425 | 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] | 4426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4427 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4428 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4429 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4430 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4431 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4432 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4433 | ) |
| 4434 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4435 | target_link_libraries(grpc_csharp_ext |
| 4436 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4437 | grpc |
| 4438 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4439 | ) |
| 4440 | |
| 4441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4443 | if (gRPC_INSTALL) |
| 4444 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4445 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4446 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4447 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4448 | ) |
| 4449 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4451 | if (gRPC_BUILD_TESTS) |
| 4452 | |
| 4453 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4454 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4455 | ) |
| 4456 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4457 | if(WIN32 AND MSVC) |
| 4458 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4459 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4460 | ) |
| 4461 | if (gRPC_INSTALL) |
| 4462 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4463 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4464 | ) |
| 4465 | endif() |
| 4466 | endif() |
| 4467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4468 | |
| 4469 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4470 | 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] | 4471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4472 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4473 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4474 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4475 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4476 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4477 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4478 | ) |
| 4479 | |
| 4480 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4481 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4482 | grpc_test_util_unsecure |
| 4483 | grpc_unsecure |
| 4484 | gpr_test_util |
| 4485 | gpr |
| 4486 | ) |
| 4487 | |
| 4488 | |
| 4489 | endif (gRPC_BUILD_TESTS) |
| 4490 | if (gRPC_BUILD_TESTS) |
| 4491 | |
| 4492 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4493 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4494 | ) |
| 4495 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4496 | if(WIN32 AND MSVC) |
| 4497 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4498 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4499 | ) |
| 4500 | if (gRPC_INSTALL) |
| 4501 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4502 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4503 | ) |
| 4504 | endif() |
| 4505 | endif() |
| 4506 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4507 | |
| 4508 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4509 | 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] | 4510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4511 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4512 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4513 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4514 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4515 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4516 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4517 | ) |
| 4518 | |
| 4519 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4521 | grpc_test_util |
| 4522 | grpc |
| 4523 | gpr_test_util |
| 4524 | gpr |
| 4525 | ) |
| 4526 | |
| 4527 | |
| 4528 | endif (gRPC_BUILD_TESTS) |
| 4529 | if (gRPC_BUILD_TESTS) |
| 4530 | |
| 4531 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4532 | test/core/end2end/end2end_tests.cc |
| 4533 | test/core/end2end/end2end_test_utils.cc |
| 4534 | test/core/end2end/tests/authority_not_supported.cc |
| 4535 | test/core/end2end/tests/bad_hostname.cc |
| 4536 | test/core/end2end/tests/bad_ping.cc |
| 4537 | test/core/end2end/tests/binary_metadata.cc |
| 4538 | test/core/end2end/tests/call_creds.cc |
| 4539 | test/core/end2end/tests/cancel_after_accept.cc |
| 4540 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4541 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4542 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4543 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4544 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4545 | test/core/end2end/tests/cancel_with_status.cc |
| 4546 | test/core/end2end/tests/compressed_payload.cc |
| 4547 | test/core/end2end/tests/connectivity.cc |
| 4548 | test/core/end2end/tests/default_host.cc |
| 4549 | test/core/end2end/tests/disappearing_server.cc |
| 4550 | test/core/end2end/tests/empty_batch.cc |
| 4551 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4552 | test/core/end2end/tests/filter_causes_close.cc |
| 4553 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4554 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4555 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4556 | test/core/end2end/tests/high_initial_seqno.cc |
| 4557 | test/core/end2end/tests/hpack_size.cc |
| 4558 | test/core/end2end/tests/idempotent_request.cc |
| 4559 | test/core/end2end/tests/invoke_large_request.cc |
| 4560 | test/core/end2end/tests/keepalive_timeout.cc |
| 4561 | test/core/end2end/tests/large_metadata.cc |
| 4562 | test/core/end2end/tests/load_reporting_hook.cc |
| 4563 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4564 | test/core/end2end/tests/max_connection_age.cc |
| 4565 | test/core/end2end/tests/max_connection_idle.cc |
| 4566 | test/core/end2end/tests/max_message_length.cc |
| 4567 | test/core/end2end/tests/negative_deadline.cc |
| 4568 | test/core/end2end/tests/network_status_change.cc |
| 4569 | test/core/end2end/tests/no_logging.cc |
| 4570 | test/core/end2end/tests/no_op.cc |
| 4571 | test/core/end2end/tests/payload.cc |
| 4572 | test/core/end2end/tests/ping.cc |
| 4573 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4574 | test/core/end2end/tests/proxy_auth.cc |
| 4575 | test/core/end2end/tests/registered_call.cc |
| 4576 | test/core/end2end/tests/request_with_flags.cc |
| 4577 | test/core/end2end/tests/request_with_payload.cc |
| 4578 | test/core/end2end/tests/resource_quota_server.cc |
| 4579 | test/core/end2end/tests/server_finishes_request.cc |
| 4580 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4581 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4582 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4583 | test/core/end2end/tests/simple_delayed_request.cc |
| 4584 | test/core/end2end/tests/simple_metadata.cc |
| 4585 | test/core/end2end/tests/simple_request.cc |
| 4586 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4587 | test/core/end2end/tests/stream_compression_payload.cc |
| 4588 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4589 | test/core/end2end/tests/streaming_error_response.cc |
| 4590 | test/core/end2end/tests/trailing_metadata.cc |
| 4591 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4592 | test/core/end2end/tests/write_buffering.cc |
| 4593 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4594 | ) |
| 4595 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4596 | if(WIN32 AND MSVC) |
| 4597 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4598 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4599 | ) |
| 4600 | if (gRPC_INSTALL) |
| 4601 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4602 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4603 | ) |
| 4604 | endif() |
| 4605 | endif() |
| 4606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4607 | |
| 4608 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4609 | 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] | 4610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4611 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4612 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4613 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4614 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4615 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4616 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4617 | ) |
| 4618 | |
| 4619 | target_link_libraries(end2end_tests |
| 4620 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4622 | grpc_test_util |
| 4623 | grpc |
| 4624 | gpr_test_util |
| 4625 | gpr |
| 4626 | ) |
| 4627 | |
| 4628 | |
| 4629 | endif (gRPC_BUILD_TESTS) |
| 4630 | if (gRPC_BUILD_TESTS) |
| 4631 | |
| 4632 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4633 | test/core/end2end/end2end_nosec_tests.cc |
| 4634 | test/core/end2end/end2end_test_utils.cc |
| 4635 | test/core/end2end/tests/authority_not_supported.cc |
| 4636 | test/core/end2end/tests/bad_hostname.cc |
| 4637 | test/core/end2end/tests/bad_ping.cc |
| 4638 | test/core/end2end/tests/binary_metadata.cc |
| 4639 | test/core/end2end/tests/cancel_after_accept.cc |
| 4640 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4641 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4642 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4643 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4644 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4645 | test/core/end2end/tests/cancel_with_status.cc |
| 4646 | test/core/end2end/tests/compressed_payload.cc |
| 4647 | test/core/end2end/tests/connectivity.cc |
| 4648 | test/core/end2end/tests/default_host.cc |
| 4649 | test/core/end2end/tests/disappearing_server.cc |
| 4650 | test/core/end2end/tests/empty_batch.cc |
| 4651 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4652 | test/core/end2end/tests/filter_causes_close.cc |
| 4653 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4654 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4655 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4656 | test/core/end2end/tests/high_initial_seqno.cc |
| 4657 | test/core/end2end/tests/hpack_size.cc |
| 4658 | test/core/end2end/tests/idempotent_request.cc |
| 4659 | test/core/end2end/tests/invoke_large_request.cc |
| 4660 | test/core/end2end/tests/keepalive_timeout.cc |
| 4661 | test/core/end2end/tests/large_metadata.cc |
| 4662 | test/core/end2end/tests/load_reporting_hook.cc |
| 4663 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4664 | test/core/end2end/tests/max_connection_age.cc |
| 4665 | test/core/end2end/tests/max_connection_idle.cc |
| 4666 | test/core/end2end/tests/max_message_length.cc |
| 4667 | test/core/end2end/tests/negative_deadline.cc |
| 4668 | test/core/end2end/tests/network_status_change.cc |
| 4669 | test/core/end2end/tests/no_logging.cc |
| 4670 | test/core/end2end/tests/no_op.cc |
| 4671 | test/core/end2end/tests/payload.cc |
| 4672 | test/core/end2end/tests/ping.cc |
| 4673 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4674 | test/core/end2end/tests/proxy_auth.cc |
| 4675 | test/core/end2end/tests/registered_call.cc |
| 4676 | test/core/end2end/tests/request_with_flags.cc |
| 4677 | test/core/end2end/tests/request_with_payload.cc |
| 4678 | test/core/end2end/tests/resource_quota_server.cc |
| 4679 | test/core/end2end/tests/server_finishes_request.cc |
| 4680 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4681 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4682 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4683 | test/core/end2end/tests/simple_delayed_request.cc |
| 4684 | test/core/end2end/tests/simple_metadata.cc |
| 4685 | test/core/end2end/tests/simple_request.cc |
| 4686 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4687 | test/core/end2end/tests/stream_compression_payload.cc |
| 4688 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4689 | test/core/end2end/tests/streaming_error_response.cc |
| 4690 | test/core/end2end/tests/trailing_metadata.cc |
| 4691 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4692 | test/core/end2end/tests/write_buffering.cc |
| 4693 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4694 | ) |
| 4695 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4696 | if(WIN32 AND MSVC) |
| 4697 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4698 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4699 | ) |
| 4700 | if (gRPC_INSTALL) |
| 4701 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4702 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4703 | ) |
| 4704 | endif() |
| 4705 | endif() |
| 4706 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4707 | |
| 4708 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4709 | 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] | 4710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4711 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4712 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4713 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4714 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4715 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4716 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4717 | ) |
| 4718 | |
| 4719 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4720 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4721 | grpc_test_util_unsecure |
| 4722 | grpc_unsecure |
| 4723 | gpr_test_util |
| 4724 | gpr |
| 4725 | ) |
| 4726 | |
| 4727 | |
| 4728 | endif (gRPC_BUILD_TESTS) |
| 4729 | |
| 4730 | if (gRPC_BUILD_TESTS) |
| 4731 | |
| 4732 | add_executable(alarm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4733 | test/core/surface/alarm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4734 | ) |
| 4735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4737 | target_include_directories(alarm_test |
| 4738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4740 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4741 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4742 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4743 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4744 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4745 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4746 | ) |
| 4747 | |
| 4748 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4750 | grpc_test_util |
| 4751 | grpc |
| 4752 | gpr_test_util |
| 4753 | gpr |
| 4754 | ) |
| 4755 | |
| 4756 | endif (gRPC_BUILD_TESTS) |
| 4757 | if (gRPC_BUILD_TESTS) |
| 4758 | |
| 4759 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4760 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4761 | ) |
| 4762 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4763 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4764 | target_include_directories(algorithm_test |
| 4765 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4767 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4768 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4769 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4770 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4771 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4772 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4773 | ) |
| 4774 | |
| 4775 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4777 | grpc_test_util |
| 4778 | grpc |
| 4779 | gpr_test_util |
| 4780 | gpr |
| 4781 | ) |
| 4782 | |
| 4783 | endif (gRPC_BUILD_TESTS) |
| 4784 | if (gRPC_BUILD_TESTS) |
| 4785 | |
| 4786 | add_executable(alloc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4787 | test/core/support/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4788 | ) |
| 4789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4791 | target_include_directories(alloc_test |
| 4792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4794 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4795 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4796 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4797 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4798 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4799 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4800 | ) |
| 4801 | |
| 4802 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4803 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4804 | gpr_test_util |
| 4805 | gpr |
| 4806 | ) |
| 4807 | |
| 4808 | endif (gRPC_BUILD_TESTS) |
| 4809 | if (gRPC_BUILD_TESTS) |
| 4810 | |
| 4811 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4812 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4813 | ) |
| 4814 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4815 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4816 | target_include_directories(alpn_test |
| 4817 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4819 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4820 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4821 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4822 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4823 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4824 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4825 | ) |
| 4826 | |
| 4827 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4828 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4829 | grpc_test_util |
| 4830 | grpc |
| 4831 | gpr_test_util |
| 4832 | gpr |
| 4833 | ) |
| 4834 | |
| 4835 | endif (gRPC_BUILD_TESTS) |
| 4836 | if (gRPC_BUILD_TESTS) |
| 4837 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4838 | add_executable(arena_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4839 | test/core/support/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4840 | ) |
| 4841 | |
| 4842 | |
| 4843 | target_include_directories(arena_test |
| 4844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4846 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4847 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4848 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4849 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4850 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4851 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4852 | ) |
| 4853 | |
| 4854 | target_link_libraries(arena_test |
| 4855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4856 | gpr_test_util |
| 4857 | gpr |
| 4858 | ) |
| 4859 | |
| 4860 | endif (gRPC_BUILD_TESTS) |
| 4861 | if (gRPC_BUILD_TESTS) |
| 4862 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4863 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4864 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4865 | ) |
| 4866 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4867 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4868 | target_include_directories(bad_server_response_test |
| 4869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4871 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4872 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4873 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4874 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4875 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4876 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4877 | ) |
| 4878 | |
| 4879 | target_link_libraries(bad_server_response_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 | test_tcp_server |
| 4882 | grpc_test_util |
| 4883 | grpc |
| 4884 | gpr_test_util |
| 4885 | gpr |
| 4886 | ) |
| 4887 | |
| 4888 | endif (gRPC_BUILD_TESTS) |
| 4889 | if (gRPC_BUILD_TESTS) |
| 4890 | |
| 4891 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4892 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4893 | ) |
| 4894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4896 | target_include_directories(bin_decoder_test |
| 4897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4905 | ) |
| 4906 | |
| 4907 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4909 | grpc_test_util |
| 4910 | grpc |
| 4911 | ) |
| 4912 | |
| 4913 | endif (gRPC_BUILD_TESTS) |
| 4914 | if (gRPC_BUILD_TESTS) |
| 4915 | |
| 4916 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4917 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4918 | ) |
| 4919 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4920 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4921 | target_include_directories(bin_encoder_test |
| 4922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4924 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4925 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4926 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4927 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4928 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4929 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4930 | ) |
| 4931 | |
| 4932 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4933 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4934 | grpc_test_util |
| 4935 | grpc |
| 4936 | ) |
| 4937 | |
| 4938 | endif (gRPC_BUILD_TESTS) |
| 4939 | if (gRPC_BUILD_TESTS) |
| 4940 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4941 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4942 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4943 | ) |
| 4944 | |
| 4945 | |
| 4946 | target_include_directories(byte_stream_test |
| 4947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4949 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4950 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4951 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4952 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4953 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4954 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4955 | ) |
| 4956 | |
| 4957 | target_link_libraries(byte_stream_test |
| 4958 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4959 | grpc_test_util |
| 4960 | grpc |
| 4961 | gpr_test_util |
| 4962 | gpr |
| 4963 | ) |
| 4964 | |
| 4965 | endif (gRPC_BUILD_TESTS) |
| 4966 | if (gRPC_BUILD_TESTS) |
| 4967 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4968 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4969 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4970 | ) |
| 4971 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4972 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4973 | target_include_directories(channel_create_test |
| 4974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4976 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4977 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4978 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4979 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4980 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4981 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4982 | ) |
| 4983 | |
| 4984 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4985 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4986 | grpc_test_util |
| 4987 | grpc |
| 4988 | gpr_test_util |
| 4989 | gpr |
| 4990 | ) |
| 4991 | |
| 4992 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4993 | |
| 4994 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 4995 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4996 | ) |
| 4997 | |
| 4998 | |
| 4999 | target_include_directories(check_epollexclusive |
| 5000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5002 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5003 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5004 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5005 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5006 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5007 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5008 | ) |
| 5009 | |
| 5010 | target_link_libraries(check_epollexclusive |
| 5011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5012 | grpc |
| 5013 | gpr |
| 5014 | ) |
| 5015 | |
| 5016 | |
| 5017 | if (gRPC_INSTALL) |
| 5018 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5019 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5020 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5021 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5022 | ) |
| 5023 | endif() |
| 5024 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5025 | if (gRPC_BUILD_TESTS) |
| 5026 | |
| 5027 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5028 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5029 | ) |
| 5030 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5031 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5032 | target_include_directories(chttp2_hpack_encoder_test |
| 5033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5034 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5035 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5036 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5037 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5038 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5039 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5040 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5041 | ) |
| 5042 | |
| 5043 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5044 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5045 | grpc_test_util |
| 5046 | grpc |
| 5047 | gpr_test_util |
| 5048 | gpr |
| 5049 | ) |
| 5050 | |
| 5051 | endif (gRPC_BUILD_TESTS) |
| 5052 | if (gRPC_BUILD_TESTS) |
| 5053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5054 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5055 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5056 | ) |
| 5057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5058 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5059 | target_include_directories(chttp2_stream_map_test |
| 5060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5062 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5063 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5064 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5065 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5066 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5067 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5068 | ) |
| 5069 | |
| 5070 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5071 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5072 | grpc_test_util |
| 5073 | grpc |
| 5074 | gpr_test_util |
| 5075 | gpr |
| 5076 | ) |
| 5077 | |
| 5078 | endif (gRPC_BUILD_TESTS) |
| 5079 | if (gRPC_BUILD_TESTS) |
| 5080 | |
| 5081 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5082 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5083 | ) |
| 5084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5085 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5086 | target_include_directories(chttp2_varint_test |
| 5087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5089 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5090 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5091 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5092 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5093 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5094 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5095 | ) |
| 5096 | |
| 5097 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5099 | grpc_test_util |
| 5100 | grpc |
| 5101 | gpr_test_util |
| 5102 | gpr |
| 5103 | ) |
| 5104 | |
| 5105 | endif (gRPC_BUILD_TESTS) |
| 5106 | if (gRPC_BUILD_TESTS) |
| 5107 | |
| 5108 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5109 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5110 | ) |
| 5111 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5112 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5113 | target_include_directories(combiner_test |
| 5114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5116 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5117 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5118 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5119 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5120 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5121 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5122 | ) |
| 5123 | |
| 5124 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5125 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5126 | grpc_test_util |
| 5127 | grpc |
| 5128 | gpr_test_util |
| 5129 | gpr |
| 5130 | ) |
| 5131 | |
| 5132 | endif (gRPC_BUILD_TESTS) |
| 5133 | if (gRPC_BUILD_TESTS) |
| 5134 | |
| 5135 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5136 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5137 | ) |
| 5138 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5139 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5140 | target_include_directories(compression_test |
| 5141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5142 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5143 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5144 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5145 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5146 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5147 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5148 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5149 | ) |
| 5150 | |
| 5151 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5152 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5153 | grpc_test_util |
| 5154 | grpc |
| 5155 | gpr_test_util |
| 5156 | gpr |
| 5157 | ) |
| 5158 | |
| 5159 | endif (gRPC_BUILD_TESTS) |
| 5160 | if (gRPC_BUILD_TESTS) |
| 5161 | |
| 5162 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5163 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5164 | ) |
| 5165 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5166 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5167 | target_include_directories(concurrent_connectivity_test |
| 5168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5170 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5171 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5172 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5173 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5174 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5175 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5176 | ) |
| 5177 | |
| 5178 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5179 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5180 | grpc_test_util |
| 5181 | grpc |
| 5182 | gpr_test_util |
| 5183 | gpr |
| 5184 | ) |
| 5185 | |
| 5186 | endif (gRPC_BUILD_TESTS) |
| 5187 | if (gRPC_BUILD_TESTS) |
| 5188 | |
| 5189 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5190 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5191 | ) |
| 5192 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5193 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5194 | target_include_directories(connection_refused_test |
| 5195 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5197 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5198 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5199 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5200 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5201 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5202 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5203 | ) |
| 5204 | |
| 5205 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5207 | grpc_test_util |
| 5208 | grpc |
| 5209 | gpr_test_util |
| 5210 | gpr |
| 5211 | ) |
| 5212 | |
| 5213 | endif (gRPC_BUILD_TESTS) |
| 5214 | if (gRPC_BUILD_TESTS) |
| 5215 | |
| 5216 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5217 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5218 | ) |
| 5219 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5220 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5221 | target_include_directories(dns_resolver_connectivity_test |
| 5222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5224 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5225 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5226 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5227 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5228 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5229 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5230 | ) |
| 5231 | |
| 5232 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5233 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5234 | grpc_test_util |
| 5235 | grpc |
| 5236 | gpr_test_util |
| 5237 | gpr |
| 5238 | ) |
| 5239 | |
| 5240 | endif (gRPC_BUILD_TESTS) |
| 5241 | if (gRPC_BUILD_TESTS) |
| 5242 | |
| 5243 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5244 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5245 | ) |
| 5246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5248 | target_include_directories(dns_resolver_test |
| 5249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5251 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5252 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5253 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5254 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5255 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5256 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5257 | ) |
| 5258 | |
| 5259 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5261 | grpc_test_util |
| 5262 | grpc |
| 5263 | gpr_test_util |
| 5264 | gpr |
| 5265 | ) |
| 5266 | |
| 5267 | endif (gRPC_BUILD_TESTS) |
| 5268 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5269 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5270 | |
| 5271 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5272 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5273 | ) |
| 5274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5275 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5276 | target_include_directories(dualstack_socket_test |
| 5277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5279 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5280 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5281 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5282 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5283 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5284 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5285 | ) |
| 5286 | |
| 5287 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5289 | grpc_test_util |
| 5290 | grpc |
| 5291 | gpr_test_util |
| 5292 | gpr |
| 5293 | ) |
| 5294 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5295 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5296 | endif (gRPC_BUILD_TESTS) |
| 5297 | if (gRPC_BUILD_TESTS) |
| 5298 | |
| 5299 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5300 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5301 | ) |
| 5302 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5303 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5304 | target_include_directories(endpoint_pair_test |
| 5305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5308 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5309 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5310 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5311 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5312 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5313 | ) |
| 5314 | |
| 5315 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5317 | grpc_test_util |
| 5318 | grpc |
| 5319 | gpr_test_util |
| 5320 | gpr |
| 5321 | ) |
| 5322 | |
| 5323 | endif (gRPC_BUILD_TESTS) |
| 5324 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5325 | |
| 5326 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5327 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5328 | ) |
| 5329 | |
| 5330 | |
| 5331 | target_include_directories(error_test |
| 5332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5334 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5335 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5336 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5337 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5338 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5339 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5340 | ) |
| 5341 | |
| 5342 | target_link_libraries(error_test |
| 5343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5344 | grpc_test_util |
| 5345 | grpc |
| 5346 | gpr_test_util |
| 5347 | gpr |
| 5348 | ) |
| 5349 | |
| 5350 | endif (gRPC_BUILD_TESTS) |
| 5351 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5352 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5353 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5354 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5355 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5356 | ) |
| 5357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5358 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5359 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5362 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5363 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5364 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5365 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5366 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5367 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5368 | ) |
| 5369 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5370 | target_link_libraries(ev_epollsig_linux_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 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5378 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5379 | endif (gRPC_BUILD_TESTS) |
| 5380 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5381 | |
| 5382 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5383 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5384 | ) |
| 5385 | |
| 5386 | |
| 5387 | target_include_directories(fake_resolver_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 | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5391 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5392 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5393 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5394 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5395 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5396 | ) |
| 5397 | |
| 5398 | target_link_libraries(fake_resolver_test |
| 5399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5400 | grpc_test_util |
| 5401 | grpc |
| 5402 | gpr_test_util |
| 5403 | gpr |
| 5404 | ) |
| 5405 | |
| 5406 | endif (gRPC_BUILD_TESTS) |
| 5407 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5408 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5409 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5410 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5411 | test/core/tsi/fake_transport_security_test.cc |
| 5412 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5413 | ) |
| 5414 | |
| 5415 | |
| 5416 | target_include_directories(fake_transport_security_test |
| 5417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5419 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5420 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5421 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5422 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5423 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5424 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5425 | ) |
| 5426 | |
| 5427 | target_link_libraries(fake_transport_security_test |
| 5428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5429 | gpr_test_util |
| 5430 | gpr |
| 5431 | grpc |
| 5432 | ) |
| 5433 | |
| 5434 | endif() |
| 5435 | endif (gRPC_BUILD_TESTS) |
| 5436 | if (gRPC_BUILD_TESTS) |
| 5437 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5438 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5439 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5440 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5441 | ) |
| 5442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5444 | target_include_directories(fd_conservation_posix_test |
| 5445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5447 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5448 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5449 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5450 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5451 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5452 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5453 | ) |
| 5454 | |
| 5455 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5456 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5457 | grpc_test_util |
| 5458 | grpc |
| 5459 | gpr_test_util |
| 5460 | gpr |
| 5461 | ) |
| 5462 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5463 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5464 | endif (gRPC_BUILD_TESTS) |
| 5465 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5466 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5467 | |
| 5468 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5469 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5470 | ) |
| 5471 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5472 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5473 | target_include_directories(fd_posix_test |
| 5474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5476 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5477 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5478 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5479 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5480 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5481 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5482 | ) |
| 5483 | |
| 5484 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5486 | grpc_test_util |
| 5487 | grpc |
| 5488 | gpr_test_util |
| 5489 | gpr |
| 5490 | ) |
| 5491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5492 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5493 | endif (gRPC_BUILD_TESTS) |
| 5494 | if (gRPC_BUILD_TESTS) |
| 5495 | |
| 5496 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5497 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5498 | ) |
| 5499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5501 | target_include_directories(fling_client |
| 5502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5504 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5505 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5506 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5507 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5508 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5509 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5510 | ) |
| 5511 | |
| 5512 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5514 | grpc_test_util |
| 5515 | grpc |
| 5516 | gpr_test_util |
| 5517 | gpr |
| 5518 | ) |
| 5519 | |
| 5520 | endif (gRPC_BUILD_TESTS) |
| 5521 | if (gRPC_BUILD_TESTS) |
| 5522 | |
| 5523 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5524 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5525 | ) |
| 5526 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5527 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5528 | target_include_directories(fling_server |
| 5529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5531 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5532 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5533 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5534 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5535 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5536 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5537 | ) |
| 5538 | |
| 5539 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5540 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5541 | grpc_test_util |
| 5542 | grpc |
| 5543 | gpr_test_util |
| 5544 | gpr |
| 5545 | ) |
| 5546 | |
| 5547 | endif (gRPC_BUILD_TESTS) |
| 5548 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5549 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5550 | |
| 5551 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5552 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5553 | ) |
| 5554 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5555 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5556 | target_include_directories(fling_stream_test |
| 5557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5559 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5560 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5561 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5562 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5563 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5564 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5565 | ) |
| 5566 | |
| 5567 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5568 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5569 | grpc_test_util |
| 5570 | grpc |
| 5571 | gpr_test_util |
| 5572 | gpr |
| 5573 | ) |
| 5574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5575 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5576 | endif (gRPC_BUILD_TESTS) |
| 5577 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5579 | |
| 5580 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5581 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5582 | ) |
| 5583 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5584 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5585 | target_include_directories(fling_test |
| 5586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5588 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5589 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5590 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5591 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5592 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5593 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5594 | ) |
| 5595 | |
| 5596 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5597 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5598 | grpc_test_util |
| 5599 | grpc |
| 5600 | gpr_test_util |
| 5601 | gpr |
| 5602 | ) |
| 5603 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5604 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5605 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5606 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5607 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5608 | |
| 5609 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5610 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5611 | ) |
| 5612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5613 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5614 | target_include_directories(goaway_server_test |
| 5615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5617 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5618 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5619 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5620 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5621 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5622 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5623 | ) |
| 5624 | |
| 5625 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5626 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5627 | grpc_test_util |
| 5628 | grpc |
| 5629 | gpr_test_util |
| 5630 | gpr |
| 5631 | ) |
| 5632 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5633 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5634 | endif (gRPC_BUILD_TESTS) |
| 5635 | if (gRPC_BUILD_TESTS) |
| 5636 | |
| 5637 | add_executable(gpr_avl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5638 | test/core/support/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5639 | ) |
| 5640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5641 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5642 | target_include_directories(gpr_avl_test |
| 5643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5645 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5646 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5647 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5648 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5649 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5650 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5651 | ) |
| 5652 | |
| 5653 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5655 | gpr_test_util |
| 5656 | gpr |
| 5657 | ) |
| 5658 | |
| 5659 | endif (gRPC_BUILD_TESTS) |
| 5660 | if (gRPC_BUILD_TESTS) |
| 5661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5662 | add_executable(gpr_cmdline_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5663 | test/core/support/cmdline_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5664 | ) |
| 5665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5667 | target_include_directories(gpr_cmdline_test |
| 5668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5670 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5671 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5672 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5673 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5674 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5675 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5676 | ) |
| 5677 | |
| 5678 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5680 | gpr_test_util |
| 5681 | gpr |
| 5682 | ) |
| 5683 | |
| 5684 | endif (gRPC_BUILD_TESTS) |
| 5685 | if (gRPC_BUILD_TESTS) |
| 5686 | |
| 5687 | add_executable(gpr_cpu_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5688 | test/core/support/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5689 | ) |
| 5690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5692 | target_include_directories(gpr_cpu_test |
| 5693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5695 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5696 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5697 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5698 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5699 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5700 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5701 | ) |
| 5702 | |
| 5703 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5705 | gpr_test_util |
| 5706 | gpr |
| 5707 | ) |
| 5708 | |
| 5709 | endif (gRPC_BUILD_TESTS) |
| 5710 | if (gRPC_BUILD_TESTS) |
| 5711 | |
| 5712 | add_executable(gpr_env_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5713 | test/core/support/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5714 | ) |
| 5715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5717 | target_include_directories(gpr_env_test |
| 5718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5721 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5722 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5723 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5724 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5725 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5726 | ) |
| 5727 | |
| 5728 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5729 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5730 | gpr_test_util |
| 5731 | gpr |
| 5732 | ) |
| 5733 | |
| 5734 | endif (gRPC_BUILD_TESTS) |
| 5735 | if (gRPC_BUILD_TESTS) |
| 5736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5737 | add_executable(gpr_host_port_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5738 | test/core/support/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5739 | ) |
| 5740 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5741 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5742 | target_include_directories(gpr_host_port_test |
| 5743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5745 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5746 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5747 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5748 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5749 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5750 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5751 | ) |
| 5752 | |
| 5753 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5754 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5755 | gpr_test_util |
| 5756 | gpr |
| 5757 | ) |
| 5758 | |
| 5759 | endif (gRPC_BUILD_TESTS) |
| 5760 | if (gRPC_BUILD_TESTS) |
| 5761 | |
| 5762 | add_executable(gpr_log_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5763 | test/core/support/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5764 | ) |
| 5765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5766 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5767 | target_include_directories(gpr_log_test |
| 5768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5770 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5771 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5772 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5773 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5774 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5775 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5776 | ) |
| 5777 | |
| 5778 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5779 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5780 | gpr_test_util |
| 5781 | gpr |
| 5782 | ) |
| 5783 | |
| 5784 | endif (gRPC_BUILD_TESTS) |
| 5785 | if (gRPC_BUILD_TESTS) |
| 5786 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5787 | add_executable(gpr_manual_constructor_test |
| 5788 | test/core/support/manual_constructor_test.cc |
| 5789 | ) |
| 5790 | |
| 5791 | |
| 5792 | target_include_directories(gpr_manual_constructor_test |
| 5793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5795 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5796 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5797 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5798 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5799 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5800 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5801 | ) |
| 5802 | |
| 5803 | target_link_libraries(gpr_manual_constructor_test |
| 5804 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5805 | gpr_test_util |
| 5806 | gpr |
| 5807 | ) |
| 5808 | |
| 5809 | endif (gRPC_BUILD_TESTS) |
| 5810 | if (gRPC_BUILD_TESTS) |
| 5811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5812 | add_executable(gpr_mpscq_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5813 | test/core/support/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5814 | ) |
| 5815 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5816 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5817 | target_include_directories(gpr_mpscq_test |
| 5818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5820 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5821 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5822 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5823 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5824 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5825 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5826 | ) |
| 5827 | |
| 5828 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5829 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5830 | gpr_test_util |
| 5831 | gpr |
| 5832 | ) |
| 5833 | |
| 5834 | endif (gRPC_BUILD_TESTS) |
| 5835 | if (gRPC_BUILD_TESTS) |
| 5836 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5837 | add_executable(gpr_spinlock_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5838 | test/core/support/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5839 | ) |
| 5840 | |
| 5841 | |
| 5842 | target_include_directories(gpr_spinlock_test |
| 5843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5845 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5846 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5847 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5848 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5849 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5850 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5851 | ) |
| 5852 | |
| 5853 | target_link_libraries(gpr_spinlock_test |
| 5854 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5855 | gpr_test_util |
| 5856 | gpr |
| 5857 | ) |
| 5858 | |
| 5859 | endif (gRPC_BUILD_TESTS) |
| 5860 | if (gRPC_BUILD_TESTS) |
| 5861 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5862 | add_executable(gpr_string_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5863 | test/core/support/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5864 | ) |
| 5865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5866 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5867 | target_include_directories(gpr_string_test |
| 5868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5870 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5871 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5872 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5873 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5874 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5875 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5876 | ) |
| 5877 | |
| 5878 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5879 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5880 | gpr_test_util |
| 5881 | gpr |
| 5882 | ) |
| 5883 | |
| 5884 | endif (gRPC_BUILD_TESTS) |
| 5885 | if (gRPC_BUILD_TESTS) |
| 5886 | |
| 5887 | add_executable(gpr_sync_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5888 | test/core/support/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5889 | ) |
| 5890 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5891 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5892 | target_include_directories(gpr_sync_test |
| 5893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5895 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5896 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5897 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5898 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5899 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5900 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5901 | ) |
| 5902 | |
| 5903 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5905 | gpr_test_util |
| 5906 | gpr |
| 5907 | ) |
| 5908 | |
| 5909 | endif (gRPC_BUILD_TESTS) |
| 5910 | if (gRPC_BUILD_TESTS) |
| 5911 | |
| 5912 | add_executable(gpr_thd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5913 | test/core/support/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5914 | ) |
| 5915 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5916 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5917 | target_include_directories(gpr_thd_test |
| 5918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5920 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5921 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5922 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5923 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5924 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5925 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5926 | ) |
| 5927 | |
| 5928 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5929 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5930 | gpr_test_util |
| 5931 | gpr |
| 5932 | ) |
| 5933 | |
| 5934 | endif (gRPC_BUILD_TESTS) |
| 5935 | if (gRPC_BUILD_TESTS) |
| 5936 | |
| 5937 | add_executable(gpr_time_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5938 | test/core/support/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5939 | ) |
| 5940 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5941 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5942 | target_include_directories(gpr_time_test |
| 5943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5945 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5946 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5947 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5948 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5949 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5950 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | ) |
| 5952 | |
| 5953 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5954 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5955 | gpr_test_util |
| 5956 | gpr |
| 5957 | ) |
| 5958 | |
| 5959 | endif (gRPC_BUILD_TESTS) |
| 5960 | if (gRPC_BUILD_TESTS) |
| 5961 | |
| 5962 | add_executable(gpr_tls_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5963 | test/core/support/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5964 | ) |
| 5965 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5966 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5967 | target_include_directories(gpr_tls_test |
| 5968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5970 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5971 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5972 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5973 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5974 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5975 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5976 | ) |
| 5977 | |
| 5978 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5980 | gpr_test_util |
| 5981 | gpr |
| 5982 | ) |
| 5983 | |
| 5984 | endif (gRPC_BUILD_TESTS) |
| 5985 | if (gRPC_BUILD_TESTS) |
| 5986 | |
| 5987 | add_executable(gpr_useful_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5988 | test/core/support/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5989 | ) |
| 5990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5992 | target_include_directories(gpr_useful_test |
| 5993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5995 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5996 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5997 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5998 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5999 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6000 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | ) |
| 6002 | |
| 6003 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6004 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6005 | gpr_test_util |
| 6006 | gpr |
| 6007 | ) |
| 6008 | |
| 6009 | endif (gRPC_BUILD_TESTS) |
| 6010 | if (gRPC_BUILD_TESTS) |
| 6011 | |
| 6012 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6013 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6014 | ) |
| 6015 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6016 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6017 | target_include_directories(grpc_auth_context_test |
| 6018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6020 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6021 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6022 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6023 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6024 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6025 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6026 | ) |
| 6027 | |
| 6028 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6030 | grpc_test_util |
| 6031 | grpc |
| 6032 | gpr_test_util |
| 6033 | gpr |
| 6034 | ) |
| 6035 | |
| 6036 | endif (gRPC_BUILD_TESTS) |
| 6037 | if (gRPC_BUILD_TESTS) |
| 6038 | |
| 6039 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6040 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6041 | ) |
| 6042 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6043 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6044 | target_include_directories(grpc_b64_test |
| 6045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6047 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6048 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6049 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6050 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6051 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6052 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6053 | ) |
| 6054 | |
| 6055 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6056 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6057 | grpc_test_util |
| 6058 | grpc |
| 6059 | gpr_test_util |
| 6060 | gpr |
| 6061 | ) |
| 6062 | |
| 6063 | endif (gRPC_BUILD_TESTS) |
| 6064 | if (gRPC_BUILD_TESTS) |
| 6065 | |
| 6066 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6067 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6068 | ) |
| 6069 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6070 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6071 | target_include_directories(grpc_byte_buffer_reader_test |
| 6072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6074 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6075 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6076 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6077 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6078 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6079 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6080 | ) |
| 6081 | |
| 6082 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6083 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6084 | grpc_test_util |
| 6085 | grpc |
| 6086 | gpr_test_util |
| 6087 | gpr |
| 6088 | ) |
| 6089 | |
| 6090 | endif (gRPC_BUILD_TESTS) |
| 6091 | if (gRPC_BUILD_TESTS) |
| 6092 | |
| 6093 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6094 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6095 | ) |
| 6096 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6097 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6098 | target_include_directories(grpc_channel_args_test |
| 6099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6100 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6101 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6102 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6103 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6104 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6105 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6106 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | ) |
| 6108 | |
| 6109 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6111 | grpc_test_util |
| 6112 | grpc |
| 6113 | gpr_test_util |
| 6114 | gpr |
| 6115 | ) |
| 6116 | |
| 6117 | endif (gRPC_BUILD_TESTS) |
| 6118 | if (gRPC_BUILD_TESTS) |
| 6119 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6120 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6121 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6122 | ) |
| 6123 | |
| 6124 | |
| 6125 | target_include_directories(grpc_channel_stack_builder_test |
| 6126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6128 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6129 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6130 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6131 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6132 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6133 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6134 | ) |
| 6135 | |
| 6136 | target_link_libraries(grpc_channel_stack_builder_test |
| 6137 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6138 | grpc_test_util |
| 6139 | grpc |
| 6140 | gpr_test_util |
| 6141 | gpr |
| 6142 | ) |
| 6143 | |
| 6144 | endif (gRPC_BUILD_TESTS) |
| 6145 | if (gRPC_BUILD_TESTS) |
| 6146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6147 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6148 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6149 | ) |
| 6150 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6151 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6152 | target_include_directories(grpc_channel_stack_test |
| 6153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6155 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6156 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6157 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6158 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6159 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6160 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6161 | ) |
| 6162 | |
| 6163 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6165 | grpc_test_util |
| 6166 | grpc |
| 6167 | gpr_test_util |
| 6168 | gpr |
| 6169 | ) |
| 6170 | |
| 6171 | endif (gRPC_BUILD_TESTS) |
| 6172 | if (gRPC_BUILD_TESTS) |
| 6173 | |
| 6174 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6175 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6176 | ) |
| 6177 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6178 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6179 | target_include_directories(grpc_completion_queue_test |
| 6180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6182 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6183 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6184 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6185 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6186 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6187 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6188 | ) |
| 6189 | |
| 6190 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6192 | grpc_test_util |
| 6193 | grpc |
| 6194 | gpr_test_util |
| 6195 | gpr |
| 6196 | ) |
| 6197 | |
| 6198 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6199 | if (gRPC_BUILD_TESTS) |
| 6200 | |
| 6201 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6202 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6203 | ) |
| 6204 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6205 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6206 | target_include_directories(grpc_completion_queue_threading_test |
| 6207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6209 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6210 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6211 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6212 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6213 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6214 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6215 | ) |
| 6216 | |
| 6217 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6219 | grpc_test_util |
| 6220 | grpc |
| 6221 | gpr_test_util |
| 6222 | gpr |
| 6223 | ) |
| 6224 | |
| 6225 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6226 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6227 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6228 | test/core/security/create_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6229 | ) |
| 6230 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6231 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6232 | target_include_directories(grpc_create_jwt |
| 6233 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6234 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6235 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6236 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6237 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6238 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6239 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6240 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6241 | ) |
| 6242 | |
| 6243 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6244 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6246 | grpc |
| 6247 | gpr |
| 6248 | ) |
| 6249 | |
| 6250 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6251 | if (gRPC_INSTALL) |
| 6252 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6253 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6254 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6255 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6256 | ) |
| 6257 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6258 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6259 | if (gRPC_BUILD_TESTS) |
| 6260 | |
| 6261 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6262 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6263 | ) |
| 6264 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6265 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6266 | target_include_directories(grpc_credentials_test |
| 6267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6269 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6270 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6271 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6272 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6273 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6274 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6275 | ) |
| 6276 | |
| 6277 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6278 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6279 | grpc_test_util |
| 6280 | grpc |
| 6281 | gpr_test_util |
| 6282 | gpr |
| 6283 | ) |
| 6284 | |
| 6285 | endif (gRPC_BUILD_TESTS) |
| 6286 | if (gRPC_BUILD_TESTS) |
| 6287 | |
| 6288 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6289 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6290 | ) |
| 6291 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6292 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6293 | target_include_directories(grpc_fetch_oauth2 |
| 6294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6296 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6297 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6298 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6299 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6300 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6301 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6302 | ) |
| 6303 | |
| 6304 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6305 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6306 | grpc_test_util |
| 6307 | grpc |
| 6308 | gpr_test_util |
| 6309 | gpr |
| 6310 | ) |
| 6311 | |
| 6312 | endif (gRPC_BUILD_TESTS) |
| 6313 | if (gRPC_BUILD_TESTS) |
| 6314 | |
| 6315 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6316 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6317 | ) |
| 6318 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6319 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6320 | target_include_directories(grpc_invalid_channel_args_test |
| 6321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6323 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6324 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6325 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6326 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6327 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6328 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6329 | ) |
| 6330 | |
| 6331 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6332 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6333 | grpc_test_util |
| 6334 | grpc |
| 6335 | gpr_test_util |
| 6336 | gpr |
| 6337 | ) |
| 6338 | |
| 6339 | endif (gRPC_BUILD_TESTS) |
| 6340 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6341 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6342 | |
| 6343 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6344 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6345 | ) |
| 6346 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6347 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6348 | target_include_directories(grpc_json_token_test |
| 6349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6352 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6353 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6354 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6355 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6356 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6357 | ) |
| 6358 | |
| 6359 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6361 | grpc_test_util |
| 6362 | grpc |
| 6363 | gpr_test_util |
| 6364 | gpr |
| 6365 | ) |
| 6366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6367 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | endif (gRPC_BUILD_TESTS) |
| 6369 | if (gRPC_BUILD_TESTS) |
| 6370 | |
| 6371 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6372 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6373 | ) |
| 6374 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6375 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6376 | target_include_directories(grpc_jwt_verifier_test |
| 6377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6378 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6379 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6380 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6381 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6382 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6383 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6384 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6385 | ) |
| 6386 | |
| 6387 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6388 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6389 | grpc_test_util |
| 6390 | grpc |
| 6391 | gpr_test_util |
| 6392 | gpr |
| 6393 | ) |
| 6394 | |
| 6395 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6396 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6397 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6398 | test/core/security/print_google_default_creds_token.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6399 | ) |
| 6400 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6401 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6402 | target_include_directories(grpc_print_google_default_creds_token |
| 6403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6405 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6406 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6407 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6408 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6409 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6410 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6411 | ) |
| 6412 | |
| 6413 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6415 | grpc |
| 6416 | gpr |
| 6417 | ) |
| 6418 | |
| 6419 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6420 | if (gRPC_INSTALL) |
| 6421 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6422 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6423 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6424 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6425 | ) |
| 6426 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6427 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6428 | if (gRPC_BUILD_TESTS) |
| 6429 | |
| 6430 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6431 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6432 | ) |
| 6433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6435 | target_include_directories(grpc_security_connector_test |
| 6436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6438 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6439 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6440 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6441 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6442 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6443 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6444 | ) |
| 6445 | |
| 6446 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6448 | grpc_test_util |
| 6449 | grpc |
| 6450 | gpr_test_util |
| 6451 | gpr |
| 6452 | ) |
| 6453 | |
| 6454 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6455 | if (gRPC_BUILD_TESTS) |
| 6456 | |
| 6457 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6458 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6459 | ) |
| 6460 | |
| 6461 | |
| 6462 | target_include_directories(grpc_ssl_credentials_test |
| 6463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6465 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6466 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6467 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6468 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6469 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6470 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6471 | ) |
| 6472 | |
| 6473 | target_link_libraries(grpc_ssl_credentials_test |
| 6474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6475 | grpc_test_util |
| 6476 | grpc |
| 6477 | gpr_test_util |
| 6478 | gpr |
| 6479 | ) |
| 6480 | |
| 6481 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6482 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6483 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6484 | test/core/security/verify_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6485 | ) |
| 6486 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6487 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6488 | target_include_directories(grpc_verify_jwt |
| 6489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6491 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6492 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6493 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6494 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6495 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6496 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6497 | ) |
| 6498 | |
| 6499 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6500 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6501 | grpc |
| 6502 | gpr |
| 6503 | ) |
| 6504 | |
| 6505 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6506 | if (gRPC_INSTALL) |
| 6507 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6508 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6509 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6510 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6511 | ) |
| 6512 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6513 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6514 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6515 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6516 | |
| 6517 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6518 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6519 | ) |
| 6520 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6522 | target_include_directories(handshake_client |
| 6523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6525 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6526 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6527 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6528 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6529 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6530 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | ) |
| 6532 | |
| 6533 | target_link_libraries(handshake_client |
| 6534 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6536 | grpc_test_util |
| 6537 | grpc |
| 6538 | gpr_test_util |
| 6539 | gpr |
| 6540 | ) |
| 6541 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6542 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6543 | endif (gRPC_BUILD_TESTS) |
| 6544 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6545 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6546 | |
| 6547 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6548 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6549 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6550 | ) |
| 6551 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6552 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | target_include_directories(handshake_server |
| 6554 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6555 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6556 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6557 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6558 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6559 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6560 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6561 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6562 | ) |
| 6563 | |
| 6564 | target_link_libraries(handshake_server |
| 6565 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6566 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6567 | grpc_test_util |
| 6568 | grpc |
| 6569 | gpr_test_util |
| 6570 | gpr |
| 6571 | ) |
| 6572 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6573 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6574 | endif (gRPC_BUILD_TESTS) |
| 6575 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6576 | if(_gRPC_PLATFORM_LINUX) |
| 6577 | |
| 6578 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6579 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6580 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6581 | ) |
| 6582 | |
| 6583 | |
| 6584 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6587 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6588 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6589 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6590 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6591 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6592 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6593 | ) |
| 6594 | |
| 6595 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 6596 | ${_gRPC_SSL_LIBRARIES} |
| 6597 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6598 | grpc_test_util |
| 6599 | grpc |
| 6600 | gpr_test_util |
| 6601 | gpr |
| 6602 | ) |
| 6603 | |
| 6604 | endif() |
| 6605 | endif (gRPC_BUILD_TESTS) |
| 6606 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6607 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6608 | add_executable(histogram_test |
| 6609 | test/core/util/histogram_test.cc |
| 6610 | ) |
| 6611 | |
| 6612 | |
| 6613 | target_include_directories(histogram_test |
| 6614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6616 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6617 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6618 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6619 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6620 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6621 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6622 | ) |
| 6623 | |
| 6624 | target_link_libraries(histogram_test |
| 6625 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6626 | grpc_test_util |
| 6627 | gpr |
| 6628 | ) |
| 6629 | |
| 6630 | endif (gRPC_BUILD_TESTS) |
| 6631 | if (gRPC_BUILD_TESTS) |
| 6632 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6633 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6634 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6635 | ) |
| 6636 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6637 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6638 | target_include_directories(hpack_parser_test |
| 6639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6641 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6642 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6643 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6644 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6645 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6646 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6647 | ) |
| 6648 | |
| 6649 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6650 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6651 | grpc_test_util |
| 6652 | grpc |
| 6653 | gpr_test_util |
| 6654 | gpr |
| 6655 | ) |
| 6656 | |
| 6657 | endif (gRPC_BUILD_TESTS) |
| 6658 | if (gRPC_BUILD_TESTS) |
| 6659 | |
| 6660 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6661 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6662 | ) |
| 6663 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6665 | target_include_directories(hpack_table_test |
| 6666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6668 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6669 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6670 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6671 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6672 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6673 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6674 | ) |
| 6675 | |
| 6676 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6677 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6678 | grpc_test_util |
| 6679 | grpc |
| 6680 | gpr_test_util |
| 6681 | gpr |
| 6682 | ) |
| 6683 | |
| 6684 | endif (gRPC_BUILD_TESTS) |
| 6685 | if (gRPC_BUILD_TESTS) |
| 6686 | |
| 6687 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6688 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6689 | ) |
| 6690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6692 | target_include_directories(http_parser_test |
| 6693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6695 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6696 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6697 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6698 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6699 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6700 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6701 | ) |
| 6702 | |
| 6703 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6705 | grpc_test_util |
| 6706 | grpc |
| 6707 | gpr_test_util |
| 6708 | gpr |
| 6709 | ) |
| 6710 | |
| 6711 | endif (gRPC_BUILD_TESTS) |
| 6712 | if (gRPC_BUILD_TESTS) |
| 6713 | |
| 6714 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6715 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6716 | ) |
| 6717 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6718 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6719 | target_include_directories(httpcli_format_request_test |
| 6720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6722 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6723 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6724 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6725 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6726 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6727 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6728 | ) |
| 6729 | |
| 6730 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6731 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6732 | grpc_test_util |
| 6733 | grpc |
| 6734 | gpr_test_util |
| 6735 | gpr |
| 6736 | ) |
| 6737 | |
| 6738 | endif (gRPC_BUILD_TESTS) |
| 6739 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6740 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6741 | |
| 6742 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6743 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6744 | ) |
| 6745 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6746 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6747 | target_include_directories(httpcli_test |
| 6748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6750 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6751 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6752 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6753 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6754 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6755 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6756 | ) |
| 6757 | |
| 6758 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6760 | grpc_test_util |
| 6761 | grpc |
| 6762 | gpr_test_util |
| 6763 | gpr |
| 6764 | ) |
| 6765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6766 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6767 | endif (gRPC_BUILD_TESTS) |
| 6768 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6769 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6770 | |
| 6771 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6772 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6773 | ) |
| 6774 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6775 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6776 | target_include_directories(httpscli_test |
| 6777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6779 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6780 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6781 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6782 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6783 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6784 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6785 | ) |
| 6786 | |
| 6787 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6788 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6789 | grpc_test_util |
| 6790 | grpc |
| 6791 | gpr_test_util |
| 6792 | gpr |
| 6793 | ) |
| 6794 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6795 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6796 | endif (gRPC_BUILD_TESTS) |
| 6797 | if (gRPC_BUILD_TESTS) |
| 6798 | |
| 6799 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6800 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6801 | ) |
| 6802 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6803 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6804 | target_include_directories(init_test |
| 6805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6807 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6808 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6809 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6810 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6811 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6812 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6813 | ) |
| 6814 | |
| 6815 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6816 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6817 | grpc_test_util |
| 6818 | grpc |
| 6819 | gpr_test_util |
| 6820 | gpr |
| 6821 | ) |
| 6822 | |
| 6823 | endif (gRPC_BUILD_TESTS) |
| 6824 | if (gRPC_BUILD_TESTS) |
| 6825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6826 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6827 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6828 | ) |
| 6829 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6831 | target_include_directories(invalid_call_argument_test |
| 6832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6834 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6835 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6836 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6837 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6838 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6839 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6840 | ) |
| 6841 | |
| 6842 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6844 | grpc_test_util |
| 6845 | grpc |
| 6846 | gpr_test_util |
| 6847 | gpr |
| 6848 | ) |
| 6849 | |
| 6850 | endif (gRPC_BUILD_TESTS) |
| 6851 | if (gRPC_BUILD_TESTS) |
| 6852 | |
| 6853 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6854 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6855 | ) |
| 6856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6858 | target_include_directories(json_rewrite |
| 6859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6861 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6862 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6863 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6864 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6865 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6866 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6867 | ) |
| 6868 | |
| 6869 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6870 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6871 | grpc |
| 6872 | gpr |
| 6873 | ) |
| 6874 | |
| 6875 | endif (gRPC_BUILD_TESTS) |
| 6876 | if (gRPC_BUILD_TESTS) |
| 6877 | |
| 6878 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6879 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6880 | ) |
| 6881 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6882 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6883 | target_include_directories(json_rewrite_test |
| 6884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6886 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6887 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6888 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6889 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6890 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6891 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6892 | ) |
| 6893 | |
| 6894 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6895 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6896 | grpc_test_util |
| 6897 | grpc |
| 6898 | gpr_test_util |
| 6899 | gpr |
| 6900 | ) |
| 6901 | |
| 6902 | endif (gRPC_BUILD_TESTS) |
| 6903 | if (gRPC_BUILD_TESTS) |
| 6904 | |
| 6905 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6906 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6907 | ) |
| 6908 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6909 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6910 | target_include_directories(json_stream_error_test |
| 6911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6913 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6914 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6915 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6916 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6917 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6918 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6919 | ) |
| 6920 | |
| 6921 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6922 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6923 | grpc_test_util |
| 6924 | grpc |
| 6925 | gpr_test_util |
| 6926 | gpr |
| 6927 | ) |
| 6928 | |
| 6929 | endif (gRPC_BUILD_TESTS) |
| 6930 | if (gRPC_BUILD_TESTS) |
| 6931 | |
| 6932 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6933 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6934 | ) |
| 6935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6937 | target_include_directories(json_test |
| 6938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6940 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6941 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6942 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6943 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6944 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6945 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6946 | ) |
| 6947 | |
| 6948 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6950 | grpc_test_util |
| 6951 | grpc |
| 6952 | gpr_test_util |
| 6953 | gpr |
| 6954 | ) |
| 6955 | |
| 6956 | endif (gRPC_BUILD_TESTS) |
| 6957 | if (gRPC_BUILD_TESTS) |
| 6958 | |
| 6959 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6960 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6961 | ) |
| 6962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6963 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6964 | target_include_directories(lame_client_test |
| 6965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6967 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6968 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6969 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6970 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6971 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6972 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6973 | ) |
| 6974 | |
| 6975 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6976 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6977 | grpc_test_util |
| 6978 | grpc |
| 6979 | gpr_test_util |
| 6980 | gpr |
| 6981 | ) |
| 6982 | |
| 6983 | endif (gRPC_BUILD_TESTS) |
| 6984 | if (gRPC_BUILD_TESTS) |
| 6985 | |
| 6986 | add_executable(lb_policies_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6987 | test/core/client_channel/lb_policies_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6988 | ) |
| 6989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6990 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6991 | target_include_directories(lb_policies_test |
| 6992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6994 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6995 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6996 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6997 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6998 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6999 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7000 | ) |
| 7001 | |
| 7002 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7003 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7004 | grpc_test_util |
| 7005 | grpc |
| 7006 | gpr_test_util |
| 7007 | gpr |
| 7008 | ) |
| 7009 | |
| 7010 | endif (gRPC_BUILD_TESTS) |
| 7011 | if (gRPC_BUILD_TESTS) |
| 7012 | |
| 7013 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7014 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7015 | ) |
| 7016 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7017 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7018 | target_include_directories(load_file_test |
| 7019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7020 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7021 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7022 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7023 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7024 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7025 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7026 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7027 | ) |
| 7028 | |
| 7029 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7030 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7031 | grpc_test_util |
| 7032 | grpc |
| 7033 | gpr_test_util |
| 7034 | gpr |
| 7035 | ) |
| 7036 | |
| 7037 | endif (gRPC_BUILD_TESTS) |
| 7038 | if (gRPC_BUILD_TESTS) |
| 7039 | |
| 7040 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7041 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7042 | ) |
| 7043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7045 | target_include_directories(memory_profile_client |
| 7046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7049 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7050 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7051 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7052 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7053 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7054 | ) |
| 7055 | |
| 7056 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7058 | grpc_test_util |
| 7059 | grpc |
| 7060 | gpr_test_util |
| 7061 | gpr |
| 7062 | ) |
| 7063 | |
| 7064 | endif (gRPC_BUILD_TESTS) |
| 7065 | if (gRPC_BUILD_TESTS) |
| 7066 | |
| 7067 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7068 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7069 | ) |
| 7070 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7071 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7072 | target_include_directories(memory_profile_server |
| 7073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7075 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7076 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7077 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7078 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7079 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7080 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7081 | ) |
| 7082 | |
| 7083 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7085 | grpc_test_util |
| 7086 | grpc |
| 7087 | gpr_test_util |
| 7088 | gpr |
| 7089 | ) |
| 7090 | |
| 7091 | endif (gRPC_BUILD_TESTS) |
| 7092 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7093 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7094 | |
| 7095 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7096 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7097 | ) |
| 7098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7099 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7100 | target_include_directories(memory_profile_test |
| 7101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7103 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7104 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7105 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7106 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7107 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7108 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7109 | ) |
| 7110 | |
| 7111 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7112 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7113 | grpc_test_util |
| 7114 | grpc |
| 7115 | gpr_test_util |
| 7116 | gpr |
| 7117 | ) |
| 7118 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7119 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7120 | endif (gRPC_BUILD_TESTS) |
| 7121 | if (gRPC_BUILD_TESTS) |
| 7122 | |
| 7123 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7124 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7125 | ) |
| 7126 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7127 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7128 | target_include_directories(message_compress_test |
| 7129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7131 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7132 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7133 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7134 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7135 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7136 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7137 | ) |
| 7138 | |
| 7139 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7141 | grpc_test_util |
| 7142 | grpc |
| 7143 | gpr_test_util |
| 7144 | gpr |
| 7145 | ) |
| 7146 | |
| 7147 | endif (gRPC_BUILD_TESTS) |
| 7148 | if (gRPC_BUILD_TESTS) |
| 7149 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7150 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7151 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7152 | ) |
| 7153 | |
| 7154 | |
| 7155 | target_include_directories(minimal_stack_is_minimal_test |
| 7156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7158 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7159 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7160 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7161 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7162 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7163 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7164 | ) |
| 7165 | |
| 7166 | target_link_libraries(minimal_stack_is_minimal_test |
| 7167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7168 | grpc_test_util |
| 7169 | grpc |
| 7170 | gpr_test_util |
| 7171 | gpr |
| 7172 | ) |
| 7173 | |
| 7174 | endif (gRPC_BUILD_TESTS) |
| 7175 | if (gRPC_BUILD_TESTS) |
| 7176 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7177 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7178 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7179 | ) |
| 7180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7181 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7182 | target_include_directories(multiple_server_queues_test |
| 7183 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7185 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7186 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7187 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7188 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7189 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7190 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7191 | ) |
| 7192 | |
| 7193 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7194 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7195 | grpc_test_util |
| 7196 | grpc |
| 7197 | gpr_test_util |
| 7198 | gpr |
| 7199 | ) |
| 7200 | |
| 7201 | endif (gRPC_BUILD_TESTS) |
| 7202 | if (gRPC_BUILD_TESTS) |
| 7203 | |
| 7204 | add_executable(murmur_hash_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7205 | test/core/support/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7206 | ) |
| 7207 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7208 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7209 | target_include_directories(murmur_hash_test |
| 7210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7212 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7213 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7214 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7215 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7216 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7217 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7218 | ) |
| 7219 | |
| 7220 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7221 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7222 | gpr_test_util |
| 7223 | gpr |
| 7224 | ) |
| 7225 | |
| 7226 | endif (gRPC_BUILD_TESTS) |
| 7227 | if (gRPC_BUILD_TESTS) |
| 7228 | |
| 7229 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7230 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7231 | ) |
| 7232 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7233 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7234 | target_include_directories(no_server_test |
| 7235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7237 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7238 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7239 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7240 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7241 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7242 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7243 | ) |
| 7244 | |
| 7245 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7247 | grpc_test_util |
| 7248 | grpc |
| 7249 | gpr_test_util |
| 7250 | gpr |
| 7251 | ) |
| 7252 | |
| 7253 | endif (gRPC_BUILD_TESTS) |
| 7254 | if (gRPC_BUILD_TESTS) |
| 7255 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7256 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7257 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7258 | ) |
| 7259 | |
| 7260 | |
| 7261 | target_include_directories(num_external_connectivity_watchers_test |
| 7262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7264 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7265 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7266 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7267 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7268 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7269 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7270 | ) |
| 7271 | |
| 7272 | target_link_libraries(num_external_connectivity_watchers_test |
| 7273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7274 | grpc_test_util |
| 7275 | grpc |
| 7276 | gpr_test_util |
| 7277 | gpr |
| 7278 | ) |
| 7279 | |
| 7280 | endif (gRPC_BUILD_TESTS) |
| 7281 | if (gRPC_BUILD_TESTS) |
| 7282 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7283 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7284 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7285 | ) |
| 7286 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7287 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7288 | target_include_directories(parse_address_test |
| 7289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7291 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7292 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7293 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7294 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7295 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7296 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7297 | ) |
| 7298 | |
| 7299 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7310 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7311 | test/core/slice/percent_encoding_test.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(percent_encoding_test |
| 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 | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7319 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7320 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7321 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7322 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7323 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7324 | ) |
| 7325 | |
| 7326 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7327 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7328 | grpc_test_util |
| 7329 | grpc |
| 7330 | gpr_test_util |
| 7331 | gpr |
| 7332 | ) |
| 7333 | |
| 7334 | endif (gRPC_BUILD_TESTS) |
| 7335 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7336 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7337 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7338 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7339 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7340 | ) |
| 7341 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7342 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7343 | target_include_directories(pollset_set_test |
| 7344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7346 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7347 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7348 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7349 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7350 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7351 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7352 | ) |
| 7353 | |
| 7354 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7355 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7356 | grpc_test_util |
| 7357 | grpc |
| 7358 | gpr_test_util |
| 7359 | gpr |
| 7360 | ) |
| 7361 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7362 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7363 | endif (gRPC_BUILD_TESTS) |
| 7364 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7365 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7366 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7367 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7368 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7369 | ) |
| 7370 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7371 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7372 | target_include_directories(resolve_address_posix_test |
| 7373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7375 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7376 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7377 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7378 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7379 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7380 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7381 | ) |
| 7382 | |
| 7383 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7385 | grpc_test_util |
| 7386 | grpc |
| 7387 | gpr_test_util |
| 7388 | gpr |
| 7389 | ) |
| 7390 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7391 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7392 | endif (gRPC_BUILD_TESTS) |
| 7393 | if (gRPC_BUILD_TESTS) |
| 7394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7395 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7396 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7397 | ) |
| 7398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7400 | target_include_directories(resolve_address_test |
| 7401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7403 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7404 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7405 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7406 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7407 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7408 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7409 | ) |
| 7410 | |
| 7411 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7412 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7413 | grpc_test_util |
| 7414 | grpc |
| 7415 | gpr_test_util |
| 7416 | gpr |
| 7417 | ) |
| 7418 | |
| 7419 | endif (gRPC_BUILD_TESTS) |
| 7420 | if (gRPC_BUILD_TESTS) |
| 7421 | |
| 7422 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7423 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7424 | ) |
| 7425 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7426 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7427 | target_include_directories(resource_quota_test |
| 7428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7430 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7431 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7432 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7433 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7434 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7435 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7436 | ) |
| 7437 | |
| 7438 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7439 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7440 | grpc_test_util |
| 7441 | grpc |
| 7442 | gpr_test_util |
| 7443 | gpr |
| 7444 | ) |
| 7445 | |
| 7446 | endif (gRPC_BUILD_TESTS) |
| 7447 | if (gRPC_BUILD_TESTS) |
| 7448 | |
| 7449 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7450 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7451 | ) |
| 7452 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7453 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7454 | target_include_directories(secure_channel_create_test |
| 7455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7456 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7457 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7458 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7459 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7460 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7461 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7462 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7463 | ) |
| 7464 | |
| 7465 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7466 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7467 | grpc_test_util |
| 7468 | grpc |
| 7469 | gpr_test_util |
| 7470 | gpr |
| 7471 | ) |
| 7472 | |
| 7473 | endif (gRPC_BUILD_TESTS) |
| 7474 | if (gRPC_BUILD_TESTS) |
| 7475 | |
| 7476 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7477 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7478 | ) |
| 7479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7481 | target_include_directories(secure_endpoint_test |
| 7482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7485 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7486 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7487 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7488 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7489 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7490 | ) |
| 7491 | |
| 7492 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7494 | grpc_test_util |
| 7495 | grpc |
| 7496 | gpr_test_util |
| 7497 | gpr |
| 7498 | ) |
| 7499 | |
| 7500 | endif (gRPC_BUILD_TESTS) |
| 7501 | if (gRPC_BUILD_TESTS) |
| 7502 | |
| 7503 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7504 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7505 | ) |
| 7506 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7507 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7508 | target_include_directories(sequential_connectivity_test |
| 7509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7511 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7512 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7513 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7514 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7515 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7516 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7517 | ) |
| 7518 | |
| 7519 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7521 | grpc_test_util |
| 7522 | grpc |
| 7523 | gpr_test_util |
| 7524 | gpr |
| 7525 | ) |
| 7526 | |
| 7527 | endif (gRPC_BUILD_TESTS) |
| 7528 | if (gRPC_BUILD_TESTS) |
| 7529 | |
| 7530 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7531 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7532 | ) |
| 7533 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7534 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7535 | target_include_directories(server_chttp2_test |
| 7536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7538 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7539 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7540 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7541 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7542 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7543 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7544 | ) |
| 7545 | |
| 7546 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7547 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7548 | grpc_test_util |
| 7549 | grpc |
| 7550 | gpr_test_util |
| 7551 | gpr |
| 7552 | ) |
| 7553 | |
| 7554 | endif (gRPC_BUILD_TESTS) |
| 7555 | if (gRPC_BUILD_TESTS) |
| 7556 | |
| 7557 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7558 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7559 | ) |
| 7560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7562 | target_include_directories(server_test |
| 7563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7565 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7566 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7567 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7568 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7569 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7570 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7571 | ) |
| 7572 | |
| 7573 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7574 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7575 | grpc_test_util |
| 7576 | grpc |
| 7577 | gpr_test_util |
| 7578 | gpr |
| 7579 | ) |
| 7580 | |
| 7581 | endif (gRPC_BUILD_TESTS) |
| 7582 | if (gRPC_BUILD_TESTS) |
| 7583 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7584 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7585 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7586 | ) |
| 7587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7589 | target_include_directories(slice_buffer_test |
| 7590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7592 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7593 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7594 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7595 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7596 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7597 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7598 | ) |
| 7599 | |
| 7600 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7601 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7602 | grpc_test_util |
| 7603 | grpc |
| 7604 | gpr_test_util |
| 7605 | gpr |
| 7606 | ) |
| 7607 | |
| 7608 | endif (gRPC_BUILD_TESTS) |
| 7609 | if (gRPC_BUILD_TESTS) |
| 7610 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7611 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7612 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7613 | ) |
| 7614 | |
| 7615 | |
| 7616 | target_include_directories(slice_hash_table_test |
| 7617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7619 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7620 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7621 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7622 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7623 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7624 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7625 | ) |
| 7626 | |
| 7627 | target_link_libraries(slice_hash_table_test |
| 7628 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7629 | grpc_test_util |
| 7630 | grpc |
| 7631 | gpr_test_util |
| 7632 | gpr |
| 7633 | ) |
| 7634 | |
| 7635 | endif (gRPC_BUILD_TESTS) |
| 7636 | if (gRPC_BUILD_TESTS) |
| 7637 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7638 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7639 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7640 | ) |
| 7641 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7642 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7643 | target_include_directories(slice_string_helpers_test |
| 7644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7646 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7647 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7648 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7649 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7650 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7651 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7652 | ) |
| 7653 | |
| 7654 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7655 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7656 | grpc_test_util |
| 7657 | grpc |
| 7658 | gpr_test_util |
| 7659 | gpr |
| 7660 | ) |
| 7661 | |
| 7662 | endif (gRPC_BUILD_TESTS) |
| 7663 | if (gRPC_BUILD_TESTS) |
| 7664 | |
| 7665 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7666 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7667 | ) |
| 7668 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7669 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7670 | target_include_directories(slice_test |
| 7671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7672 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7673 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7674 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7675 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7676 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7677 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7678 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7679 | ) |
| 7680 | |
| 7681 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7682 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7683 | grpc_test_util |
| 7684 | grpc |
| 7685 | gpr_test_util |
| 7686 | gpr |
| 7687 | ) |
| 7688 | |
| 7689 | endif (gRPC_BUILD_TESTS) |
| 7690 | if (gRPC_BUILD_TESTS) |
| 7691 | |
| 7692 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7693 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7694 | ) |
| 7695 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7696 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7697 | target_include_directories(sockaddr_resolver_test |
| 7698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7700 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7701 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7702 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7703 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7704 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7705 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7706 | ) |
| 7707 | |
| 7708 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7709 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7710 | grpc_test_util |
| 7711 | grpc |
| 7712 | gpr_test_util |
| 7713 | gpr |
| 7714 | ) |
| 7715 | |
| 7716 | endif (gRPC_BUILD_TESTS) |
| 7717 | if (gRPC_BUILD_TESTS) |
| 7718 | |
| 7719 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7720 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7721 | ) |
| 7722 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7723 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7724 | target_include_directories(sockaddr_utils_test |
| 7725 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7726 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7727 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7728 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7729 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7730 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7731 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7732 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7733 | ) |
| 7734 | |
| 7735 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7737 | grpc_test_util |
| 7738 | grpc |
| 7739 | gpr_test_util |
| 7740 | gpr |
| 7741 | ) |
| 7742 | |
| 7743 | endif (gRPC_BUILD_TESTS) |
| 7744 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7745 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7746 | |
| 7747 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7748 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7749 | ) |
| 7750 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7751 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7752 | target_include_directories(socket_utils_test |
| 7753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7754 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7755 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7756 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7757 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7758 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7759 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7760 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7761 | ) |
| 7762 | |
| 7763 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7764 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7765 | grpc_test_util |
| 7766 | grpc |
| 7767 | gpr_test_util |
| 7768 | gpr |
| 7769 | ) |
| 7770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7771 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7772 | endif (gRPC_BUILD_TESTS) |
| 7773 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7774 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 7775 | |
| 7776 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7777 | test/core/tsi/ssl_transport_security_test.cc |
| 7778 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7779 | ) |
| 7780 | |
| 7781 | |
| 7782 | target_include_directories(ssl_transport_security_test |
| 7783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7785 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7786 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7787 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7788 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7789 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7790 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7791 | ) |
| 7792 | |
| 7793 | target_link_libraries(ssl_transport_security_test |
| 7794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7795 | gpr_test_util |
| 7796 | gpr |
| 7797 | grpc |
| 7798 | ) |
| 7799 | |
| 7800 | endif() |
| 7801 | endif (gRPC_BUILD_TESTS) |
| 7802 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7803 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7804 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7805 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7806 | ) |
| 7807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7808 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7809 | target_include_directories(status_conversion_test |
| 7810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7812 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7813 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7814 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7815 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7816 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7817 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7818 | ) |
| 7819 | |
| 7820 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7822 | grpc_test_util |
| 7823 | grpc |
| 7824 | gpr_test_util |
| 7825 | gpr |
| 7826 | ) |
| 7827 | |
| 7828 | endif (gRPC_BUILD_TESTS) |
| 7829 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7830 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7831 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7832 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7833 | ) |
| 7834 | |
| 7835 | |
| 7836 | target_include_directories(stream_compression_test |
| 7837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7839 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7840 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7841 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7842 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7843 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7844 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7845 | ) |
| 7846 | |
| 7847 | target_link_libraries(stream_compression_test |
| 7848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7849 | grpc_test_util |
| 7850 | grpc |
| 7851 | gpr_test_util |
| 7852 | gpr |
| 7853 | ) |
| 7854 | |
| 7855 | endif (gRPC_BUILD_TESTS) |
| 7856 | if (gRPC_BUILD_TESTS) |
| 7857 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7858 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7859 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7860 | ) |
| 7861 | |
| 7862 | |
| 7863 | target_include_directories(stream_owned_slice_test |
| 7864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7866 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7867 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7868 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7869 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7870 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7871 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7872 | ) |
| 7873 | |
| 7874 | target_link_libraries(stream_owned_slice_test |
| 7875 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7876 | grpc_test_util |
| 7877 | grpc |
| 7878 | gpr_test_util |
| 7879 | gpr |
| 7880 | ) |
| 7881 | |
| 7882 | endif (gRPC_BUILD_TESTS) |
| 7883 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7884 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7885 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7886 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7887 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7888 | ) |
| 7889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7890 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7891 | target_include_directories(tcp_client_posix_test |
| 7892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7894 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7895 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7896 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7897 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7898 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7899 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7900 | ) |
| 7901 | |
| 7902 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7904 | grpc_test_util |
| 7905 | grpc |
| 7906 | gpr_test_util |
| 7907 | gpr |
| 7908 | ) |
| 7909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7910 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7911 | endif (gRPC_BUILD_TESTS) |
| 7912 | if (gRPC_BUILD_TESTS) |
| 7913 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7914 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7915 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7916 | ) |
| 7917 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7918 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7919 | target_include_directories(tcp_client_uv_test |
| 7920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7922 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7923 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7924 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7925 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7926 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7927 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7928 | ) |
| 7929 | |
| 7930 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7931 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7932 | grpc_test_util |
| 7933 | grpc |
| 7934 | gpr_test_util |
| 7935 | gpr |
| 7936 | ) |
| 7937 | |
| 7938 | endif (gRPC_BUILD_TESTS) |
| 7939 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7940 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7941 | |
| 7942 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7943 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7944 | ) |
| 7945 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7946 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7947 | target_include_directories(tcp_posix_test |
| 7948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7950 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7951 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7952 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7953 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7954 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7955 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7956 | ) |
| 7957 | |
| 7958 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7960 | grpc_test_util |
| 7961 | grpc |
| 7962 | gpr_test_util |
| 7963 | gpr |
| 7964 | ) |
| 7965 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7966 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7967 | endif (gRPC_BUILD_TESTS) |
| 7968 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7969 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7970 | |
| 7971 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7972 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7973 | ) |
| 7974 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7975 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7976 | target_include_directories(tcp_server_posix_test |
| 7977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7979 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7980 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7981 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7982 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7983 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7984 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7985 | ) |
| 7986 | |
| 7987 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7989 | grpc_test_util |
| 7990 | grpc |
| 7991 | gpr_test_util |
| 7992 | gpr |
| 7993 | ) |
| 7994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7995 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7996 | endif (gRPC_BUILD_TESTS) |
| 7997 | if (gRPC_BUILD_TESTS) |
| 7998 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7999 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8000 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8001 | ) |
| 8002 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8003 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8004 | target_include_directories(tcp_server_uv_test |
| 8005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8007 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8008 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8009 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8010 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8011 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8012 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8013 | ) |
| 8014 | |
| 8015 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8016 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8017 | grpc_test_util |
| 8018 | grpc |
| 8019 | gpr_test_util |
| 8020 | gpr |
| 8021 | ) |
| 8022 | |
| 8023 | endif (gRPC_BUILD_TESTS) |
| 8024 | if (gRPC_BUILD_TESTS) |
| 8025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8026 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8027 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8028 | ) |
| 8029 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8030 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8031 | target_include_directories(time_averaged_stats_test |
| 8032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8034 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8035 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8036 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8037 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8038 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8039 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8040 | ) |
| 8041 | |
| 8042 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8043 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8044 | grpc_test_util |
| 8045 | grpc |
| 8046 | gpr_test_util |
| 8047 | gpr |
| 8048 | ) |
| 8049 | |
| 8050 | endif (gRPC_BUILD_TESTS) |
| 8051 | if (gRPC_BUILD_TESTS) |
| 8052 | |
| 8053 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8054 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8055 | ) |
| 8056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8058 | target_include_directories(timeout_encoding_test |
| 8059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8061 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8062 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8063 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8064 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8065 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8066 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8067 | ) |
| 8068 | |
| 8069 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8070 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8071 | grpc_test_util |
| 8072 | grpc |
| 8073 | gpr_test_util |
| 8074 | gpr |
| 8075 | ) |
| 8076 | |
| 8077 | endif (gRPC_BUILD_TESTS) |
| 8078 | if (gRPC_BUILD_TESTS) |
| 8079 | |
| 8080 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8081 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8082 | ) |
| 8083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8085 | target_include_directories(timer_heap_test |
| 8086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8089 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8090 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8091 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8092 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8093 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8094 | ) |
| 8095 | |
| 8096 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8097 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8098 | grpc_test_util |
| 8099 | grpc |
| 8100 | gpr_test_util |
| 8101 | gpr |
| 8102 | ) |
| 8103 | |
| 8104 | endif (gRPC_BUILD_TESTS) |
| 8105 | if (gRPC_BUILD_TESTS) |
| 8106 | |
| 8107 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8108 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8109 | ) |
| 8110 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8112 | target_include_directories(timer_list_test |
| 8113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8115 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8116 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8117 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8118 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8119 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8120 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8121 | ) |
| 8122 | |
| 8123 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8124 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8125 | grpc_test_util |
| 8126 | grpc |
| 8127 | gpr_test_util |
| 8128 | gpr |
| 8129 | ) |
| 8130 | |
| 8131 | endif (gRPC_BUILD_TESTS) |
| 8132 | if (gRPC_BUILD_TESTS) |
| 8133 | |
| 8134 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8135 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8136 | ) |
| 8137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8138 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8139 | target_include_directories(transport_connectivity_state_test |
| 8140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8142 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8143 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8144 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8145 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8146 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8147 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8148 | ) |
| 8149 | |
| 8150 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8151 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8152 | grpc_test_util |
| 8153 | grpc |
| 8154 | gpr_test_util |
| 8155 | gpr |
| 8156 | ) |
| 8157 | |
| 8158 | endif (gRPC_BUILD_TESTS) |
| 8159 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8160 | |
| 8161 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8162 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8163 | ) |
| 8164 | |
| 8165 | |
| 8166 | target_include_directories(transport_metadata_test |
| 8167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8169 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8170 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8171 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8172 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8173 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8174 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8175 | ) |
| 8176 | |
| 8177 | target_link_libraries(transport_metadata_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) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8188 | |
| 8189 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8190 | test/core/tsi/transport_security_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(transport_security_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 | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8198 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8199 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8200 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8201 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8202 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8203 | ) |
| 8204 | |
| 8205 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8207 | grpc_test_util |
| 8208 | grpc |
| 8209 | gpr_test_util |
| 8210 | gpr |
| 8211 | ) |
| 8212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8213 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8214 | endif (gRPC_BUILD_TESTS) |
| 8215 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8216 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8217 | |
| 8218 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8219 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8220 | ) |
| 8221 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8222 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8223 | target_include_directories(udp_server_test |
| 8224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8226 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8227 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8228 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8229 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8230 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8231 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8232 | ) |
| 8233 | |
| 8234 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8235 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8236 | grpc_test_util |
| 8237 | grpc |
| 8238 | gpr_test_util |
| 8239 | gpr |
| 8240 | ) |
| 8241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8242 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8243 | endif (gRPC_BUILD_TESTS) |
| 8244 | if (gRPC_BUILD_TESTS) |
| 8245 | |
| 8246 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8247 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8248 | ) |
| 8249 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8250 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8251 | target_include_directories(uri_parser_test |
| 8252 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8253 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8254 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8255 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8256 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8257 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8258 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8259 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8260 | ) |
| 8261 | |
| 8262 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8264 | grpc_test_util |
| 8265 | grpc |
| 8266 | gpr_test_util |
| 8267 | gpr |
| 8268 | ) |
| 8269 | |
| 8270 | endif (gRPC_BUILD_TESTS) |
| 8271 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8272 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8273 | |
| 8274 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8275 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8276 | ) |
| 8277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8279 | target_include_directories(wakeup_fd_cv_test |
| 8280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8282 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8283 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8284 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8285 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8286 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8287 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8288 | ) |
| 8289 | |
| 8290 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8292 | grpc_test_util |
| 8293 | grpc |
| 8294 | gpr_test_util |
| 8295 | gpr |
| 8296 | ) |
| 8297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8298 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8299 | endif (gRPC_BUILD_TESTS) |
| 8300 | if (gRPC_BUILD_TESTS) |
| 8301 | |
| 8302 | add_executable(alarm_cpp_test |
| 8303 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8304 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8305 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8306 | ) |
| 8307 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8308 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8309 | target_include_directories(alarm_cpp_test |
| 8310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8312 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8313 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8314 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8315 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8316 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8317 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8318 | PRIVATE third_party/googletest/googletest/include |
| 8319 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8320 | PRIVATE third_party/googletest/googlemock/include |
| 8321 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8322 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8323 | ) |
| 8324 | |
| 8325 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8326 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8327 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8328 | grpc++_test_util_unsecure |
| 8329 | grpc_test_util_unsecure |
| 8330 | grpc++_unsecure |
| 8331 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8332 | gpr_test_util |
| 8333 | gpr |
| 8334 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8335 | ) |
| 8336 | |
| 8337 | endif (gRPC_BUILD_TESTS) |
| 8338 | if (gRPC_BUILD_TESTS) |
| 8339 | |
| 8340 | add_executable(async_end2end_test |
| 8341 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8342 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8343 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8344 | ) |
| 8345 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8346 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8347 | target_include_directories(async_end2end_test |
| 8348 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8350 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8351 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8352 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8353 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8354 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8355 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8356 | PRIVATE third_party/googletest/googletest/include |
| 8357 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8358 | PRIVATE third_party/googletest/googlemock/include |
| 8359 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8360 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8361 | ) |
| 8362 | |
| 8363 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8364 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8365 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8366 | grpc++_test_util |
| 8367 | grpc_test_util |
| 8368 | grpc++ |
| 8369 | grpc |
| 8370 | gpr_test_util |
| 8371 | gpr |
| 8372 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8373 | ) |
| 8374 | |
| 8375 | endif (gRPC_BUILD_TESTS) |
| 8376 | if (gRPC_BUILD_TESTS) |
| 8377 | |
| 8378 | add_executable(auth_property_iterator_test |
| 8379 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8380 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8381 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8382 | ) |
| 8383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8385 | target_include_directories(auth_property_iterator_test |
| 8386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8388 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8389 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8390 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8391 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8392 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8393 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8394 | PRIVATE third_party/googletest/googletest/include |
| 8395 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8396 | PRIVATE third_party/googletest/googlemock/include |
| 8397 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8398 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8399 | ) |
| 8400 | |
| 8401 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8402 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | grpc++_test_util |
| 8405 | grpc_test_util |
| 8406 | grpc++ |
| 8407 | grpc |
| 8408 | gpr_test_util |
| 8409 | gpr |
| 8410 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8411 | ) |
| 8412 | |
| 8413 | endif (gRPC_BUILD_TESTS) |
| 8414 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8415 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8416 | add_executable(backoff_test |
| 8417 | test/core/backoff/backoff_test.cc |
| 8418 | third_party/googletest/googletest/src/gtest-all.cc |
| 8419 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8420 | ) |
| 8421 | |
| 8422 | |
| 8423 | target_include_directories(backoff_test |
| 8424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 8426 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8427 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8428 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8429 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8430 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8431 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8432 | PRIVATE third_party/googletest/googletest/include |
| 8433 | PRIVATE third_party/googletest/googletest |
| 8434 | PRIVATE third_party/googletest/googlemock/include |
| 8435 | PRIVATE third_party/googletest/googlemock |
| 8436 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8437 | ) |
| 8438 | |
| 8439 | target_link_libraries(backoff_test |
| 8440 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8441 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8442 | grpc_test_util |
| 8443 | grpc |
| 8444 | gpr_test_util |
| 8445 | gpr |
| 8446 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8447 | ) |
| 8448 | |
| 8449 | endif (gRPC_BUILD_TESTS) |
| 8450 | if (gRPC_BUILD_TESTS) |
| 8451 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8452 | add_executable(bdp_estimator_test |
| 8453 | test/core/transport/bdp_estimator_test.cc |
| 8454 | third_party/googletest/googletest/src/gtest-all.cc |
| 8455 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8456 | ) |
| 8457 | |
| 8458 | |
| 8459 | target_include_directories(bdp_estimator_test |
| 8460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8462 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8463 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8464 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8465 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8466 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8467 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8468 | PRIVATE third_party/googletest/googletest/include |
| 8469 | PRIVATE third_party/googletest/googletest |
| 8470 | PRIVATE third_party/googletest/googlemock/include |
| 8471 | PRIVATE third_party/googletest/googlemock |
| 8472 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8473 | ) |
| 8474 | |
| 8475 | target_link_libraries(bdp_estimator_test |
| 8476 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8477 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8478 | grpc++_test_util |
| 8479 | grpc++ |
| 8480 | grpc_test_util |
| 8481 | grpc |
| 8482 | gpr_test_util |
| 8483 | gpr |
| 8484 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8485 | ) |
| 8486 | |
| 8487 | endif (gRPC_BUILD_TESTS) |
| 8488 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8489 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8490 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8491 | add_executable(bm_arena |
| 8492 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8493 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8494 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8495 | ) |
| 8496 | |
| 8497 | |
| 8498 | target_include_directories(bm_arena |
| 8499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8501 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8502 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8503 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8504 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8505 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8506 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8507 | PRIVATE third_party/googletest/googletest/include |
| 8508 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8509 | PRIVATE third_party/googletest/googlemock/include |
| 8510 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8511 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8512 | ) |
| 8513 | |
| 8514 | target_link_libraries(bm_arena |
| 8515 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8516 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8517 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8518 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8519 | grpc++_test_util_unsecure |
| 8520 | grpc_test_util_unsecure |
| 8521 | grpc++_unsecure |
| 8522 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8523 | gpr_test_util |
| 8524 | gpr |
| 8525 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8526 | ) |
| 8527 | |
| 8528 | endif() |
| 8529 | endif (gRPC_BUILD_TESTS) |
| 8530 | if (gRPC_BUILD_TESTS) |
| 8531 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8532 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8533 | add_executable(bm_call_create |
| 8534 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8535 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8536 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8537 | ) |
| 8538 | |
| 8539 | |
| 8540 | target_include_directories(bm_call_create |
| 8541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8543 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8544 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8545 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8546 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8547 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8548 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8549 | PRIVATE third_party/googletest/googletest/include |
| 8550 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8551 | PRIVATE third_party/googletest/googlemock/include |
| 8552 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8553 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8554 | ) |
| 8555 | |
| 8556 | target_link_libraries(bm_call_create |
| 8557 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8559 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8560 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8561 | grpc++_test_util_unsecure |
| 8562 | grpc_test_util_unsecure |
| 8563 | grpc++_unsecure |
| 8564 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8565 | gpr_test_util |
| 8566 | gpr |
| 8567 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8568 | ) |
| 8569 | |
| 8570 | endif() |
| 8571 | endif (gRPC_BUILD_TESTS) |
| 8572 | if (gRPC_BUILD_TESTS) |
| 8573 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8574 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8575 | add_executable(bm_chttp2_hpack |
| 8576 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8577 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8578 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8579 | ) |
| 8580 | |
| 8581 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8582 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8583 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8584 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8585 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8586 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8587 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8588 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8589 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8590 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8591 | PRIVATE third_party/googletest/googletest/include |
| 8592 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8593 | PRIVATE third_party/googletest/googlemock/include |
| 8594 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8595 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8596 | ) |
| 8597 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8598 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8599 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8601 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8602 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8603 | grpc++_test_util_unsecure |
| 8604 | grpc_test_util_unsecure |
| 8605 | grpc++_unsecure |
| 8606 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8607 | gpr_test_util |
| 8608 | gpr |
| 8609 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8610 | ) |
| 8611 | |
| 8612 | endif() |
| 8613 | endif (gRPC_BUILD_TESTS) |
| 8614 | if (gRPC_BUILD_TESTS) |
| 8615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8616 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8617 | add_executable(bm_chttp2_transport |
| 8618 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8619 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8620 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8621 | ) |
| 8622 | |
| 8623 | |
| 8624 | target_include_directories(bm_chttp2_transport |
| 8625 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8627 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8628 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8629 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8630 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8631 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8632 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8633 | PRIVATE third_party/googletest/googletest/include |
| 8634 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8635 | PRIVATE third_party/googletest/googlemock/include |
| 8636 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8637 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8638 | ) |
| 8639 | |
| 8640 | target_link_libraries(bm_chttp2_transport |
| 8641 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8642 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8643 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8644 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8645 | grpc++_test_util_unsecure |
| 8646 | grpc_test_util_unsecure |
| 8647 | grpc++_unsecure |
| 8648 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8649 | gpr_test_util |
| 8650 | gpr |
| 8651 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8652 | ) |
| 8653 | |
| 8654 | endif() |
| 8655 | endif (gRPC_BUILD_TESTS) |
| 8656 | if (gRPC_BUILD_TESTS) |
| 8657 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8658 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8659 | add_executable(bm_closure |
| 8660 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8661 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8662 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8663 | ) |
| 8664 | |
| 8665 | |
| 8666 | target_include_directories(bm_closure |
| 8667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8669 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8670 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8671 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8672 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8673 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8674 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8675 | PRIVATE third_party/googletest/googletest/include |
| 8676 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8677 | PRIVATE third_party/googletest/googlemock/include |
| 8678 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8679 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8680 | ) |
| 8681 | |
| 8682 | target_link_libraries(bm_closure |
| 8683 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8684 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8685 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8686 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8687 | grpc++_test_util_unsecure |
| 8688 | grpc_test_util_unsecure |
| 8689 | grpc++_unsecure |
| 8690 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8691 | gpr_test_util |
| 8692 | gpr |
| 8693 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8694 | ) |
| 8695 | |
| 8696 | endif() |
| 8697 | endif (gRPC_BUILD_TESTS) |
| 8698 | if (gRPC_BUILD_TESTS) |
| 8699 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8700 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8701 | add_executable(bm_cq |
| 8702 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8703 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8704 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8705 | ) |
| 8706 | |
| 8707 | |
| 8708 | target_include_directories(bm_cq |
| 8709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8711 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8712 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8713 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8714 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8715 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8716 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8717 | PRIVATE third_party/googletest/googletest/include |
| 8718 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8719 | PRIVATE third_party/googletest/googlemock/include |
| 8720 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8721 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8722 | ) |
| 8723 | |
| 8724 | target_link_libraries(bm_cq |
| 8725 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8727 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8728 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8729 | grpc++_test_util_unsecure |
| 8730 | grpc_test_util_unsecure |
| 8731 | grpc++_unsecure |
| 8732 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8733 | gpr_test_util |
| 8734 | gpr |
| 8735 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8736 | ) |
| 8737 | |
| 8738 | endif() |
| 8739 | endif (gRPC_BUILD_TESTS) |
| 8740 | if (gRPC_BUILD_TESTS) |
| 8741 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8742 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8743 | add_executable(bm_cq_multiple_threads |
| 8744 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8745 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8746 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8747 | ) |
| 8748 | |
| 8749 | |
| 8750 | target_include_directories(bm_cq_multiple_threads |
| 8751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8753 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8754 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8755 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8756 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8757 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8758 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8759 | PRIVATE third_party/googletest/googletest/include |
| 8760 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8761 | PRIVATE third_party/googletest/googlemock/include |
| 8762 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8763 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8764 | ) |
| 8765 | |
| 8766 | target_link_libraries(bm_cq_multiple_threads |
| 8767 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8768 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8769 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8770 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8771 | grpc++_test_util_unsecure |
| 8772 | grpc_test_util_unsecure |
| 8773 | grpc++_unsecure |
| 8774 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8775 | gpr_test_util |
| 8776 | gpr |
| 8777 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8778 | ) |
| 8779 | |
| 8780 | endif() |
| 8781 | endif (gRPC_BUILD_TESTS) |
| 8782 | if (gRPC_BUILD_TESTS) |
| 8783 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8784 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8785 | add_executable(bm_error |
| 8786 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8787 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8788 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8789 | ) |
| 8790 | |
| 8791 | |
| 8792 | target_include_directories(bm_error |
| 8793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8795 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8796 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8797 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8798 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8799 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8800 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8801 | PRIVATE third_party/googletest/googletest/include |
| 8802 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8803 | PRIVATE third_party/googletest/googlemock/include |
| 8804 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8805 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8806 | ) |
| 8807 | |
| 8808 | target_link_libraries(bm_error |
| 8809 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8810 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8811 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8812 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8813 | grpc++_test_util_unsecure |
| 8814 | grpc_test_util_unsecure |
| 8815 | grpc++_unsecure |
| 8816 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8817 | gpr_test_util |
| 8818 | gpr |
| 8819 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8820 | ) |
| 8821 | |
| 8822 | endif() |
| 8823 | endif (gRPC_BUILD_TESTS) |
| 8824 | if (gRPC_BUILD_TESTS) |
| 8825 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8826 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8827 | add_executable(bm_fullstack_streaming_ping_pong |
| 8828 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8829 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8830 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8831 | ) |
| 8832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8833 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8834 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8837 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8838 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8839 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8840 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8841 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8842 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8843 | PRIVATE third_party/googletest/googletest/include |
| 8844 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8845 | PRIVATE third_party/googletest/googlemock/include |
| 8846 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8847 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8848 | ) |
| 8849 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8850 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 8851 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8852 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8853 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8854 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8855 | grpc++_test_util_unsecure |
| 8856 | grpc_test_util_unsecure |
| 8857 | grpc++_unsecure |
| 8858 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8859 | gpr_test_util |
| 8860 | gpr |
| 8861 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8862 | ) |
| 8863 | |
| 8864 | endif() |
| 8865 | endif (gRPC_BUILD_TESTS) |
| 8866 | if (gRPC_BUILD_TESTS) |
| 8867 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8868 | |
| 8869 | add_executable(bm_fullstack_streaming_pump |
| 8870 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8871 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8872 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8873 | ) |
| 8874 | |
| 8875 | |
| 8876 | target_include_directories(bm_fullstack_streaming_pump |
| 8877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8879 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8880 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8881 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8882 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8883 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8884 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8885 | PRIVATE third_party/googletest/googletest/include |
| 8886 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8887 | PRIVATE third_party/googletest/googlemock/include |
| 8888 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8889 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8890 | ) |
| 8891 | |
| 8892 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8893 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8895 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8896 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8897 | grpc++_test_util_unsecure |
| 8898 | grpc_test_util_unsecure |
| 8899 | grpc++_unsecure |
| 8900 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8901 | gpr_test_util |
| 8902 | gpr |
| 8903 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8904 | ) |
| 8905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8906 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8907 | endif (gRPC_BUILD_TESTS) |
| 8908 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8909 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8910 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8911 | add_executable(bm_fullstack_trickle |
| 8912 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8913 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8914 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8915 | ) |
| 8916 | |
| 8917 | |
| 8918 | target_include_directories(bm_fullstack_trickle |
| 8919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8920 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8921 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8922 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8923 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8924 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8925 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8926 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8927 | PRIVATE third_party/googletest/googletest/include |
| 8928 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8929 | PRIVATE third_party/googletest/googlemock/include |
| 8930 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8931 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8932 | ) |
| 8933 | |
| 8934 | target_link_libraries(bm_fullstack_trickle |
| 8935 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8937 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8938 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8939 | grpc++_test_util_unsecure |
| 8940 | grpc_test_util_unsecure |
| 8941 | grpc++_unsecure |
| 8942 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8943 | gpr_test_util |
| 8944 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 8945 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8946 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8947 | ) |
| 8948 | |
| 8949 | endif() |
| 8950 | endif (gRPC_BUILD_TESTS) |
| 8951 | if (gRPC_BUILD_TESTS) |
| 8952 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8953 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8954 | add_executable(bm_fullstack_unary_ping_pong |
| 8955 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8956 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8957 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8958 | ) |
| 8959 | |
| 8960 | |
| 8961 | target_include_directories(bm_fullstack_unary_ping_pong |
| 8962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8964 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8965 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8966 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8967 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8968 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8969 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8970 | PRIVATE third_party/googletest/googletest/include |
| 8971 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8972 | PRIVATE third_party/googletest/googlemock/include |
| 8973 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8974 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8975 | ) |
| 8976 | |
| 8977 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 8978 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8980 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8981 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8982 | grpc++_test_util_unsecure |
| 8983 | grpc_test_util_unsecure |
| 8984 | grpc++_unsecure |
| 8985 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8986 | gpr_test_util |
| 8987 | gpr |
| 8988 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8989 | ) |
| 8990 | |
| 8991 | endif() |
| 8992 | endif (gRPC_BUILD_TESTS) |
| 8993 | if (gRPC_BUILD_TESTS) |
| 8994 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8995 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8996 | add_executable(bm_metadata |
| 8997 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8998 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8999 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9000 | ) |
| 9001 | |
| 9002 | |
| 9003 | target_include_directories(bm_metadata |
| 9004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9006 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9007 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9008 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9009 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9010 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9011 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9012 | PRIVATE third_party/googletest/googletest/include |
| 9013 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9014 | PRIVATE third_party/googletest/googlemock/include |
| 9015 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9017 | ) |
| 9018 | |
| 9019 | target_link_libraries(bm_metadata |
| 9020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9022 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9023 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9024 | grpc++_test_util_unsecure |
| 9025 | grpc_test_util_unsecure |
| 9026 | grpc++_unsecure |
| 9027 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9028 | gpr_test_util |
| 9029 | gpr |
| 9030 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9031 | ) |
| 9032 | |
| 9033 | endif() |
| 9034 | endif (gRPC_BUILD_TESTS) |
| 9035 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9036 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9037 | |
| 9038 | add_executable(bm_pollset |
| 9039 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9040 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9041 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9042 | ) |
| 9043 | |
| 9044 | |
| 9045 | target_include_directories(bm_pollset |
| 9046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9049 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9050 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9051 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9052 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9053 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9054 | PRIVATE third_party/googletest/googletest/include |
| 9055 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9056 | PRIVATE third_party/googletest/googlemock/include |
| 9057 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9058 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9059 | ) |
| 9060 | |
| 9061 | target_link_libraries(bm_pollset |
| 9062 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9063 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9064 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9065 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9066 | grpc++_test_util_unsecure |
| 9067 | grpc_test_util_unsecure |
| 9068 | grpc++_unsecure |
| 9069 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9070 | gpr_test_util |
| 9071 | gpr |
| 9072 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9073 | ) |
| 9074 | |
| 9075 | endif() |
| 9076 | endif (gRPC_BUILD_TESTS) |
| 9077 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9078 | |
| 9079 | add_executable(channel_arguments_test |
| 9080 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9081 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9082 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9083 | ) |
| 9084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9085 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9086 | target_include_directories(channel_arguments_test |
| 9087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9089 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9090 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9091 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9092 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9093 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9094 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9095 | PRIVATE third_party/googletest/googletest/include |
| 9096 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9097 | PRIVATE third_party/googletest/googlemock/include |
| 9098 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9099 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9100 | ) |
| 9101 | |
| 9102 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9103 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9104 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9105 | grpc++ |
| 9106 | grpc |
| 9107 | gpr |
| 9108 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9109 | ) |
| 9110 | |
| 9111 | endif (gRPC_BUILD_TESTS) |
| 9112 | if (gRPC_BUILD_TESTS) |
| 9113 | |
| 9114 | add_executable(channel_filter_test |
| 9115 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9116 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9117 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9118 | ) |
| 9119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9120 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9121 | target_include_directories(channel_filter_test |
| 9122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9124 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9125 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9126 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9127 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9128 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9129 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9130 | PRIVATE third_party/googletest/googletest/include |
| 9131 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9132 | PRIVATE third_party/googletest/googlemock/include |
| 9133 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9134 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9135 | ) |
| 9136 | |
| 9137 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9138 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9140 | grpc++ |
| 9141 | grpc |
| 9142 | gpr |
| 9143 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9144 | ) |
| 9145 | |
| 9146 | endif (gRPC_BUILD_TESTS) |
| 9147 | if (gRPC_BUILD_TESTS) |
| 9148 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9149 | add_executable(chttp2_settings_timeout_test |
| 9150 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9151 | third_party/googletest/googletest/src/gtest-all.cc |
| 9152 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9153 | ) |
| 9154 | |
| 9155 | |
| 9156 | target_include_directories(chttp2_settings_timeout_test |
| 9157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9159 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9160 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9161 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9162 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9163 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9164 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9165 | PRIVATE third_party/googletest/googletest/include |
| 9166 | PRIVATE third_party/googletest/googletest |
| 9167 | PRIVATE third_party/googletest/googlemock/include |
| 9168 | PRIVATE third_party/googletest/googlemock |
| 9169 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9170 | ) |
| 9171 | |
| 9172 | target_link_libraries(chttp2_settings_timeout_test |
| 9173 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9175 | grpc_test_util |
| 9176 | grpc |
| 9177 | gpr_test_util |
| 9178 | gpr |
| 9179 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9180 | ) |
| 9181 | |
| 9182 | endif (gRPC_BUILD_TESTS) |
| 9183 | if (gRPC_BUILD_TESTS) |
| 9184 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9185 | add_executable(cli_call_test |
| 9186 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9187 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9188 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9189 | ) |
| 9190 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9191 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9192 | target_include_directories(cli_call_test |
| 9193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9194 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9195 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9196 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9197 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9198 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9199 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9200 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9201 | PRIVATE third_party/googletest/googletest/include |
| 9202 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9203 | PRIVATE third_party/googletest/googlemock/include |
| 9204 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9205 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9206 | ) |
| 9207 | |
| 9208 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9209 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9211 | grpc_cli_libs |
| 9212 | grpc++_test_util |
| 9213 | grpc_test_util |
| 9214 | grpc++ |
| 9215 | grpc |
| 9216 | gpr_test_util |
| 9217 | gpr |
| 9218 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9219 | ) |
| 9220 | |
| 9221 | endif (gRPC_BUILD_TESTS) |
| 9222 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9223 | |
| 9224 | add_executable(client_channel_stress_test |
| 9225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9228 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9229 | test/cpp/client/client_channel_stress_test.cc |
| 9230 | third_party/googletest/googletest/src/gtest-all.cc |
| 9231 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9232 | ) |
| 9233 | |
| 9234 | protobuf_generate_grpc_cpp( |
| 9235 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9236 | ) |
| 9237 | |
| 9238 | target_include_directories(client_channel_stress_test |
| 9239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9241 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9242 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9243 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9244 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9245 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9246 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9247 | PRIVATE third_party/googletest/googletest/include |
| 9248 | PRIVATE third_party/googletest/googletest |
| 9249 | PRIVATE third_party/googletest/googlemock/include |
| 9250 | PRIVATE third_party/googletest/googlemock |
| 9251 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9252 | ) |
| 9253 | |
| 9254 | target_link_libraries(client_channel_stress_test |
| 9255 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9257 | grpc++_test_util |
| 9258 | grpc_test_util |
| 9259 | grpc++ |
| 9260 | grpc |
| 9261 | gpr_test_util |
| 9262 | gpr |
| 9263 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9264 | ) |
| 9265 | |
| 9266 | endif (gRPC_BUILD_TESTS) |
| 9267 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9268 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9269 | |
| 9270 | add_executable(client_crash_test |
| 9271 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9272 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9273 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9274 | ) |
| 9275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9277 | target_include_directories(client_crash_test |
| 9278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9280 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9281 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9282 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9283 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9284 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9285 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9286 | PRIVATE third_party/googletest/googletest/include |
| 9287 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9288 | PRIVATE third_party/googletest/googlemock/include |
| 9289 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9291 | ) |
| 9292 | |
| 9293 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9294 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9296 | grpc++_test_util |
| 9297 | grpc_test_util |
| 9298 | grpc++ |
| 9299 | grpc |
| 9300 | gpr_test_util |
| 9301 | gpr |
| 9302 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9303 | ) |
| 9304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9305 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9306 | endif (gRPC_BUILD_TESTS) |
| 9307 | if (gRPC_BUILD_TESTS) |
| 9308 | |
| 9309 | add_executable(client_crash_test_server |
| 9310 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9311 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9312 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9313 | ) |
| 9314 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9316 | target_include_directories(client_crash_test_server |
| 9317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9319 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9320 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9321 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9322 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9323 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9324 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9325 | PRIVATE third_party/googletest/googletest/include |
| 9326 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9327 | PRIVATE third_party/googletest/googlemock/include |
| 9328 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9329 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9330 | ) |
| 9331 | |
| 9332 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9333 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9335 | grpc++_test_util |
| 9336 | grpc_test_util |
| 9337 | grpc++ |
| 9338 | grpc |
| 9339 | gpr_test_util |
| 9340 | gpr |
| 9341 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9342 | ) |
| 9343 | |
| 9344 | endif (gRPC_BUILD_TESTS) |
| 9345 | if (gRPC_BUILD_TESTS) |
| 9346 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9347 | add_executable(client_lb_end2end_test |
| 9348 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9349 | third_party/googletest/googletest/src/gtest-all.cc |
| 9350 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9351 | ) |
| 9352 | |
| 9353 | |
| 9354 | target_include_directories(client_lb_end2end_test |
| 9355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9357 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9358 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9359 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9360 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9361 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9362 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9363 | PRIVATE third_party/googletest/googletest/include |
| 9364 | PRIVATE third_party/googletest/googletest |
| 9365 | PRIVATE third_party/googletest/googlemock/include |
| 9366 | PRIVATE third_party/googletest/googlemock |
| 9367 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9368 | ) |
| 9369 | |
| 9370 | target_link_libraries(client_lb_end2end_test |
| 9371 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9372 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9373 | grpc++_test_util |
| 9374 | grpc_test_util |
| 9375 | grpc++ |
| 9376 | grpc |
| 9377 | gpr_test_util |
| 9378 | gpr |
| 9379 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9380 | ) |
| 9381 | |
| 9382 | endif (gRPC_BUILD_TESTS) |
| 9383 | if (gRPC_BUILD_TESTS) |
| 9384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9385 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9390 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9391 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9392 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9393 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9395 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9396 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9397 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9398 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9399 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9400 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9401 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9402 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9403 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9404 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9405 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9406 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9407 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9408 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9409 | ) |
| 9410 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9411 | protobuf_generate_grpc_cpp( |
| 9412 | src/proto/grpc/testing/control.proto |
| 9413 | ) |
| 9414 | protobuf_generate_grpc_cpp( |
| 9415 | src/proto/grpc/testing/messages.proto |
| 9416 | ) |
| 9417 | protobuf_generate_grpc_cpp( |
| 9418 | src/proto/grpc/testing/payloads.proto |
| 9419 | ) |
| 9420 | protobuf_generate_grpc_cpp( |
| 9421 | src/proto/grpc/testing/services.proto |
| 9422 | ) |
| 9423 | protobuf_generate_grpc_cpp( |
| 9424 | src/proto/grpc/testing/stats.proto |
| 9425 | ) |
| 9426 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9427 | target_include_directories(codegen_test_full |
| 9428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9430 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9431 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9432 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9433 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9434 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9435 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9436 | PRIVATE third_party/googletest/googletest/include |
| 9437 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9438 | PRIVATE third_party/googletest/googlemock/include |
| 9439 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9440 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9441 | ) |
| 9442 | |
| 9443 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9444 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9446 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9447 | grpc++ |
| 9448 | grpc |
| 9449 | gpr |
| 9450 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9451 | ) |
| 9452 | |
| 9453 | endif (gRPC_BUILD_TESTS) |
| 9454 | if (gRPC_BUILD_TESTS) |
| 9455 | |
| 9456 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9457 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9458 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9459 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9460 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9461 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9462 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9463 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9464 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9465 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9466 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9467 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9468 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9469 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9470 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9471 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9472 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9475 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9476 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9477 | test/cpp/codegen/codegen_test_minimal.cc |
| 9478 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9479 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9480 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9481 | ) |
| 9482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9483 | protobuf_generate_grpc_cpp( |
| 9484 | src/proto/grpc/testing/control.proto |
| 9485 | ) |
| 9486 | protobuf_generate_grpc_cpp( |
| 9487 | src/proto/grpc/testing/messages.proto |
| 9488 | ) |
| 9489 | protobuf_generate_grpc_cpp( |
| 9490 | src/proto/grpc/testing/payloads.proto |
| 9491 | ) |
| 9492 | protobuf_generate_grpc_cpp( |
| 9493 | src/proto/grpc/testing/services.proto |
| 9494 | ) |
| 9495 | protobuf_generate_grpc_cpp( |
| 9496 | src/proto/grpc/testing/stats.proto |
| 9497 | ) |
| 9498 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9499 | target_include_directories(codegen_test_minimal |
| 9500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9502 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9503 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9504 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9505 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9506 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9507 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9508 | PRIVATE third_party/googletest/googletest/include |
| 9509 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9510 | PRIVATE third_party/googletest/googlemock/include |
| 9511 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9512 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9513 | ) |
| 9514 | |
| 9515 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9516 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9518 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9519 | grpc |
| 9520 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9521 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9522 | ) |
| 9523 | |
| 9524 | endif (gRPC_BUILD_TESTS) |
| 9525 | if (gRPC_BUILD_TESTS) |
| 9526 | |
| 9527 | add_executable(credentials_test |
| 9528 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9529 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9530 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9531 | ) |
| 9532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9534 | target_include_directories(credentials_test |
| 9535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9537 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9538 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9539 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9540 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9541 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9542 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9543 | PRIVATE third_party/googletest/googletest/include |
| 9544 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9545 | PRIVATE third_party/googletest/googlemock/include |
| 9546 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9547 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9548 | ) |
| 9549 | |
| 9550 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9551 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9553 | grpc++ |
| 9554 | grpc |
| 9555 | gpr |
| 9556 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9557 | ) |
| 9558 | |
| 9559 | endif (gRPC_BUILD_TESTS) |
| 9560 | if (gRPC_BUILD_TESTS) |
| 9561 | |
| 9562 | add_executable(cxx_byte_buffer_test |
| 9563 | test/cpp/util/byte_buffer_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(cxx_byte_buffer_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 | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9573 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9574 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9575 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9576 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9577 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9578 | PRIVATE third_party/googletest/googletest/include |
| 9579 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9580 | PRIVATE third_party/googletest/googlemock/include |
| 9581 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9582 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9583 | ) |
| 9584 | |
| 9585 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9586 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9588 | grpc_test_util |
| 9589 | grpc++ |
| 9590 | grpc |
| 9591 | gpr_test_util |
| 9592 | gpr |
| 9593 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9594 | ) |
| 9595 | |
| 9596 | endif (gRPC_BUILD_TESTS) |
| 9597 | if (gRPC_BUILD_TESTS) |
| 9598 | |
| 9599 | add_executable(cxx_slice_test |
| 9600 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9601 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9602 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9603 | ) |
| 9604 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9605 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9606 | target_include_directories(cxx_slice_test |
| 9607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9609 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9610 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9611 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9612 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9613 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9614 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9615 | PRIVATE third_party/googletest/googletest/include |
| 9616 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9617 | PRIVATE third_party/googletest/googlemock/include |
| 9618 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9619 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9620 | ) |
| 9621 | |
| 9622 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9623 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9625 | grpc_test_util |
| 9626 | grpc++ |
| 9627 | grpc |
| 9628 | gpr_test_util |
| 9629 | gpr |
| 9630 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9631 | ) |
| 9632 | |
| 9633 | endif (gRPC_BUILD_TESTS) |
| 9634 | if (gRPC_BUILD_TESTS) |
| 9635 | |
| 9636 | add_executable(cxx_string_ref_test |
| 9637 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9638 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9639 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9640 | ) |
| 9641 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9642 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9643 | target_include_directories(cxx_string_ref_test |
| 9644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9646 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9647 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9648 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9649 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9650 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9651 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9652 | PRIVATE third_party/googletest/googletest/include |
| 9653 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9654 | PRIVATE third_party/googletest/googlemock/include |
| 9655 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9656 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9657 | ) |
| 9658 | |
| 9659 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9660 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9661 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9662 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 9663 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9664 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9665 | ) |
| 9666 | |
| 9667 | endif (gRPC_BUILD_TESTS) |
| 9668 | if (gRPC_BUILD_TESTS) |
| 9669 | |
| 9670 | add_executable(cxx_time_test |
| 9671 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9672 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9673 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9674 | ) |
| 9675 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9676 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9677 | target_include_directories(cxx_time_test |
| 9678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9680 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9681 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9682 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9683 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9684 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9685 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9686 | PRIVATE third_party/googletest/googletest/include |
| 9687 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9688 | PRIVATE third_party/googletest/googlemock/include |
| 9689 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9690 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9691 | ) |
| 9692 | |
| 9693 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9694 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9695 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9696 | grpc_test_util |
| 9697 | grpc++ |
| 9698 | grpc |
| 9699 | gpr_test_util |
| 9700 | gpr |
| 9701 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9702 | ) |
| 9703 | |
| 9704 | endif (gRPC_BUILD_TESTS) |
| 9705 | if (gRPC_BUILD_TESTS) |
| 9706 | |
| 9707 | add_executable(end2end_test |
| 9708 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9709 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9710 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9711 | ) |
| 9712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9714 | target_include_directories(end2end_test |
| 9715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9718 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9719 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9720 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9721 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9722 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9723 | PRIVATE third_party/googletest/googletest/include |
| 9724 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9725 | PRIVATE third_party/googletest/googlemock/include |
| 9726 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9727 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9728 | ) |
| 9729 | |
| 9730 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9731 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9733 | grpc++_test_util |
| 9734 | grpc_test_util |
| 9735 | grpc++ |
| 9736 | grpc |
| 9737 | gpr_test_util |
| 9738 | gpr |
| 9739 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9740 | ) |
| 9741 | |
| 9742 | endif (gRPC_BUILD_TESTS) |
| 9743 | if (gRPC_BUILD_TESTS) |
| 9744 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9745 | add_executable(error_details_test |
| 9746 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 9747 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 9748 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 9749 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 9750 | test/cpp/util/error_details_test.cc |
| 9751 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9752 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9753 | ) |
| 9754 | |
| 9755 | protobuf_generate_grpc_cpp( |
| 9756 | src/proto/grpc/testing/echo_messages.proto |
| 9757 | ) |
| 9758 | |
| 9759 | target_include_directories(error_details_test |
| 9760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9762 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9763 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9764 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9765 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9766 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9767 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9768 | PRIVATE third_party/googletest/googletest/include |
| 9769 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9770 | PRIVATE third_party/googletest/googlemock/include |
| 9771 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9772 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9773 | ) |
| 9774 | |
| 9775 | target_link_libraries(error_details_test |
| 9776 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9777 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9778 | grpc++_error_details |
| 9779 | grpc++ |
| 9780 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9781 | ) |
| 9782 | |
| 9783 | endif (gRPC_BUILD_TESTS) |
| 9784 | if (gRPC_BUILD_TESTS) |
| 9785 | |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9786 | add_executable(exception_test |
| 9787 | test/cpp/end2end/exception_test.cc |
| 9788 | third_party/googletest/googletest/src/gtest-all.cc |
| 9789 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9790 | ) |
| 9791 | |
| 9792 | |
| 9793 | target_include_directories(exception_test |
| 9794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9796 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9797 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9798 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9799 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9800 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9801 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9802 | PRIVATE third_party/googletest/googletest/include |
| 9803 | PRIVATE third_party/googletest/googletest |
| 9804 | PRIVATE third_party/googletest/googlemock/include |
| 9805 | PRIVATE third_party/googletest/googlemock |
| 9806 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9807 | ) |
| 9808 | |
| 9809 | target_link_libraries(exception_test |
| 9810 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9811 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9812 | grpc++_test_util |
| 9813 | grpc_test_util |
| 9814 | grpc++ |
| 9815 | grpc |
| 9816 | gpr_test_util |
| 9817 | gpr |
| 9818 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9819 | ) |
| 9820 | |
| 9821 | endif (gRPC_BUILD_TESTS) |
| 9822 | if (gRPC_BUILD_TESTS) |
| 9823 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9824 | add_executable(filter_end2end_test |
| 9825 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9826 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9827 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9828 | ) |
| 9829 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9831 | target_include_directories(filter_end2end_test |
| 9832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9834 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9835 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9836 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9837 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9838 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9839 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9840 | PRIVATE third_party/googletest/googletest/include |
| 9841 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9842 | PRIVATE third_party/googletest/googlemock/include |
| 9843 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9844 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9845 | ) |
| 9846 | |
| 9847 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9848 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9849 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9850 | grpc++_test_util |
| 9851 | grpc_test_util |
| 9852 | grpc++ |
| 9853 | grpc |
| 9854 | gpr_test_util |
| 9855 | gpr |
| 9856 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9857 | ) |
| 9858 | |
| 9859 | endif (gRPC_BUILD_TESTS) |
| 9860 | if (gRPC_BUILD_TESTS) |
| 9861 | |
| 9862 | add_executable(generic_end2end_test |
| 9863 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9864 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9865 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9866 | ) |
| 9867 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9869 | target_include_directories(generic_end2end_test |
| 9870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9872 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9873 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9874 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9875 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9876 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9877 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9878 | PRIVATE third_party/googletest/googletest/include |
| 9879 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9880 | PRIVATE third_party/googletest/googlemock/include |
| 9881 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9882 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9883 | ) |
| 9884 | |
| 9885 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9886 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9887 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9888 | grpc++_test_util |
| 9889 | grpc_test_util |
| 9890 | grpc++ |
| 9891 | grpc |
| 9892 | gpr_test_util |
| 9893 | gpr |
| 9894 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9895 | ) |
| 9896 | |
| 9897 | endif (gRPC_BUILD_TESTS) |
| 9898 | if (gRPC_BUILD_TESTS) |
| 9899 | |
| 9900 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9901 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 9902 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 9903 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 9904 | ${_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] | 9905 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9906 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9907 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9908 | ) |
| 9909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9910 | protobuf_generate_grpc_cpp( |
| 9911 | src/proto/grpc/testing/compiler_test.proto |
| 9912 | ) |
| 9913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9914 | target_include_directories(golden_file_test |
| 9915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9918 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9919 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9920 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9921 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9922 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9923 | PRIVATE third_party/googletest/googletest/include |
| 9924 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9925 | PRIVATE third_party/googletest/googlemock/include |
| 9926 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9927 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9928 | ) |
| 9929 | |
| 9930 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9931 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9933 | grpc++ |
| 9934 | grpc |
| 9935 | gpr |
| 9936 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9937 | ) |
| 9938 | |
| 9939 | endif (gRPC_BUILD_TESTS) |
| 9940 | if (gRPC_BUILD_TESTS) |
| 9941 | |
| 9942 | add_executable(grpc_cli |
| 9943 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9944 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9945 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9946 | ) |
| 9947 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9948 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9949 | target_include_directories(grpc_cli |
| 9950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9952 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9953 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9954 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9955 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9956 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9957 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9958 | PRIVATE third_party/googletest/googletest/include |
| 9959 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9960 | PRIVATE third_party/googletest/googlemock/include |
| 9961 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9962 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9963 | ) |
| 9964 | |
| 9965 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9966 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9968 | grpc_cli_libs |
| 9969 | grpc++_proto_reflection_desc_db |
| 9970 | grpc++ |
| 9971 | grpc |
| 9972 | gpr |
| 9973 | grpc++_test_config |
| 9974 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9975 | ) |
| 9976 | |
| 9977 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 9978 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9979 | add_executable(grpc_cpp_plugin |
| 9980 | src/compiler/cpp_plugin.cc |
| 9981 | ) |
| 9982 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9983 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9984 | target_include_directories(grpc_cpp_plugin |
| 9985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9987 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9988 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9989 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9990 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9991 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9992 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9993 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9994 | ) |
| 9995 | |
| 9996 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 9997 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9998 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9999 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10000 | grpc_plugin_support |
| 10001 | ) |
| 10002 | |
| 10003 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10004 | if (gRPC_INSTALL) |
| 10005 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10006 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10007 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10008 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10009 | ) |
| 10010 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10011 | |
| 10012 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10013 | add_executable(grpc_csharp_plugin |
| 10014 | src/compiler/csharp_plugin.cc |
| 10015 | ) |
| 10016 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10017 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10018 | target_include_directories(grpc_csharp_plugin |
| 10019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10020 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10021 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10022 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10023 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10024 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10025 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10026 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10027 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10028 | ) |
| 10029 | |
| 10030 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10031 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10032 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10034 | grpc_plugin_support |
| 10035 | ) |
| 10036 | |
| 10037 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10038 | if (gRPC_INSTALL) |
| 10039 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10040 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10041 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10042 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10043 | ) |
| 10044 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10045 | |
| 10046 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10047 | add_executable(grpc_node_plugin |
| 10048 | src/compiler/node_plugin.cc |
| 10049 | ) |
| 10050 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10051 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10052 | target_include_directories(grpc_node_plugin |
| 10053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10055 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10056 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10057 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10058 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10059 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10060 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10061 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10062 | ) |
| 10063 | |
| 10064 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10065 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10066 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10067 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10068 | grpc_plugin_support |
| 10069 | ) |
| 10070 | |
| 10071 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10072 | if (gRPC_INSTALL) |
| 10073 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10074 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10075 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10076 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10077 | ) |
| 10078 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10079 | |
| 10080 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10081 | add_executable(grpc_objective_c_plugin |
| 10082 | src/compiler/objective_c_plugin.cc |
| 10083 | ) |
| 10084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10085 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10086 | target_include_directories(grpc_objective_c_plugin |
| 10087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10089 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10090 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10091 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10092 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10093 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10094 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10095 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10096 | ) |
| 10097 | |
| 10098 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10099 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10100 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10101 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10102 | grpc_plugin_support |
| 10103 | ) |
| 10104 | |
| 10105 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10106 | if (gRPC_INSTALL) |
| 10107 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10108 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10109 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10110 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10111 | ) |
| 10112 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10113 | |
| 10114 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10115 | add_executable(grpc_php_plugin |
| 10116 | src/compiler/php_plugin.cc |
| 10117 | ) |
| 10118 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10119 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10120 | target_include_directories(grpc_php_plugin |
| 10121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10123 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10124 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10125 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10126 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10127 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10128 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10129 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10130 | ) |
| 10131 | |
| 10132 | target_link_libraries(grpc_php_plugin |
| 10133 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10134 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10136 | grpc_plugin_support |
| 10137 | ) |
| 10138 | |
| 10139 | |
| 10140 | if (gRPC_INSTALL) |
| 10141 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10142 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10143 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10144 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10145 | ) |
| 10146 | endif() |
| 10147 | |
| 10148 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10149 | add_executable(grpc_python_plugin |
| 10150 | src/compiler/python_plugin.cc |
| 10151 | ) |
| 10152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10153 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10154 | target_include_directories(grpc_python_plugin |
| 10155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10157 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10158 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10159 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10160 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10161 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10162 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10163 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10164 | ) |
| 10165 | |
| 10166 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10167 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10168 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10170 | grpc_plugin_support |
| 10171 | ) |
| 10172 | |
| 10173 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10174 | if (gRPC_INSTALL) |
| 10175 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10176 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10177 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10178 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10179 | ) |
| 10180 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10181 | |
| 10182 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10183 | add_executable(grpc_ruby_plugin |
| 10184 | src/compiler/ruby_plugin.cc |
| 10185 | ) |
| 10186 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10187 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10188 | target_include_directories(grpc_ruby_plugin |
| 10189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10197 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10198 | ) |
| 10199 | |
| 10200 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10201 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10204 | grpc_plugin_support |
| 10205 | ) |
| 10206 | |
| 10207 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10208 | if (gRPC_INSTALL) |
| 10209 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10210 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10211 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10212 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10213 | ) |
| 10214 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10215 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10216 | if (gRPC_BUILD_TESTS) |
| 10217 | |
| 10218 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10220 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10226 | ${_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] | 10227 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10228 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10229 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10230 | ) |
| 10231 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10232 | protobuf_generate_grpc_cpp( |
| 10233 | src/proto/grpc/testing/echo.proto |
| 10234 | ) |
| 10235 | protobuf_generate_grpc_cpp( |
| 10236 | src/proto/grpc/testing/echo_messages.proto |
| 10237 | ) |
| 10238 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10239 | target_include_directories(grpc_tool_test |
| 10240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10242 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10243 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10244 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10245 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10246 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10247 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10248 | PRIVATE third_party/googletest/googletest/include |
| 10249 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10250 | PRIVATE third_party/googletest/googlemock/include |
| 10251 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10252 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10253 | ) |
| 10254 | |
| 10255 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10256 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10258 | grpc_cli_libs |
| 10259 | grpc++_proto_reflection_desc_db |
| 10260 | grpc++_reflection |
| 10261 | grpc++_test_util |
| 10262 | grpc_test_util |
| 10263 | grpc++ |
| 10264 | grpc |
| 10265 | gpr_test_util |
| 10266 | gpr |
| 10267 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10268 | ) |
| 10269 | |
| 10270 | endif (gRPC_BUILD_TESTS) |
| 10271 | if (gRPC_BUILD_TESTS) |
| 10272 | |
| 10273 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10274 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10275 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10276 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10277 | ${_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] | 10278 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10279 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10280 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10281 | ) |
| 10282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10283 | protobuf_generate_grpc_cpp( |
| 10284 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10285 | ) |
| 10286 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10287 | target_include_directories(grpclb_api_test |
| 10288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10290 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10291 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10292 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10293 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10294 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10295 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
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(grpclb_api_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++_test_util |
| 10307 | grpc_test_util |
| 10308 | grpc++ |
| 10309 | grpc |
| 10310 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10311 | ) |
| 10312 | |
| 10313 | endif (gRPC_BUILD_TESTS) |
| 10314 | if (gRPC_BUILD_TESTS) |
| 10315 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10316 | add_executable(grpclb_end2end_test |
| 10317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10321 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10322 | third_party/googletest/googletest/src/gtest-all.cc |
| 10323 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10324 | ) |
| 10325 | |
| 10326 | protobuf_generate_grpc_cpp( |
| 10327 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10328 | ) |
| 10329 | |
| 10330 | target_include_directories(grpclb_end2end_test |
| 10331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10333 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10334 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10335 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10336 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10337 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10338 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10339 | PRIVATE third_party/googletest/googletest/include |
| 10340 | PRIVATE third_party/googletest/googletest |
| 10341 | PRIVATE third_party/googletest/googlemock/include |
| 10342 | PRIVATE third_party/googletest/googlemock |
| 10343 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10344 | ) |
| 10345 | |
| 10346 | target_link_libraries(grpclb_end2end_test |
| 10347 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10349 | grpc++_test_util |
| 10350 | grpc_test_util |
| 10351 | grpc++ |
| 10352 | grpc |
| 10353 | gpr_test_util |
| 10354 | gpr |
| 10355 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10356 | ) |
| 10357 | |
| 10358 | endif (gRPC_BUILD_TESTS) |
| 10359 | if (gRPC_BUILD_TESTS) |
| 10360 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10361 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10362 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10363 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10364 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10365 | ${_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] | 10366 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10367 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10368 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10369 | ) |
| 10370 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10371 | protobuf_generate_grpc_cpp( |
| 10372 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10373 | ) |
| 10374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10375 | target_include_directories(grpclb_test |
| 10376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10378 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10379 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10380 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10381 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10382 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10383 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10384 | PRIVATE third_party/googletest/googletest/include |
| 10385 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10386 | PRIVATE third_party/googletest/googlemock/include |
| 10387 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10388 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10389 | ) |
| 10390 | |
| 10391 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10392 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10394 | grpc++_test_util |
| 10395 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10396 | grpc++ |
| 10397 | grpc |
| 10398 | gpr_test_util |
| 10399 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10400 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10401 | ) |
| 10402 | |
| 10403 | endif (gRPC_BUILD_TESTS) |
| 10404 | if (gRPC_BUILD_TESTS) |
| 10405 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10406 | add_executable(h2_ssl_cert_test |
| 10407 | test/core/end2end/h2_ssl_cert_test.cc |
| 10408 | third_party/googletest/googletest/src/gtest-all.cc |
| 10409 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10410 | ) |
| 10411 | |
| 10412 | |
| 10413 | target_include_directories(h2_ssl_cert_test |
| 10414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10416 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10417 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10418 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10419 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10420 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10421 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10422 | PRIVATE third_party/googletest/googletest/include |
| 10423 | PRIVATE third_party/googletest/googletest |
| 10424 | PRIVATE third_party/googletest/googlemock/include |
| 10425 | PRIVATE third_party/googletest/googlemock |
| 10426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10427 | ) |
| 10428 | |
| 10429 | target_link_libraries(h2_ssl_cert_test |
| 10430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10432 | grpc_test_util |
| 10433 | grpc++ |
| 10434 | grpc |
| 10435 | gpr_test_util |
| 10436 | gpr |
| 10437 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10438 | ) |
| 10439 | |
| 10440 | endif (gRPC_BUILD_TESTS) |
| 10441 | if (gRPC_BUILD_TESTS) |
| 10442 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10443 | add_executable(health_service_end2end_test |
| 10444 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10445 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10446 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10447 | ) |
| 10448 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10449 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10450 | target_include_directories(health_service_end2end_test |
| 10451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10453 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10454 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10455 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10456 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10457 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10458 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10459 | PRIVATE third_party/googletest/googletest/include |
| 10460 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10461 | PRIVATE third_party/googletest/googlemock/include |
| 10462 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10463 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10464 | ) |
| 10465 | |
| 10466 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10467 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10469 | grpc++_test_util |
| 10470 | grpc_test_util |
| 10471 | grpc++ |
| 10472 | grpc |
| 10473 | gpr_test_util |
| 10474 | gpr |
| 10475 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10476 | ) |
| 10477 | |
| 10478 | endif (gRPC_BUILD_TESTS) |
| 10479 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10480 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10481 | |
| 10482 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10483 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10484 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10485 | ) |
| 10486 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10487 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10488 | target_include_directories(http2_client |
| 10489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10491 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10492 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10493 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10494 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10495 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10496 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10497 | PRIVATE third_party/googletest/googletest/include |
| 10498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10499 | PRIVATE third_party/googletest/googlemock/include |
| 10500 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10502 | ) |
| 10503 | |
| 10504 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10507 | http2_client_main |
| 10508 | grpc++_test_util |
| 10509 | grpc_test_util |
| 10510 | grpc++ |
| 10511 | grpc |
| 10512 | grpc++_test_config |
| 10513 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10514 | ) |
| 10515 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10516 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10517 | endif (gRPC_BUILD_TESTS) |
| 10518 | if (gRPC_BUILD_TESTS) |
| 10519 | |
| 10520 | add_executable(hybrid_end2end_test |
| 10521 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10522 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10523 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10524 | ) |
| 10525 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10526 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10527 | target_include_directories(hybrid_end2end_test |
| 10528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10530 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10531 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10532 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10533 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10534 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10535 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10536 | PRIVATE third_party/googletest/googletest/include |
| 10537 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10538 | PRIVATE third_party/googletest/googlemock/include |
| 10539 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10540 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10541 | ) |
| 10542 | |
| 10543 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10544 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10545 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10546 | grpc++_test_util |
| 10547 | grpc_test_util |
| 10548 | grpc++ |
| 10549 | grpc |
| 10550 | gpr_test_util |
| 10551 | gpr |
| 10552 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10553 | ) |
| 10554 | |
| 10555 | endif (gRPC_BUILD_TESTS) |
| 10556 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10557 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10558 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10559 | add_executable(inproc_sync_unary_ping_pong_test |
| 10560 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 10561 | third_party/googletest/googletest/src/gtest-all.cc |
| 10562 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10563 | ) |
| 10564 | |
| 10565 | |
| 10566 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 10567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10569 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10570 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10571 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10572 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10573 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10574 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10575 | PRIVATE third_party/googletest/googletest/include |
| 10576 | PRIVATE third_party/googletest/googletest |
| 10577 | PRIVATE third_party/googletest/googlemock/include |
| 10578 | PRIVATE third_party/googletest/googlemock |
| 10579 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10580 | ) |
| 10581 | |
| 10582 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 10583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10585 | qps |
| 10586 | grpc++_core_stats |
| 10587 | grpc++_test_util |
| 10588 | grpc_test_util |
| 10589 | grpc++ |
| 10590 | grpc |
| 10591 | gpr_test_util |
| 10592 | gpr |
| 10593 | grpc++_test_config |
| 10594 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10595 | ) |
| 10596 | |
| 10597 | endif() |
| 10598 | endif (gRPC_BUILD_TESTS) |
| 10599 | if (gRPC_BUILD_TESTS) |
| 10600 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10602 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10603 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10604 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10605 | ) |
| 10606 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10607 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10608 | target_include_directories(interop_client |
| 10609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10611 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10612 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10613 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10614 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10615 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10616 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10617 | PRIVATE third_party/googletest/googletest/include |
| 10618 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10619 | PRIVATE third_party/googletest/googlemock/include |
| 10620 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10621 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10622 | ) |
| 10623 | |
| 10624 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10625 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10626 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10627 | interop_client_main |
| 10628 | interop_client_helper |
| 10629 | grpc++_test_util |
| 10630 | grpc_test_util |
| 10631 | grpc++ |
| 10632 | grpc |
| 10633 | gpr_test_util |
| 10634 | gpr |
| 10635 | grpc++_test_config |
| 10636 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10637 | ) |
| 10638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10639 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10640 | endif (gRPC_BUILD_TESTS) |
| 10641 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10642 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10643 | |
| 10644 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10645 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10646 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10647 | ) |
| 10648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10650 | target_include_directories(interop_server |
| 10651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10653 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10654 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10655 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10656 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10657 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10658 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10659 | PRIVATE third_party/googletest/googletest/include |
| 10660 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10661 | PRIVATE third_party/googletest/googlemock/include |
| 10662 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10663 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10664 | ) |
| 10665 | |
| 10666 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10667 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10668 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10669 | interop_server_main |
| 10670 | interop_server_helper |
| 10671 | interop_server_lib |
| 10672 | grpc++_test_util |
| 10673 | grpc_test_util |
| 10674 | grpc++ |
| 10675 | grpc |
| 10676 | gpr_test_util |
| 10677 | gpr |
| 10678 | grpc++_test_config |
| 10679 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10680 | ) |
| 10681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10682 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10683 | endif (gRPC_BUILD_TESTS) |
| 10684 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10685 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10686 | |
| 10687 | add_executable(interop_test |
| 10688 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10689 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10690 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | ) |
| 10692 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10693 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10694 | target_include_directories(interop_test |
| 10695 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10697 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10698 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10699 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10700 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10701 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10702 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10703 | PRIVATE third_party/googletest/googletest/include |
| 10704 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10705 | PRIVATE third_party/googletest/googlemock/include |
| 10706 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10707 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10708 | ) |
| 10709 | |
| 10710 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10711 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10713 | grpc_test_util |
| 10714 | grpc |
| 10715 | gpr_test_util |
| 10716 | gpr |
| 10717 | grpc++_test_config |
| 10718 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10719 | ) |
| 10720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10721 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10722 | endif (gRPC_BUILD_TESTS) |
| 10723 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10724 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10725 | |
| 10726 | add_executable(json_run_localhost |
| 10727 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10728 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10729 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10730 | ) |
| 10731 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10732 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10733 | target_include_directories(json_run_localhost |
| 10734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10736 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10737 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10738 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10739 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10740 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10741 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10742 | PRIVATE third_party/googletest/googletest/include |
| 10743 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10744 | PRIVATE third_party/googletest/googlemock/include |
| 10745 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10746 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10747 | ) |
| 10748 | |
| 10749 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10750 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10751 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10752 | grpc++_test_util |
| 10753 | grpc_test_util |
| 10754 | grpc++ |
| 10755 | grpc |
| 10756 | gpr_test_util |
| 10757 | gpr |
| 10758 | grpc++_test_config |
| 10759 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10760 | ) |
| 10761 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10762 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10763 | endif (gRPC_BUILD_TESTS) |
| 10764 | if (gRPC_BUILD_TESTS) |
| 10765 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10766 | add_executable(memory_test |
| 10767 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10768 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10769 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10770 | ) |
| 10771 | |
| 10772 | |
| 10773 | target_include_directories(memory_test |
| 10774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10776 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10777 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10778 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10779 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10780 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10781 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10782 | PRIVATE third_party/googletest/googletest/include |
| 10783 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10784 | PRIVATE third_party/googletest/googlemock/include |
| 10785 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10786 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10787 | ) |
| 10788 | |
| 10789 | target_link_libraries(memory_test |
| 10790 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10792 | grpc_test_util |
| 10793 | grpc++ |
| 10794 | grpc |
| 10795 | gpr_test_util |
| 10796 | gpr |
| 10797 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10798 | ) |
| 10799 | |
| 10800 | endif (gRPC_BUILD_TESTS) |
| 10801 | if (gRPC_BUILD_TESTS) |
| 10802 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10803 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10804 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 10805 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 10806 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 10807 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10808 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10809 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10810 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10811 | ) |
| 10812 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10813 | protobuf_generate_grpc_cpp( |
| 10814 | src/proto/grpc/testing/metrics.proto |
| 10815 | ) |
| 10816 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10817 | target_include_directories(metrics_client |
| 10818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10820 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10821 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10822 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10823 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10824 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10825 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10826 | PRIVATE third_party/googletest/googletest/include |
| 10827 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10828 | PRIVATE third_party/googletest/googlemock/include |
| 10829 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10830 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10831 | ) |
| 10832 | |
| 10833 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10834 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10835 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10836 | grpc++ |
| 10837 | grpc |
| 10838 | gpr |
| 10839 | grpc++_test_config |
| 10840 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10841 | ) |
| 10842 | |
| 10843 | endif (gRPC_BUILD_TESTS) |
| 10844 | if (gRPC_BUILD_TESTS) |
| 10845 | |
| 10846 | add_executable(mock_test |
| 10847 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10848 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10849 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10850 | ) |
| 10851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10853 | target_include_directories(mock_test |
| 10854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10862 | PRIVATE third_party/googletest/googletest/include |
| 10863 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10864 | PRIVATE third_party/googletest/googlemock/include |
| 10865 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10866 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10867 | ) |
| 10868 | |
| 10869 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10870 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10871 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10872 | grpc++_test_util |
| 10873 | grpc_test_util |
| 10874 | grpc++ |
| 10875 | grpc |
| 10876 | gpr_test_util |
| 10877 | gpr |
| 10878 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10879 | ) |
| 10880 | |
| 10881 | endif (gRPC_BUILD_TESTS) |
| 10882 | if (gRPC_BUILD_TESTS) |
| 10883 | |
| 10884 | add_executable(noop-benchmark |
| 10885 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10886 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10887 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10888 | ) |
| 10889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10890 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10891 | target_include_directories(noop-benchmark |
| 10892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10894 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10895 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10896 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10897 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10898 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10899 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
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(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10908 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10910 | ${_gRPC_BENCHMARK_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10911 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10912 | ) |
| 10913 | |
| 10914 | endif (gRPC_BUILD_TESTS) |
| 10915 | if (gRPC_BUILD_TESTS) |
| 10916 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10917 | add_executable(orphanable_test |
| 10918 | test/core/support/orphanable_test.cc |
| 10919 | third_party/googletest/googletest/src/gtest-all.cc |
| 10920 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10921 | ) |
| 10922 | |
| 10923 | |
| 10924 | target_include_directories(orphanable_test |
| 10925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10927 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10928 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10929 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10930 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10932 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10935 | PRIVATE third_party/googletest/googletest/include |
| 10936 | PRIVATE third_party/googletest/googletest |
| 10937 | PRIVATE third_party/googletest/googlemock/include |
| 10938 | PRIVATE third_party/googletest/googlemock |
| 10939 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10940 | ) |
| 10941 | |
| 10942 | target_link_libraries(orphanable_test |
| 10943 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10945 | grpc_test_util |
| 10946 | grpc++ |
| 10947 | grpc |
| 10948 | gpr_test_util |
| 10949 | gpr |
| 10950 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10951 | ) |
| 10952 | |
| 10953 | endif (gRPC_BUILD_TESTS) |
| 10954 | if (gRPC_BUILD_TESTS) |
| 10955 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10956 | add_executable(proto_server_reflection_test |
| 10957 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10958 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10959 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10960 | ) |
| 10961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10963 | target_include_directories(proto_server_reflection_test |
| 10964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10966 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10967 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10968 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10969 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10970 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10971 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10972 | PRIVATE third_party/googletest/googletest/include |
| 10973 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10974 | PRIVATE third_party/googletest/googlemock/include |
| 10975 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10976 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10977 | ) |
| 10978 | |
| 10979 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10980 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10981 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10982 | grpc++_proto_reflection_desc_db |
| 10983 | grpc++_reflection |
| 10984 | grpc++_test_util |
| 10985 | grpc_test_util |
| 10986 | grpc++ |
| 10987 | grpc |
| 10988 | gpr_test_util |
| 10989 | gpr |
| 10990 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10991 | ) |
| 10992 | |
| 10993 | endif (gRPC_BUILD_TESTS) |
| 10994 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 10995 | |
| 10996 | add_executable(proto_utils_test |
| 10997 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10998 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10999 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11000 | ) |
| 11001 | |
| 11002 | |
| 11003 | target_include_directories(proto_utils_test |
| 11004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11006 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11007 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11008 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11009 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11010 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11011 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11012 | PRIVATE third_party/googletest/googletest/include |
| 11013 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11014 | PRIVATE third_party/googletest/googlemock/include |
| 11015 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11017 | ) |
| 11018 | |
| 11019 | target_link_libraries(proto_utils_test |
| 11020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11022 | grpc++ |
| 11023 | grpc |
| 11024 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11025 | ) |
| 11026 | |
| 11027 | endif (gRPC_BUILD_TESTS) |
| 11028 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11029 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11030 | |
| 11031 | add_executable(qps_interarrival_test |
| 11032 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11033 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11034 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11035 | ) |
| 11036 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11037 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11038 | target_include_directories(qps_interarrival_test |
| 11039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11041 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11042 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11043 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11044 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11045 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11046 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11047 | PRIVATE third_party/googletest/googletest/include |
| 11048 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11049 | PRIVATE third_party/googletest/googlemock/include |
| 11050 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11051 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11052 | ) |
| 11053 | |
| 11054 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11055 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11056 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11057 | qps |
| 11058 | grpc++_test_util |
| 11059 | grpc_test_util |
| 11060 | grpc++ |
| 11061 | grpc |
| 11062 | gpr_test_util |
| 11063 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11064 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11065 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11066 | ) |
| 11067 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11068 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11069 | endif (gRPC_BUILD_TESTS) |
| 11070 | if (gRPC_BUILD_TESTS) |
| 11071 | |
| 11072 | add_executable(qps_json_driver |
| 11073 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11074 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11075 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11076 | ) |
| 11077 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11078 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11079 | target_include_directories(qps_json_driver |
| 11080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11082 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11083 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11084 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11085 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11086 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11087 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11088 | PRIVATE third_party/googletest/googletest/include |
| 11089 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11090 | PRIVATE third_party/googletest/googlemock/include |
| 11091 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11092 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11093 | ) |
| 11094 | |
| 11095 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11096 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11097 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11098 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11099 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11100 | grpc++_test_util |
| 11101 | grpc_test_util |
| 11102 | grpc++ |
| 11103 | grpc |
| 11104 | gpr_test_util |
| 11105 | gpr |
| 11106 | grpc++_test_config |
| 11107 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11108 | ) |
| 11109 | |
| 11110 | endif (gRPC_BUILD_TESTS) |
| 11111 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11112 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11113 | |
| 11114 | add_executable(qps_openloop_test |
| 11115 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11116 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11117 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11118 | ) |
| 11119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11120 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11121 | target_include_directories(qps_openloop_test |
| 11122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11124 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11125 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11126 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11127 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11128 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11129 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11130 | PRIVATE third_party/googletest/googletest/include |
| 11131 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11132 | PRIVATE third_party/googletest/googlemock/include |
| 11133 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11134 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11135 | ) |
| 11136 | |
| 11137 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11138 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11140 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11141 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11142 | grpc++_test_util |
| 11143 | grpc_test_util |
| 11144 | grpc++ |
| 11145 | grpc |
| 11146 | gpr_test_util |
| 11147 | gpr |
| 11148 | grpc++_test_config |
| 11149 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11150 | ) |
| 11151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11152 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11153 | endif (gRPC_BUILD_TESTS) |
| 11154 | if (gRPC_BUILD_TESTS) |
| 11155 | |
| 11156 | add_executable(qps_worker |
| 11157 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11158 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11159 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11160 | ) |
| 11161 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11162 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11163 | target_include_directories(qps_worker |
| 11164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11166 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11167 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11168 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11169 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11170 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11171 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11172 | PRIVATE third_party/googletest/googletest/include |
| 11173 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11174 | PRIVATE third_party/googletest/googlemock/include |
| 11175 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11176 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11177 | ) |
| 11178 | |
| 11179 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11180 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11181 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11182 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11183 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11184 | grpc++_test_util |
| 11185 | grpc_test_util |
| 11186 | grpc++ |
| 11187 | grpc |
| 11188 | gpr_test_util |
| 11189 | gpr |
| 11190 | grpc++_test_config |
| 11191 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11192 | ) |
| 11193 | |
| 11194 | endif (gRPC_BUILD_TESTS) |
| 11195 | if (gRPC_BUILD_TESTS) |
| 11196 | |
| 11197 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11198 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11199 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11200 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11201 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11202 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11203 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11204 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11205 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11206 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11207 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11210 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11211 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11212 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11213 | ) |
| 11214 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | protobuf_generate_grpc_cpp( |
| 11216 | src/proto/grpc/testing/empty.proto |
| 11217 | ) |
| 11218 | protobuf_generate_grpc_cpp( |
| 11219 | src/proto/grpc/testing/messages.proto |
| 11220 | ) |
| 11221 | protobuf_generate_grpc_cpp( |
| 11222 | src/proto/grpc/testing/test.proto |
| 11223 | ) |
| 11224 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11225 | target_include_directories(reconnect_interop_client |
| 11226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11228 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11229 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11230 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11231 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11232 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11233 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11234 | PRIVATE third_party/googletest/googletest/include |
| 11235 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11236 | PRIVATE third_party/googletest/googlemock/include |
| 11237 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11238 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11239 | ) |
| 11240 | |
| 11241 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11242 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11244 | grpc++_test_util |
| 11245 | grpc_test_util |
| 11246 | grpc++ |
| 11247 | grpc |
| 11248 | gpr_test_util |
| 11249 | gpr |
| 11250 | grpc++_test_config |
| 11251 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11252 | ) |
| 11253 | |
| 11254 | endif (gRPC_BUILD_TESTS) |
| 11255 | if (gRPC_BUILD_TESTS) |
| 11256 | |
| 11257 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11258 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11259 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11260 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11261 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11262 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11263 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11270 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11271 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11272 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11273 | ) |
| 11274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11275 | protobuf_generate_grpc_cpp( |
| 11276 | src/proto/grpc/testing/empty.proto |
| 11277 | ) |
| 11278 | protobuf_generate_grpc_cpp( |
| 11279 | src/proto/grpc/testing/messages.proto |
| 11280 | ) |
| 11281 | protobuf_generate_grpc_cpp( |
| 11282 | src/proto/grpc/testing/test.proto |
| 11283 | ) |
| 11284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11285 | target_include_directories(reconnect_interop_server |
| 11286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11288 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11289 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11290 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11291 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11292 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11293 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11294 | PRIVATE third_party/googletest/googletest/include |
| 11295 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11296 | PRIVATE third_party/googletest/googlemock/include |
| 11297 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11298 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11299 | ) |
| 11300 | |
| 11301 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11302 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11304 | reconnect_server |
| 11305 | test_tcp_server |
| 11306 | grpc++_test_util |
| 11307 | grpc_test_util |
| 11308 | grpc++ |
| 11309 | grpc |
| 11310 | gpr_test_util |
| 11311 | gpr |
| 11312 | grpc++_test_config |
| 11313 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11314 | ) |
| 11315 | |
| 11316 | endif (gRPC_BUILD_TESTS) |
| 11317 | if (gRPC_BUILD_TESTS) |
| 11318 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11319 | add_executable(ref_counted_ptr_test |
| 11320 | test/core/support/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11321 | third_party/googletest/googletest/src/gtest-all.cc |
| 11322 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11323 | ) |
| 11324 | |
| 11325 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11326 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11329 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11330 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11331 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11332 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11333 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11334 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11335 | PRIVATE third_party/googletest/googletest/include |
| 11336 | PRIVATE third_party/googletest/googletest |
| 11337 | PRIVATE third_party/googletest/googlemock/include |
| 11338 | PRIVATE third_party/googletest/googlemock |
| 11339 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11340 | ) |
| 11341 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11342 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11343 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11344 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11345 | grpc_test_util |
| 11346 | grpc++ |
| 11347 | grpc |
| 11348 | gpr_test_util |
| 11349 | gpr |
| 11350 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11351 | ) |
| 11352 | |
| 11353 | endif (gRPC_BUILD_TESTS) |
| 11354 | if (gRPC_BUILD_TESTS) |
| 11355 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11356 | add_executable(ref_counted_test |
| 11357 | test/core/support/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11358 | third_party/googletest/googletest/src/gtest-all.cc |
| 11359 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11360 | ) |
| 11361 | |
| 11362 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11363 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11365 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11366 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11367 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11368 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11369 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11370 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11371 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11372 | PRIVATE third_party/googletest/googletest/include |
| 11373 | PRIVATE third_party/googletest/googletest |
| 11374 | PRIVATE third_party/googletest/googlemock/include |
| 11375 | PRIVATE third_party/googletest/googlemock |
| 11376 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11377 | ) |
| 11378 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11379 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11380 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11381 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11382 | grpc_test_util |
| 11383 | grpc++ |
| 11384 | grpc |
| 11385 | gpr_test_util |
| 11386 | gpr |
| 11387 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11388 | ) |
| 11389 | |
| 11390 | endif (gRPC_BUILD_TESTS) |
| 11391 | if (gRPC_BUILD_TESTS) |
| 11392 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11393 | add_executable(secure_auth_context_test |
| 11394 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11395 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11396 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11397 | ) |
| 11398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11400 | target_include_directories(secure_auth_context_test |
| 11401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11403 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11404 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11405 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11406 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11407 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11408 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11409 | PRIVATE third_party/googletest/googletest/include |
| 11410 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11411 | PRIVATE third_party/googletest/googlemock/include |
| 11412 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11413 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11414 | ) |
| 11415 | |
| 11416 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11417 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11419 | grpc++_test_util |
| 11420 | grpc_test_util |
| 11421 | grpc++ |
| 11422 | grpc |
| 11423 | gpr_test_util |
| 11424 | gpr |
| 11425 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11426 | ) |
| 11427 | |
| 11428 | endif (gRPC_BUILD_TESTS) |
| 11429 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11430 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11431 | |
| 11432 | add_executable(secure_sync_unary_ping_pong_test |
| 11433 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11434 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11435 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11436 | ) |
| 11437 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11438 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11439 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11442 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11443 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11444 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11445 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11446 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11447 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11448 | PRIVATE third_party/googletest/googletest/include |
| 11449 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11450 | PRIVATE third_party/googletest/googlemock/include |
| 11451 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11452 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11453 | ) |
| 11454 | |
| 11455 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11456 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11458 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11459 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11460 | grpc++_test_util |
| 11461 | grpc_test_util |
| 11462 | grpc++ |
| 11463 | grpc |
| 11464 | gpr_test_util |
| 11465 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11466 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11467 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11468 | ) |
| 11469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11470 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11471 | endif (gRPC_BUILD_TESTS) |
| 11472 | if (gRPC_BUILD_TESTS) |
| 11473 | |
| 11474 | add_executable(server_builder_plugin_test |
| 11475 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11476 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11477 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11478 | ) |
| 11479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11481 | target_include_directories(server_builder_plugin_test |
| 11482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11485 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11486 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11487 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11488 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11489 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11490 | PRIVATE third_party/googletest/googletest/include |
| 11491 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11492 | PRIVATE third_party/googletest/googlemock/include |
| 11493 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11494 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11495 | ) |
| 11496 | |
| 11497 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11498 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11499 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11500 | grpc++_test_util |
| 11501 | grpc_test_util |
| 11502 | grpc++ |
| 11503 | grpc |
| 11504 | gpr_test_util |
| 11505 | gpr |
| 11506 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11507 | ) |
| 11508 | |
| 11509 | endif (gRPC_BUILD_TESTS) |
| 11510 | if (gRPC_BUILD_TESTS) |
| 11511 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11512 | add_executable(server_builder_test |
| 11513 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11514 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11515 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11516 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11517 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11518 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11521 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11522 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11523 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11524 | ) |
| 11525 | |
| 11526 | protobuf_generate_grpc_cpp( |
| 11527 | src/proto/grpc/testing/echo_messages.proto |
| 11528 | ) |
| 11529 | protobuf_generate_grpc_cpp( |
| 11530 | src/proto/grpc/testing/echo.proto |
| 11531 | ) |
| 11532 | |
| 11533 | target_include_directories(server_builder_test |
| 11534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11536 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11537 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11538 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11539 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11540 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11541 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11542 | PRIVATE third_party/googletest/googletest/include |
| 11543 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11544 | PRIVATE third_party/googletest/googlemock/include |
| 11545 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11546 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11547 | ) |
| 11548 | |
| 11549 | target_link_libraries(server_builder_test |
| 11550 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11552 | grpc++_test_util_unsecure |
| 11553 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11554 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11555 | grpc++_unsecure |
| 11556 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11557 | gpr |
| 11558 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11559 | ) |
| 11560 | |
| 11561 | endif (gRPC_BUILD_TESTS) |
| 11562 | if (gRPC_BUILD_TESTS) |
| 11563 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11564 | add_executable(server_context_test_spouse_test |
| 11565 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11566 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11567 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11568 | ) |
| 11569 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11570 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11571 | target_include_directories(server_context_test_spouse_test |
| 11572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11574 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11575 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11576 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11577 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11578 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11579 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11580 | PRIVATE third_party/googletest/googletest/include |
| 11581 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11582 | PRIVATE third_party/googletest/googlemock/include |
| 11583 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11584 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11585 | ) |
| 11586 | |
| 11587 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11588 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11590 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11591 | grpc++ |
| 11592 | grpc |
| 11593 | gpr_test_util |
| 11594 | gpr |
| 11595 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11596 | ) |
| 11597 | |
| 11598 | endif (gRPC_BUILD_TESTS) |
| 11599 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11600 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11601 | |
| 11602 | add_executable(server_crash_test |
| 11603 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11604 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11605 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11606 | ) |
| 11607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11609 | target_include_directories(server_crash_test |
| 11610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11613 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11614 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11615 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11616 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11617 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11618 | PRIVATE third_party/googletest/googletest/include |
| 11619 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11620 | PRIVATE third_party/googletest/googlemock/include |
| 11621 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11622 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11623 | ) |
| 11624 | |
| 11625 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11626 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11627 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11628 | grpc++_test_util |
| 11629 | grpc_test_util |
| 11630 | grpc++ |
| 11631 | grpc |
| 11632 | gpr_test_util |
| 11633 | gpr |
| 11634 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11635 | ) |
| 11636 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11637 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11638 | endif (gRPC_BUILD_TESTS) |
| 11639 | if (gRPC_BUILD_TESTS) |
| 11640 | |
| 11641 | add_executable(server_crash_test_client |
| 11642 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11643 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11644 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11645 | ) |
| 11646 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11647 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | target_include_directories(server_crash_test_client |
| 11649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11651 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11652 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11653 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11654 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11655 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11656 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11657 | PRIVATE third_party/googletest/googletest/include |
| 11658 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11659 | PRIVATE third_party/googletest/googlemock/include |
| 11660 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11661 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11662 | ) |
| 11663 | |
| 11664 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11665 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11666 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11667 | grpc++_test_util |
| 11668 | grpc_test_util |
| 11669 | grpc++ |
| 11670 | grpc |
| 11671 | gpr_test_util |
| 11672 | gpr |
| 11673 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11674 | ) |
| 11675 | |
| 11676 | endif (gRPC_BUILD_TESTS) |
| 11677 | if (gRPC_BUILD_TESTS) |
| 11678 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11679 | add_executable(server_request_call_test |
| 11680 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11681 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11682 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11683 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11684 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11685 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11686 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11687 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11688 | test/cpp/server/server_request_call_test.cc |
| 11689 | third_party/googletest/googletest/src/gtest-all.cc |
| 11690 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11691 | ) |
| 11692 | |
| 11693 | protobuf_generate_grpc_cpp( |
| 11694 | src/proto/grpc/testing/echo_messages.proto |
| 11695 | ) |
| 11696 | protobuf_generate_grpc_cpp( |
| 11697 | src/proto/grpc/testing/echo.proto |
| 11698 | ) |
| 11699 | |
| 11700 | target_include_directories(server_request_call_test |
| 11701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11703 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11704 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11705 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11706 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11707 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11708 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11709 | PRIVATE third_party/googletest/googletest/include |
| 11710 | PRIVATE third_party/googletest/googletest |
| 11711 | PRIVATE third_party/googletest/googlemock/include |
| 11712 | PRIVATE third_party/googletest/googlemock |
| 11713 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11714 | ) |
| 11715 | |
| 11716 | target_link_libraries(server_request_call_test |
| 11717 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11718 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11719 | grpc++_test_util_unsecure |
| 11720 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11721 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11722 | grpc++_unsecure |
| 11723 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11724 | gpr |
| 11725 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11726 | ) |
| 11727 | |
| 11728 | endif (gRPC_BUILD_TESTS) |
| 11729 | if (gRPC_BUILD_TESTS) |
| 11730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11731 | add_executable(shutdown_test |
| 11732 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11733 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11734 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11735 | ) |
| 11736 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11737 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11738 | target_include_directories(shutdown_test |
| 11739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11741 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11742 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11743 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11744 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11745 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11746 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11747 | PRIVATE third_party/googletest/googletest/include |
| 11748 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11749 | PRIVATE third_party/googletest/googlemock/include |
| 11750 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11751 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11752 | ) |
| 11753 | |
| 11754 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11755 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11756 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11757 | grpc++_test_util |
| 11758 | grpc_test_util |
| 11759 | grpc++ |
| 11760 | grpc |
| 11761 | gpr_test_util |
| 11762 | gpr |
| 11763 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11764 | ) |
| 11765 | |
| 11766 | endif (gRPC_BUILD_TESTS) |
| 11767 | if (gRPC_BUILD_TESTS) |
| 11768 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11769 | add_executable(stats_test |
| 11770 | test/core/debug/stats_test.cc |
| 11771 | third_party/googletest/googletest/src/gtest-all.cc |
| 11772 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11773 | ) |
| 11774 | |
| 11775 | |
| 11776 | target_include_directories(stats_test |
| 11777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11779 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11780 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11781 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11782 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11783 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11784 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11785 | PRIVATE third_party/googletest/googletest/include |
| 11786 | PRIVATE third_party/googletest/googletest |
| 11787 | PRIVATE third_party/googletest/googlemock/include |
| 11788 | PRIVATE third_party/googletest/googlemock |
| 11789 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11790 | ) |
| 11791 | |
| 11792 | target_link_libraries(stats_test |
| 11793 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11795 | grpc++_test_util |
| 11796 | grpc_test_util |
| 11797 | grpc |
| 11798 | gpr_test_util |
| 11799 | gpr |
| 11800 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11801 | ) |
| 11802 | |
| 11803 | endif (gRPC_BUILD_TESTS) |
| 11804 | if (gRPC_BUILD_TESTS) |
| 11805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11806 | add_executable(status_test |
| 11807 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11808 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11809 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11810 | ) |
| 11811 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11812 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11813 | target_include_directories(status_test |
| 11814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11816 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11817 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11818 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11819 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11820 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11821 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11822 | PRIVATE third_party/googletest/googletest/include |
| 11823 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11824 | PRIVATE third_party/googletest/googlemock/include |
| 11825 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11826 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11827 | ) |
| 11828 | |
| 11829 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11830 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11831 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11832 | grpc_test_util |
| 11833 | grpc++ |
| 11834 | grpc |
| 11835 | gpr_test_util |
| 11836 | gpr |
| 11837 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11838 | ) |
| 11839 | |
| 11840 | endif (gRPC_BUILD_TESTS) |
| 11841 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11842 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11843 | |
| 11844 | add_executable(streaming_throughput_test |
| 11845 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11846 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11847 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11848 | ) |
| 11849 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11850 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11851 | target_include_directories(streaming_throughput_test |
| 11852 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11854 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11855 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11856 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11857 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11858 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11859 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11860 | PRIVATE third_party/googletest/googletest/include |
| 11861 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11862 | PRIVATE third_party/googletest/googlemock/include |
| 11863 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11864 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11865 | ) |
| 11866 | |
| 11867 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11868 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11870 | grpc++_test_util |
| 11871 | grpc_test_util |
| 11872 | grpc++ |
| 11873 | grpc |
| 11874 | gpr_test_util |
| 11875 | gpr |
| 11876 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11877 | ) |
| 11878 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11879 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11880 | endif (gRPC_BUILD_TESTS) |
| 11881 | if (gRPC_BUILD_TESTS) |
| 11882 | |
| 11883 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11885 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11886 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11891 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11892 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 11896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11898 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11899 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11900 | test/cpp/interop/interop_client.cc |
| 11901 | test/cpp/interop/stress_interop_client.cc |
| 11902 | test/cpp/interop/stress_test.cc |
| 11903 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11904 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11905 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | ) |
| 11907 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11908 | protobuf_generate_grpc_cpp( |
| 11909 | src/proto/grpc/testing/empty.proto |
| 11910 | ) |
| 11911 | protobuf_generate_grpc_cpp( |
| 11912 | src/proto/grpc/testing/messages.proto |
| 11913 | ) |
| 11914 | protobuf_generate_grpc_cpp( |
| 11915 | src/proto/grpc/testing/metrics.proto |
| 11916 | ) |
| 11917 | protobuf_generate_grpc_cpp( |
| 11918 | src/proto/grpc/testing/test.proto |
| 11919 | ) |
| 11920 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11921 | target_include_directories(stress_test |
| 11922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11924 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11925 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11926 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11927 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11928 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11929 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11930 | PRIVATE third_party/googletest/googletest/include |
| 11931 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11932 | PRIVATE third_party/googletest/googlemock/include |
| 11933 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11934 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11935 | ) |
| 11936 | |
| 11937 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11938 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11940 | grpc++_test_util |
| 11941 | grpc_test_util |
| 11942 | grpc++ |
| 11943 | grpc |
| 11944 | gpr_test_util |
| 11945 | gpr |
| 11946 | grpc++_test_config |
| 11947 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11948 | ) |
| 11949 | |
| 11950 | endif (gRPC_BUILD_TESTS) |
| 11951 | if (gRPC_BUILD_TESTS) |
| 11952 | |
| 11953 | add_executable(thread_manager_test |
| 11954 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11955 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11956 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11957 | ) |
| 11958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11960 | target_include_directories(thread_manager_test |
| 11961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11963 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11964 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11965 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11966 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11967 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11968 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11969 | PRIVATE third_party/googletest/googletest/include |
| 11970 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11971 | PRIVATE third_party/googletest/googlemock/include |
| 11972 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11973 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11974 | ) |
| 11975 | |
| 11976 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11977 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11979 | grpc++_unsecure |
| 11980 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11981 | gpr |
| 11982 | grpc++_test_config |
| 11983 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11984 | ) |
| 11985 | |
| 11986 | endif (gRPC_BUILD_TESTS) |
| 11987 | if (gRPC_BUILD_TESTS) |
| 11988 | |
| 11989 | add_executable(thread_stress_test |
| 11990 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11991 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11992 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11993 | ) |
| 11994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11995 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11996 | target_include_directories(thread_stress_test |
| 11997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11999 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12000 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12001 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12002 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12003 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12004 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12005 | PRIVATE third_party/googletest/googletest/include |
| 12006 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12007 | PRIVATE third_party/googletest/googlemock/include |
| 12008 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12009 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12010 | ) |
| 12011 | |
| 12012 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12013 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12014 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12015 | grpc++_test_util_unsecure |
| 12016 | grpc_test_util_unsecure |
| 12017 | grpc++_unsecure |
| 12018 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12019 | gpr_test_util |
| 12020 | gpr |
| 12021 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12022 | ) |
| 12023 | |
| 12024 | endif (gRPC_BUILD_TESTS) |
| 12025 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12026 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12027 | add_executable(transport_pid_controller_test |
| 12028 | test/core/transport/pid_controller_test.cc |
| 12029 | third_party/googletest/googletest/src/gtest-all.cc |
| 12030 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12031 | ) |
| 12032 | |
| 12033 | |
| 12034 | target_include_directories(transport_pid_controller_test |
| 12035 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12037 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12038 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12039 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12040 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12041 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12042 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12043 | PRIVATE third_party/googletest/googletest/include |
| 12044 | PRIVATE third_party/googletest/googletest |
| 12045 | PRIVATE third_party/googletest/googlemock/include |
| 12046 | PRIVATE third_party/googletest/googlemock |
| 12047 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12048 | ) |
| 12049 | |
| 12050 | target_link_libraries(transport_pid_controller_test |
| 12051 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12052 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12053 | grpc++_test_util |
| 12054 | grpc++ |
| 12055 | grpc_test_util |
| 12056 | grpc |
| 12057 | gpr_test_util |
| 12058 | gpr |
| 12059 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12060 | ) |
| 12061 | |
| 12062 | endif (gRPC_BUILD_TESTS) |
| 12063 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | c6406f3 | 2018-01-10 14:47:37 -0800 | [diff] [blame] | 12064 | |
| 12065 | add_executable(vector_test |
| 12066 | test/core/support/vector_test.cc |
| 12067 | third_party/googletest/googletest/src/gtest-all.cc |
| 12068 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12069 | ) |
| 12070 | |
| 12071 | |
| 12072 | target_include_directories(vector_test |
| 12073 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12075 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12076 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12077 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12078 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12079 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12080 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | c6406f3 | 2018-01-10 14:47:37 -0800 | [diff] [blame] | 12081 | PRIVATE third_party/googletest/googletest/include |
| 12082 | PRIVATE third_party/googletest/googletest |
| 12083 | PRIVATE third_party/googletest/googlemock/include |
| 12084 | PRIVATE third_party/googletest/googlemock |
| 12085 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12086 | ) |
| 12087 | |
| 12088 | target_link_libraries(vector_test |
| 12089 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12090 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12091 | grpc_test_util |
| 12092 | grpc++ |
| 12093 | grpc |
| 12094 | gpr_test_util |
| 12095 | gpr |
| 12096 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12097 | ) |
| 12098 | |
| 12099 | endif (gRPC_BUILD_TESTS) |
| 12100 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12101 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12102 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12103 | add_executable(writes_per_rpc_test |
| 12104 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12105 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12106 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12107 | ) |
| 12108 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12109 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12110 | target_include_directories(writes_per_rpc_test |
| 12111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12113 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12114 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12115 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12116 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12117 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12118 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12119 | PRIVATE third_party/googletest/googletest/include |
| 12120 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12121 | PRIVATE third_party/googletest/googlemock/include |
| 12122 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12123 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12124 | ) |
| 12125 | |
| 12126 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12127 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12128 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12129 | grpc++_test_util |
| 12130 | grpc_test_util |
| 12131 | grpc++ |
| 12132 | grpc |
| 12133 | gpr_test_util |
| 12134 | gpr |
| 12135 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12136 | ) |
| 12137 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12138 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12139 | endif (gRPC_BUILD_TESTS) |
| 12140 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12141 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12142 | add_executable(public_headers_must_be_c89 |
| 12143 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12144 | ) |
| 12145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12146 | |
| 12147 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12150 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12151 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12152 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12153 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12154 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12155 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12156 | ) |
| 12157 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12158 | target_link_libraries(public_headers_must_be_c89 |
| 12159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12160 | grpc |
| 12161 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12162 | ) |
| 12163 | |
| 12164 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12165 | |
| 12166 | add_executable(gen_hpack_tables |
| 12167 | tools/codegen/core/gen_hpack_tables.cc |
| 12168 | ) |
| 12169 | |
| 12170 | |
| 12171 | target_include_directories(gen_hpack_tables |
| 12172 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12174 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12175 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12176 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12177 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12178 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12179 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12180 | ) |
| 12181 | |
| 12182 | target_link_libraries(gen_hpack_tables |
| 12183 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12184 | gpr |
| 12185 | grpc |
| 12186 | ) |
| 12187 | |
| 12188 | |
| 12189 | if (gRPC_INSTALL) |
| 12190 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12191 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12192 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12193 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12194 | ) |
| 12195 | endif() |
| 12196 | |
| 12197 | |
| 12198 | add_executable(gen_legal_metadata_characters |
| 12199 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12200 | ) |
| 12201 | |
| 12202 | |
| 12203 | target_include_directories(gen_legal_metadata_characters |
| 12204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12206 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12207 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12208 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12209 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12210 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12211 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12212 | ) |
| 12213 | |
| 12214 | target_link_libraries(gen_legal_metadata_characters |
| 12215 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12216 | ) |
| 12217 | |
| 12218 | |
| 12219 | if (gRPC_INSTALL) |
| 12220 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12221 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12222 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12223 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12224 | ) |
| 12225 | endif() |
| 12226 | |
| 12227 | |
| 12228 | add_executable(gen_percent_encoding_tables |
| 12229 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12230 | ) |
| 12231 | |
| 12232 | |
| 12233 | target_include_directories(gen_percent_encoding_tables |
| 12234 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12236 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12237 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12238 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12239 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12240 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12241 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12242 | ) |
| 12243 | |
| 12244 | target_link_libraries(gen_percent_encoding_tables |
| 12245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12246 | ) |
| 12247 | |
| 12248 | |
| 12249 | if (gRPC_INSTALL) |
| 12250 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12251 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12252 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12253 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12254 | ) |
| 12255 | endif() |
| 12256 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12257 | if (gRPC_BUILD_TESTS) |
| 12258 | |
| 12259 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12260 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12261 | ) |
| 12262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12263 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12264 | target_include_directories(badreq_bad_client_test |
| 12265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12267 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12268 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12269 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12270 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12271 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12272 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12273 | ) |
| 12274 | |
| 12275 | target_link_libraries(badreq_bad_client_test |
| 12276 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12277 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12278 | bad_client_test |
| 12279 | grpc_test_util_unsecure |
| 12280 | grpc_unsecure |
| 12281 | gpr_test_util |
| 12282 | gpr |
| 12283 | ) |
| 12284 | |
| 12285 | endif (gRPC_BUILD_TESTS) |
| 12286 | if (gRPC_BUILD_TESTS) |
| 12287 | |
| 12288 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12289 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12290 | ) |
| 12291 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12292 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12293 | target_include_directories(connection_prefix_bad_client_test |
| 12294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12296 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12297 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12298 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12299 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12300 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12301 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12302 | ) |
| 12303 | |
| 12304 | target_link_libraries(connection_prefix_bad_client_test |
| 12305 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12307 | bad_client_test |
| 12308 | grpc_test_util_unsecure |
| 12309 | grpc_unsecure |
| 12310 | gpr_test_util |
| 12311 | gpr |
| 12312 | ) |
| 12313 | |
| 12314 | endif (gRPC_BUILD_TESTS) |
| 12315 | if (gRPC_BUILD_TESTS) |
| 12316 | |
| 12317 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12318 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12319 | ) |
| 12320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12322 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12325 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12326 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12327 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12328 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12329 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12330 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12331 | ) |
| 12332 | |
| 12333 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12334 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12336 | bad_client_test |
| 12337 | grpc_test_util_unsecure |
| 12338 | grpc_unsecure |
| 12339 | gpr_test_util |
| 12340 | gpr |
| 12341 | ) |
| 12342 | |
| 12343 | endif (gRPC_BUILD_TESTS) |
| 12344 | if (gRPC_BUILD_TESTS) |
| 12345 | |
| 12346 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12347 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12348 | ) |
| 12349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12351 | target_include_directories(headers_bad_client_test |
| 12352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12354 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12355 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12356 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12357 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12358 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12359 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12360 | ) |
| 12361 | |
| 12362 | target_link_libraries(headers_bad_client_test |
| 12363 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12365 | bad_client_test |
| 12366 | grpc_test_util_unsecure |
| 12367 | grpc_unsecure |
| 12368 | gpr_test_util |
| 12369 | gpr |
| 12370 | ) |
| 12371 | |
| 12372 | endif (gRPC_BUILD_TESTS) |
| 12373 | if (gRPC_BUILD_TESTS) |
| 12374 | |
| 12375 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12376 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12377 | ) |
| 12378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12380 | target_include_directories(initial_settings_frame_bad_client_test |
| 12381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12383 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12384 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12385 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12386 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12387 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12388 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12389 | ) |
| 12390 | |
| 12391 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12392 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12393 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12394 | bad_client_test |
| 12395 | grpc_test_util_unsecure |
| 12396 | grpc_unsecure |
| 12397 | gpr_test_util |
| 12398 | gpr |
| 12399 | ) |
| 12400 | |
| 12401 | endif (gRPC_BUILD_TESTS) |
| 12402 | if (gRPC_BUILD_TESTS) |
| 12403 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12404 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12405 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12406 | ) |
| 12407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12409 | target_include_directories(server_registered_method_bad_client_test |
| 12410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12412 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12413 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12414 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12415 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12416 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12417 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12418 | ) |
| 12419 | |
| 12420 | target_link_libraries(server_registered_method_bad_client_test |
| 12421 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12422 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12423 | bad_client_test |
| 12424 | grpc_test_util_unsecure |
| 12425 | grpc_unsecure |
| 12426 | gpr_test_util |
| 12427 | gpr |
| 12428 | ) |
| 12429 | |
| 12430 | endif (gRPC_BUILD_TESTS) |
| 12431 | if (gRPC_BUILD_TESTS) |
| 12432 | |
| 12433 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12434 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12435 | ) |
| 12436 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12437 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12438 | target_include_directories(simple_request_bad_client_test |
| 12439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12441 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12442 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12443 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12444 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12445 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12446 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12447 | ) |
| 12448 | |
| 12449 | target_link_libraries(simple_request_bad_client_test |
| 12450 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12452 | bad_client_test |
| 12453 | grpc_test_util_unsecure |
| 12454 | grpc_unsecure |
| 12455 | gpr_test_util |
| 12456 | gpr |
| 12457 | ) |
| 12458 | |
| 12459 | endif (gRPC_BUILD_TESTS) |
| 12460 | if (gRPC_BUILD_TESTS) |
| 12461 | |
| 12462 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12463 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12464 | ) |
| 12465 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12466 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12467 | target_include_directories(unknown_frame_bad_client_test |
| 12468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12470 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12471 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12472 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12473 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12474 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12475 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12476 | ) |
| 12477 | |
| 12478 | target_link_libraries(unknown_frame_bad_client_test |
| 12479 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12481 | bad_client_test |
| 12482 | grpc_test_util_unsecure |
| 12483 | grpc_unsecure |
| 12484 | gpr_test_util |
| 12485 | gpr |
| 12486 | ) |
| 12487 | |
| 12488 | endif (gRPC_BUILD_TESTS) |
| 12489 | if (gRPC_BUILD_TESTS) |
| 12490 | |
| 12491 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12492 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12493 | ) |
| 12494 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12495 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12496 | target_include_directories(window_overflow_bad_client_test |
| 12497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12499 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12500 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12501 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12502 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12503 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12504 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12505 | ) |
| 12506 | |
| 12507 | target_link_libraries(window_overflow_bad_client_test |
| 12508 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12509 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12510 | bad_client_test |
| 12511 | grpc_test_util_unsecure |
| 12512 | grpc_unsecure |
| 12513 | gpr_test_util |
| 12514 | gpr |
| 12515 | ) |
| 12516 | |
| 12517 | endif (gRPC_BUILD_TESTS) |
| 12518 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12520 | |
| 12521 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12522 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12523 | ) |
| 12524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12525 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12526 | target_include_directories(bad_ssl_cert_server |
| 12527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12529 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12530 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12531 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12532 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12533 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12534 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12535 | ) |
| 12536 | |
| 12537 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12538 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12539 | bad_ssl_test_server |
| 12540 | grpc_test_util |
| 12541 | grpc |
| 12542 | gpr_test_util |
| 12543 | gpr |
| 12544 | ) |
| 12545 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12546 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12547 | endif (gRPC_BUILD_TESTS) |
| 12548 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12549 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12550 | |
| 12551 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12552 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12553 | ) |
| 12554 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12555 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12556 | target_include_directories(bad_ssl_cert_test |
| 12557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12559 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12560 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12561 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12562 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12563 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12564 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12565 | ) |
| 12566 | |
| 12567 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12568 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12569 | grpc_test_util |
| 12570 | grpc |
| 12571 | gpr_test_util |
| 12572 | gpr |
| 12573 | ) |
| 12574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12575 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12576 | endif (gRPC_BUILD_TESTS) |
| 12577 | if (gRPC_BUILD_TESTS) |
| 12578 | |
| 12579 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12580 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12581 | ) |
| 12582 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12583 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12584 | target_include_directories(h2_census_test |
| 12585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12587 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12588 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12589 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12590 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12591 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12592 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12593 | ) |
| 12594 | |
| 12595 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12596 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12597 | end2end_tests |
| 12598 | grpc_test_util |
| 12599 | grpc |
| 12600 | gpr_test_util |
| 12601 | gpr |
| 12602 | ) |
| 12603 | |
| 12604 | endif (gRPC_BUILD_TESTS) |
| 12605 | if (gRPC_BUILD_TESTS) |
| 12606 | |
| 12607 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12608 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12609 | ) |
| 12610 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12611 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12612 | target_include_directories(h2_compress_test |
| 12613 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12615 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12616 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12617 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12618 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12619 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12620 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12621 | ) |
| 12622 | |
| 12623 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12625 | end2end_tests |
| 12626 | grpc_test_util |
| 12627 | grpc |
| 12628 | gpr_test_util |
| 12629 | gpr |
| 12630 | ) |
| 12631 | |
| 12632 | endif (gRPC_BUILD_TESTS) |
| 12633 | if (gRPC_BUILD_TESTS) |
| 12634 | |
| 12635 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12636 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12637 | ) |
| 12638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12639 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12640 | target_include_directories(h2_fakesec_test |
| 12641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12643 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12644 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12645 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12646 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12647 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12648 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12649 | ) |
| 12650 | |
| 12651 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12653 | end2end_tests |
| 12654 | grpc_test_util |
| 12655 | grpc |
| 12656 | gpr_test_util |
| 12657 | gpr |
| 12658 | ) |
| 12659 | |
| 12660 | endif (gRPC_BUILD_TESTS) |
| 12661 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12662 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12663 | |
| 12664 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12665 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12666 | ) |
| 12667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12669 | target_include_directories(h2_fd_test |
| 12670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12672 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12673 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12674 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12675 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12676 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12677 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12678 | ) |
| 12679 | |
| 12680 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12682 | end2end_tests |
| 12683 | grpc_test_util |
| 12684 | grpc |
| 12685 | gpr_test_util |
| 12686 | gpr |
| 12687 | ) |
| 12688 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12689 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12690 | endif (gRPC_BUILD_TESTS) |
| 12691 | if (gRPC_BUILD_TESTS) |
| 12692 | |
| 12693 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12694 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12695 | ) |
| 12696 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12697 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12698 | target_include_directories(h2_full_test |
| 12699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12701 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12702 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12703 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12704 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12705 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12706 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12707 | ) |
| 12708 | |
| 12709 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12710 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12711 | end2end_tests |
| 12712 | grpc_test_util |
| 12713 | grpc |
| 12714 | gpr_test_util |
| 12715 | gpr |
| 12716 | ) |
| 12717 | |
| 12718 | endif (gRPC_BUILD_TESTS) |
| 12719 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12720 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12721 | |
| 12722 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12723 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12724 | ) |
| 12725 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12726 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12727 | target_include_directories(h2_full+pipe_test |
| 12728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12730 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12731 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12732 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12733 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12734 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12735 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12736 | ) |
| 12737 | |
| 12738 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12739 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12740 | end2end_tests |
| 12741 | grpc_test_util |
| 12742 | grpc |
| 12743 | gpr_test_util |
| 12744 | gpr |
| 12745 | ) |
| 12746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12747 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12748 | endif (gRPC_BUILD_TESTS) |
| 12749 | if (gRPC_BUILD_TESTS) |
| 12750 | |
| 12751 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12752 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12753 | ) |
| 12754 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12756 | target_include_directories(h2_full+trace_test |
| 12757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12759 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12760 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12761 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12762 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12763 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12764 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12765 | ) |
| 12766 | |
| 12767 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12768 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12769 | end2end_tests |
| 12770 | grpc_test_util |
| 12771 | grpc |
| 12772 | gpr_test_util |
| 12773 | gpr |
| 12774 | ) |
| 12775 | |
| 12776 | endif (gRPC_BUILD_TESTS) |
| 12777 | if (gRPC_BUILD_TESTS) |
| 12778 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12779 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12780 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12781 | ) |
| 12782 | |
| 12783 | |
| 12784 | target_include_directories(h2_full+workarounds_test |
| 12785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12787 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12788 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12789 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12790 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12791 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12792 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12793 | ) |
| 12794 | |
| 12795 | target_link_libraries(h2_full+workarounds_test |
| 12796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12797 | end2end_tests |
| 12798 | grpc_test_util |
| 12799 | grpc |
| 12800 | gpr_test_util |
| 12801 | gpr |
| 12802 | ) |
| 12803 | |
| 12804 | endif (gRPC_BUILD_TESTS) |
| 12805 | if (gRPC_BUILD_TESTS) |
| 12806 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12807 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12808 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12809 | ) |
| 12810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12812 | target_include_directories(h2_http_proxy_test |
| 12813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12815 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12816 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12817 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12818 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12819 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12820 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12821 | ) |
| 12822 | |
| 12823 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12824 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12825 | end2end_tests |
| 12826 | grpc_test_util |
| 12827 | grpc |
| 12828 | gpr_test_util |
| 12829 | gpr |
| 12830 | ) |
| 12831 | |
| 12832 | endif (gRPC_BUILD_TESTS) |
| 12833 | if (gRPC_BUILD_TESTS) |
| 12834 | |
| 12835 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12836 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12837 | ) |
| 12838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12840 | target_include_directories(h2_load_reporting_test |
| 12841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12844 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12845 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12846 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12847 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12848 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | ) |
| 12850 | |
| 12851 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12852 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12853 | end2end_tests |
| 12854 | grpc_test_util |
| 12855 | grpc |
| 12856 | gpr_test_util |
| 12857 | gpr |
| 12858 | ) |
| 12859 | |
| 12860 | endif (gRPC_BUILD_TESTS) |
| 12861 | if (gRPC_BUILD_TESTS) |
| 12862 | |
| 12863 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12864 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12865 | ) |
| 12866 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12867 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12868 | target_include_directories(h2_oauth2_test |
| 12869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12871 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12872 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12873 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12874 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12875 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12876 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12877 | ) |
| 12878 | |
| 12879 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12881 | end2end_tests |
| 12882 | grpc_test_util |
| 12883 | grpc |
| 12884 | gpr_test_util |
| 12885 | gpr |
| 12886 | ) |
| 12887 | |
| 12888 | endif (gRPC_BUILD_TESTS) |
| 12889 | if (gRPC_BUILD_TESTS) |
| 12890 | |
| 12891 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12892 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12893 | ) |
| 12894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12896 | target_include_directories(h2_proxy_test |
| 12897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12905 | ) |
| 12906 | |
| 12907 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12909 | end2end_tests |
| 12910 | grpc_test_util |
| 12911 | grpc |
| 12912 | gpr_test_util |
| 12913 | gpr |
| 12914 | ) |
| 12915 | |
| 12916 | endif (gRPC_BUILD_TESTS) |
| 12917 | if (gRPC_BUILD_TESTS) |
| 12918 | |
| 12919 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12920 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12921 | ) |
| 12922 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12923 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12924 | target_include_directories(h2_sockpair_test |
| 12925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12927 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12928 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12929 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12930 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12931 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12932 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12933 | ) |
| 12934 | |
| 12935 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12937 | end2end_tests |
| 12938 | grpc_test_util |
| 12939 | grpc |
| 12940 | gpr_test_util |
| 12941 | gpr |
| 12942 | ) |
| 12943 | |
| 12944 | endif (gRPC_BUILD_TESTS) |
| 12945 | if (gRPC_BUILD_TESTS) |
| 12946 | |
| 12947 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12948 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12949 | ) |
| 12950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12952 | target_include_directories(h2_sockpair+trace_test |
| 12953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12955 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12956 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12957 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12958 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12959 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12960 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12961 | ) |
| 12962 | |
| 12963 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12964 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12965 | end2end_tests |
| 12966 | grpc_test_util |
| 12967 | grpc |
| 12968 | gpr_test_util |
| 12969 | gpr |
| 12970 | ) |
| 12971 | |
| 12972 | endif (gRPC_BUILD_TESTS) |
| 12973 | if (gRPC_BUILD_TESTS) |
| 12974 | |
| 12975 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12976 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12977 | ) |
| 12978 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12979 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12980 | target_include_directories(h2_sockpair_1byte_test |
| 12981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12983 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12984 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12985 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12986 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12987 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12988 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12989 | ) |
| 12990 | |
| 12991 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12992 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12993 | end2end_tests |
| 12994 | grpc_test_util |
| 12995 | grpc |
| 12996 | gpr_test_util |
| 12997 | gpr |
| 12998 | ) |
| 12999 | |
| 13000 | endif (gRPC_BUILD_TESTS) |
| 13001 | if (gRPC_BUILD_TESTS) |
| 13002 | |
| 13003 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13004 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13005 | ) |
| 13006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13008 | target_include_directories(h2_ssl_test |
| 13009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13017 | ) |
| 13018 | |
| 13019 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13021 | end2end_tests |
| 13022 | grpc_test_util |
| 13023 | grpc |
| 13024 | gpr_test_util |
| 13025 | gpr |
| 13026 | ) |
| 13027 | |
| 13028 | endif (gRPC_BUILD_TESTS) |
| 13029 | if (gRPC_BUILD_TESTS) |
| 13030 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13031 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13032 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13033 | ) |
| 13034 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13035 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13036 | target_include_directories(h2_ssl_proxy_test |
| 13037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13039 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13040 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13041 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13042 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13043 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13044 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13045 | ) |
| 13046 | |
| 13047 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13049 | end2end_tests |
| 13050 | grpc_test_util |
| 13051 | grpc |
| 13052 | gpr_test_util |
| 13053 | gpr |
| 13054 | ) |
| 13055 | |
| 13056 | endif (gRPC_BUILD_TESTS) |
| 13057 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13058 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13059 | |
| 13060 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13061 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13062 | ) |
| 13063 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13064 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13065 | target_include_directories(h2_uds_test |
| 13066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13068 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13069 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13070 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13071 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13072 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13073 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13074 | ) |
| 13075 | |
| 13076 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13078 | end2end_tests |
| 13079 | grpc_test_util |
| 13080 | grpc |
| 13081 | gpr_test_util |
| 13082 | gpr |
| 13083 | ) |
| 13084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13085 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13086 | endif (gRPC_BUILD_TESTS) |
| 13087 | if (gRPC_BUILD_TESTS) |
| 13088 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13089 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13090 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13091 | ) |
| 13092 | |
| 13093 | |
| 13094 | target_include_directories(inproc_test |
| 13095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13097 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13098 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13099 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13100 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13101 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13102 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13103 | ) |
| 13104 | |
| 13105 | target_link_libraries(inproc_test |
| 13106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13107 | end2end_tests |
| 13108 | grpc_test_util |
| 13109 | grpc |
| 13110 | gpr_test_util |
| 13111 | gpr |
| 13112 | ) |
| 13113 | |
| 13114 | endif (gRPC_BUILD_TESTS) |
| 13115 | if (gRPC_BUILD_TESTS) |
| 13116 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13117 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13118 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | ) |
| 13120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13121 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13122 | target_include_directories(h2_census_nosec_test |
| 13123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13125 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13126 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13127 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13128 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13129 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13130 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13131 | ) |
| 13132 | |
| 13133 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13134 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13135 | end2end_nosec_tests |
| 13136 | grpc_test_util_unsecure |
| 13137 | grpc_unsecure |
| 13138 | gpr_test_util |
| 13139 | gpr |
| 13140 | ) |
| 13141 | |
| 13142 | endif (gRPC_BUILD_TESTS) |
| 13143 | if (gRPC_BUILD_TESTS) |
| 13144 | |
| 13145 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13146 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13147 | ) |
| 13148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13150 | target_include_directories(h2_compress_nosec_test |
| 13151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13153 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13154 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13155 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13156 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13157 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13158 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13159 | ) |
| 13160 | |
| 13161 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13162 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13163 | end2end_nosec_tests |
| 13164 | grpc_test_util_unsecure |
| 13165 | grpc_unsecure |
| 13166 | gpr_test_util |
| 13167 | gpr |
| 13168 | ) |
| 13169 | |
| 13170 | endif (gRPC_BUILD_TESTS) |
| 13171 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13172 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13173 | |
| 13174 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13175 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13176 | ) |
| 13177 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13178 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13179 | target_include_directories(h2_fd_nosec_test |
| 13180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13182 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13183 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13184 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13185 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13186 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13187 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13188 | ) |
| 13189 | |
| 13190 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13192 | end2end_nosec_tests |
| 13193 | grpc_test_util_unsecure |
| 13194 | grpc_unsecure |
| 13195 | gpr_test_util |
| 13196 | gpr |
| 13197 | ) |
| 13198 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13199 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13200 | endif (gRPC_BUILD_TESTS) |
| 13201 | if (gRPC_BUILD_TESTS) |
| 13202 | |
| 13203 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13204 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13205 | ) |
| 13206 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13207 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13208 | target_include_directories(h2_full_nosec_test |
| 13209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13211 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13212 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13213 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13214 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13215 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13216 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13217 | ) |
| 13218 | |
| 13219 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13221 | end2end_nosec_tests |
| 13222 | grpc_test_util_unsecure |
| 13223 | grpc_unsecure |
| 13224 | gpr_test_util |
| 13225 | gpr |
| 13226 | ) |
| 13227 | |
| 13228 | endif (gRPC_BUILD_TESTS) |
| 13229 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13230 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13231 | |
| 13232 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13233 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13234 | ) |
| 13235 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13237 | target_include_directories(h2_full+pipe_nosec_test |
| 13238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13240 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13241 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13242 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13243 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13244 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13245 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13246 | ) |
| 13247 | |
| 13248 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13250 | end2end_nosec_tests |
| 13251 | grpc_test_util_unsecure |
| 13252 | grpc_unsecure |
| 13253 | gpr_test_util |
| 13254 | gpr |
| 13255 | ) |
| 13256 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13257 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13258 | endif (gRPC_BUILD_TESTS) |
| 13259 | if (gRPC_BUILD_TESTS) |
| 13260 | |
| 13261 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13262 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13263 | ) |
| 13264 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13265 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13266 | target_include_directories(h2_full+trace_nosec_test |
| 13267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13269 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13270 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13271 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13272 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13273 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13274 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13275 | ) |
| 13276 | |
| 13277 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13278 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13279 | end2end_nosec_tests |
| 13280 | grpc_test_util_unsecure |
| 13281 | grpc_unsecure |
| 13282 | gpr_test_util |
| 13283 | gpr |
| 13284 | ) |
| 13285 | |
| 13286 | endif (gRPC_BUILD_TESTS) |
| 13287 | if (gRPC_BUILD_TESTS) |
| 13288 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13289 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13290 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13291 | ) |
| 13292 | |
| 13293 | |
| 13294 | target_include_directories(h2_full+workarounds_nosec_test |
| 13295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13296 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13297 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13298 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13299 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13300 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13301 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13302 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13303 | ) |
| 13304 | |
| 13305 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13307 | end2end_nosec_tests |
| 13308 | grpc_test_util_unsecure |
| 13309 | grpc_unsecure |
| 13310 | gpr_test_util |
| 13311 | gpr |
| 13312 | ) |
| 13313 | |
| 13314 | endif (gRPC_BUILD_TESTS) |
| 13315 | if (gRPC_BUILD_TESTS) |
| 13316 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13317 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13318 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13319 | ) |
| 13320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13322 | target_include_directories(h2_http_proxy_nosec_test |
| 13323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13325 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13326 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13327 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13328 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13329 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13330 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13331 | ) |
| 13332 | |
| 13333 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13335 | end2end_nosec_tests |
| 13336 | grpc_test_util_unsecure |
| 13337 | grpc_unsecure |
| 13338 | gpr_test_util |
| 13339 | gpr |
| 13340 | ) |
| 13341 | |
| 13342 | endif (gRPC_BUILD_TESTS) |
| 13343 | if (gRPC_BUILD_TESTS) |
| 13344 | |
| 13345 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13346 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13347 | ) |
| 13348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13350 | target_include_directories(h2_load_reporting_nosec_test |
| 13351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13354 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13355 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13356 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13357 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13358 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | ) |
| 13360 | |
| 13361 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13362 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | end2end_nosec_tests |
| 13364 | grpc_test_util_unsecure |
| 13365 | grpc_unsecure |
| 13366 | gpr_test_util |
| 13367 | gpr |
| 13368 | ) |
| 13369 | |
| 13370 | endif (gRPC_BUILD_TESTS) |
| 13371 | if (gRPC_BUILD_TESTS) |
| 13372 | |
| 13373 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13374 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13375 | ) |
| 13376 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13377 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13378 | target_include_directories(h2_proxy_nosec_test |
| 13379 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13380 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13381 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13382 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13383 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13384 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13385 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13386 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13387 | ) |
| 13388 | |
| 13389 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13390 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13391 | end2end_nosec_tests |
| 13392 | grpc_test_util_unsecure |
| 13393 | grpc_unsecure |
| 13394 | gpr_test_util |
| 13395 | gpr |
| 13396 | ) |
| 13397 | |
| 13398 | endif (gRPC_BUILD_TESTS) |
| 13399 | if (gRPC_BUILD_TESTS) |
| 13400 | |
| 13401 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13402 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13403 | ) |
| 13404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13405 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13406 | target_include_directories(h2_sockpair_nosec_test |
| 13407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13409 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13410 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13411 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13412 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13413 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13414 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13415 | ) |
| 13416 | |
| 13417 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13419 | end2end_nosec_tests |
| 13420 | grpc_test_util_unsecure |
| 13421 | grpc_unsecure |
| 13422 | gpr_test_util |
| 13423 | gpr |
| 13424 | ) |
| 13425 | |
| 13426 | endif (gRPC_BUILD_TESTS) |
| 13427 | if (gRPC_BUILD_TESTS) |
| 13428 | |
| 13429 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13430 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13431 | ) |
| 13432 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13433 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13434 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13435 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13437 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13438 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13439 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13440 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13441 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13442 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13443 | ) |
| 13444 | |
| 13445 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13446 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13447 | end2end_nosec_tests |
| 13448 | grpc_test_util_unsecure |
| 13449 | grpc_unsecure |
| 13450 | gpr_test_util |
| 13451 | gpr |
| 13452 | ) |
| 13453 | |
| 13454 | endif (gRPC_BUILD_TESTS) |
| 13455 | if (gRPC_BUILD_TESTS) |
| 13456 | |
| 13457 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13458 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13459 | ) |
| 13460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13461 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13462 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13463 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13464 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13465 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13466 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13467 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13468 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13469 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13470 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13471 | ) |
| 13472 | |
| 13473 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13475 | end2end_nosec_tests |
| 13476 | grpc_test_util_unsecure |
| 13477 | grpc_unsecure |
| 13478 | gpr_test_util |
| 13479 | gpr |
| 13480 | ) |
| 13481 | |
| 13482 | endif (gRPC_BUILD_TESTS) |
| 13483 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13484 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | |
| 13486 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13487 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13488 | ) |
| 13489 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13490 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13491 | target_include_directories(h2_uds_nosec_test |
| 13492 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13493 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13494 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13495 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13496 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13497 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13498 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13499 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13500 | ) |
| 13501 | |
| 13502 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13504 | end2end_nosec_tests |
| 13505 | grpc_test_util_unsecure |
| 13506 | grpc_unsecure |
| 13507 | gpr_test_util |
| 13508 | gpr |
| 13509 | ) |
| 13510 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13511 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13512 | endif (gRPC_BUILD_TESTS) |
| 13513 | if (gRPC_BUILD_TESTS) |
| 13514 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13515 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13516 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13517 | ) |
| 13518 | |
| 13519 | |
| 13520 | target_include_directories(inproc_nosec_test |
| 13521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13522 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13523 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13524 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13525 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13526 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13527 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13528 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13529 | ) |
| 13530 | |
| 13531 | target_link_libraries(inproc_nosec_test |
| 13532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13533 | end2end_nosec_tests |
| 13534 | grpc_test_util_unsecure |
| 13535 | grpc_unsecure |
| 13536 | gpr_test_util |
| 13537 | gpr |
| 13538 | ) |
| 13539 | |
| 13540 | endif (gRPC_BUILD_TESTS) |
| 13541 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13542 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13543 | |
| 13544 | add_executable(resolver_component_test_unsecure |
| 13545 | test/cpp/naming/resolver_component_test.cc |
| 13546 | third_party/googletest/googletest/src/gtest-all.cc |
| 13547 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13548 | ) |
| 13549 | |
| 13550 | |
| 13551 | target_include_directories(resolver_component_test_unsecure |
| 13552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13554 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13555 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13556 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13557 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13558 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13559 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13560 | PRIVATE third_party/googletest/googletest/include |
| 13561 | PRIVATE third_party/googletest/googletest |
| 13562 | PRIVATE third_party/googletest/googlemock/include |
| 13563 | PRIVATE third_party/googletest/googlemock |
| 13564 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13565 | ) |
| 13566 | |
| 13567 | target_link_libraries(resolver_component_test_unsecure |
| 13568 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13569 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13570 | grpc++_test_util_unsecure |
| 13571 | grpc_test_util_unsecure |
| 13572 | gpr_test_util |
| 13573 | grpc++_unsecure |
| 13574 | grpc_unsecure |
| 13575 | gpr |
| 13576 | grpc++_test_config |
| 13577 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13578 | ) |
| 13579 | |
| 13580 | endif() |
| 13581 | endif (gRPC_BUILD_TESTS) |
| 13582 | if (gRPC_BUILD_TESTS) |
| 13583 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13584 | |
| 13585 | add_executable(resolver_component_test |
| 13586 | test/cpp/naming/resolver_component_test.cc |
| 13587 | third_party/googletest/googletest/src/gtest-all.cc |
| 13588 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13589 | ) |
| 13590 | |
| 13591 | |
| 13592 | target_include_directories(resolver_component_test |
| 13593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13595 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13596 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13597 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13598 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13599 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13600 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13601 | PRIVATE third_party/googletest/googletest/include |
| 13602 | PRIVATE third_party/googletest/googletest |
| 13603 | PRIVATE third_party/googletest/googlemock/include |
| 13604 | PRIVATE third_party/googletest/googlemock |
| 13605 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13606 | ) |
| 13607 | |
| 13608 | target_link_libraries(resolver_component_test |
| 13609 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13610 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13611 | grpc++_test_util |
| 13612 | grpc_test_util |
| 13613 | gpr_test_util |
| 13614 | grpc++ |
| 13615 | grpc |
| 13616 | gpr |
| 13617 | grpc++_test_config |
| 13618 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13619 | ) |
| 13620 | |
| 13621 | endif() |
| 13622 | endif (gRPC_BUILD_TESTS) |
| 13623 | if (gRPC_BUILD_TESTS) |
| 13624 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13625 | |
| 13626 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 13627 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13628 | third_party/googletest/googletest/src/gtest-all.cc |
| 13629 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13630 | ) |
| 13631 | |
| 13632 | |
| 13633 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 13634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13636 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13637 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13638 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13639 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13640 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13641 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13642 | PRIVATE third_party/googletest/googletest/include |
| 13643 | PRIVATE third_party/googletest/googletest |
| 13644 | PRIVATE third_party/googletest/googlemock/include |
| 13645 | PRIVATE third_party/googletest/googlemock |
| 13646 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13647 | ) |
| 13648 | |
| 13649 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 13650 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13651 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13652 | grpc++_test_util |
| 13653 | grpc_test_util |
| 13654 | gpr_test_util |
| 13655 | grpc++ |
| 13656 | grpc |
| 13657 | gpr |
| 13658 | grpc++_test_config |
| 13659 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13660 | ) |
| 13661 | |
| 13662 | endif() |
| 13663 | endif (gRPC_BUILD_TESTS) |
| 13664 | if (gRPC_BUILD_TESTS) |
| 13665 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13666 | |
| 13667 | add_executable(resolver_component_tests_runner_invoker |
| 13668 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13669 | third_party/googletest/googletest/src/gtest-all.cc |
| 13670 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13671 | ) |
| 13672 | |
| 13673 | |
| 13674 | target_include_directories(resolver_component_tests_runner_invoker |
| 13675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13677 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13678 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13679 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13680 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13681 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13682 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13683 | PRIVATE third_party/googletest/googletest/include |
| 13684 | PRIVATE third_party/googletest/googletest |
| 13685 | PRIVATE third_party/googletest/googlemock/include |
| 13686 | PRIVATE third_party/googletest/googlemock |
| 13687 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13688 | ) |
| 13689 | |
| 13690 | target_link_libraries(resolver_component_tests_runner_invoker |
| 13691 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13693 | grpc++_test_util |
| 13694 | grpc_test_util |
| 13695 | gpr_test_util |
| 13696 | grpc++ |
| 13697 | grpc |
| 13698 | gpr |
| 13699 | grpc++_test_config |
| 13700 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13701 | ) |
| 13702 | |
| 13703 | endif() |
| 13704 | endif (gRPC_BUILD_TESTS) |
| 13705 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13706 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13707 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13708 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13709 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13710 | ) |
| 13711 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13712 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13713 | target_include_directories(api_fuzzer_one_entry |
| 13714 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13716 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13717 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13718 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13719 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13720 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13721 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13722 | ) |
| 13723 | |
| 13724 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13725 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13726 | grpc_test_util |
| 13727 | grpc |
| 13728 | gpr_test_util |
| 13729 | gpr |
| 13730 | ) |
| 13731 | |
| 13732 | endif (gRPC_BUILD_TESTS) |
| 13733 | if (gRPC_BUILD_TESTS) |
| 13734 | |
| 13735 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13736 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13737 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13738 | ) |
| 13739 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13741 | target_include_directories(client_fuzzer_one_entry |
| 13742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13744 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13745 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13746 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13747 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13748 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13749 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13750 | ) |
| 13751 | |
| 13752 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13753 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13754 | grpc_test_util |
| 13755 | grpc |
| 13756 | gpr_test_util |
| 13757 | gpr |
| 13758 | ) |
| 13759 | |
| 13760 | endif (gRPC_BUILD_TESTS) |
| 13761 | if (gRPC_BUILD_TESTS) |
| 13762 | |
| 13763 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13764 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13765 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13766 | ) |
| 13767 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13768 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13769 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 13770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13772 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13773 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13774 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13775 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13776 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13777 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13778 | ) |
| 13779 | |
| 13780 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13782 | grpc_test_util |
| 13783 | grpc |
| 13784 | gpr_test_util |
| 13785 | gpr |
| 13786 | ) |
| 13787 | |
| 13788 | endif (gRPC_BUILD_TESTS) |
| 13789 | if (gRPC_BUILD_TESTS) |
| 13790 | |
| 13791 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13792 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13793 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13794 | ) |
| 13795 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13797 | target_include_directories(http_request_fuzzer_test_one_entry |
| 13798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13800 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13801 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13802 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13803 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13804 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13805 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13806 | ) |
| 13807 | |
| 13808 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13810 | grpc_test_util |
| 13811 | grpc |
| 13812 | gpr_test_util |
| 13813 | gpr |
| 13814 | ) |
| 13815 | |
| 13816 | endif (gRPC_BUILD_TESTS) |
| 13817 | if (gRPC_BUILD_TESTS) |
| 13818 | |
| 13819 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13820 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13821 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13822 | ) |
| 13823 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13824 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13825 | target_include_directories(http_response_fuzzer_test_one_entry |
| 13826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13828 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13829 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13830 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13831 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13832 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13833 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13834 | ) |
| 13835 | |
| 13836 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13837 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13838 | grpc_test_util |
| 13839 | grpc |
| 13840 | gpr_test_util |
| 13841 | gpr |
| 13842 | ) |
| 13843 | |
| 13844 | endif (gRPC_BUILD_TESTS) |
| 13845 | if (gRPC_BUILD_TESTS) |
| 13846 | |
| 13847 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13848 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13849 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13850 | ) |
| 13851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13853 | target_include_directories(json_fuzzer_test_one_entry |
| 13854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13862 | ) |
| 13863 | |
| 13864 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13866 | grpc_test_util |
| 13867 | grpc |
| 13868 | gpr_test_util |
| 13869 | gpr |
| 13870 | ) |
| 13871 | |
| 13872 | endif (gRPC_BUILD_TESTS) |
| 13873 | if (gRPC_BUILD_TESTS) |
| 13874 | |
| 13875 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13876 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13877 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13878 | ) |
| 13879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13881 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 13882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13884 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13885 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13886 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13887 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13888 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13889 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13890 | ) |
| 13891 | |
| 13892 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13893 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13894 | grpc_test_util |
| 13895 | grpc |
| 13896 | gpr_test_util |
| 13897 | gpr |
| 13898 | ) |
| 13899 | |
| 13900 | endif (gRPC_BUILD_TESTS) |
| 13901 | if (gRPC_BUILD_TESTS) |
| 13902 | |
| 13903 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13904 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13905 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13906 | ) |
| 13907 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13908 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13909 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 13910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13912 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13913 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13914 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13915 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13916 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13917 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13918 | ) |
| 13919 | |
| 13920 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13922 | grpc_test_util |
| 13923 | grpc |
| 13924 | gpr_test_util |
| 13925 | gpr |
| 13926 | ) |
| 13927 | |
| 13928 | endif (gRPC_BUILD_TESTS) |
| 13929 | if (gRPC_BUILD_TESTS) |
| 13930 | |
| 13931 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13932 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13933 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13934 | ) |
| 13935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13937 | target_include_directories(percent_decode_fuzzer_one_entry |
| 13938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13940 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13941 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13942 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13943 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13944 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13945 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13950 | grpc_test_util |
| 13951 | grpc |
| 13952 | gpr_test_util |
| 13953 | gpr |
| 13954 | ) |
| 13955 | |
| 13956 | endif (gRPC_BUILD_TESTS) |
| 13957 | if (gRPC_BUILD_TESTS) |
| 13958 | |
| 13959 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13960 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13961 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13962 | ) |
| 13963 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13965 | target_include_directories(percent_encode_fuzzer_one_entry |
| 13966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13969 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13970 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13971 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13972 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13973 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13974 | ) |
| 13975 | |
| 13976 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13978 | grpc_test_util |
| 13979 | grpc |
| 13980 | gpr_test_util |
| 13981 | gpr |
| 13982 | ) |
| 13983 | |
| 13984 | endif (gRPC_BUILD_TESTS) |
| 13985 | if (gRPC_BUILD_TESTS) |
| 13986 | |
| 13987 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13988 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13989 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13990 | ) |
| 13991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13993 | target_include_directories(server_fuzzer_one_entry |
| 13994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13997 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13998 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13999 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14000 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14001 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14002 | ) |
| 14003 | |
| 14004 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14005 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14006 | grpc_test_util |
| 14007 | grpc |
| 14008 | gpr_test_util |
| 14009 | gpr |
| 14010 | ) |
| 14011 | |
| 14012 | endif (gRPC_BUILD_TESTS) |
| 14013 | if (gRPC_BUILD_TESTS) |
| 14014 | |
| 14015 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14016 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14017 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14018 | ) |
| 14019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14021 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14024 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14025 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14026 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14027 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14028 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14029 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14030 | ) |
| 14031 | |
| 14032 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14034 | grpc_test_util |
| 14035 | grpc |
| 14036 | gpr_test_util |
| 14037 | gpr |
| 14038 | ) |
| 14039 | |
| 14040 | endif (gRPC_BUILD_TESTS) |
| 14041 | if (gRPC_BUILD_TESTS) |
| 14042 | |
| 14043 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14044 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14045 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14046 | ) |
| 14047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14049 | target_include_directories(uri_fuzzer_test_one_entry |
| 14050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14053 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14054 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14055 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14056 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14057 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14058 | ) |
| 14059 | |
| 14060 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14061 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14062 | grpc_test_util |
| 14063 | grpc |
| 14064 | gpr_test_util |
| 14065 | gpr |
| 14066 | ) |
| 14067 | |
| 14068 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14069 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14070 | |
| 14071 | |
| 14072 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14073 | |
| 14074 | |
| 14075 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14076 | if (gRPC_INSTALL) |
| 14077 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14078 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14079 | NAMESPACE gRPC:: |
| 14080 | ) |
| 14081 | endif() |
| 14082 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14083 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14084 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14085 | ${_config}.cmake @ONLY) |
| 14086 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14087 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14088 | ) |
| 14089 | endforeach() |