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") |
Srini Polavarapu | 9687447 | 2018-06-27 11:55:26 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.13.0") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Stefan Hacker | 471a5dc | 2018-01-14 13:38:20 +0100 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "lib/cmake/${PACKAGE_NAME}" CACHE STRING "Installation directory for cmake config files") |
Jan Tattermusch | a3992d2 | 2018-05-09 17:37:27 +0200 | [diff] [blame] | 37 | set(gRPC_INSTALL_SHAREDIR "share/grpc" CACHE STRING "Installation directory for root certificates") |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 38 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 39 | # Options |
| 40 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 41 | option(gRPC_BUILD_CODEGEN "Build codegen" ON) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 42 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 43 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 44 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 45 | # Disable gRPC_INSTALL by default if building as a submodule |
| 46 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 47 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 48 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 49 | "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] | 50 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 51 | # Providers for third-party dependencies (gRPC_*_PROVIDER properties): |
| 52 | # "module": build the dependency using sources from git submodule (under third_party) |
| 53 | # "package": use cmake's find_package functionality to locate a pre-installed dependency |
| 54 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 55 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 56 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 57 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 58 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 59 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 60 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 61 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 62 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 63 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 64 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 65 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 66 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 67 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 68 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 69 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 70 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 71 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 72 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 73 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 74 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 75 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 76 | 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] | 77 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 78 | if(UNIX) |
| 79 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 80 | set(_gRPC_PLATFORM_LINUX ON) |
| 81 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 82 | set(_gRPC_PLATFORM_MAC ON) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 83 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android") |
| 84 | set(_gRPC_PLATFORM_ANDROID ON) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 85 | else() |
| 86 | set(_gRPC_PLATFORM_POSIX ON) |
| 87 | endif() |
| 88 | endif() |
| 89 | if(WIN32) |
| 90 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 91 | endif() |
| 92 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 93 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 94 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 95 | add_definitions(-DPB_FIELD_16BIT) |
| 96 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 97 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 98 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 99 | 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] | 100 | # needed to compile protobuf |
| 101 | add_definitions(/wd4065 /wd4506) |
| 102 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 103 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 104 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 105 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 106 | endif() |
| 107 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 108 | if (gRPC_USE_PROTO_LITE) |
| 109 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 110 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 111 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 112 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 113 | endif() |
| 114 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 115 | include(cmake/zlib.cmake) |
| 116 | include(cmake/cares.cmake) |
| 117 | include(cmake/protobuf.cmake) |
| 118 | include(cmake/ssl.cmake) |
| 119 | include(cmake/gflags.cmake) |
| 120 | include(cmake/benchmark.cmake) |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 121 | include(cmake/address_sorting.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 122 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 123 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 124 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 125 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 126 | endif() |
| 127 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 128 | if(_gRPC_PLATFORM_MAC) |
| 129 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 130 | elseif(_gRPC_PLATFORM_ANDROID) |
| 131 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m) |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 132 | elseif(UNIX) |
| 133 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 134 | endif() |
| 135 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 136 | if(WIN32 AND MSVC) |
| 137 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 138 | endif() |
| 139 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 140 | # Create directory for generated .proto files |
| 141 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 142 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 143 | |
| 144 | # protobuf_generate_grpc_cpp |
| 145 | # -------------------------- |
| 146 | # |
| 147 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 148 | # GRPC plugin:: |
| 149 | # |
| 150 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 151 | # |
| 152 | # ``ARGN`` |
| 153 | # ``.proto`` files |
| 154 | # |
| 155 | function(protobuf_generate_grpc_cpp) |
| 156 | if(NOT ARGN) |
| 157 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 158 | return() |
| 159 | endif() |
| 160 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 161 | set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 162 | foreach(FIL ${ARGN}) |
| 163 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 164 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 165 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 166 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 167 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 168 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 169 | add_custom_command( |
| 170 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 171 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 172 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 173 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 174 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 175 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 176 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 177 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 178 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 179 | ${_protobuf_include_path} |
| 180 | ${REL_FIL} |
| 181 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 182 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 183 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 184 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 185 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 186 | 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] | 187 | endforeach() |
| 188 | endfunction() |
| 189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 190 | add_custom_target(plugins |
| 191 | DEPENDS |
| 192 | grpc_cpp_plugin |
| 193 | grpc_csharp_plugin |
| 194 | grpc_node_plugin |
| 195 | grpc_objective_c_plugin |
| 196 | grpc_php_plugin |
| 197 | grpc_python_plugin |
| 198 | grpc_ruby_plugin |
| 199 | ) |
| 200 | |
| 201 | add_custom_target(tools_c |
| 202 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 203 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 204 | grpc_create_jwt |
| 205 | grpc_print_google_default_creds_token |
| 206 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 207 | gen_hpack_tables |
| 208 | gen_legal_metadata_characters |
| 209 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 210 | ) |
| 211 | |
| 212 | add_custom_target(tools_cxx |
| 213 | DEPENDS |
| 214 | ) |
| 215 | |
| 216 | add_custom_target(tools |
| 217 | DEPENDS tools_c tools_cxx) |
| 218 | |
| 219 | if (gRPC_BUILD_TESTS) |
| 220 | add_custom_target(buildtests_c) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 221 | add_dependencies(buildtests_c algorithm_test) |
| 222 | add_dependencies(buildtests_c alloc_test) |
| 223 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 224 | add_dependencies(buildtests_c arena_test) |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 225 | add_dependencies(buildtests_c avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 226 | add_dependencies(buildtests_c bad_server_response_test) |
| 227 | add_dependencies(buildtests_c bin_decoder_test) |
| 228 | add_dependencies(buildtests_c bin_encoder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 229 | add_dependencies(buildtests_c channel_create_test) |
| 230 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 231 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 232 | add_dependencies(buildtests_c chttp2_varint_test) |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 233 | add_dependencies(buildtests_c cmdline_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 234 | add_dependencies(buildtests_c combiner_test) |
| 235 | add_dependencies(buildtests_c compression_test) |
| 236 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 237 | add_dependencies(buildtests_c connection_refused_test) |
| 238 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 239 | add_dependencies(buildtests_c dns_resolver_cooldown_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 240 | add_dependencies(buildtests_c dns_resolver_test) |
| 241 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 242 | add_dependencies(buildtests_c dualstack_socket_test) |
| 243 | endif() |
| 244 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 245 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 246 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 247 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 248 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 249 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 250 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 251 | add_dependencies(buildtests_c fake_transport_security_test) |
| 252 | endif() |
| 253 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 254 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 255 | endif() |
| 256 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 257 | add_dependencies(buildtests_c fd_posix_test) |
| 258 | endif() |
| 259 | add_dependencies(buildtests_c fling_client) |
| 260 | add_dependencies(buildtests_c fling_server) |
| 261 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 262 | add_dependencies(buildtests_c fling_stream_test) |
| 263 | endif() |
| 264 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 265 | add_dependencies(buildtests_c fling_test) |
| 266 | endif() |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 267 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC) |
| 268 | add_dependencies(buildtests_c fork_test) |
| 269 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 270 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 271 | add_dependencies(buildtests_c goaway_server_test) |
| 272 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 273 | add_dependencies(buildtests_c gpr_cpu_test) |
| 274 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 275 | add_dependencies(buildtests_c gpr_host_port_test) |
| 276 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 277 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 278 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 279 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 280 | add_dependencies(buildtests_c gpr_string_test) |
| 281 | add_dependencies(buildtests_c gpr_sync_test) |
| 282 | add_dependencies(buildtests_c gpr_thd_test) |
| 283 | add_dependencies(buildtests_c gpr_time_test) |
| 284 | add_dependencies(buildtests_c gpr_tls_test) |
| 285 | add_dependencies(buildtests_c gpr_useful_test) |
| 286 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 287 | add_dependencies(buildtests_c grpc_b64_test) |
| 288 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 289 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 290 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 291 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 292 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 293 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 294 | add_dependencies(buildtests_c grpc_credentials_test) |
| 295 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 296 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 297 | add_dependencies(buildtests_c grpc_json_token_test) |
| 298 | endif() |
| 299 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 300 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 301 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 302 | if(_gRPC_PLATFORM_LINUX) |
| 303 | add_dependencies(buildtests_c handshake_client) |
| 304 | endif() |
| 305 | if(_gRPC_PLATFORM_LINUX) |
| 306 | add_dependencies(buildtests_c handshake_server) |
| 307 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 308 | if(_gRPC_PLATFORM_LINUX) |
| 309 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 310 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 311 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 312 | add_dependencies(buildtests_c hpack_parser_test) |
| 313 | add_dependencies(buildtests_c hpack_table_test) |
| 314 | add_dependencies(buildtests_c http_parser_test) |
| 315 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 316 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 317 | add_dependencies(buildtests_c httpcli_test) |
| 318 | endif() |
| 319 | if(_gRPC_PLATFORM_LINUX) |
| 320 | add_dependencies(buildtests_c httpscli_test) |
| 321 | endif() |
| 322 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 323 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 324 | add_dependencies(buildtests_c json_rewrite) |
| 325 | add_dependencies(buildtests_c json_rewrite_test) |
| 326 | add_dependencies(buildtests_c json_stream_error_test) |
| 327 | add_dependencies(buildtests_c json_test) |
| 328 | add_dependencies(buildtests_c lame_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 329 | add_dependencies(buildtests_c load_file_test) |
| 330 | add_dependencies(buildtests_c memory_profile_client) |
| 331 | add_dependencies(buildtests_c memory_profile_server) |
| 332 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 333 | add_dependencies(buildtests_c memory_profile_test) |
| 334 | endif() |
| 335 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 336 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 337 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 338 | add_dependencies(buildtests_c murmur_hash_test) |
| 339 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 340 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 341 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 342 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 343 | if(_gRPC_PLATFORM_LINUX) |
| 344 | add_dependencies(buildtests_c pollset_set_test) |
| 345 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 346 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 347 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 348 | endif() |
| 349 | add_dependencies(buildtests_c resolve_address_test) |
| 350 | add_dependencies(buildtests_c resource_quota_test) |
| 351 | add_dependencies(buildtests_c secure_channel_create_test) |
| 352 | add_dependencies(buildtests_c secure_endpoint_test) |
| 353 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 354 | add_dependencies(buildtests_c server_chttp2_test) |
| 355 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 356 | add_dependencies(buildtests_c slice_buffer_test) |
| 357 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 358 | add_dependencies(buildtests_c slice_test) |
| 359 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 360 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 362 | add_dependencies(buildtests_c socket_utils_test) |
| 363 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 364 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 365 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 366 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 367 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 368 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 369 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 370 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 371 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 372 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 373 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 374 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 375 | add_dependencies(buildtests_c tcp_posix_test) |
| 376 | endif() |
| 377 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 378 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 379 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 380 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 381 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 382 | add_dependencies(buildtests_c timeout_encoding_test) |
| 383 | add_dependencies(buildtests_c timer_heap_test) |
| 384 | add_dependencies(buildtests_c timer_list_test) |
| 385 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 386 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 387 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 388 | add_dependencies(buildtests_c transport_security_test) |
| 389 | endif() |
| 390 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 391 | add_dependencies(buildtests_c udp_server_test) |
| 392 | endif() |
| 393 | add_dependencies(buildtests_c uri_parser_test) |
| 394 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 395 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 396 | endif() |
| 397 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 398 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 399 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 400 | add_dependencies(buildtests_c duplicate_header_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 401 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 402 | add_dependencies(buildtests_c headers_bad_client_test) |
| 403 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 404 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 405 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 406 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 407 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 408 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 409 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 410 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 411 | endif() |
| 412 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 413 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 414 | endif() |
| 415 | add_dependencies(buildtests_c h2_census_test) |
| 416 | add_dependencies(buildtests_c h2_compress_test) |
| 417 | add_dependencies(buildtests_c h2_fakesec_test) |
| 418 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 419 | add_dependencies(buildtests_c h2_fd_test) |
| 420 | endif() |
| 421 | add_dependencies(buildtests_c h2_full_test) |
| 422 | if(_gRPC_PLATFORM_LINUX) |
| 423 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 424 | endif() |
| 425 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 426 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 427 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 428 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 429 | add_dependencies(buildtests_c h2_oauth2_test) |
| 430 | add_dependencies(buildtests_c h2_proxy_test) |
| 431 | add_dependencies(buildtests_c h2_sockpair_test) |
| 432 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 433 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 434 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 435 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 436 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 437 | add_dependencies(buildtests_c h2_uds_test) |
| 438 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 439 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 440 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 441 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 442 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 443 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 444 | endif() |
| 445 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 446 | if(_gRPC_PLATFORM_LINUX) |
| 447 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 448 | endif() |
| 449 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 450 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 451 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 452 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 453 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 454 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 455 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 456 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 457 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 458 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 459 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 460 | add_dependencies(buildtests_c inproc_nosec_test) |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 461 | add_dependencies(buildtests_c alts_credentials_fuzzer_one_entry) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 462 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 463 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 464 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 465 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 466 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 467 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 468 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 469 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 470 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 471 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 472 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 473 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 474 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 475 | |
| 476 | add_custom_target(buildtests_cxx) |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 477 | add_dependencies(buildtests_cxx alarm_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 478 | add_dependencies(buildtests_cxx alts_counter_test) |
| 479 | add_dependencies(buildtests_cxx alts_crypt_test) |
| 480 | add_dependencies(buildtests_cxx alts_crypter_test) |
| 481 | add_dependencies(buildtests_cxx alts_frame_handler_test) |
| 482 | add_dependencies(buildtests_cxx alts_frame_protector_test) |
| 483 | add_dependencies(buildtests_cxx alts_grpc_record_protocol_test) |
| 484 | add_dependencies(buildtests_cxx alts_handshaker_client_test) |
| 485 | add_dependencies(buildtests_cxx alts_handshaker_service_api_test) |
| 486 | add_dependencies(buildtests_cxx alts_iovec_record_protocol_test) |
| 487 | add_dependencies(buildtests_cxx alts_security_connector_test) |
| 488 | add_dependencies(buildtests_cxx alts_tsi_handshaker_test) |
| 489 | add_dependencies(buildtests_cxx alts_tsi_utils_test) |
| 490 | add_dependencies(buildtests_cxx alts_zero_copy_grpc_protector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 491 | add_dependencies(buildtests_cxx async_end2end_test) |
| 492 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 493 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 494 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 495 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 496 | add_dependencies(buildtests_cxx bm_arena) |
| 497 | endif() |
| 498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 499 | add_dependencies(buildtests_cxx bm_call_create) |
| 500 | endif() |
| 501 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 502 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 503 | endif() |
| 504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 505 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 506 | endif() |
| 507 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 508 | add_dependencies(buildtests_cxx bm_closure) |
| 509 | endif() |
| 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 511 | add_dependencies(buildtests_cxx bm_cq) |
| 512 | endif() |
| 513 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 514 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 515 | endif() |
| 516 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 517 | add_dependencies(buildtests_cxx bm_error) |
| 518 | endif() |
| 519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 520 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 521 | endif() |
| 522 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 523 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 524 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 525 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 526 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 527 | endif() |
| 528 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 529 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 530 | endif() |
| 531 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 532 | add_dependencies(buildtests_cxx bm_metadata) |
| 533 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 535 | add_dependencies(buildtests_cxx bm_pollset) |
| 536 | endif() |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 537 | add_dependencies(buildtests_cxx byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 538 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 539 | add_dependencies(buildtests_cxx channel_filter_test) |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 540 | add_dependencies(buildtests_cxx channel_trace_test) |
ncteisen | 16b42ca | 2018-05-11 11:59:38 -0400 | [diff] [blame] | 541 | add_dependencies(buildtests_cxx channelz_registry_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 542 | add_dependencies(buildtests_cxx check_gcp_environment_linux_test) |
| 543 | add_dependencies(buildtests_cxx check_gcp_environment_windows_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 544 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 545 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 546 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 547 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 548 | add_dependencies(buildtests_cxx client_crash_test) |
| 549 | endif() |
| 550 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 551 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 552 | add_dependencies(buildtests_cxx codegen_test_full) |
| 553 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 554 | add_dependencies(buildtests_cxx credentials_test) |
| 555 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 556 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 557 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 558 | add_dependencies(buildtests_cxx cxx_time_test) |
| 559 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 560 | add_dependencies(buildtests_cxx error_details_test) |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 561 | add_dependencies(buildtests_cxx exception_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 562 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 563 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 564 | add_dependencies(buildtests_cxx golden_file_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 565 | add_dependencies(buildtests_cxx grpc_alts_credentials_options_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 566 | add_dependencies(buildtests_cxx grpc_cli) |
| 567 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 568 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 569 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 570 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 571 | add_dependencies(buildtests_cxx h2_ssl_session_reuse_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 572 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 573 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 574 | add_dependencies(buildtests_cxx http2_client) |
| 575 | endif() |
| 576 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 577 | add_dependencies(buildtests_cxx inlined_vector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 579 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 580 | endif() |
| 581 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 582 | add_dependencies(buildtests_cxx interop_client) |
| 583 | endif() |
| 584 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 585 | add_dependencies(buildtests_cxx interop_server) |
| 586 | endif() |
| 587 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 588 | add_dependencies(buildtests_cxx interop_test) |
| 589 | endif() |
| 590 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 591 | add_dependencies(buildtests_cxx json_run_localhost) |
| 592 | endif() |
Juanli Shen | a0aab7e | 2018-05-01 10:30:54 -0700 | [diff] [blame] | 593 | add_dependencies(buildtests_cxx lb_load_data_store_test) |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 594 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 595 | add_dependencies(buildtests_cxx metrics_client) |
| 596 | add_dependencies(buildtests_cxx mock_test) |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 597 | add_dependencies(buildtests_cxx nonblocking_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 598 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 599 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 600 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 601 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 602 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 603 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 604 | endif() |
| 605 | add_dependencies(buildtests_cxx qps_json_driver) |
| 606 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 607 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 608 | endif() |
| 609 | add_dependencies(buildtests_cxx qps_worker) |
| 610 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 611 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 612 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 613 | add_dependencies(buildtests_cxx ref_counted_test) |
Mark D. Roth | 9db86fc | 2018-03-28 07:42:20 -0700 | [diff] [blame] | 614 | add_dependencies(buildtests_cxx retry_throttle_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 615 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 616 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 617 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 618 | endif() |
| 619 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 620 | add_dependencies(buildtests_cxx server_builder_test) |
Alexander Polcyn | ac8b72f | 2018-05-04 17:18:27 -0700 | [diff] [blame] | 621 | if(_gRPC_PLATFORM_POSIX) |
| 622 | add_dependencies(buildtests_cxx server_builder_with_socket_mutator_test) |
| 623 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 624 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 625 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 626 | add_dependencies(buildtests_cxx server_crash_test) |
| 627 | endif() |
| 628 | add_dependencies(buildtests_cxx server_crash_test_client) |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 629 | add_dependencies(buildtests_cxx server_early_return_test) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 630 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 631 | add_dependencies(buildtests_cxx shutdown_test) |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 632 | add_dependencies(buildtests_cxx slice_hash_table_test) |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 633 | add_dependencies(buildtests_cxx slice_weak_hash_table_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 634 | add_dependencies(buildtests_cxx stats_test) |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 635 | add_dependencies(buildtests_cxx status_metadata_test) |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 636 | add_dependencies(buildtests_cxx status_util_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 637 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 638 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 639 | endif() |
| 640 | add_dependencies(buildtests_cxx stress_test) |
| 641 | add_dependencies(buildtests_cxx thread_manager_test) |
| 642 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 643 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 644 | add_dependencies(buildtests_cxx transport_security_common_api_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 645 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 646 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 647 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 648 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 649 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 650 | endif() |
| 651 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 652 | add_dependencies(buildtests_cxx resolver_component_test) |
| 653 | endif() |
| 654 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 655 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 656 | endif() |
| 657 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 658 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 659 | endif() |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 660 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 661 | add_dependencies(buildtests_cxx address_sorting_test_unsecure) |
| 662 | endif() |
| 663 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 664 | add_dependencies(buildtests_cxx address_sorting_test) |
| 665 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 666 | |
| 667 | add_custom_target(buildtests |
| 668 | DEPENDS buildtests_c buildtests_cxx) |
| 669 | endif (gRPC_BUILD_TESTS) |
| 670 | |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 671 | |
| 672 | add_library(address_sorting |
| 673 | third_party/address_sorting/address_sorting.c |
| 674 | third_party/address_sorting/address_sorting_posix.c |
| 675 | third_party/address_sorting/address_sorting_windows.c |
| 676 | ) |
| 677 | |
| 678 | if(WIN32 AND MSVC) |
| 679 | set_target_properties(address_sorting PROPERTIES COMPILE_PDB_NAME "address_sorting" |
| 680 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 681 | ) |
| 682 | if (gRPC_INSTALL) |
| 683 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/address_sorting.pdb |
| 684 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 685 | ) |
| 686 | endif() |
| 687 | endif() |
| 688 | |
| 689 | |
| 690 | target_include_directories(address_sorting |
| 691 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 693 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 694 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 695 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 696 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 697 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 698 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 699 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 700 | ) |
| 701 | |
| 702 | target_link_libraries(address_sorting |
Alexander Polcyn | 18caf6d | 2018-06-06 12:06:52 -0700 | [diff] [blame] | 703 | ${_gRPC_BASELIB_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 705 | ) |
| 706 | |
| 707 | |
| 708 | |
| 709 | if (gRPC_INSTALL) |
| 710 | install(TARGETS address_sorting EXPORT gRPCTargets |
| 711 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 712 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 713 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 714 | ) |
| 715 | endif() |
| 716 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 717 | if (gRPC_BUILD_TESTS) |
| 718 | |
| 719 | add_library(alts_test_util |
| 720 | test/core/tsi/alts/crypt/gsec_test_util.cc |
| 721 | test/core/tsi/alts/handshaker/alts_handshaker_service_api_test_lib.cc |
| 722 | ) |
| 723 | |
| 724 | if(WIN32 AND MSVC) |
| 725 | set_target_properties(alts_test_util PROPERTIES COMPILE_PDB_NAME "alts_test_util" |
| 726 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 727 | ) |
| 728 | if (gRPC_INSTALL) |
| 729 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/alts_test_util.pdb |
| 730 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 731 | ) |
| 732 | endif() |
| 733 | endif() |
| 734 | |
| 735 | |
| 736 | target_include_directories(alts_test_util |
| 737 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 739 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 740 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 741 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 742 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 743 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 744 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 745 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 746 | ) |
| 747 | |
| 748 | target_link_libraries(alts_test_util |
| 749 | ${_gRPC_SSL_LIBRARIES} |
| 750 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 751 | grpc |
| 752 | ) |
| 753 | |
| 754 | |
| 755 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 756 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 757 | add_library(gpr |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 758 | src/core/lib/gpr/alloc.cc |
| 759 | src/core/lib/gpr/arena.cc |
| 760 | src/core/lib/gpr/atm.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 761 | src/core/lib/gpr/cpu_iphone.cc |
| 762 | src/core/lib/gpr/cpu_linux.cc |
| 763 | src/core/lib/gpr/cpu_posix.cc |
| 764 | src/core/lib/gpr/cpu_windows.cc |
| 765 | src/core/lib/gpr/env_linux.cc |
| 766 | src/core/lib/gpr/env_posix.cc |
| 767 | src/core/lib/gpr/env_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 768 | src/core/lib/gpr/host_port.cc |
| 769 | src/core/lib/gpr/log.cc |
| 770 | src/core/lib/gpr/log_android.cc |
| 771 | src/core/lib/gpr/log_linux.cc |
| 772 | src/core/lib/gpr/log_posix.cc |
| 773 | src/core/lib/gpr/log_windows.cc |
| 774 | src/core/lib/gpr/mpscq.cc |
| 775 | src/core/lib/gpr/murmur_hash.cc |
| 776 | src/core/lib/gpr/string.cc |
| 777 | src/core/lib/gpr/string_posix.cc |
| 778 | src/core/lib/gpr/string_util_windows.cc |
| 779 | src/core/lib/gpr/string_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 780 | src/core/lib/gpr/sync.cc |
| 781 | src/core/lib/gpr/sync_posix.cc |
| 782 | src/core/lib/gpr/sync_windows.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 783 | src/core/lib/gpr/time.cc |
| 784 | src/core/lib/gpr/time_posix.cc |
| 785 | src/core/lib/gpr/time_precise.cc |
| 786 | src/core/lib/gpr/time_windows.cc |
| 787 | src/core/lib/gpr/tls_pthread.cc |
| 788 | src/core/lib/gpr/tmpfile_msys.cc |
| 789 | src/core/lib/gpr/tmpfile_posix.cc |
| 790 | src/core/lib/gpr/tmpfile_windows.cc |
| 791 | src/core/lib/gpr/wrap_memcpy.cc |
kpayson64 | 701e70d | 2018-04-30 17:40:00 -0700 | [diff] [blame] | 792 | src/core/lib/gprpp/fork.cc |
Vijay Pai | da69355 | 2018-02-16 22:59:03 -0800 | [diff] [blame] | 793 | src/core/lib/gprpp/thd_posix.cc |
| 794 | src/core/lib/gprpp/thd_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 795 | src/core/lib/profiling/basic_timers.cc |
| 796 | src/core/lib/profiling/stap_timers.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 797 | ) |
| 798 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 799 | if(WIN32 AND MSVC) |
| 800 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 801 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 802 | ) |
| 803 | if (gRPC_INSTALL) |
| 804 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 805 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 806 | ) |
| 807 | endif() |
| 808 | endif() |
| 809 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 810 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 811 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 812 | 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] | 813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 814 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 815 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 816 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 817 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 818 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 819 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 820 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 821 | ) |
| 822 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 823 | target_link_libraries(gpr |
| 824 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 825 | ) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 826 | if (_gRPC_PLATFORM_ANDROID) |
| 827 | target_link_libraries(gpr |
| 828 | android |
| 829 | log |
| 830 | ) |
| 831 | endif (_gRPC_PLATFORM_ANDROID) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 832 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 833 | foreach(_hdr |
| 834 | include/grpc/support/alloc.h |
| 835 | include/grpc/support/atm.h |
| 836 | include/grpc/support/atm_gcc_atomic.h |
| 837 | include/grpc/support/atm_gcc_sync.h |
| 838 | include/grpc/support/atm_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 839 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 840 | include/grpc/support/log.h |
| 841 | include/grpc/support/log_windows.h |
| 842 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 843 | include/grpc/support/string_util.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 844 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 845 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 846 | include/grpc/support/sync_generic.h |
| 847 | include/grpc/support/sync_posix.h |
| 848 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 849 | include/grpc/support/thd_id.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 850 | include/grpc/support/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 851 | include/grpc/impl/codegen/atm.h |
| 852 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 853 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 854 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 855 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 856 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 857 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 858 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 859 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 860 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 861 | include/grpc/impl/codegen/sync_generic.h |
| 862 | include/grpc/impl/codegen/sync_posix.h |
| 863 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 864 | ) |
| 865 | string(REPLACE "include/" "" _path ${_hdr}) |
| 866 | get_filename_component(_path ${_path} PATH) |
| 867 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 868 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 869 | ) |
| 870 | endforeach() |
| 871 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 872 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 873 | if (gRPC_INSTALL) |
| 874 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 875 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 876 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 877 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 878 | ) |
| 879 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 881 | if (gRPC_BUILD_TESTS) |
| 882 | |
| 883 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 884 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 885 | ) |
| 886 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 887 | if(WIN32 AND MSVC) |
| 888 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 889 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 890 | ) |
| 891 | if (gRPC_INSTALL) |
| 892 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 893 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 894 | ) |
| 895 | endif() |
| 896 | endif() |
| 897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 898 | |
| 899 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 900 | 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] | 901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 902 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 903 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 904 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 905 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 906 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 907 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 908 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 909 | ) |
| 910 | |
| 911 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 912 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 913 | gpr |
| 914 | ) |
| 915 | |
| 916 | |
| 917 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 918 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 919 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 920 | src/core/lib/surface/init.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 921 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 922 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 923 | src/core/lib/channel/channel_args.cc |
| 924 | src/core/lib/channel/channel_stack.cc |
| 925 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 926 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 927 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 928 | src/core/lib/channel/connected_channel.cc |
| 929 | src/core/lib/channel/handshaker.cc |
| 930 | src/core/lib/channel/handshaker_factory.cc |
| 931 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 932 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 933 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 934 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 935 | src/core/lib/compression/message_compress.cc |
| 936 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 937 | src/core/lib/compression/stream_compression_gzip.cc |
| 938 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 939 | src/core/lib/debug/stats.cc |
| 940 | src/core/lib/debug/stats_data.cc |
| 941 | src/core/lib/http/format_request.cc |
| 942 | src/core/lib/http/httpcli.cc |
| 943 | src/core/lib/http/parser.cc |
| 944 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 945 | src/core/lib/iomgr/combiner.cc |
| 946 | src/core/lib/iomgr/endpoint.cc |
| 947 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 948 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 949 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 950 | src/core/lib/iomgr/error.cc |
| 951 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 952 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 953 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 954 | src/core/lib/iomgr/ev_poll_posix.cc |
| 955 | src/core/lib/iomgr/ev_posix.cc |
| 956 | src/core/lib/iomgr/ev_windows.cc |
| 957 | src/core/lib/iomgr/exec_ctx.cc |
| 958 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 959 | src/core/lib/iomgr/fork_posix.cc |
| 960 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 961 | src/core/lib/iomgr/gethostname_fallback.cc |
| 962 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 963 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 964 | src/core/lib/iomgr/iocp_windows.cc |
| 965 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 966 | src/core/lib/iomgr/iomgr_custom.cc |
| 967 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 968 | src/core/lib/iomgr/iomgr_posix.cc |
| 969 | src/core/lib/iomgr/iomgr_uv.cc |
| 970 | src/core/lib/iomgr/iomgr_windows.cc |
| 971 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 972 | src/core/lib/iomgr/load_file.cc |
| 973 | src/core/lib/iomgr/lockfree_event.cc |
| 974 | src/core/lib/iomgr/network_status_tracker.cc |
| 975 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 976 | src/core/lib/iomgr/pollset.cc |
| 977 | src/core/lib/iomgr/pollset_custom.cc |
| 978 | src/core/lib/iomgr/pollset_set.cc |
| 979 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 980 | src/core/lib/iomgr/pollset_set_windows.cc |
| 981 | src/core/lib/iomgr/pollset_uv.cc |
| 982 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 983 | src/core/lib/iomgr/resolve_address.cc |
| 984 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 985 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 986 | src/core/lib/iomgr/resolve_address_windows.cc |
| 987 | src/core/lib/iomgr/resource_quota.cc |
| 988 | src/core/lib/iomgr/sockaddr_utils.cc |
| 989 | src/core/lib/iomgr/socket_factory_posix.cc |
| 990 | src/core/lib/iomgr/socket_mutator.cc |
| 991 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 992 | src/core/lib/iomgr/socket_utils_linux.cc |
| 993 | src/core/lib/iomgr/socket_utils_posix.cc |
| 994 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 995 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 996 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 997 | src/core/lib/iomgr/tcp_client.cc |
| 998 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 999 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1000 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1001 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1002 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1003 | src/core/lib/iomgr/tcp_server.cc |
| 1004 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1005 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1006 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1007 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1008 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1009 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1010 | src/core/lib/iomgr/tcp_uv.cc |
| 1011 | src/core/lib/iomgr/tcp_windows.cc |
| 1012 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1013 | src/core/lib/iomgr/timer.cc |
| 1014 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1015 | src/core/lib/iomgr/timer_generic.cc |
| 1016 | src/core/lib/iomgr/timer_heap.cc |
| 1017 | src/core/lib/iomgr/timer_manager.cc |
| 1018 | src/core/lib/iomgr/timer_uv.cc |
| 1019 | src/core/lib/iomgr/udp_server.cc |
| 1020 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1021 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1022 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1023 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1024 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1025 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1026 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1027 | src/core/lib/json/json.cc |
| 1028 | src/core/lib/json/json_reader.cc |
| 1029 | src/core/lib/json/json_string.cc |
| 1030 | src/core/lib/json/json_writer.cc |
| 1031 | src/core/lib/slice/b64.cc |
| 1032 | src/core/lib/slice/percent_encoding.cc |
| 1033 | src/core/lib/slice/slice.cc |
| 1034 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1035 | src/core/lib/slice/slice_intern.cc |
| 1036 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1037 | src/core/lib/surface/api_trace.cc |
| 1038 | src/core/lib/surface/byte_buffer.cc |
| 1039 | src/core/lib/surface/byte_buffer_reader.cc |
| 1040 | src/core/lib/surface/call.cc |
| 1041 | src/core/lib/surface/call_details.cc |
| 1042 | src/core/lib/surface/call_log_batch.cc |
| 1043 | src/core/lib/surface/channel.cc |
| 1044 | src/core/lib/surface/channel_init.cc |
| 1045 | src/core/lib/surface/channel_ping.cc |
| 1046 | src/core/lib/surface/channel_stack_type.cc |
| 1047 | src/core/lib/surface/completion_queue.cc |
| 1048 | src/core/lib/surface/completion_queue_factory.cc |
| 1049 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1050 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1051 | src/core/lib/surface/metadata_array.cc |
| 1052 | src/core/lib/surface/server.cc |
| 1053 | src/core/lib/surface/validate_metadata.cc |
| 1054 | src/core/lib/surface/version.cc |
| 1055 | src/core/lib/transport/bdp_estimator.cc |
| 1056 | src/core/lib/transport/byte_stream.cc |
| 1057 | src/core/lib/transport/connectivity_state.cc |
| 1058 | src/core/lib/transport/error_utils.cc |
| 1059 | src/core/lib/transport/metadata.cc |
| 1060 | src/core/lib/transport/metadata_batch.cc |
| 1061 | src/core/lib/transport/pid_controller.cc |
| 1062 | src/core/lib/transport/service_config.cc |
| 1063 | src/core/lib/transport/static_metadata.cc |
| 1064 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1065 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1066 | src/core/lib/transport/timeout_encoding.cc |
| 1067 | src/core/lib/transport/transport.cc |
| 1068 | src/core/lib/transport/transport_op_string.cc |
| 1069 | src/core/lib/debug/trace.cc |
| 1070 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 1071 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1072 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1073 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1074 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1075 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1076 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1077 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1078 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1079 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1080 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1081 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1082 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1083 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1084 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1085 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1086 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1087 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1088 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1089 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1090 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1091 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1092 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1093 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1094 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1095 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1096 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1097 | src/core/ext/filters/http/server/http_server_filter.cc |
| 1098 | src/core/lib/http/httpcli_security_connector.cc |
| 1099 | src/core/lib/security/context/security_context.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1100 | src/core/lib/security/credentials/alts/alts_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1101 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1102 | src/core/lib/security/credentials/credentials.cc |
| 1103 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1104 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1105 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1106 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1107 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1108 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1109 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1110 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1111 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1112 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1113 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1114 | src/core/lib/security/security_connector/alts_security_connector.cc |
Yihua Zhang | 75f0a9f | 2018-02-20 10:09:47 -0800 | [diff] [blame] | 1115 | src/core/lib/security/security_connector/security_connector.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1116 | src/core/lib/security/transport/client_auth_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1117 | src/core/lib/security/transport/secure_endpoint.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1118 | src/core/lib/security/transport/security_handshaker.cc |
| 1119 | src/core/lib/security/transport/server_auth_filter.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1120 | src/core/lib/security/transport/target_authority_table.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1121 | src/core/lib/security/transport/tsi_error.cc |
| 1122 | src/core/lib/security/util/json_util.cc |
| 1123 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1124 | src/core/tsi/alts/crypt/aes_gcm.cc |
| 1125 | src/core/tsi/alts/crypt/gsec.cc |
| 1126 | src/core/tsi/alts/frame_protector/alts_counter.cc |
| 1127 | src/core/tsi/alts/frame_protector/alts_crypter.cc |
| 1128 | src/core/tsi/alts/frame_protector/alts_frame_protector.cc |
| 1129 | src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc |
| 1130 | src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc |
| 1131 | src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc |
| 1132 | src/core/tsi/alts/frame_protector/frame_handler.cc |
| 1133 | src/core/tsi/alts/handshaker/alts_handshaker_client.cc |
| 1134 | src/core/tsi/alts/handshaker/alts_tsi_event.cc |
| 1135 | src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc |
| 1136 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc |
| 1137 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc |
| 1138 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc |
| 1139 | src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc |
| 1140 | src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc |
| 1141 | src/core/lib/security/credentials/alts/check_gcp_environment.cc |
| 1142 | src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc |
| 1143 | src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc |
| 1144 | src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc |
| 1145 | src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc |
| 1146 | src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc |
| 1147 | src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc |
| 1148 | src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc |
| 1149 | src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc |
| 1150 | src/core/tsi/alts/handshaker/alts_tsi_utils.cc |
| 1151 | src/core/tsi/alts/handshaker/transport_security_common_api.cc |
| 1152 | src/core/tsi/alts/handshaker/altscontext.pb.c |
| 1153 | src/core/tsi/alts/handshaker/handshaker.pb.c |
| 1154 | src/core/tsi/alts/handshaker/transport_security_common.pb.c |
| 1155 | third_party/nanopb/pb_common.c |
| 1156 | third_party/nanopb/pb_decode.c |
| 1157 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1158 | src/core/tsi/transport_security.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1159 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1160 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 1161 | src/core/ext/transport/chttp2/client/authority.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1162 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1163 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1164 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1165 | src/core/ext/filters/client_channel/client_channel.cc |
| 1166 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1167 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1168 | src/core/ext/filters/client_channel/connector.cc |
| 1169 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1170 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1171 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1172 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1173 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1174 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1175 | src/core/ext/filters/client_channel/parse_address.cc |
| 1176 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1177 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1178 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1179 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1180 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1181 | src/core/ext/filters/client_channel/subchannel.cc |
| 1182 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1183 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1184 | src/core/ext/filters/deadline/deadline_filter.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1185 | src/core/tsi/alts_transport_security.cc |
| 1186 | src/core/tsi/fake_transport_security.cc |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 1187 | src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc |
| 1188 | src/core/tsi/ssl/session_cache/ssl_session_cache.cc |
| 1189 | src/core/tsi/ssl/session_cache/ssl_session_openssl.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1190 | src/core/tsi/ssl_transport_security.cc |
| 1191 | src/core/tsi/transport_security_grpc.cc |
| 1192 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 1193 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1194 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1195 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1196 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1197 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1198 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1199 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1200 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1201 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1202 | 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] | 1203 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1204 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1205 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 1206 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1207 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1208 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1209 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1210 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1211 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1212 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1213 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1214 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1215 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1216 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1217 | src/core/ext/filters/message_size/message_size_filter.cc |
David Garcia Quintas | 961353a | 2018-03-15 16:11:05 -0700 | [diff] [blame] | 1218 | src/core/ext/filters/http/client_authority_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1219 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1220 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1221 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1222 | ) |
| 1223 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1224 | if(WIN32 AND MSVC) |
| 1225 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1226 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1227 | ) |
| 1228 | if (gRPC_INSTALL) |
| 1229 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1230 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1231 | ) |
| 1232 | endif() |
| 1233 | endif() |
| 1234 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1235 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1236 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1237 | 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] | 1238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1239 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1240 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1241 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1242 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1243 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1244 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1245 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1246 | ) |
| 1247 | |
| 1248 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1249 | ${_gRPC_BASELIB_LIBRARIES} |
| 1250 | ${_gRPC_SSL_LIBRARIES} |
| 1251 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1252 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 1253 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1254 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1255 | gpr |
| 1256 | ) |
| 1257 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1258 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1259 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1260 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1261 | include/grpc/impl/codegen/compression_types.h |
| 1262 | include/grpc/impl/codegen/connectivity_state.h |
| 1263 | include/grpc/impl/codegen/grpc_types.h |
| 1264 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1265 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1266 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1267 | include/grpc/impl/codegen/atm.h |
| 1268 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1269 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1270 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1271 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1272 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1273 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1274 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1275 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1276 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1277 | include/grpc/impl/codegen/sync_generic.h |
| 1278 | include/grpc/impl/codegen/sync_posix.h |
| 1279 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1280 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1281 | include/grpc/byte_buffer.h |
| 1282 | include/grpc/byte_buffer_reader.h |
| 1283 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1284 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1285 | include/grpc/grpc.h |
| 1286 | include/grpc/grpc_posix.h |
| 1287 | include/grpc/grpc_security_constants.h |
| 1288 | include/grpc/load_reporting.h |
| 1289 | include/grpc/slice.h |
| 1290 | include/grpc/slice_buffer.h |
| 1291 | include/grpc/status.h |
| 1292 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1293 | include/grpc/census.h |
| 1294 | ) |
| 1295 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1296 | get_filename_component(_path ${_path} PATH) |
| 1297 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1298 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1299 | ) |
| 1300 | endforeach() |
| 1301 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1302 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1303 | if (gRPC_INSTALL) |
| 1304 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1305 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1306 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1307 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1308 | ) |
| 1309 | endif() |
| 1310 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1311 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1312 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1313 | src/core/lib/surface/init.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 1314 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1315 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1316 | src/core/lib/channel/channel_args.cc |
| 1317 | src/core/lib/channel/channel_stack.cc |
| 1318 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1319 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 1320 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1321 | src/core/lib/channel/connected_channel.cc |
| 1322 | src/core/lib/channel/handshaker.cc |
| 1323 | src/core/lib/channel/handshaker_factory.cc |
| 1324 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1325 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1326 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1327 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1328 | src/core/lib/compression/message_compress.cc |
| 1329 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1330 | src/core/lib/compression/stream_compression_gzip.cc |
| 1331 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1332 | src/core/lib/debug/stats.cc |
| 1333 | src/core/lib/debug/stats_data.cc |
| 1334 | src/core/lib/http/format_request.cc |
| 1335 | src/core/lib/http/httpcli.cc |
| 1336 | src/core/lib/http/parser.cc |
| 1337 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1338 | src/core/lib/iomgr/combiner.cc |
| 1339 | src/core/lib/iomgr/endpoint.cc |
| 1340 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1341 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1342 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1343 | src/core/lib/iomgr/error.cc |
| 1344 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1345 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1346 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1347 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1348 | src/core/lib/iomgr/ev_posix.cc |
| 1349 | src/core/lib/iomgr/ev_windows.cc |
| 1350 | src/core/lib/iomgr/exec_ctx.cc |
| 1351 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1352 | src/core/lib/iomgr/fork_posix.cc |
| 1353 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1354 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1355 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1356 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1357 | src/core/lib/iomgr/iocp_windows.cc |
| 1358 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1359 | src/core/lib/iomgr/iomgr_custom.cc |
| 1360 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1361 | src/core/lib/iomgr/iomgr_posix.cc |
| 1362 | src/core/lib/iomgr/iomgr_uv.cc |
| 1363 | src/core/lib/iomgr/iomgr_windows.cc |
| 1364 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1365 | src/core/lib/iomgr/load_file.cc |
| 1366 | src/core/lib/iomgr/lockfree_event.cc |
| 1367 | src/core/lib/iomgr/network_status_tracker.cc |
| 1368 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1369 | src/core/lib/iomgr/pollset.cc |
| 1370 | src/core/lib/iomgr/pollset_custom.cc |
| 1371 | src/core/lib/iomgr/pollset_set.cc |
| 1372 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1373 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1374 | src/core/lib/iomgr/pollset_uv.cc |
| 1375 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1376 | src/core/lib/iomgr/resolve_address.cc |
| 1377 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1378 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1379 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1380 | src/core/lib/iomgr/resource_quota.cc |
| 1381 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1382 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1383 | src/core/lib/iomgr/socket_mutator.cc |
| 1384 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1385 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1386 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1387 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1388 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1389 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1390 | src/core/lib/iomgr/tcp_client.cc |
| 1391 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1392 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1393 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1394 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1395 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1396 | src/core/lib/iomgr/tcp_server.cc |
| 1397 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1398 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1399 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1400 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1401 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1402 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1403 | src/core/lib/iomgr/tcp_uv.cc |
| 1404 | src/core/lib/iomgr/tcp_windows.cc |
| 1405 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1406 | src/core/lib/iomgr/timer.cc |
| 1407 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1408 | src/core/lib/iomgr/timer_generic.cc |
| 1409 | src/core/lib/iomgr/timer_heap.cc |
| 1410 | src/core/lib/iomgr/timer_manager.cc |
| 1411 | src/core/lib/iomgr/timer_uv.cc |
| 1412 | src/core/lib/iomgr/udp_server.cc |
| 1413 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1414 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1415 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1416 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1417 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1418 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1419 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1420 | src/core/lib/json/json.cc |
| 1421 | src/core/lib/json/json_reader.cc |
| 1422 | src/core/lib/json/json_string.cc |
| 1423 | src/core/lib/json/json_writer.cc |
| 1424 | src/core/lib/slice/b64.cc |
| 1425 | src/core/lib/slice/percent_encoding.cc |
| 1426 | src/core/lib/slice/slice.cc |
| 1427 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1428 | src/core/lib/slice/slice_intern.cc |
| 1429 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1430 | src/core/lib/surface/api_trace.cc |
| 1431 | src/core/lib/surface/byte_buffer.cc |
| 1432 | src/core/lib/surface/byte_buffer_reader.cc |
| 1433 | src/core/lib/surface/call.cc |
| 1434 | src/core/lib/surface/call_details.cc |
| 1435 | src/core/lib/surface/call_log_batch.cc |
| 1436 | src/core/lib/surface/channel.cc |
| 1437 | src/core/lib/surface/channel_init.cc |
| 1438 | src/core/lib/surface/channel_ping.cc |
| 1439 | src/core/lib/surface/channel_stack_type.cc |
| 1440 | src/core/lib/surface/completion_queue.cc |
| 1441 | src/core/lib/surface/completion_queue_factory.cc |
| 1442 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1443 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1444 | src/core/lib/surface/metadata_array.cc |
| 1445 | src/core/lib/surface/server.cc |
| 1446 | src/core/lib/surface/validate_metadata.cc |
| 1447 | src/core/lib/surface/version.cc |
| 1448 | src/core/lib/transport/bdp_estimator.cc |
| 1449 | src/core/lib/transport/byte_stream.cc |
| 1450 | src/core/lib/transport/connectivity_state.cc |
| 1451 | src/core/lib/transport/error_utils.cc |
| 1452 | src/core/lib/transport/metadata.cc |
| 1453 | src/core/lib/transport/metadata_batch.cc |
| 1454 | src/core/lib/transport/pid_controller.cc |
| 1455 | src/core/lib/transport/service_config.cc |
| 1456 | src/core/lib/transport/static_metadata.cc |
| 1457 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1458 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1459 | src/core/lib/transport/timeout_encoding.cc |
| 1460 | src/core/lib/transport/transport.cc |
| 1461 | src/core/lib/transport/transport_op_string.cc |
| 1462 | src/core/lib/debug/trace.cc |
| 1463 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1464 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1465 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1466 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1467 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1468 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1469 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1470 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1471 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1472 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1473 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1474 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1475 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1476 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1477 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1478 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1479 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1480 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1481 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1482 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1483 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1484 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1485 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1486 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1487 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1488 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1489 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1490 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1491 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1492 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1493 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1494 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1495 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1496 | src/core/ext/filters/client_channel/client_channel.cc |
| 1497 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1498 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1499 | src/core/ext/filters/client_channel/connector.cc |
| 1500 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1501 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1502 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1503 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1504 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1505 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1506 | src/core/ext/filters/client_channel/parse_address.cc |
| 1507 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1508 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1509 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1510 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1511 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1512 | src/core/ext/filters/client_channel/subchannel.cc |
| 1513 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1514 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1515 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1516 | src/core/lib/http/httpcli_security_connector.cc |
| 1517 | src/core/lib/security/context/security_context.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1518 | src/core/lib/security/credentials/alts/alts_credentials.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1519 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1520 | src/core/lib/security/credentials/credentials.cc |
| 1521 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1522 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1523 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1524 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1525 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1526 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1527 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1528 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1529 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1530 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1531 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1532 | src/core/lib/security/security_connector/alts_security_connector.cc |
Yihua Zhang | 75f0a9f | 2018-02-20 10:09:47 -0800 | [diff] [blame] | 1533 | src/core/lib/security/security_connector/security_connector.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1534 | src/core/lib/security/transport/client_auth_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1535 | src/core/lib/security/transport/secure_endpoint.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1536 | src/core/lib/security/transport/security_handshaker.cc |
| 1537 | src/core/lib/security/transport/server_auth_filter.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1538 | src/core/lib/security/transport/target_authority_table.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1539 | src/core/lib/security/transport/tsi_error.cc |
| 1540 | src/core/lib/security/util/json_util.cc |
| 1541 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1542 | src/core/tsi/alts/crypt/aes_gcm.cc |
| 1543 | src/core/tsi/alts/crypt/gsec.cc |
| 1544 | src/core/tsi/alts/frame_protector/alts_counter.cc |
| 1545 | src/core/tsi/alts/frame_protector/alts_crypter.cc |
| 1546 | src/core/tsi/alts/frame_protector/alts_frame_protector.cc |
| 1547 | src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc |
| 1548 | src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc |
| 1549 | src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc |
| 1550 | src/core/tsi/alts/frame_protector/frame_handler.cc |
| 1551 | src/core/tsi/alts/handshaker/alts_handshaker_client.cc |
| 1552 | src/core/tsi/alts/handshaker/alts_tsi_event.cc |
| 1553 | src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc |
| 1554 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc |
| 1555 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc |
| 1556 | src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc |
| 1557 | src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc |
| 1558 | src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc |
| 1559 | src/core/lib/security/credentials/alts/check_gcp_environment.cc |
| 1560 | src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc |
| 1561 | src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc |
| 1562 | src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc |
| 1563 | src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc |
| 1564 | src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc |
| 1565 | src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc |
| 1566 | src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc |
| 1567 | src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc |
| 1568 | src/core/tsi/alts/handshaker/alts_tsi_utils.cc |
| 1569 | src/core/tsi/alts/handshaker/transport_security_common_api.cc |
| 1570 | src/core/tsi/alts/handshaker/altscontext.pb.c |
| 1571 | src/core/tsi/alts/handshaker/handshaker.pb.c |
| 1572 | src/core/tsi/alts/handshaker/transport_security_common.pb.c |
| 1573 | third_party/nanopb/pb_common.c |
| 1574 | third_party/nanopb/pb_decode.c |
| 1575 | third_party/nanopb/pb_encode.c |
| 1576 | src/core/tsi/transport_security.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1577 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1578 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 1579 | src/core/ext/transport/chttp2/client/authority.cc |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 1580 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 1581 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1582 | src/core/tsi/fake_transport_security.cc |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 1583 | src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc |
| 1584 | src/core/tsi/ssl/session_cache/ssl_session_cache.cc |
| 1585 | src/core/tsi/ssl/session_cache/ssl_session_openssl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1586 | src/core/tsi/ssl_transport_security.cc |
| 1587 | src/core/tsi/transport_security_grpc.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1588 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1589 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1590 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1591 | ) |
| 1592 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1593 | if(WIN32 AND MSVC) |
| 1594 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1595 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1596 | ) |
| 1597 | if (gRPC_INSTALL) |
| 1598 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1599 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1600 | ) |
| 1601 | endif() |
| 1602 | endif() |
| 1603 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1604 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1605 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1606 | 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] | 1607 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1608 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1609 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1610 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1611 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1612 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1613 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1614 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1615 | ) |
| 1616 | |
| 1617 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1618 | ${_gRPC_BASELIB_LIBRARIES} |
| 1619 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1620 | ${_gRPC_ZLIB_LIBRARIES} |
| 1621 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 1622 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1624 | gpr |
| 1625 | ) |
| 1626 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1627 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1628 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1629 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1630 | include/grpc/impl/codegen/compression_types.h |
| 1631 | include/grpc/impl/codegen/connectivity_state.h |
| 1632 | include/grpc/impl/codegen/grpc_types.h |
| 1633 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1634 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1635 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1636 | include/grpc/impl/codegen/atm.h |
| 1637 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1638 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1639 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1640 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1641 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1642 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1643 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1644 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1645 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1646 | include/grpc/impl/codegen/sync_generic.h |
| 1647 | include/grpc/impl/codegen/sync_posix.h |
| 1648 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1649 | include/grpc/grpc_cronet.h |
| 1650 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1651 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1652 | ) |
| 1653 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1654 | get_filename_component(_path ${_path} PATH) |
| 1655 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1656 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1657 | ) |
| 1658 | endforeach() |
| 1659 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1660 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1661 | if (gRPC_INSTALL) |
| 1662 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1663 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1664 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1665 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1666 | ) |
| 1667 | endif() |
| 1668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1669 | if (gRPC_BUILD_TESTS) |
| 1670 | |
| 1671 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1672 | test/core/end2end/data/client_certs.cc |
| 1673 | test/core/end2end/data/server1_cert.cc |
| 1674 | test/core/end2end/data/server1_key.cc |
| 1675 | test/core/end2end/data/test_root_cert.cc |
| 1676 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1677 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1678 | test/core/end2end/cq_verifier.cc |
| 1679 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1680 | test/core/end2end/fixtures/proxy.cc |
| 1681 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1682 | test/core/util/debugger_macros.cc |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 1683 | test/core/util/fuzzer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1684 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1685 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1686 | test/core/util/memory_counters.cc |
| 1687 | test/core/util/mock_endpoint.cc |
| 1688 | test/core/util/parse_hexstring.cc |
| 1689 | test/core/util/passthru_endpoint.cc |
| 1690 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1691 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1692 | test/core/util/port_server_client.cc |
| 1693 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 1694 | test/core/util/subprocess_posix.cc |
| 1695 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1696 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1697 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1698 | test/core/util/cmdline.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 1699 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1700 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1701 | src/core/lib/channel/channel_args.cc |
| 1702 | src/core/lib/channel/channel_stack.cc |
| 1703 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1704 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 1705 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1706 | src/core/lib/channel/connected_channel.cc |
| 1707 | src/core/lib/channel/handshaker.cc |
| 1708 | src/core/lib/channel/handshaker_factory.cc |
| 1709 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 1710 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1711 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1712 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1713 | src/core/lib/compression/message_compress.cc |
| 1714 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1715 | src/core/lib/compression/stream_compression_gzip.cc |
| 1716 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1717 | src/core/lib/debug/stats.cc |
| 1718 | src/core/lib/debug/stats_data.cc |
| 1719 | src/core/lib/http/format_request.cc |
| 1720 | src/core/lib/http/httpcli.cc |
| 1721 | src/core/lib/http/parser.cc |
| 1722 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1723 | src/core/lib/iomgr/combiner.cc |
| 1724 | src/core/lib/iomgr/endpoint.cc |
| 1725 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1726 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1727 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1728 | src/core/lib/iomgr/error.cc |
| 1729 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1730 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1731 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1732 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1733 | src/core/lib/iomgr/ev_posix.cc |
| 1734 | src/core/lib/iomgr/ev_windows.cc |
| 1735 | src/core/lib/iomgr/exec_ctx.cc |
| 1736 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1737 | src/core/lib/iomgr/fork_posix.cc |
| 1738 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1739 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1740 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1741 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1742 | src/core/lib/iomgr/iocp_windows.cc |
| 1743 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1744 | src/core/lib/iomgr/iomgr_custom.cc |
| 1745 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1746 | src/core/lib/iomgr/iomgr_posix.cc |
| 1747 | src/core/lib/iomgr/iomgr_uv.cc |
| 1748 | src/core/lib/iomgr/iomgr_windows.cc |
| 1749 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1750 | src/core/lib/iomgr/load_file.cc |
| 1751 | src/core/lib/iomgr/lockfree_event.cc |
| 1752 | src/core/lib/iomgr/network_status_tracker.cc |
| 1753 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1754 | src/core/lib/iomgr/pollset.cc |
| 1755 | src/core/lib/iomgr/pollset_custom.cc |
| 1756 | src/core/lib/iomgr/pollset_set.cc |
| 1757 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1758 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1759 | src/core/lib/iomgr/pollset_uv.cc |
| 1760 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1761 | src/core/lib/iomgr/resolve_address.cc |
| 1762 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1763 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1764 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1765 | src/core/lib/iomgr/resource_quota.cc |
| 1766 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1767 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1768 | src/core/lib/iomgr/socket_mutator.cc |
| 1769 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1770 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1771 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1772 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1773 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1774 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1775 | src/core/lib/iomgr/tcp_client.cc |
| 1776 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1777 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1778 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1779 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1780 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1781 | src/core/lib/iomgr/tcp_server.cc |
| 1782 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1783 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1784 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1785 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1786 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1787 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1788 | src/core/lib/iomgr/tcp_uv.cc |
| 1789 | src/core/lib/iomgr/tcp_windows.cc |
| 1790 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 1791 | src/core/lib/iomgr/timer.cc |
| 1792 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1793 | src/core/lib/iomgr/timer_generic.cc |
| 1794 | src/core/lib/iomgr/timer_heap.cc |
| 1795 | src/core/lib/iomgr/timer_manager.cc |
| 1796 | src/core/lib/iomgr/timer_uv.cc |
| 1797 | src/core/lib/iomgr/udp_server.cc |
| 1798 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1799 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1800 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1801 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1802 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1803 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1804 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1805 | src/core/lib/json/json.cc |
| 1806 | src/core/lib/json/json_reader.cc |
| 1807 | src/core/lib/json/json_string.cc |
| 1808 | src/core/lib/json/json_writer.cc |
| 1809 | src/core/lib/slice/b64.cc |
| 1810 | src/core/lib/slice/percent_encoding.cc |
| 1811 | src/core/lib/slice/slice.cc |
| 1812 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1813 | src/core/lib/slice/slice_intern.cc |
| 1814 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1815 | src/core/lib/surface/api_trace.cc |
| 1816 | src/core/lib/surface/byte_buffer.cc |
| 1817 | src/core/lib/surface/byte_buffer_reader.cc |
| 1818 | src/core/lib/surface/call.cc |
| 1819 | src/core/lib/surface/call_details.cc |
| 1820 | src/core/lib/surface/call_log_batch.cc |
| 1821 | src/core/lib/surface/channel.cc |
| 1822 | src/core/lib/surface/channel_init.cc |
| 1823 | src/core/lib/surface/channel_ping.cc |
| 1824 | src/core/lib/surface/channel_stack_type.cc |
| 1825 | src/core/lib/surface/completion_queue.cc |
| 1826 | src/core/lib/surface/completion_queue_factory.cc |
| 1827 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1828 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1829 | src/core/lib/surface/metadata_array.cc |
| 1830 | src/core/lib/surface/server.cc |
| 1831 | src/core/lib/surface/validate_metadata.cc |
| 1832 | src/core/lib/surface/version.cc |
| 1833 | src/core/lib/transport/bdp_estimator.cc |
| 1834 | src/core/lib/transport/byte_stream.cc |
| 1835 | src/core/lib/transport/connectivity_state.cc |
| 1836 | src/core/lib/transport/error_utils.cc |
| 1837 | src/core/lib/transport/metadata.cc |
| 1838 | src/core/lib/transport/metadata_batch.cc |
| 1839 | src/core/lib/transport/pid_controller.cc |
| 1840 | src/core/lib/transport/service_config.cc |
| 1841 | src/core/lib/transport/static_metadata.cc |
| 1842 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 1843 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1844 | src/core/lib/transport/timeout_encoding.cc |
| 1845 | src/core/lib/transport/transport.cc |
| 1846 | src/core/lib/transport/transport_op_string.cc |
| 1847 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1848 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1849 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1850 | src/core/ext/filters/client_channel/client_channel.cc |
| 1851 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1852 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1853 | src/core/ext/filters/client_channel/connector.cc |
| 1854 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1855 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1856 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1857 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1858 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 1859 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1860 | src/core/ext/filters/client_channel/parse_address.cc |
| 1861 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1862 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1863 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1864 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1865 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1866 | src/core/ext/filters/client_channel/subchannel.cc |
| 1867 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1868 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1869 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1870 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1871 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1872 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1873 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1874 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1875 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1876 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1877 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1878 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1879 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1880 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1881 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1882 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1883 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1884 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1885 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1886 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1887 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1888 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1889 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1890 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1891 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1892 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1893 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1894 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1895 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1896 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1897 | ) |
| 1898 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1899 | if(WIN32 AND MSVC) |
| 1900 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1901 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1902 | ) |
| 1903 | if (gRPC_INSTALL) |
| 1904 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1905 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1906 | ) |
| 1907 | endif() |
| 1908 | endif() |
| 1909 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1910 | |
| 1911 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1912 | 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] | 1913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1914 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1915 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1916 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1917 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1918 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1919 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 1920 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1921 | ) |
| 1922 | |
| 1923 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1924 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1925 | gpr_test_util |
| 1926 | gpr |
| 1927 | grpc |
| 1928 | ) |
| 1929 | |
| 1930 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1931 | include/grpc/support/alloc.h |
| 1932 | include/grpc/support/atm.h |
| 1933 | include/grpc/support/atm_gcc_atomic.h |
| 1934 | include/grpc/support/atm_gcc_sync.h |
| 1935 | include/grpc/support/atm_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1936 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1937 | include/grpc/support/log.h |
| 1938 | include/grpc/support/log_windows.h |
| 1939 | include/grpc/support/port_platform.h |
| 1940 | include/grpc/support/string_util.h |
| 1941 | include/grpc/support/sync.h |
| 1942 | include/grpc/support/sync_custom.h |
| 1943 | include/grpc/support/sync_generic.h |
| 1944 | include/grpc/support/sync_posix.h |
| 1945 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 1946 | include/grpc/support/thd_id.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1947 | include/grpc/support/time.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1948 | include/grpc/impl/codegen/atm.h |
| 1949 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1950 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1951 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1952 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1953 | include/grpc/impl/codegen/gpr_slice.h |
| 1954 | include/grpc/impl/codegen/gpr_types.h |
| 1955 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1956 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1957 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1958 | include/grpc/impl/codegen/sync_generic.h |
| 1959 | include/grpc/impl/codegen/sync_posix.h |
| 1960 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 1961 | include/grpc/impl/codegen/byte_buffer.h |
| 1962 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1963 | include/grpc/impl/codegen/compression_types.h |
| 1964 | include/grpc/impl/codegen/connectivity_state.h |
| 1965 | include/grpc/impl/codegen/grpc_types.h |
| 1966 | include/grpc/impl/codegen/propagation_bits.h |
| 1967 | include/grpc/impl/codegen/slice.h |
| 1968 | include/grpc/impl/codegen/status.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1969 | ) |
| 1970 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1971 | get_filename_component(_path ${_path} PATH) |
| 1972 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1973 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1974 | ) |
| 1975 | endforeach() |
| 1976 | |
| 1977 | endif (gRPC_BUILD_TESTS) |
| 1978 | if (gRPC_BUILD_TESTS) |
| 1979 | |
| 1980 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1981 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1982 | test/core/end2end/cq_verifier.cc |
| 1983 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1984 | test/core/end2end/fixtures/proxy.cc |
| 1985 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1986 | test/core/util/debugger_macros.cc |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 1987 | test/core/util/fuzzer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1988 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1989 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1990 | test/core/util/memory_counters.cc |
| 1991 | test/core/util/mock_endpoint.cc |
| 1992 | test/core/util/parse_hexstring.cc |
| 1993 | test/core/util/passthru_endpoint.cc |
| 1994 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1995 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1996 | test/core/util/port_server_client.cc |
| 1997 | test/core/util/slice_splitter.cc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 1998 | test/core/util/subprocess_posix.cc |
| 1999 | test/core/util/subprocess_windows.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 2000 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2001 | test/core/util/trickle_endpoint.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2002 | test/core/util/cmdline.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 2003 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2004 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2005 | src/core/lib/channel/channel_args.cc |
| 2006 | src/core/lib/channel/channel_stack.cc |
| 2007 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2008 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 2009 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2010 | src/core/lib/channel/connected_channel.cc |
| 2011 | src/core/lib/channel/handshaker.cc |
| 2012 | src/core/lib/channel/handshaker_factory.cc |
| 2013 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2014 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2015 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2016 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2017 | src/core/lib/compression/message_compress.cc |
| 2018 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2019 | src/core/lib/compression/stream_compression_gzip.cc |
| 2020 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2021 | src/core/lib/debug/stats.cc |
| 2022 | src/core/lib/debug/stats_data.cc |
| 2023 | src/core/lib/http/format_request.cc |
| 2024 | src/core/lib/http/httpcli.cc |
| 2025 | src/core/lib/http/parser.cc |
| 2026 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2027 | src/core/lib/iomgr/combiner.cc |
| 2028 | src/core/lib/iomgr/endpoint.cc |
| 2029 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2030 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2031 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2032 | src/core/lib/iomgr/error.cc |
| 2033 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2034 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2035 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2036 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2037 | src/core/lib/iomgr/ev_posix.cc |
| 2038 | src/core/lib/iomgr/ev_windows.cc |
| 2039 | src/core/lib/iomgr/exec_ctx.cc |
| 2040 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2041 | src/core/lib/iomgr/fork_posix.cc |
| 2042 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2043 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2044 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2045 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2046 | src/core/lib/iomgr/iocp_windows.cc |
| 2047 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2048 | src/core/lib/iomgr/iomgr_custom.cc |
| 2049 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2050 | src/core/lib/iomgr/iomgr_posix.cc |
| 2051 | src/core/lib/iomgr/iomgr_uv.cc |
| 2052 | src/core/lib/iomgr/iomgr_windows.cc |
| 2053 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2054 | src/core/lib/iomgr/load_file.cc |
| 2055 | src/core/lib/iomgr/lockfree_event.cc |
| 2056 | src/core/lib/iomgr/network_status_tracker.cc |
| 2057 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2058 | src/core/lib/iomgr/pollset.cc |
| 2059 | src/core/lib/iomgr/pollset_custom.cc |
| 2060 | src/core/lib/iomgr/pollset_set.cc |
| 2061 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2062 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2063 | src/core/lib/iomgr/pollset_uv.cc |
| 2064 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2065 | src/core/lib/iomgr/resolve_address.cc |
| 2066 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2067 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2068 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2069 | src/core/lib/iomgr/resource_quota.cc |
| 2070 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2071 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2072 | src/core/lib/iomgr/socket_mutator.cc |
| 2073 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2074 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2075 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2076 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2077 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2078 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2079 | src/core/lib/iomgr/tcp_client.cc |
| 2080 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2081 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2082 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2083 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2084 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2085 | src/core/lib/iomgr/tcp_server.cc |
| 2086 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2087 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2088 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2089 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2090 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2091 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2092 | src/core/lib/iomgr/tcp_uv.cc |
| 2093 | src/core/lib/iomgr/tcp_windows.cc |
| 2094 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2095 | src/core/lib/iomgr/timer.cc |
| 2096 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2097 | src/core/lib/iomgr/timer_generic.cc |
| 2098 | src/core/lib/iomgr/timer_heap.cc |
| 2099 | src/core/lib/iomgr/timer_manager.cc |
| 2100 | src/core/lib/iomgr/timer_uv.cc |
| 2101 | src/core/lib/iomgr/udp_server.cc |
| 2102 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2103 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2104 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2105 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2106 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2107 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2108 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2109 | src/core/lib/json/json.cc |
| 2110 | src/core/lib/json/json_reader.cc |
| 2111 | src/core/lib/json/json_string.cc |
| 2112 | src/core/lib/json/json_writer.cc |
| 2113 | src/core/lib/slice/b64.cc |
| 2114 | src/core/lib/slice/percent_encoding.cc |
| 2115 | src/core/lib/slice/slice.cc |
| 2116 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2117 | src/core/lib/slice/slice_intern.cc |
| 2118 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2119 | src/core/lib/surface/api_trace.cc |
| 2120 | src/core/lib/surface/byte_buffer.cc |
| 2121 | src/core/lib/surface/byte_buffer_reader.cc |
| 2122 | src/core/lib/surface/call.cc |
| 2123 | src/core/lib/surface/call_details.cc |
| 2124 | src/core/lib/surface/call_log_batch.cc |
| 2125 | src/core/lib/surface/channel.cc |
| 2126 | src/core/lib/surface/channel_init.cc |
| 2127 | src/core/lib/surface/channel_ping.cc |
| 2128 | src/core/lib/surface/channel_stack_type.cc |
| 2129 | src/core/lib/surface/completion_queue.cc |
| 2130 | src/core/lib/surface/completion_queue_factory.cc |
| 2131 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2132 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2133 | src/core/lib/surface/metadata_array.cc |
| 2134 | src/core/lib/surface/server.cc |
| 2135 | src/core/lib/surface/validate_metadata.cc |
| 2136 | src/core/lib/surface/version.cc |
| 2137 | src/core/lib/transport/bdp_estimator.cc |
| 2138 | src/core/lib/transport/byte_stream.cc |
| 2139 | src/core/lib/transport/connectivity_state.cc |
| 2140 | src/core/lib/transport/error_utils.cc |
| 2141 | src/core/lib/transport/metadata.cc |
| 2142 | src/core/lib/transport/metadata_batch.cc |
| 2143 | src/core/lib/transport/pid_controller.cc |
| 2144 | src/core/lib/transport/service_config.cc |
| 2145 | src/core/lib/transport/static_metadata.cc |
| 2146 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 2147 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2148 | src/core/lib/transport/timeout_encoding.cc |
| 2149 | src/core/lib/transport/transport.cc |
| 2150 | src/core/lib/transport/transport_op_string.cc |
| 2151 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2152 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2153 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2154 | src/core/ext/filters/client_channel/client_channel.cc |
| 2155 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2156 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2157 | src/core/ext/filters/client_channel/connector.cc |
| 2158 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2159 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2160 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2161 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2162 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 2163 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2164 | src/core/ext/filters/client_channel/parse_address.cc |
| 2165 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2166 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2167 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2168 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2169 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2170 | src/core/ext/filters/client_channel/subchannel.cc |
| 2171 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2172 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2173 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2174 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2175 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2176 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2177 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2178 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2179 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2180 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2181 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2182 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2183 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2184 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2185 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2186 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2187 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2188 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2189 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2190 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2191 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2192 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2193 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2194 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2195 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2196 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2197 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2198 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2199 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2200 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2201 | ) |
| 2202 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2203 | if(WIN32 AND MSVC) |
| 2204 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 2205 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2206 | ) |
| 2207 | if (gRPC_INSTALL) |
| 2208 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2209 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2210 | ) |
| 2211 | endif() |
| 2212 | endif() |
| 2213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2214 | |
| 2215 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2216 | 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] | 2217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2218 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2219 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2220 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2221 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2222 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2223 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2224 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2225 | ) |
| 2226 | |
| 2227 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2229 | gpr |
| 2230 | gpr_test_util |
| 2231 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2232 | ) |
| 2233 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2234 | foreach(_hdr |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2235 | include/grpc/support/alloc.h |
| 2236 | include/grpc/support/atm.h |
| 2237 | include/grpc/support/atm_gcc_atomic.h |
| 2238 | include/grpc/support/atm_gcc_sync.h |
| 2239 | include/grpc/support/atm_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2240 | include/grpc/support/cpu.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2241 | include/grpc/support/log.h |
| 2242 | include/grpc/support/log_windows.h |
| 2243 | include/grpc/support/port_platform.h |
| 2244 | include/grpc/support/string_util.h |
| 2245 | include/grpc/support/sync.h |
| 2246 | include/grpc/support/sync_custom.h |
| 2247 | include/grpc/support/sync_generic.h |
| 2248 | include/grpc/support/sync_posix.h |
| 2249 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 2250 | include/grpc/support/thd_id.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2251 | include/grpc/support/time.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2252 | include/grpc/impl/codegen/atm.h |
| 2253 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2254 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2255 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2256 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2257 | include/grpc/impl/codegen/gpr_slice.h |
| 2258 | include/grpc/impl/codegen/gpr_types.h |
| 2259 | include/grpc/impl/codegen/port_platform.h |
| 2260 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2261 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2262 | include/grpc/impl/codegen/sync_generic.h |
| 2263 | include/grpc/impl/codegen/sync_posix.h |
| 2264 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 2265 | include/grpc/impl/codegen/byte_buffer.h |
| 2266 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2267 | include/grpc/impl/codegen/compression_types.h |
| 2268 | include/grpc/impl/codegen/connectivity_state.h |
| 2269 | include/grpc/impl/codegen/grpc_types.h |
| 2270 | include/grpc/impl/codegen/propagation_bits.h |
| 2271 | include/grpc/impl/codegen/slice.h |
| 2272 | include/grpc/impl/codegen/status.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2273 | ) |
| 2274 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2275 | get_filename_component(_path ${_path} PATH) |
| 2276 | install(FILES ${_hdr} |
| 2277 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2278 | ) |
| 2279 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2280 | |
| 2281 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2282 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2283 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2284 | src/core/lib/surface/init.cc |
| 2285 | src/core/lib/surface/init_unsecure.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 2286 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2287 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2288 | src/core/lib/channel/channel_args.cc |
| 2289 | src/core/lib/channel/channel_stack.cc |
| 2290 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2291 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 2292 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2293 | src/core/lib/channel/connected_channel.cc |
| 2294 | src/core/lib/channel/handshaker.cc |
| 2295 | src/core/lib/channel/handshaker_factory.cc |
| 2296 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 2297 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2298 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2299 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2300 | src/core/lib/compression/message_compress.cc |
| 2301 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2302 | src/core/lib/compression/stream_compression_gzip.cc |
| 2303 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2304 | src/core/lib/debug/stats.cc |
| 2305 | src/core/lib/debug/stats_data.cc |
| 2306 | src/core/lib/http/format_request.cc |
| 2307 | src/core/lib/http/httpcli.cc |
| 2308 | src/core/lib/http/parser.cc |
| 2309 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2310 | src/core/lib/iomgr/combiner.cc |
| 2311 | src/core/lib/iomgr/endpoint.cc |
| 2312 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2313 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2314 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2315 | src/core/lib/iomgr/error.cc |
| 2316 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2317 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2318 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2319 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2320 | src/core/lib/iomgr/ev_posix.cc |
| 2321 | src/core/lib/iomgr/ev_windows.cc |
| 2322 | src/core/lib/iomgr/exec_ctx.cc |
| 2323 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2324 | src/core/lib/iomgr/fork_posix.cc |
| 2325 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2326 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2327 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2328 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2329 | src/core/lib/iomgr/iocp_windows.cc |
| 2330 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2331 | src/core/lib/iomgr/iomgr_custom.cc |
| 2332 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2333 | src/core/lib/iomgr/iomgr_posix.cc |
| 2334 | src/core/lib/iomgr/iomgr_uv.cc |
| 2335 | src/core/lib/iomgr/iomgr_windows.cc |
| 2336 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2337 | src/core/lib/iomgr/load_file.cc |
| 2338 | src/core/lib/iomgr/lockfree_event.cc |
| 2339 | src/core/lib/iomgr/network_status_tracker.cc |
| 2340 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2341 | src/core/lib/iomgr/pollset.cc |
| 2342 | src/core/lib/iomgr/pollset_custom.cc |
| 2343 | src/core/lib/iomgr/pollset_set.cc |
| 2344 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2345 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2346 | src/core/lib/iomgr/pollset_uv.cc |
| 2347 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2348 | src/core/lib/iomgr/resolve_address.cc |
| 2349 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2350 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2351 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2352 | src/core/lib/iomgr/resource_quota.cc |
| 2353 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2354 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2355 | src/core/lib/iomgr/socket_mutator.cc |
| 2356 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2357 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2358 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2359 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2360 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2361 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2362 | src/core/lib/iomgr/tcp_client.cc |
| 2363 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2364 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2365 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2366 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2367 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2368 | src/core/lib/iomgr/tcp_server.cc |
| 2369 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2370 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2371 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2372 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2373 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2374 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2375 | src/core/lib/iomgr/tcp_uv.cc |
| 2376 | src/core/lib/iomgr/tcp_windows.cc |
| 2377 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 2378 | src/core/lib/iomgr/timer.cc |
| 2379 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2380 | src/core/lib/iomgr/timer_generic.cc |
| 2381 | src/core/lib/iomgr/timer_heap.cc |
| 2382 | src/core/lib/iomgr/timer_manager.cc |
| 2383 | src/core/lib/iomgr/timer_uv.cc |
| 2384 | src/core/lib/iomgr/udp_server.cc |
| 2385 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2386 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2387 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2388 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2389 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2390 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2391 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2392 | src/core/lib/json/json.cc |
| 2393 | src/core/lib/json/json_reader.cc |
| 2394 | src/core/lib/json/json_string.cc |
| 2395 | src/core/lib/json/json_writer.cc |
| 2396 | src/core/lib/slice/b64.cc |
| 2397 | src/core/lib/slice/percent_encoding.cc |
| 2398 | src/core/lib/slice/slice.cc |
| 2399 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2400 | src/core/lib/slice/slice_intern.cc |
| 2401 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2402 | src/core/lib/surface/api_trace.cc |
| 2403 | src/core/lib/surface/byte_buffer.cc |
| 2404 | src/core/lib/surface/byte_buffer_reader.cc |
| 2405 | src/core/lib/surface/call.cc |
| 2406 | src/core/lib/surface/call_details.cc |
| 2407 | src/core/lib/surface/call_log_batch.cc |
| 2408 | src/core/lib/surface/channel.cc |
| 2409 | src/core/lib/surface/channel_init.cc |
| 2410 | src/core/lib/surface/channel_ping.cc |
| 2411 | src/core/lib/surface/channel_stack_type.cc |
| 2412 | src/core/lib/surface/completion_queue.cc |
| 2413 | src/core/lib/surface/completion_queue_factory.cc |
| 2414 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2415 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2416 | src/core/lib/surface/metadata_array.cc |
| 2417 | src/core/lib/surface/server.cc |
| 2418 | src/core/lib/surface/validate_metadata.cc |
| 2419 | src/core/lib/surface/version.cc |
| 2420 | src/core/lib/transport/bdp_estimator.cc |
| 2421 | src/core/lib/transport/byte_stream.cc |
| 2422 | src/core/lib/transport/connectivity_state.cc |
| 2423 | src/core/lib/transport/error_utils.cc |
| 2424 | src/core/lib/transport/metadata.cc |
| 2425 | src/core/lib/transport/metadata_batch.cc |
| 2426 | src/core/lib/transport/pid_controller.cc |
| 2427 | src/core/lib/transport/service_config.cc |
| 2428 | src/core/lib/transport/static_metadata.cc |
| 2429 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 2430 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2431 | src/core/lib/transport/timeout_encoding.cc |
| 2432 | src/core/lib/transport/transport.cc |
| 2433 | src/core/lib/transport/transport_op_string.cc |
| 2434 | src/core/lib/debug/trace.cc |
| 2435 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2436 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2437 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2438 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2439 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2440 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2441 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2442 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2443 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2444 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2445 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2446 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2447 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2448 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2449 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2450 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2451 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2452 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2453 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2454 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2455 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2456 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2457 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2458 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2459 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2460 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2461 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2462 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2463 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2464 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2465 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2466 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 2467 | src/core/ext/transport/chttp2/client/authority.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2468 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2469 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2470 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2471 | src/core/ext/filters/client_channel/client_channel.cc |
| 2472 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2473 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2474 | src/core/ext/filters/client_channel/connector.cc |
| 2475 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2476 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2477 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2478 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2479 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 2480 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2481 | src/core/ext/filters/client_channel/parse_address.cc |
| 2482 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2483 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2484 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2485 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2486 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2487 | src/core/ext/filters/client_channel/subchannel.cc |
| 2488 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2489 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2490 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2491 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2492 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2493 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2494 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2495 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2496 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2497 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2498 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2499 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2500 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2501 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2502 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2503 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2504 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2505 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2506 | 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] | 2507 | 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] | 2508 | third_party/nanopb/pb_common.c |
| 2509 | third_party/nanopb/pb_decode.c |
| 2510 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2511 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 2512 | 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] | 2513 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2514 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2515 | src/core/ext/filters/message_size/message_size_filter.cc |
David Garcia Quintas | 961353a | 2018-03-15 16:11:05 -0700 | [diff] [blame] | 2516 | src/core/ext/filters/http/client_authority_filter.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2517 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2518 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2519 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2520 | ) |
| 2521 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2522 | if(WIN32 AND MSVC) |
| 2523 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2524 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2525 | ) |
| 2526 | if (gRPC_INSTALL) |
| 2527 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2528 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2529 | ) |
| 2530 | endif() |
| 2531 | endif() |
| 2532 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2533 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2534 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2535 | 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] | 2536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2537 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2538 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2539 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2540 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2541 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2542 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2543 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2544 | ) |
| 2545 | |
| 2546 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2547 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2548 | ${_gRPC_ZLIB_LIBRARIES} |
| 2549 | ${_gRPC_CARES_LIBRARIES} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 2550 | ${_gRPC_ADDRESS_SORTING_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2552 | gpr |
| 2553 | ) |
| 2554 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2555 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2556 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2557 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2558 | include/grpc/impl/codegen/compression_types.h |
| 2559 | include/grpc/impl/codegen/connectivity_state.h |
| 2560 | include/grpc/impl/codegen/grpc_types.h |
| 2561 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2562 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2563 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2564 | include/grpc/impl/codegen/atm.h |
| 2565 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2566 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2567 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2568 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2569 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2570 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2571 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2572 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2573 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2574 | include/grpc/impl/codegen/sync_generic.h |
| 2575 | include/grpc/impl/codegen/sync_posix.h |
| 2576 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2577 | include/grpc/byte_buffer.h |
| 2578 | include/grpc/byte_buffer_reader.h |
| 2579 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2580 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2581 | include/grpc/grpc.h |
| 2582 | include/grpc/grpc_posix.h |
| 2583 | include/grpc/grpc_security_constants.h |
| 2584 | include/grpc/load_reporting.h |
| 2585 | include/grpc/slice.h |
| 2586 | include/grpc/slice_buffer.h |
| 2587 | include/grpc/status.h |
| 2588 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2589 | include/grpc/census.h |
| 2590 | ) |
| 2591 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2592 | get_filename_component(_path ${_path} PATH) |
| 2593 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2594 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2595 | ) |
| 2596 | endforeach() |
| 2597 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2598 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2599 | if (gRPC_INSTALL) |
| 2600 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2601 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2602 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2603 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2604 | ) |
| 2605 | endif() |
| 2606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2607 | if (gRPC_BUILD_TESTS) |
| 2608 | |
| 2609 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2610 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2611 | ) |
| 2612 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2613 | if(WIN32 AND MSVC) |
| 2614 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2615 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2616 | ) |
| 2617 | if (gRPC_INSTALL) |
| 2618 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2619 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2620 | ) |
| 2621 | endif() |
| 2622 | endif() |
| 2623 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2624 | |
| 2625 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2626 | 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] | 2627 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2628 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2629 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2630 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2631 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2632 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2633 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2634 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2635 | ) |
| 2636 | |
| 2637 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2638 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2639 | test_tcp_server |
| 2640 | grpc_test_util |
| 2641 | grpc |
| 2642 | gpr_test_util |
| 2643 | gpr |
| 2644 | ) |
| 2645 | |
| 2646 | |
| 2647 | endif (gRPC_BUILD_TESTS) |
| 2648 | if (gRPC_BUILD_TESTS) |
| 2649 | |
| 2650 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2651 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2652 | ) |
| 2653 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2654 | if(WIN32 AND MSVC) |
| 2655 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2656 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2657 | ) |
| 2658 | if (gRPC_INSTALL) |
| 2659 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2660 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2661 | ) |
| 2662 | endif() |
| 2663 | endif() |
| 2664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2665 | |
| 2666 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2667 | 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] | 2668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2669 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2670 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2671 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2672 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2673 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2674 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2675 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2676 | ) |
| 2677 | |
| 2678 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2680 | grpc_test_util |
| 2681 | grpc |
| 2682 | gpr_test_util |
| 2683 | gpr |
| 2684 | ) |
| 2685 | |
| 2686 | |
| 2687 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2688 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2689 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2690 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2691 | src/cpp/client/secure_credentials.cc |
| 2692 | src/cpp/common/auth_property_iterator.cc |
| 2693 | src/cpp/common/secure_auth_context.cc |
| 2694 | src/cpp/common/secure_channel_arguments.cc |
| 2695 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2696 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2697 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2698 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2699 | src/cpp/client/client_context.cc |
| 2700 | src/cpp/client/create_channel.cc |
| 2701 | src/cpp/client/create_channel_internal.cc |
| 2702 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2703 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2704 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2705 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2706 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2707 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2708 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2709 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2710 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2711 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2712 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2713 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2714 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2715 | src/cpp/server/create_default_thread_pool.cc |
| 2716 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2717 | src/cpp/server/health/default_health_check_service.cc |
| 2718 | src/cpp/server/health/health.pb.c |
| 2719 | src/cpp/server/health/health_check_service.cc |
| 2720 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2721 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2722 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2723 | src/cpp/server/server_context.cc |
| 2724 | src/cpp/server/server_credentials.cc |
| 2725 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2726 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2727 | src/cpp/util/byte_buffer_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2728 | src/cpp/util/status.cc |
| 2729 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2730 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2731 | src/cpp/codegen/codegen_init.cc |
| 2732 | ) |
| 2733 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2734 | if(WIN32 AND MSVC) |
| 2735 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2736 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2737 | ) |
| 2738 | if (gRPC_INSTALL) |
| 2739 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2740 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2741 | ) |
| 2742 | endif() |
| 2743 | endif() |
| 2744 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2745 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2746 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2747 | 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] | 2748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2749 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2750 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2751 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2752 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2753 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2754 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 2755 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2756 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2757 | ) |
| 2758 | |
| 2759 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2760 | ${_gRPC_BASELIB_LIBRARIES} |
| 2761 | ${_gRPC_SSL_LIBRARIES} |
| 2762 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2764 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2765 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2766 | ) |
| 2767 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2768 | foreach(_hdr |
| 2769 | include/grpc++/alarm.h |
| 2770 | include/grpc++/channel.h |
| 2771 | include/grpc++/client_context.h |
| 2772 | include/grpc++/completion_queue.h |
| 2773 | include/grpc++/create_channel.h |
| 2774 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2775 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2776 | include/grpc++/generic/async_generic_service.h |
| 2777 | include/grpc++/generic/generic_stub.h |
| 2778 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2779 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2780 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2781 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2782 | include/grpc++/impl/client_unary_call.h |
| 2783 | include/grpc++/impl/codegen/core_codegen.h |
| 2784 | include/grpc++/impl/grpc_library.h |
| 2785 | include/grpc++/impl/method_handler_impl.h |
| 2786 | include/grpc++/impl/rpc_method.h |
| 2787 | include/grpc++/impl/rpc_service_method.h |
| 2788 | include/grpc++/impl/serialization_traits.h |
| 2789 | include/grpc++/impl/server_builder_option.h |
| 2790 | include/grpc++/impl/server_builder_plugin.h |
| 2791 | include/grpc++/impl/server_initializer.h |
| 2792 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2793 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2794 | include/grpc++/security/auth_context.h |
| 2795 | include/grpc++/security/auth_metadata_processor.h |
| 2796 | include/grpc++/security/credentials.h |
| 2797 | include/grpc++/security/server_credentials.h |
| 2798 | include/grpc++/server.h |
| 2799 | include/grpc++/server_builder.h |
| 2800 | include/grpc++/server_context.h |
| 2801 | include/grpc++/server_posix.h |
| 2802 | include/grpc++/support/async_stream.h |
| 2803 | include/grpc++/support/async_unary_call.h |
| 2804 | include/grpc++/support/byte_buffer.h |
| 2805 | include/grpc++/support/channel_arguments.h |
| 2806 | include/grpc++/support/config.h |
| 2807 | include/grpc++/support/slice.h |
| 2808 | include/grpc++/support/status.h |
| 2809 | include/grpc++/support/status_code_enum.h |
| 2810 | include/grpc++/support/string_ref.h |
| 2811 | include/grpc++/support/stub_options.h |
| 2812 | include/grpc++/support/sync_stream.h |
| 2813 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2814 | include/grpcpp/alarm.h |
| 2815 | include/grpcpp/channel.h |
| 2816 | include/grpcpp/client_context.h |
| 2817 | include/grpcpp/completion_queue.h |
| 2818 | include/grpcpp/create_channel.h |
| 2819 | include/grpcpp/create_channel_posix.h |
| 2820 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 2821 | include/grpcpp/generic/async_generic_service.h |
| 2822 | include/grpcpp/generic/generic_stub.h |
| 2823 | include/grpcpp/grpcpp.h |
| 2824 | include/grpcpp/health_check_service_interface.h |
| 2825 | include/grpcpp/impl/call.h |
| 2826 | include/grpcpp/impl/channel_argument_option.h |
| 2827 | include/grpcpp/impl/client_unary_call.h |
| 2828 | include/grpcpp/impl/codegen/core_codegen.h |
| 2829 | include/grpcpp/impl/grpc_library.h |
| 2830 | include/grpcpp/impl/method_handler_impl.h |
| 2831 | include/grpcpp/impl/rpc_method.h |
| 2832 | include/grpcpp/impl/rpc_service_method.h |
| 2833 | include/grpcpp/impl/serialization_traits.h |
| 2834 | include/grpcpp/impl/server_builder_option.h |
| 2835 | include/grpcpp/impl/server_builder_plugin.h |
| 2836 | include/grpcpp/impl/server_initializer.h |
| 2837 | include/grpcpp/impl/service_type.h |
| 2838 | include/grpcpp/resource_quota.h |
| 2839 | include/grpcpp/security/auth_context.h |
| 2840 | include/grpcpp/security/auth_metadata_processor.h |
| 2841 | include/grpcpp/security/credentials.h |
| 2842 | include/grpcpp/security/server_credentials.h |
| 2843 | include/grpcpp/server.h |
| 2844 | include/grpcpp/server_builder.h |
| 2845 | include/grpcpp/server_context.h |
| 2846 | include/grpcpp/server_posix.h |
| 2847 | include/grpcpp/support/async_stream.h |
| 2848 | include/grpcpp/support/async_unary_call.h |
| 2849 | include/grpcpp/support/byte_buffer.h |
| 2850 | include/grpcpp/support/channel_arguments.h |
| 2851 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 2852 | include/grpcpp/support/proto_buffer_reader.h |
| 2853 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2854 | include/grpcpp/support/slice.h |
| 2855 | include/grpcpp/support/status.h |
| 2856 | include/grpcpp/support/status_code_enum.h |
| 2857 | include/grpcpp/support/string_ref.h |
| 2858 | include/grpcpp/support/stub_options.h |
| 2859 | include/grpcpp/support/sync_stream.h |
| 2860 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2861 | include/grpc/support/alloc.h |
| 2862 | include/grpc/support/atm.h |
| 2863 | include/grpc/support/atm_gcc_atomic.h |
| 2864 | include/grpc/support/atm_gcc_sync.h |
| 2865 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2866 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2867 | include/grpc/support/log.h |
| 2868 | include/grpc/support/log_windows.h |
| 2869 | include/grpc/support/port_platform.h |
| 2870 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2871 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2872 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2873 | include/grpc/support/sync_generic.h |
| 2874 | include/grpc/support/sync_posix.h |
| 2875 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 2876 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2877 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2878 | include/grpc/impl/codegen/atm.h |
| 2879 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2880 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2881 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2882 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2883 | include/grpc/impl/codegen/gpr_slice.h |
| 2884 | include/grpc/impl/codegen/gpr_types.h |
| 2885 | include/grpc/impl/codegen/port_platform.h |
| 2886 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2887 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2888 | include/grpc/impl/codegen/sync_generic.h |
| 2889 | include/grpc/impl/codegen/sync_posix.h |
| 2890 | include/grpc/impl/codegen/sync_windows.h |
| 2891 | include/grpc/byte_buffer.h |
| 2892 | include/grpc/byte_buffer_reader.h |
| 2893 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2894 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2895 | include/grpc/grpc.h |
| 2896 | include/grpc/grpc_posix.h |
| 2897 | include/grpc/grpc_security_constants.h |
| 2898 | include/grpc/load_reporting.h |
| 2899 | include/grpc/slice.h |
| 2900 | include/grpc/slice_buffer.h |
| 2901 | include/grpc/status.h |
| 2902 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2903 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2904 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2905 | include/grpc/impl/codegen/compression_types.h |
| 2906 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2907 | include/grpc/impl/codegen/grpc_types.h |
| 2908 | include/grpc/impl/codegen/propagation_bits.h |
| 2909 | include/grpc/impl/codegen/slice.h |
| 2910 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2911 | include/grpc++/impl/codegen/async_stream.h |
| 2912 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2913 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2914 | include/grpc++/impl/codegen/call.h |
| 2915 | include/grpc++/impl/codegen/call_hook.h |
| 2916 | include/grpc++/impl/codegen/channel_interface.h |
| 2917 | include/grpc++/impl/codegen/client_context.h |
| 2918 | include/grpc++/impl/codegen/client_unary_call.h |
| 2919 | include/grpc++/impl/codegen/completion_queue.h |
| 2920 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2921 | include/grpc++/impl/codegen/config.h |
| 2922 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2923 | include/grpc++/impl/codegen/create_auth_context.h |
| 2924 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2925 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2926 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2927 | include/grpc++/impl/codegen/rpc_method.h |
| 2928 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2929 | include/grpc++/impl/codegen/security/auth_context.h |
| 2930 | include/grpc++/impl/codegen/serialization_traits.h |
| 2931 | include/grpc++/impl/codegen/server_context.h |
| 2932 | include/grpc++/impl/codegen/server_interface.h |
| 2933 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2934 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2935 | include/grpc++/impl/codegen/status.h |
| 2936 | include/grpc++/impl/codegen/status_code_enum.h |
| 2937 | include/grpc++/impl/codegen/string_ref.h |
| 2938 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2939 | include/grpc++/impl/codegen/sync_stream.h |
| 2940 | include/grpc++/impl/codegen/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2941 | include/grpcpp/impl/codegen/async_stream.h |
| 2942 | include/grpcpp/impl/codegen/async_unary_call.h |
| 2943 | include/grpcpp/impl/codegen/byte_buffer.h |
| 2944 | include/grpcpp/impl/codegen/call.h |
| 2945 | include/grpcpp/impl/codegen/call_hook.h |
| 2946 | include/grpcpp/impl/codegen/channel_interface.h |
| 2947 | include/grpcpp/impl/codegen/client_context.h |
| 2948 | include/grpcpp/impl/codegen/client_unary_call.h |
| 2949 | include/grpcpp/impl/codegen/completion_queue.h |
| 2950 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 2951 | include/grpcpp/impl/codegen/config.h |
| 2952 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 2953 | include/grpcpp/impl/codegen/create_auth_context.h |
| 2954 | include/grpcpp/impl/codegen/grpc_library.h |
| 2955 | include/grpcpp/impl/codegen/metadata_map.h |
| 2956 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 2957 | include/grpcpp/impl/codegen/rpc_method.h |
| 2958 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 2959 | include/grpcpp/impl/codegen/security/auth_context.h |
| 2960 | include/grpcpp/impl/codegen/serialization_traits.h |
| 2961 | include/grpcpp/impl/codegen/server_context.h |
| 2962 | include/grpcpp/impl/codegen/server_interface.h |
| 2963 | include/grpcpp/impl/codegen/service_type.h |
| 2964 | include/grpcpp/impl/codegen/slice.h |
| 2965 | include/grpcpp/impl/codegen/status.h |
| 2966 | include/grpcpp/impl/codegen/status_code_enum.h |
| 2967 | include/grpcpp/impl/codegen/string_ref.h |
| 2968 | include/grpcpp/impl/codegen/stub_options.h |
| 2969 | include/grpcpp/impl/codegen/sync_stream.h |
| 2970 | include/grpcpp/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2971 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 2972 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 2973 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2974 | include/grpcpp/impl/codegen/proto_utils.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2975 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 2976 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2977 | ) |
| 2978 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2979 | get_filename_component(_path ${_path} PATH) |
| 2980 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2981 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2982 | ) |
| 2983 | endforeach() |
| 2984 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2985 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2986 | if (gRPC_INSTALL) |
| 2987 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2988 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2989 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2990 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2991 | ) |
| 2992 | endif() |
| 2993 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2994 | if (gRPC_BUILD_TESTS) |
| 2995 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 2996 | if (gRPC_BUILD_CODEGEN) |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2997 | add_library(grpc++_core_stats |
| 2998 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2999 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 3000 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 3001 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 3002 | src/cpp/util/core_stats.cc |
| 3003 | ) |
| 3004 | |
| 3005 | if(WIN32 AND MSVC) |
| 3006 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 3007 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3008 | ) |
| 3009 | if (gRPC_INSTALL) |
| 3010 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 3011 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3012 | ) |
| 3013 | endif() |
| 3014 | endif() |
| 3015 | |
| 3016 | protobuf_generate_grpc_cpp( |
| 3017 | src/proto/grpc/core/stats.proto |
| 3018 | ) |
| 3019 | |
| 3020 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3021 | 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] | 3022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3023 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3024 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3025 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3026 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3027 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3028 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3029 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3030 | PRIVATE third_party/googletest/googletest/include |
| 3031 | PRIVATE third_party/googletest/googletest |
| 3032 | PRIVATE third_party/googletest/googlemock/include |
| 3033 | PRIVATE third_party/googletest/googlemock |
| 3034 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3035 | ) |
| 3036 | |
| 3037 | target_link_libraries(grpc++_core_stats |
| 3038 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3040 | grpc++ |
| 3041 | ) |
| 3042 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3043 | endif (gRPC_BUILD_CODEGEN) |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 3044 | |
| 3045 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3046 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3047 | add_library(grpc++_cronet |
| 3048 | src/cpp/client/cronet_credentials.cc |
| 3049 | src/cpp/client/insecure_credentials.cc |
| 3050 | src/cpp/common/insecure_create_auth_context.cc |
| 3051 | src/cpp/server/insecure_server_credentials.cc |
| 3052 | src/cpp/client/channel_cc.cc |
| 3053 | src/cpp/client/client_context.cc |
| 3054 | src/cpp/client/create_channel.cc |
| 3055 | src/cpp/client/create_channel_internal.cc |
| 3056 | src/cpp/client/create_channel_posix.cc |
| 3057 | src/cpp/client/credentials_cc.cc |
| 3058 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 3059 | src/cpp/common/alarm.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3060 | src/cpp/common/channel_arguments.cc |
| 3061 | src/cpp/common/channel_filter.cc |
| 3062 | src/cpp/common/completion_queue_cc.cc |
| 3063 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3064 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3065 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3066 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3067 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3068 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3069 | src/cpp/server/create_default_thread_pool.cc |
| 3070 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3071 | src/cpp/server/health/default_health_check_service.cc |
| 3072 | src/cpp/server/health/health.pb.c |
| 3073 | src/cpp/server/health/health_check_service.cc |
| 3074 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3075 | src/cpp/server/server_builder.cc |
| 3076 | src/cpp/server/server_cc.cc |
| 3077 | src/cpp/server/server_context.cc |
| 3078 | src/cpp/server/server_credentials.cc |
| 3079 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 3080 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3081 | src/cpp/util/byte_buffer_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3082 | src/cpp/util/status.cc |
| 3083 | src/cpp/util/string_ref.cc |
| 3084 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3085 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3086 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 3087 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
David Garcia Quintas | 49f625f | 2018-03-27 11:23:49 -0700 | [diff] [blame] | 3088 | src/core/ext/transport/chttp2/client/authority.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3089 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 3090 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 3091 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 3092 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 3093 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 3094 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 3095 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 3096 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 3097 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 3098 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 3099 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 3100 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 3101 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 3102 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 3103 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 3104 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 3105 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 3106 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 3107 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 3108 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 3109 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 3110 | src/core/ext/transport/chttp2/transport/varint.cc |
| 3111 | src/core/ext/transport/chttp2/transport/writing.cc |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 3112 | src/core/lib/avl/avl.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 3113 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3114 | src/core/lib/channel/channel_args.cc |
| 3115 | src/core/lib/channel/channel_stack.cc |
| 3116 | src/core/lib/channel/channel_stack_builder.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3117 | src/core/lib/channel/channel_trace.cc |
ncteisen | bba8840 | 2018-05-11 11:54:41 -0400 | [diff] [blame] | 3118 | src/core/lib/channel/channelz_registry.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3119 | src/core/lib/channel/connected_channel.cc |
| 3120 | src/core/lib/channel/handshaker.cc |
| 3121 | src/core/lib/channel/handshaker_factory.cc |
| 3122 | src/core/lib/channel/handshaker_registry.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3123 | src/core/lib/channel/status_util.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3124 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 3125 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3126 | src/core/lib/compression/message_compress.cc |
| 3127 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 3128 | src/core/lib/compression/stream_compression_gzip.cc |
| 3129 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3130 | src/core/lib/debug/stats.cc |
| 3131 | src/core/lib/debug/stats_data.cc |
| 3132 | src/core/lib/http/format_request.cc |
| 3133 | src/core/lib/http/httpcli.cc |
| 3134 | src/core/lib/http/parser.cc |
| 3135 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3136 | src/core/lib/iomgr/combiner.cc |
| 3137 | src/core/lib/iomgr/endpoint.cc |
| 3138 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 3139 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 3140 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 3141 | src/core/lib/iomgr/error.cc |
| 3142 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 3143 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 3144 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 3145 | src/core/lib/iomgr/ev_poll_posix.cc |
| 3146 | src/core/lib/iomgr/ev_posix.cc |
| 3147 | src/core/lib/iomgr/ev_windows.cc |
| 3148 | src/core/lib/iomgr/exec_ctx.cc |
| 3149 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 3150 | src/core/lib/iomgr/fork_posix.cc |
| 3151 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3152 | src/core/lib/iomgr/gethostname_fallback.cc |
| 3153 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 3154 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 3155 | src/core/lib/iomgr/iocp_windows.cc |
| 3156 | src/core/lib/iomgr/iomgr.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3157 | src/core/lib/iomgr/iomgr_custom.cc |
| 3158 | src/core/lib/iomgr/iomgr_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3159 | src/core/lib/iomgr/iomgr_posix.cc |
| 3160 | src/core/lib/iomgr/iomgr_uv.cc |
| 3161 | src/core/lib/iomgr/iomgr_windows.cc |
| 3162 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 3163 | src/core/lib/iomgr/load_file.cc |
| 3164 | src/core/lib/iomgr/lockfree_event.cc |
| 3165 | src/core/lib/iomgr/network_status_tracker.cc |
| 3166 | src/core/lib/iomgr/polling_entity.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3167 | src/core/lib/iomgr/pollset.cc |
| 3168 | src/core/lib/iomgr/pollset_custom.cc |
| 3169 | src/core/lib/iomgr/pollset_set.cc |
| 3170 | src/core/lib/iomgr/pollset_set_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3171 | src/core/lib/iomgr/pollset_set_windows.cc |
| 3172 | src/core/lib/iomgr/pollset_uv.cc |
| 3173 | src/core/lib/iomgr/pollset_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3174 | src/core/lib/iomgr/resolve_address.cc |
| 3175 | src/core/lib/iomgr/resolve_address_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3176 | src/core/lib/iomgr/resolve_address_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3177 | src/core/lib/iomgr/resolve_address_windows.cc |
| 3178 | src/core/lib/iomgr/resource_quota.cc |
| 3179 | src/core/lib/iomgr/sockaddr_utils.cc |
| 3180 | src/core/lib/iomgr/socket_factory_posix.cc |
| 3181 | src/core/lib/iomgr/socket_mutator.cc |
| 3182 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 3183 | src/core/lib/iomgr/socket_utils_linux.cc |
| 3184 | src/core/lib/iomgr/socket_utils_posix.cc |
| 3185 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 3186 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3187 | src/core/lib/iomgr/socket_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3188 | src/core/lib/iomgr/tcp_client.cc |
| 3189 | src/core/lib/iomgr/tcp_client_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3190 | src/core/lib/iomgr/tcp_client_posix.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3191 | src/core/lib/iomgr/tcp_client_windows.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3192 | src/core/lib/iomgr/tcp_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3193 | src/core/lib/iomgr/tcp_posix.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3194 | src/core/lib/iomgr/tcp_server.cc |
| 3195 | src/core/lib/iomgr/tcp_server_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3196 | src/core/lib/iomgr/tcp_server_posix.cc |
| 3197 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 3198 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 3199 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3200 | src/core/lib/iomgr/tcp_server_windows.cc |
| 3201 | src/core/lib/iomgr/tcp_uv.cc |
| 3202 | src/core/lib/iomgr/tcp_windows.cc |
| 3203 | src/core/lib/iomgr/time_averaged_stats.cc |
kpayson64 | 539f506 | 2018-03-12 19:16:30 -0700 | [diff] [blame] | 3204 | src/core/lib/iomgr/timer.cc |
| 3205 | src/core/lib/iomgr/timer_custom.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3206 | src/core/lib/iomgr/timer_generic.cc |
| 3207 | src/core/lib/iomgr/timer_heap.cc |
| 3208 | src/core/lib/iomgr/timer_manager.cc |
| 3209 | src/core/lib/iomgr/timer_uv.cc |
| 3210 | src/core/lib/iomgr/udp_server.cc |
| 3211 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 3212 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 3213 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 3214 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 3215 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 3216 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 3217 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 3218 | src/core/lib/json/json.cc |
| 3219 | src/core/lib/json/json_reader.cc |
| 3220 | src/core/lib/json/json_string.cc |
| 3221 | src/core/lib/json/json_writer.cc |
| 3222 | src/core/lib/slice/b64.cc |
| 3223 | src/core/lib/slice/percent_encoding.cc |
| 3224 | src/core/lib/slice/slice.cc |
| 3225 | src/core/lib/slice/slice_buffer.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3226 | src/core/lib/slice/slice_intern.cc |
| 3227 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3228 | src/core/lib/surface/api_trace.cc |
| 3229 | src/core/lib/surface/byte_buffer.cc |
| 3230 | src/core/lib/surface/byte_buffer_reader.cc |
| 3231 | src/core/lib/surface/call.cc |
| 3232 | src/core/lib/surface/call_details.cc |
| 3233 | src/core/lib/surface/call_log_batch.cc |
| 3234 | src/core/lib/surface/channel.cc |
| 3235 | src/core/lib/surface/channel_init.cc |
| 3236 | src/core/lib/surface/channel_ping.cc |
| 3237 | src/core/lib/surface/channel_stack_type.cc |
| 3238 | src/core/lib/surface/completion_queue.cc |
| 3239 | src/core/lib/surface/completion_queue_factory.cc |
| 3240 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 3241 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3242 | src/core/lib/surface/metadata_array.cc |
| 3243 | src/core/lib/surface/server.cc |
| 3244 | src/core/lib/surface/validate_metadata.cc |
| 3245 | src/core/lib/surface/version.cc |
| 3246 | src/core/lib/transport/bdp_estimator.cc |
| 3247 | src/core/lib/transport/byte_stream.cc |
| 3248 | src/core/lib/transport/connectivity_state.cc |
| 3249 | src/core/lib/transport/error_utils.cc |
| 3250 | src/core/lib/transport/metadata.cc |
| 3251 | src/core/lib/transport/metadata_batch.cc |
| 3252 | src/core/lib/transport/pid_controller.cc |
| 3253 | src/core/lib/transport/service_config.cc |
| 3254 | src/core/lib/transport/static_metadata.cc |
| 3255 | src/core/lib/transport/status_conversion.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 3256 | src/core/lib/transport/status_metadata.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3257 | src/core/lib/transport/timeout_encoding.cc |
| 3258 | src/core/lib/transport/transport.cc |
| 3259 | src/core/lib/transport/transport_op_string.cc |
| 3260 | src/core/lib/debug/trace.cc |
| 3261 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 3262 | src/core/ext/filters/http/client/http_client_filter.cc |
| 3263 | src/core/ext/filters/http/http_filters_plugin.cc |
| 3264 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 3265 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 3266 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3267 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 3268 | src/core/ext/filters/client_channel/client_channel.cc |
| 3269 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 3270 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 3271 | src/core/ext/filters/client_channel/connector.cc |
| 3272 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 3273 | src/core/ext/filters/client_channel/http_proxy.cc |
| 3274 | src/core/ext/filters/client_channel/lb_policy.cc |
| 3275 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 3276 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 3277 | src/core/ext/filters/client_channel/method_params.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3278 | src/core/ext/filters/client_channel/parse_address.cc |
| 3279 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 3280 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 3281 | src/core/ext/filters/client_channel/resolver.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3282 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 3283 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 3284 | src/core/ext/filters/client_channel/subchannel.cc |
| 3285 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 3286 | src/core/ext/filters/client_channel/uri_parser.cc |
| 3287 | src/core/ext/filters/deadline/deadline_filter.cc |
| 3288 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 3289 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 3290 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3291 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3292 | third_party/nanopb/pb_common.c |
| 3293 | third_party/nanopb/pb_decode.c |
| 3294 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3295 | ) |
| 3296 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3297 | if(WIN32 AND MSVC) |
| 3298 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 3299 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3300 | ) |
| 3301 | if (gRPC_INSTALL) |
| 3302 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3303 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3304 | ) |
| 3305 | endif() |
| 3306 | endif() |
| 3307 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3308 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3309 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3310 | 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] | 3311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3312 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3313 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3314 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3315 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3316 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3317 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3318 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3319 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3320 | ) |
| 3321 | |
| 3322 | target_link_libraries(grpc++_cronet |
| 3323 | ${_gRPC_BASELIB_LIBRARIES} |
| 3324 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3325 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3326 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3327 | gpr |
| 3328 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3329 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3330 | ) |
| 3331 | |
| 3332 | foreach(_hdr |
| 3333 | include/grpc++/alarm.h |
| 3334 | include/grpc++/channel.h |
| 3335 | include/grpc++/client_context.h |
| 3336 | include/grpc++/completion_queue.h |
| 3337 | include/grpc++/create_channel.h |
| 3338 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3339 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3340 | include/grpc++/generic/async_generic_service.h |
| 3341 | include/grpc++/generic/generic_stub.h |
| 3342 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3343 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3344 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3345 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3346 | include/grpc++/impl/client_unary_call.h |
| 3347 | include/grpc++/impl/codegen/core_codegen.h |
| 3348 | include/grpc++/impl/grpc_library.h |
| 3349 | include/grpc++/impl/method_handler_impl.h |
| 3350 | include/grpc++/impl/rpc_method.h |
| 3351 | include/grpc++/impl/rpc_service_method.h |
| 3352 | include/grpc++/impl/serialization_traits.h |
| 3353 | include/grpc++/impl/server_builder_option.h |
| 3354 | include/grpc++/impl/server_builder_plugin.h |
| 3355 | include/grpc++/impl/server_initializer.h |
| 3356 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3357 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3358 | include/grpc++/security/auth_context.h |
| 3359 | include/grpc++/security/auth_metadata_processor.h |
| 3360 | include/grpc++/security/credentials.h |
| 3361 | include/grpc++/security/server_credentials.h |
| 3362 | include/grpc++/server.h |
| 3363 | include/grpc++/server_builder.h |
| 3364 | include/grpc++/server_context.h |
| 3365 | include/grpc++/server_posix.h |
| 3366 | include/grpc++/support/async_stream.h |
| 3367 | include/grpc++/support/async_unary_call.h |
| 3368 | include/grpc++/support/byte_buffer.h |
| 3369 | include/grpc++/support/channel_arguments.h |
| 3370 | include/grpc++/support/config.h |
| 3371 | include/grpc++/support/slice.h |
| 3372 | include/grpc++/support/status.h |
| 3373 | include/grpc++/support/status_code_enum.h |
| 3374 | include/grpc++/support/string_ref.h |
| 3375 | include/grpc++/support/stub_options.h |
| 3376 | include/grpc++/support/sync_stream.h |
| 3377 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3378 | include/grpcpp/alarm.h |
| 3379 | include/grpcpp/channel.h |
| 3380 | include/grpcpp/client_context.h |
| 3381 | include/grpcpp/completion_queue.h |
| 3382 | include/grpcpp/create_channel.h |
| 3383 | include/grpcpp/create_channel_posix.h |
| 3384 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 3385 | include/grpcpp/generic/async_generic_service.h |
| 3386 | include/grpcpp/generic/generic_stub.h |
| 3387 | include/grpcpp/grpcpp.h |
| 3388 | include/grpcpp/health_check_service_interface.h |
| 3389 | include/grpcpp/impl/call.h |
| 3390 | include/grpcpp/impl/channel_argument_option.h |
| 3391 | include/grpcpp/impl/client_unary_call.h |
| 3392 | include/grpcpp/impl/codegen/core_codegen.h |
| 3393 | include/grpcpp/impl/grpc_library.h |
| 3394 | include/grpcpp/impl/method_handler_impl.h |
| 3395 | include/grpcpp/impl/rpc_method.h |
| 3396 | include/grpcpp/impl/rpc_service_method.h |
| 3397 | include/grpcpp/impl/serialization_traits.h |
| 3398 | include/grpcpp/impl/server_builder_option.h |
| 3399 | include/grpcpp/impl/server_builder_plugin.h |
| 3400 | include/grpcpp/impl/server_initializer.h |
| 3401 | include/grpcpp/impl/service_type.h |
| 3402 | include/grpcpp/resource_quota.h |
| 3403 | include/grpcpp/security/auth_context.h |
| 3404 | include/grpcpp/security/auth_metadata_processor.h |
| 3405 | include/grpcpp/security/credentials.h |
| 3406 | include/grpcpp/security/server_credentials.h |
| 3407 | include/grpcpp/server.h |
| 3408 | include/grpcpp/server_builder.h |
| 3409 | include/grpcpp/server_context.h |
| 3410 | include/grpcpp/server_posix.h |
| 3411 | include/grpcpp/support/async_stream.h |
| 3412 | include/grpcpp/support/async_unary_call.h |
| 3413 | include/grpcpp/support/byte_buffer.h |
| 3414 | include/grpcpp/support/channel_arguments.h |
| 3415 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 3416 | include/grpcpp/support/proto_buffer_reader.h |
| 3417 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3418 | include/grpcpp/support/slice.h |
| 3419 | include/grpcpp/support/status.h |
| 3420 | include/grpcpp/support/status_code_enum.h |
| 3421 | include/grpcpp/support/string_ref.h |
| 3422 | include/grpcpp/support/stub_options.h |
| 3423 | include/grpcpp/support/sync_stream.h |
| 3424 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3425 | include/grpc/support/alloc.h |
| 3426 | include/grpc/support/atm.h |
| 3427 | include/grpc/support/atm_gcc_atomic.h |
| 3428 | include/grpc/support/atm_gcc_sync.h |
| 3429 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3430 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3431 | include/grpc/support/log.h |
| 3432 | include/grpc/support/log_windows.h |
| 3433 | include/grpc/support/port_platform.h |
| 3434 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3435 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3436 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3437 | include/grpc/support/sync_generic.h |
| 3438 | include/grpc/support/sync_posix.h |
| 3439 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 3440 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3441 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3442 | include/grpc/impl/codegen/atm.h |
| 3443 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3444 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3445 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3446 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3447 | include/grpc/impl/codegen/gpr_slice.h |
| 3448 | include/grpc/impl/codegen/gpr_types.h |
| 3449 | include/grpc/impl/codegen/port_platform.h |
| 3450 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3451 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3452 | include/grpc/impl/codegen/sync_generic.h |
| 3453 | include/grpc/impl/codegen/sync_posix.h |
| 3454 | include/grpc/impl/codegen/sync_windows.h |
| 3455 | include/grpc/byte_buffer.h |
| 3456 | include/grpc/byte_buffer_reader.h |
| 3457 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3458 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3459 | include/grpc/grpc.h |
| 3460 | include/grpc/grpc_posix.h |
| 3461 | include/grpc/grpc_security_constants.h |
| 3462 | include/grpc/load_reporting.h |
| 3463 | include/grpc/slice.h |
| 3464 | include/grpc/slice_buffer.h |
| 3465 | include/grpc/status.h |
| 3466 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3467 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3468 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3469 | include/grpc/impl/codegen/compression_types.h |
| 3470 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3471 | include/grpc/impl/codegen/grpc_types.h |
| 3472 | include/grpc/impl/codegen/propagation_bits.h |
| 3473 | include/grpc/impl/codegen/slice.h |
| 3474 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3475 | include/grpc++/impl/codegen/async_stream.h |
| 3476 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3477 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3478 | include/grpc++/impl/codegen/call.h |
| 3479 | include/grpc++/impl/codegen/call_hook.h |
| 3480 | include/grpc++/impl/codegen/channel_interface.h |
| 3481 | include/grpc++/impl/codegen/client_context.h |
| 3482 | include/grpc++/impl/codegen/client_unary_call.h |
| 3483 | include/grpc++/impl/codegen/completion_queue.h |
| 3484 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3485 | include/grpc++/impl/codegen/config.h |
| 3486 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3487 | include/grpc++/impl/codegen/create_auth_context.h |
| 3488 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3489 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3490 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3491 | include/grpc++/impl/codegen/rpc_method.h |
| 3492 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3493 | include/grpc++/impl/codegen/security/auth_context.h |
| 3494 | include/grpc++/impl/codegen/serialization_traits.h |
| 3495 | include/grpc++/impl/codegen/server_context.h |
| 3496 | include/grpc++/impl/codegen/server_interface.h |
| 3497 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3498 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3499 | include/grpc++/impl/codegen/status.h |
| 3500 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3501 | include/grpc++/impl/codegen/string_ref.h |
| 3502 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3503 | include/grpc++/impl/codegen/sync_stream.h |
| 3504 | include/grpc++/impl/codegen/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3505 | include/grpcpp/impl/codegen/async_stream.h |
| 3506 | include/grpcpp/impl/codegen/async_unary_call.h |
| 3507 | include/grpcpp/impl/codegen/byte_buffer.h |
| 3508 | include/grpcpp/impl/codegen/call.h |
| 3509 | include/grpcpp/impl/codegen/call_hook.h |
| 3510 | include/grpcpp/impl/codegen/channel_interface.h |
| 3511 | include/grpcpp/impl/codegen/client_context.h |
| 3512 | include/grpcpp/impl/codegen/client_unary_call.h |
| 3513 | include/grpcpp/impl/codegen/completion_queue.h |
| 3514 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 3515 | include/grpcpp/impl/codegen/config.h |
| 3516 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 3517 | include/grpcpp/impl/codegen/create_auth_context.h |
| 3518 | include/grpcpp/impl/codegen/grpc_library.h |
| 3519 | include/grpcpp/impl/codegen/metadata_map.h |
| 3520 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 3521 | include/grpcpp/impl/codegen/rpc_method.h |
| 3522 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 3523 | include/grpcpp/impl/codegen/security/auth_context.h |
| 3524 | include/grpcpp/impl/codegen/serialization_traits.h |
| 3525 | include/grpcpp/impl/codegen/server_context.h |
| 3526 | include/grpcpp/impl/codegen/server_interface.h |
| 3527 | include/grpcpp/impl/codegen/service_type.h |
| 3528 | include/grpcpp/impl/codegen/slice.h |
| 3529 | include/grpcpp/impl/codegen/status.h |
| 3530 | include/grpcpp/impl/codegen/status_code_enum.h |
| 3531 | include/grpcpp/impl/codegen/string_ref.h |
| 3532 | include/grpcpp/impl/codegen/stub_options.h |
| 3533 | include/grpcpp/impl/codegen/sync_stream.h |
| 3534 | include/grpcpp/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3535 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3536 | ) |
| 3537 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3538 | get_filename_component(_path ${_path} PATH) |
| 3539 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3540 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3541 | ) |
| 3542 | endforeach() |
| 3543 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3544 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3545 | if (gRPC_INSTALL) |
| 3546 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3547 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3548 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3549 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3550 | ) |
| 3551 | endif() |
| 3552 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3553 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3554 | if (gRPC_BUILD_CODEGEN) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3555 | add_library(grpc++_error_details |
| 3556 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3557 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3558 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3559 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3560 | src/cpp/util/error_details.cc |
| 3561 | ) |
| 3562 | |
| 3563 | if(WIN32 AND MSVC) |
| 3564 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3565 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3566 | ) |
| 3567 | if (gRPC_INSTALL) |
| 3568 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3569 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3570 | ) |
| 3571 | endif() |
| 3572 | endif() |
| 3573 | |
| 3574 | protobuf_generate_grpc_cpp( |
| 3575 | src/proto/grpc/status/status.proto |
| 3576 | ) |
| 3577 | |
| 3578 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3579 | 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] | 3580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3581 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3582 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3583 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3584 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3585 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3586 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3587 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3588 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3589 | ) |
| 3590 | |
| 3591 | target_link_libraries(grpc++_error_details |
| 3592 | ${_gRPC_BASELIB_LIBRARIES} |
| 3593 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3595 | grpc++ |
| 3596 | ) |
| 3597 | |
| 3598 | foreach(_hdr |
| 3599 | include/grpc++/support/error_details.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3600 | include/grpcpp/support/error_details.h |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3601 | ) |
| 3602 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3603 | get_filename_component(_path ${_path} PATH) |
| 3604 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3605 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3606 | ) |
| 3607 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3608 | endif (gRPC_BUILD_CODEGEN) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3609 | |
| 3610 | |
| 3611 | if (gRPC_INSTALL) |
| 3612 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3613 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3614 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3615 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3616 | ) |
| 3617 | endif() |
| 3618 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3619 | if (gRPC_BUILD_TESTS) |
| 3620 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3621 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3622 | add_library(grpc++_proto_reflection_desc_db |
| 3623 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3624 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3625 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3628 | ) |
| 3629 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3630 | if(WIN32 AND MSVC) |
| 3631 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3632 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3633 | ) |
| 3634 | if (gRPC_INSTALL) |
| 3635 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3636 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3637 | ) |
| 3638 | endif() |
| 3639 | endif() |
| 3640 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3641 | protobuf_generate_grpc_cpp( |
| 3642 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3643 | ) |
| 3644 | |
| 3645 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3646 | 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] | 3647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3648 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3649 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3650 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3651 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3652 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3653 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3654 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3655 | PRIVATE third_party/googletest/googletest/include |
| 3656 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3657 | PRIVATE third_party/googletest/googlemock/include |
| 3658 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3659 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3660 | ) |
| 3661 | |
| 3662 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3663 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3665 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3666 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3667 | ) |
| 3668 | |
| 3669 | foreach(_hdr |
| 3670 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3671 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3672 | ) |
| 3673 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3674 | get_filename_component(_path ${_path} PATH) |
| 3675 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3676 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3677 | ) |
| 3678 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3679 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3680 | |
| 3681 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3682 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3683 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3684 | add_library(grpc++_reflection |
| 3685 | src/cpp/ext/proto_server_reflection.cc |
| 3686 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3687 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3688 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3689 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3690 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3691 | ) |
| 3692 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3693 | if(WIN32 AND MSVC) |
| 3694 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3695 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3696 | ) |
| 3697 | if (gRPC_INSTALL) |
| 3698 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3699 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3700 | ) |
| 3701 | endif() |
| 3702 | endif() |
| 3703 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3704 | protobuf_generate_grpc_cpp( |
| 3705 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3706 | ) |
| 3707 | |
| 3708 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3709 | 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] | 3710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3711 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3712 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3713 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3714 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3715 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3716 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3717 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3718 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3719 | ) |
| 3720 | |
| 3721 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3722 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3723 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3724 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3725 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3726 | ) |
| 3727 | |
| 3728 | foreach(_hdr |
| 3729 | include/grpc++/ext/proto_server_reflection_plugin.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3730 | include/grpcpp/ext/proto_server_reflection_plugin.h |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3731 | ) |
| 3732 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3733 | get_filename_component(_path ${_path} PATH) |
| 3734 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3735 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3736 | ) |
| 3737 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3738 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3739 | |
| 3740 | |
| 3741 | if (gRPC_INSTALL) |
| 3742 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3743 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3744 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3745 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3746 | ) |
| 3747 | endif() |
| 3748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3749 | if (gRPC_BUILD_TESTS) |
| 3750 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3751 | add_library(grpc++_test_config |
| 3752 | test/cpp/util/test_config_cc.cc |
| 3753 | ) |
| 3754 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3755 | if(WIN32 AND MSVC) |
| 3756 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3757 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3758 | ) |
| 3759 | if (gRPC_INSTALL) |
| 3760 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3761 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3762 | ) |
| 3763 | endif() |
| 3764 | endif() |
| 3765 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3766 | |
| 3767 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3768 | 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] | 3769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3770 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3771 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3772 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3773 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3774 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3775 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3776 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3777 | PRIVATE third_party/googletest/googletest/include |
| 3778 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3779 | PRIVATE third_party/googletest/googlemock/include |
| 3780 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3781 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3782 | ) |
| 3783 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3784 | target_link_libraries(grpc++_test_config |
| 3785 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3787 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3788 | |
| 3789 | |
| 3790 | endif (gRPC_BUILD_TESTS) |
| 3791 | if (gRPC_BUILD_TESTS) |
| 3792 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3793 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3794 | add_library(grpc++_test_util |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3795 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 3796 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 3797 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 3798 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3799 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3800 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3801 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3802 | ${_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] | 3803 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3804 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3805 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3806 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3807 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3808 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3810 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3811 | ${_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] | 3812 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3813 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3814 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3815 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3816 | test/cpp/end2end/test_service_impl.cc |
| 3817 | test/cpp/util/byte_buffer_proto_helper.cc |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3818 | test/cpp/util/channel_trace_proto_helper.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3819 | test/cpp/util/create_test_channel.cc |
| 3820 | test/cpp/util/string_ref_helper.cc |
| 3821 | test/cpp/util/subprocess.cc |
| 3822 | test/cpp/util/test_credentials_provider.cc |
| 3823 | src/cpp/codegen/codegen_init.cc |
| 3824 | ) |
| 3825 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3826 | if(WIN32 AND MSVC) |
| 3827 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3828 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3829 | ) |
| 3830 | if (gRPC_INSTALL) |
| 3831 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3832 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3833 | ) |
| 3834 | endif() |
| 3835 | endif() |
| 3836 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3837 | protobuf_generate_grpc_cpp( |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 3838 | src/proto/grpc/channelz/channelz.proto |
| 3839 | ) |
| 3840 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3841 | src/proto/grpc/health/v1/health.proto |
| 3842 | ) |
| 3843 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3844 | src/proto/grpc/testing/echo_messages.proto |
| 3845 | ) |
| 3846 | protobuf_generate_grpc_cpp( |
| 3847 | src/proto/grpc/testing/echo.proto |
| 3848 | ) |
| 3849 | protobuf_generate_grpc_cpp( |
| 3850 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3851 | ) |
| 3852 | |
| 3853 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3854 | 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] | 3855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 3862 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3863 | PRIVATE third_party/googletest/googletest/include |
| 3864 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3865 | PRIVATE third_party/googletest/googlemock/include |
| 3866 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3867 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3868 | ) |
| 3869 | |
| 3870 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3871 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3872 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3873 | grpc++ |
| 3874 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3875 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3876 | ) |
| 3877 | |
| 3878 | foreach(_hdr |
| 3879 | include/grpc++/impl/codegen/async_stream.h |
| 3880 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3881 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3882 | include/grpc++/impl/codegen/call.h |
| 3883 | include/grpc++/impl/codegen/call_hook.h |
| 3884 | include/grpc++/impl/codegen/channel_interface.h |
| 3885 | include/grpc++/impl/codegen/client_context.h |
| 3886 | include/grpc++/impl/codegen/client_unary_call.h |
| 3887 | include/grpc++/impl/codegen/completion_queue.h |
| 3888 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3889 | include/grpc++/impl/codegen/config.h |
| 3890 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3891 | include/grpc++/impl/codegen/create_auth_context.h |
| 3892 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3893 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3894 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3895 | include/grpc++/impl/codegen/rpc_method.h |
| 3896 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3897 | include/grpc++/impl/codegen/security/auth_context.h |
| 3898 | include/grpc++/impl/codegen/serialization_traits.h |
| 3899 | include/grpc++/impl/codegen/server_context.h |
| 3900 | include/grpc++/impl/codegen/server_interface.h |
| 3901 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3902 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3903 | include/grpc++/impl/codegen/status.h |
| 3904 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3905 | include/grpc++/impl/codegen/string_ref.h |
| 3906 | include/grpc++/impl/codegen/stub_options.h |
| 3907 | include/grpc++/impl/codegen/sync_stream.h |
| 3908 | include/grpc++/impl/codegen/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3909 | include/grpcpp/impl/codegen/async_stream.h |
| 3910 | include/grpcpp/impl/codegen/async_unary_call.h |
| 3911 | include/grpcpp/impl/codegen/byte_buffer.h |
| 3912 | include/grpcpp/impl/codegen/call.h |
| 3913 | include/grpcpp/impl/codegen/call_hook.h |
| 3914 | include/grpcpp/impl/codegen/channel_interface.h |
| 3915 | include/grpcpp/impl/codegen/client_context.h |
| 3916 | include/grpcpp/impl/codegen/client_unary_call.h |
| 3917 | include/grpcpp/impl/codegen/completion_queue.h |
| 3918 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 3919 | include/grpcpp/impl/codegen/config.h |
| 3920 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 3921 | include/grpcpp/impl/codegen/create_auth_context.h |
| 3922 | include/grpcpp/impl/codegen/grpc_library.h |
| 3923 | include/grpcpp/impl/codegen/metadata_map.h |
| 3924 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 3925 | include/grpcpp/impl/codegen/rpc_method.h |
| 3926 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 3927 | include/grpcpp/impl/codegen/security/auth_context.h |
| 3928 | include/grpcpp/impl/codegen/serialization_traits.h |
| 3929 | include/grpcpp/impl/codegen/server_context.h |
| 3930 | include/grpcpp/impl/codegen/server_interface.h |
| 3931 | include/grpcpp/impl/codegen/service_type.h |
| 3932 | include/grpcpp/impl/codegen/slice.h |
| 3933 | include/grpcpp/impl/codegen/status.h |
| 3934 | include/grpcpp/impl/codegen/status_code_enum.h |
| 3935 | include/grpcpp/impl/codegen/string_ref.h |
| 3936 | include/grpcpp/impl/codegen/stub_options.h |
| 3937 | include/grpcpp/impl/codegen/sync_stream.h |
| 3938 | include/grpcpp/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3939 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3940 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3941 | include/grpc/impl/codegen/compression_types.h |
| 3942 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3943 | include/grpc/impl/codegen/grpc_types.h |
| 3944 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3945 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3946 | include/grpc/impl/codegen/status.h |
| 3947 | include/grpc/impl/codegen/atm.h |
| 3948 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3949 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3950 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3951 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3952 | include/grpc/impl/codegen/gpr_slice.h |
| 3953 | include/grpc/impl/codegen/gpr_types.h |
| 3954 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3955 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3956 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3957 | include/grpc/impl/codegen/sync_generic.h |
| 3958 | include/grpc/impl/codegen/sync_posix.h |
| 3959 | include/grpc/impl/codegen/sync_windows.h |
| 3960 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 3961 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 3962 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3963 | include/grpcpp/impl/codegen/proto_utils.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3964 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 3965 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3966 | ) |
| 3967 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3968 | get_filename_component(_path ${_path} PATH) |
| 3969 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3970 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3971 | ) |
| 3972 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3973 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3974 | |
| 3975 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3976 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3977 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 3978 | if (gRPC_BUILD_CODEGEN) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3979 | add_library(grpc++_test_util_unsecure |
| 3980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3984 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3985 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3986 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3987 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3988 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3989 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3990 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3991 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3992 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3993 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3994 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3995 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3996 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3997 | test/cpp/end2end/test_service_impl.cc |
| 3998 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3999 | test/cpp/util/string_ref_helper.cc |
| 4000 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4001 | src/cpp/codegen/codegen_init.cc |
| 4002 | ) |
| 4003 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4004 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4005 | 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] | 4006 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4007 | ) |
| 4008 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4009 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4010 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4011 | ) |
| 4012 | endif() |
| 4013 | endif() |
| 4014 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4015 | protobuf_generate_grpc_cpp( |
| 4016 | src/proto/grpc/health/v1/health.proto |
| 4017 | ) |
| 4018 | protobuf_generate_grpc_cpp( |
| 4019 | src/proto/grpc/testing/echo_messages.proto |
| 4020 | ) |
| 4021 | protobuf_generate_grpc_cpp( |
| 4022 | src/proto/grpc/testing/echo.proto |
| 4023 | ) |
| 4024 | protobuf_generate_grpc_cpp( |
| 4025 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 4026 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4027 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4028 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4029 | 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] | 4030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4031 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4032 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4033 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4034 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4035 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4036 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4037 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4038 | PRIVATE third_party/googletest/googletest/include |
| 4039 | PRIVATE third_party/googletest/googletest |
| 4040 | PRIVATE third_party/googletest/googlemock/include |
| 4041 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4042 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4043 | ) |
| 4044 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4045 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4046 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4048 | grpc++_unsecure |
| 4049 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4050 | grpc_unsecure |
| 4051 | ) |
| 4052 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4053 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4054 | include/grpc++/impl/codegen/async_stream.h |
| 4055 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4056 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4057 | include/grpc++/impl/codegen/call.h |
| 4058 | include/grpc++/impl/codegen/call_hook.h |
| 4059 | include/grpc++/impl/codegen/channel_interface.h |
| 4060 | include/grpc++/impl/codegen/client_context.h |
| 4061 | include/grpc++/impl/codegen/client_unary_call.h |
| 4062 | include/grpc++/impl/codegen/completion_queue.h |
| 4063 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 4064 | include/grpc++/impl/codegen/config.h |
| 4065 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 4066 | include/grpc++/impl/codegen/create_auth_context.h |
| 4067 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 4068 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4069 | include/grpc++/impl/codegen/method_handler_impl.h |
| 4070 | include/grpc++/impl/codegen/rpc_method.h |
| 4071 | include/grpc++/impl/codegen/rpc_service_method.h |
| 4072 | include/grpc++/impl/codegen/security/auth_context.h |
| 4073 | include/grpc++/impl/codegen/serialization_traits.h |
| 4074 | include/grpc++/impl/codegen/server_context.h |
| 4075 | include/grpc++/impl/codegen/server_interface.h |
| 4076 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 4077 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4078 | include/grpc++/impl/codegen/status.h |
| 4079 | include/grpc++/impl/codegen/status_code_enum.h |
| 4080 | include/grpc++/impl/codegen/string_ref.h |
| 4081 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4082 | include/grpc++/impl/codegen/sync_stream.h |
| 4083 | include/grpc++/impl/codegen/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4084 | include/grpcpp/impl/codegen/async_stream.h |
| 4085 | include/grpcpp/impl/codegen/async_unary_call.h |
| 4086 | include/grpcpp/impl/codegen/byte_buffer.h |
| 4087 | include/grpcpp/impl/codegen/call.h |
| 4088 | include/grpcpp/impl/codegen/call_hook.h |
| 4089 | include/grpcpp/impl/codegen/channel_interface.h |
| 4090 | include/grpcpp/impl/codegen/client_context.h |
| 4091 | include/grpcpp/impl/codegen/client_unary_call.h |
| 4092 | include/grpcpp/impl/codegen/completion_queue.h |
| 4093 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 4094 | include/grpcpp/impl/codegen/config.h |
| 4095 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 4096 | include/grpcpp/impl/codegen/create_auth_context.h |
| 4097 | include/grpcpp/impl/codegen/grpc_library.h |
| 4098 | include/grpcpp/impl/codegen/metadata_map.h |
| 4099 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 4100 | include/grpcpp/impl/codegen/rpc_method.h |
| 4101 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 4102 | include/grpcpp/impl/codegen/security/auth_context.h |
| 4103 | include/grpcpp/impl/codegen/serialization_traits.h |
| 4104 | include/grpcpp/impl/codegen/server_context.h |
| 4105 | include/grpcpp/impl/codegen/server_interface.h |
| 4106 | include/grpcpp/impl/codegen/service_type.h |
| 4107 | include/grpcpp/impl/codegen/slice.h |
| 4108 | include/grpcpp/impl/codegen/status.h |
| 4109 | include/grpcpp/impl/codegen/status_code_enum.h |
| 4110 | include/grpcpp/impl/codegen/string_ref.h |
| 4111 | include/grpcpp/impl/codegen/stub_options.h |
| 4112 | include/grpcpp/impl/codegen/sync_stream.h |
| 4113 | include/grpcpp/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4114 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4115 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 4116 | include/grpc/impl/codegen/compression_types.h |
| 4117 | include/grpc/impl/codegen/connectivity_state.h |
| 4118 | include/grpc/impl/codegen/grpc_types.h |
| 4119 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 4120 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4121 | include/grpc/impl/codegen/status.h |
| 4122 | include/grpc/impl/codegen/atm.h |
| 4123 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 4124 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 4125 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4126 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 4127 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4128 | include/grpc/impl/codegen/gpr_types.h |
| 4129 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4130 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4131 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4132 | include/grpc/impl/codegen/sync_generic.h |
| 4133 | include/grpc/impl/codegen/sync_posix.h |
| 4134 | include/grpc/impl/codegen/sync_windows.h |
| 4135 | include/grpc++/impl/codegen/proto_utils.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 4136 | include/grpcpp/impl/codegen/proto_buffer_reader.h |
| 4137 | include/grpcpp/impl/codegen/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4138 | include/grpcpp/impl/codegen/proto_utils.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4139 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4140 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4141 | ) |
| 4142 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4143 | get_filename_component(_path ${_path} PATH) |
| 4144 | install(FILES ${_hdr} |
| 4145 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 4146 | ) |
| 4147 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4148 | endif (gRPC_BUILD_CODEGEN) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4149 | |
| 4150 | endif (gRPC_BUILD_TESTS) |
| 4151 | |
| 4152 | add_library(grpc++_unsecure |
| 4153 | src/cpp/client/insecure_credentials.cc |
| 4154 | src/cpp/common/insecure_create_auth_context.cc |
| 4155 | src/cpp/server/insecure_server_credentials.cc |
| 4156 | src/cpp/client/channel_cc.cc |
| 4157 | src/cpp/client/client_context.cc |
| 4158 | src/cpp/client/create_channel.cc |
| 4159 | src/cpp/client/create_channel_internal.cc |
| 4160 | src/cpp/client/create_channel_posix.cc |
| 4161 | src/cpp/client/credentials_cc.cc |
| 4162 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 4163 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4164 | src/cpp/common/channel_arguments.cc |
| 4165 | src/cpp/common/channel_filter.cc |
| 4166 | src/cpp/common/completion_queue_cc.cc |
| 4167 | src/cpp/common/core_codegen.cc |
| 4168 | src/cpp/common/resource_quota_cc.cc |
| 4169 | src/cpp/common/rpc_method.cc |
| 4170 | src/cpp/common/version_cc.cc |
| 4171 | src/cpp/server/async_generic_service.cc |
| 4172 | src/cpp/server/channel_argument_option.cc |
| 4173 | src/cpp/server/create_default_thread_pool.cc |
| 4174 | src/cpp/server/dynamic_thread_pool.cc |
| 4175 | src/cpp/server/health/default_health_check_service.cc |
| 4176 | src/cpp/server/health/health.pb.c |
| 4177 | src/cpp/server/health/health_check_service.cc |
| 4178 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 4179 | src/cpp/server/server_builder.cc |
| 4180 | src/cpp/server/server_cc.cc |
| 4181 | src/cpp/server/server_context.cc |
| 4182 | src/cpp/server/server_credentials.cc |
| 4183 | src/cpp/server/server_posix.cc |
| 4184 | src/cpp/thread_manager/thread_manager.cc |
| 4185 | src/cpp/util/byte_buffer_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4186 | src/cpp/util/status.cc |
| 4187 | src/cpp/util/string_ref.cc |
| 4188 | src/cpp/util/time_cc.cc |
| 4189 | src/cpp/codegen/codegen_init.cc |
| 4190 | ) |
| 4191 | |
| 4192 | if(WIN32 AND MSVC) |
| 4193 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 4194 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4195 | ) |
| 4196 | if (gRPC_INSTALL) |
| 4197 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 4198 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 4199 | ) |
| 4200 | endif() |
| 4201 | endif() |
| 4202 | |
| 4203 | |
| 4204 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4205 | 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] | 4206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4207 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4208 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4209 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4210 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4211 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4212 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4213 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4214 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4215 | ) |
| 4216 | |
| 4217 | target_link_libraries(grpc++_unsecure |
| 4218 | ${_gRPC_BASELIB_LIBRARIES} |
| 4219 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4221 | gpr |
| 4222 | grpc_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4223 | ) |
| 4224 | |
| 4225 | foreach(_hdr |
| 4226 | include/grpc++/alarm.h |
| 4227 | include/grpc++/channel.h |
| 4228 | include/grpc++/client_context.h |
| 4229 | include/grpc++/completion_queue.h |
| 4230 | include/grpc++/create_channel.h |
| 4231 | include/grpc++/create_channel_posix.h |
| 4232 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 4233 | include/grpc++/generic/async_generic_service.h |
| 4234 | include/grpc++/generic/generic_stub.h |
| 4235 | include/grpc++/grpc++.h |
| 4236 | include/grpc++/health_check_service_interface.h |
| 4237 | include/grpc++/impl/call.h |
| 4238 | include/grpc++/impl/channel_argument_option.h |
| 4239 | include/grpc++/impl/client_unary_call.h |
| 4240 | include/grpc++/impl/codegen/core_codegen.h |
| 4241 | include/grpc++/impl/grpc_library.h |
| 4242 | include/grpc++/impl/method_handler_impl.h |
| 4243 | include/grpc++/impl/rpc_method.h |
| 4244 | include/grpc++/impl/rpc_service_method.h |
| 4245 | include/grpc++/impl/serialization_traits.h |
| 4246 | include/grpc++/impl/server_builder_option.h |
| 4247 | include/grpc++/impl/server_builder_plugin.h |
| 4248 | include/grpc++/impl/server_initializer.h |
| 4249 | include/grpc++/impl/service_type.h |
| 4250 | include/grpc++/resource_quota.h |
| 4251 | include/grpc++/security/auth_context.h |
| 4252 | include/grpc++/security/auth_metadata_processor.h |
| 4253 | include/grpc++/security/credentials.h |
| 4254 | include/grpc++/security/server_credentials.h |
| 4255 | include/grpc++/server.h |
| 4256 | include/grpc++/server_builder.h |
| 4257 | include/grpc++/server_context.h |
| 4258 | include/grpc++/server_posix.h |
| 4259 | include/grpc++/support/async_stream.h |
| 4260 | include/grpc++/support/async_unary_call.h |
| 4261 | include/grpc++/support/byte_buffer.h |
| 4262 | include/grpc++/support/channel_arguments.h |
| 4263 | include/grpc++/support/config.h |
| 4264 | include/grpc++/support/slice.h |
| 4265 | include/grpc++/support/status.h |
| 4266 | include/grpc++/support/status_code_enum.h |
| 4267 | include/grpc++/support/string_ref.h |
| 4268 | include/grpc++/support/stub_options.h |
| 4269 | include/grpc++/support/sync_stream.h |
| 4270 | include/grpc++/support/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4271 | include/grpcpp/alarm.h |
| 4272 | include/grpcpp/channel.h |
| 4273 | include/grpcpp/client_context.h |
| 4274 | include/grpcpp/completion_queue.h |
| 4275 | include/grpcpp/create_channel.h |
| 4276 | include/grpcpp/create_channel_posix.h |
| 4277 | include/grpcpp/ext/health_check_service_server_builder_option.h |
| 4278 | include/grpcpp/generic/async_generic_service.h |
| 4279 | include/grpcpp/generic/generic_stub.h |
| 4280 | include/grpcpp/grpcpp.h |
| 4281 | include/grpcpp/health_check_service_interface.h |
| 4282 | include/grpcpp/impl/call.h |
| 4283 | include/grpcpp/impl/channel_argument_option.h |
| 4284 | include/grpcpp/impl/client_unary_call.h |
| 4285 | include/grpcpp/impl/codegen/core_codegen.h |
| 4286 | include/grpcpp/impl/grpc_library.h |
| 4287 | include/grpcpp/impl/method_handler_impl.h |
| 4288 | include/grpcpp/impl/rpc_method.h |
| 4289 | include/grpcpp/impl/rpc_service_method.h |
| 4290 | include/grpcpp/impl/serialization_traits.h |
| 4291 | include/grpcpp/impl/server_builder_option.h |
| 4292 | include/grpcpp/impl/server_builder_plugin.h |
| 4293 | include/grpcpp/impl/server_initializer.h |
| 4294 | include/grpcpp/impl/service_type.h |
| 4295 | include/grpcpp/resource_quota.h |
| 4296 | include/grpcpp/security/auth_context.h |
| 4297 | include/grpcpp/security/auth_metadata_processor.h |
| 4298 | include/grpcpp/security/credentials.h |
| 4299 | include/grpcpp/security/server_credentials.h |
| 4300 | include/grpcpp/server.h |
| 4301 | include/grpcpp/server_builder.h |
| 4302 | include/grpcpp/server_context.h |
| 4303 | include/grpcpp/server_posix.h |
| 4304 | include/grpcpp/support/async_stream.h |
| 4305 | include/grpcpp/support/async_unary_call.h |
| 4306 | include/grpcpp/support/byte_buffer.h |
| 4307 | include/grpcpp/support/channel_arguments.h |
| 4308 | include/grpcpp/support/config.h |
ncteisen | cf5b266 | 2018-02-27 11:55:10 -0800 | [diff] [blame] | 4309 | include/grpcpp/support/proto_buffer_reader.h |
| 4310 | include/grpcpp/support/proto_buffer_writer.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4311 | include/grpcpp/support/slice.h |
| 4312 | include/grpcpp/support/status.h |
| 4313 | include/grpcpp/support/status_code_enum.h |
| 4314 | include/grpcpp/support/string_ref.h |
| 4315 | include/grpcpp/support/stub_options.h |
| 4316 | include/grpcpp/support/sync_stream.h |
| 4317 | include/grpcpp/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4318 | include/grpc/support/alloc.h |
| 4319 | include/grpc/support/atm.h |
| 4320 | include/grpc/support/atm_gcc_atomic.h |
| 4321 | include/grpc/support/atm_gcc_sync.h |
| 4322 | include/grpc/support/atm_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4323 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4324 | include/grpc/support/log.h |
| 4325 | include/grpc/support/log_windows.h |
| 4326 | include/grpc/support/port_platform.h |
| 4327 | include/grpc/support/string_util.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4328 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4329 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4330 | include/grpc/support/sync_generic.h |
| 4331 | include/grpc/support/sync_posix.h |
| 4332 | include/grpc/support/sync_windows.h |
Vijay Pai | c745690 | 2018-02-12 10:28:24 -0800 | [diff] [blame] | 4333 | include/grpc/support/thd_id.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4334 | include/grpc/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4335 | include/grpc/impl/codegen/atm.h |
| 4336 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 4337 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 4338 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4339 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4340 | include/grpc/impl/codegen/gpr_slice.h |
| 4341 | include/grpc/impl/codegen/gpr_types.h |
| 4342 | include/grpc/impl/codegen/port_platform.h |
| 4343 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 4344 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4345 | include/grpc/impl/codegen/sync_generic.h |
| 4346 | include/grpc/impl/codegen/sync_posix.h |
| 4347 | include/grpc/impl/codegen/sync_windows.h |
| 4348 | include/grpc/byte_buffer.h |
| 4349 | include/grpc/byte_buffer_reader.h |
| 4350 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 4351 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4352 | include/grpc/grpc.h |
| 4353 | include/grpc/grpc_posix.h |
| 4354 | include/grpc/grpc_security_constants.h |
| 4355 | include/grpc/load_reporting.h |
| 4356 | include/grpc/slice.h |
| 4357 | include/grpc/slice_buffer.h |
| 4358 | include/grpc/status.h |
| 4359 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4360 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4361 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 4362 | include/grpc/impl/codegen/compression_types.h |
| 4363 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 4364 | include/grpc/impl/codegen/grpc_types.h |
| 4365 | include/grpc/impl/codegen/propagation_bits.h |
| 4366 | include/grpc/impl/codegen/slice.h |
| 4367 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4368 | include/grpc++/impl/codegen/async_stream.h |
| 4369 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 4370 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4371 | include/grpc++/impl/codegen/call.h |
| 4372 | include/grpc++/impl/codegen/call_hook.h |
| 4373 | include/grpc++/impl/codegen/channel_interface.h |
| 4374 | include/grpc++/impl/codegen/client_context.h |
| 4375 | include/grpc++/impl/codegen/client_unary_call.h |
| 4376 | include/grpc++/impl/codegen/completion_queue.h |
| 4377 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 4378 | include/grpc++/impl/codegen/config.h |
| 4379 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 4380 | include/grpc++/impl/codegen/create_auth_context.h |
| 4381 | include/grpc++/impl/codegen/grpc_library.h |
| 4382 | include/grpc++/impl/codegen/metadata_map.h |
| 4383 | include/grpc++/impl/codegen/method_handler_impl.h |
| 4384 | include/grpc++/impl/codegen/rpc_method.h |
| 4385 | include/grpc++/impl/codegen/rpc_service_method.h |
| 4386 | include/grpc++/impl/codegen/security/auth_context.h |
| 4387 | include/grpc++/impl/codegen/serialization_traits.h |
| 4388 | include/grpc++/impl/codegen/server_context.h |
| 4389 | include/grpc++/impl/codegen/server_interface.h |
| 4390 | include/grpc++/impl/codegen/service_type.h |
| 4391 | include/grpc++/impl/codegen/slice.h |
| 4392 | include/grpc++/impl/codegen/status.h |
| 4393 | include/grpc++/impl/codegen/status_code_enum.h |
| 4394 | include/grpc++/impl/codegen/string_ref.h |
| 4395 | include/grpc++/impl/codegen/stub_options.h |
| 4396 | include/grpc++/impl/codegen/sync_stream.h |
| 4397 | include/grpc++/impl/codegen/time.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4398 | include/grpcpp/impl/codegen/async_stream.h |
| 4399 | include/grpcpp/impl/codegen/async_unary_call.h |
| 4400 | include/grpcpp/impl/codegen/byte_buffer.h |
| 4401 | include/grpcpp/impl/codegen/call.h |
| 4402 | include/grpcpp/impl/codegen/call_hook.h |
| 4403 | include/grpcpp/impl/codegen/channel_interface.h |
| 4404 | include/grpcpp/impl/codegen/client_context.h |
| 4405 | include/grpcpp/impl/codegen/client_unary_call.h |
| 4406 | include/grpcpp/impl/codegen/completion_queue.h |
| 4407 | include/grpcpp/impl/codegen/completion_queue_tag.h |
| 4408 | include/grpcpp/impl/codegen/config.h |
| 4409 | include/grpcpp/impl/codegen/core_codegen_interface.h |
| 4410 | include/grpcpp/impl/codegen/create_auth_context.h |
| 4411 | include/grpcpp/impl/codegen/grpc_library.h |
| 4412 | include/grpcpp/impl/codegen/metadata_map.h |
| 4413 | include/grpcpp/impl/codegen/method_handler_impl.h |
| 4414 | include/grpcpp/impl/codegen/rpc_method.h |
| 4415 | include/grpcpp/impl/codegen/rpc_service_method.h |
| 4416 | include/grpcpp/impl/codegen/security/auth_context.h |
| 4417 | include/grpcpp/impl/codegen/serialization_traits.h |
| 4418 | include/grpcpp/impl/codegen/server_context.h |
| 4419 | include/grpcpp/impl/codegen/server_interface.h |
| 4420 | include/grpcpp/impl/codegen/service_type.h |
| 4421 | include/grpcpp/impl/codegen/slice.h |
| 4422 | include/grpcpp/impl/codegen/status.h |
| 4423 | include/grpcpp/impl/codegen/status_code_enum.h |
| 4424 | include/grpcpp/impl/codegen/string_ref.h |
| 4425 | include/grpcpp/impl/codegen/stub_options.h |
| 4426 | include/grpcpp/impl/codegen/sync_stream.h |
| 4427 | include/grpcpp/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4428 | ) |
| 4429 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4430 | get_filename_component(_path ${_path} PATH) |
| 4431 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4432 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4433 | ) |
| 4434 | endforeach() |
| 4435 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4436 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4437 | if (gRPC_INSTALL) |
| 4438 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4439 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4440 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4441 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4442 | ) |
| 4443 | endif() |
| 4444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4445 | if (gRPC_BUILD_TESTS) |
| 4446 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4447 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 4448 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4449 | ) |
| 4450 | |
| 4451 | if(WIN32 AND MSVC) |
| 4452 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 4453 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4454 | ) |
| 4455 | if (gRPC_INSTALL) |
| 4456 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4457 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4458 | ) |
| 4459 | endif() |
| 4460 | endif() |
| 4461 | |
| 4462 | |
| 4463 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4464 | 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] | 4465 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4466 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4467 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4468 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4469 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4470 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4471 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4472 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4473 | PRIVATE third_party/googletest/googletest/include |
| 4474 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4475 | PRIVATE third_party/googletest/googlemock/include |
| 4476 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4477 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4478 | ) |
| 4479 | |
| 4480 | target_link_libraries(grpc_benchmark |
| 4481 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4483 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4484 | grpc++_unsecure |
| 4485 | grpc_test_util_unsecure |
| 4486 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4487 | ${_gRPC_GFLAGS_LIBRARIES} |
| 4488 | ) |
| 4489 | |
| 4490 | |
| 4491 | endif (gRPC_BUILD_TESTS) |
| 4492 | if (gRPC_BUILD_TESTS) |
| 4493 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4494 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4495 | add_library(grpc_cli_libs |
| 4496 | test/cpp/util/cli_call.cc |
| 4497 | test/cpp/util/cli_credentials.cc |
| 4498 | test/cpp/util/grpc_tool.cc |
| 4499 | test/cpp/util/proto_file_parser.cc |
| 4500 | test/cpp/util/service_describer.cc |
| 4501 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 4502 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 4503 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 4504 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 4505 | ) |
| 4506 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4507 | if(WIN32 AND MSVC) |
| 4508 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 4509 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4510 | ) |
| 4511 | if (gRPC_INSTALL) |
| 4512 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4513 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4514 | ) |
| 4515 | endif() |
| 4516 | endif() |
| 4517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4518 | protobuf_generate_grpc_cpp( |
| 4519 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 4520 | ) |
| 4521 | |
| 4522 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4523 | 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] | 4524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4525 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4526 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4527 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4528 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4529 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4530 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4531 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4532 | PRIVATE third_party/googletest/googletest/include |
| 4533 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4534 | PRIVATE third_party/googletest/googlemock/include |
| 4535 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4536 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4537 | ) |
| 4538 | |
| 4539 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4540 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4542 | grpc++_proto_reflection_desc_db |
| 4543 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4544 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4545 | ) |
| 4546 | |
| 4547 | foreach(_hdr |
| 4548 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4549 | include/grpcpp/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4550 | ) |
| 4551 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4552 | get_filename_component(_path ${_path} PATH) |
| 4553 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4554 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4555 | ) |
| 4556 | endforeach() |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4557 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4558 | |
| 4559 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4560 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4561 | add_library(grpc_plugin_support |
| 4562 | src/compiler/cpp_generator.cc |
| 4563 | src/compiler/csharp_generator.cc |
| 4564 | src/compiler/node_generator.cc |
| 4565 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4566 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4567 | src/compiler/python_generator.cc |
| 4568 | src/compiler/ruby_generator.cc |
| 4569 | ) |
| 4570 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4571 | if(WIN32 AND MSVC) |
| 4572 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 4573 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4574 | ) |
| 4575 | if (gRPC_INSTALL) |
| 4576 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4577 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4578 | ) |
| 4579 | endif() |
| 4580 | endif() |
| 4581 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4582 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4583 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4584 | 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] | 4585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4586 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4587 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4588 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4589 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4590 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4591 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4592 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4594 | ) |
| 4595 | |
| 4596 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 4597 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4598 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4600 | ) |
| 4601 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4602 | foreach(_hdr |
| 4603 | include/grpc++/impl/codegen/config_protobuf.h |
Muxi Yan | 0e00c43 | 2018-01-26 15:39:32 -0800 | [diff] [blame] | 4604 | include/grpcpp/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4605 | ) |
| 4606 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4607 | get_filename_component(_path ${_path} PATH) |
| 4608 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4609 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4610 | ) |
| 4611 | endforeach() |
| 4612 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4613 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4614 | if (gRPC_INSTALL) |
| 4615 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4616 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4617 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4618 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4619 | ) |
| 4620 | endif() |
| 4621 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4622 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4623 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4624 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4625 | add_library(http2_client_main |
| 4626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4628 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4629 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4630 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4631 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4632 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4633 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4634 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4635 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4636 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4637 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4638 | test/cpp/interop/http2_client.cc |
| 4639 | ) |
| 4640 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4641 | if(WIN32 AND MSVC) |
| 4642 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4643 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4644 | ) |
| 4645 | if (gRPC_INSTALL) |
| 4646 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4647 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4648 | ) |
| 4649 | endif() |
| 4650 | endif() |
| 4651 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4652 | protobuf_generate_grpc_cpp( |
| 4653 | src/proto/grpc/testing/empty.proto |
| 4654 | ) |
| 4655 | protobuf_generate_grpc_cpp( |
| 4656 | src/proto/grpc/testing/messages.proto |
| 4657 | ) |
| 4658 | protobuf_generate_grpc_cpp( |
| 4659 | src/proto/grpc/testing/test.proto |
| 4660 | ) |
| 4661 | |
| 4662 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4663 | 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] | 4664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4665 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4666 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4667 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4668 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4669 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4670 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4671 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4672 | PRIVATE third_party/googletest/googletest/include |
| 4673 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4674 | PRIVATE third_party/googletest/googlemock/include |
| 4675 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4676 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4677 | ) |
| 4678 | |
| 4679 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4680 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4682 | grpc++_test_util |
| 4683 | grpc_test_util |
| 4684 | grpc++ |
| 4685 | grpc |
| 4686 | grpc++_test_config |
| 4687 | ) |
| 4688 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4689 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4690 | |
| 4691 | endif (gRPC_BUILD_TESTS) |
| 4692 | if (gRPC_BUILD_TESTS) |
| 4693 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4694 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4695 | add_library(interop_client_helper |
| 4696 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4697 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4698 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4699 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4700 | test/cpp/interop/client_helper.cc |
| 4701 | ) |
| 4702 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4703 | if(WIN32 AND MSVC) |
| 4704 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4705 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4706 | ) |
| 4707 | if (gRPC_INSTALL) |
| 4708 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4709 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4710 | ) |
| 4711 | endif() |
| 4712 | endif() |
| 4713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4714 | protobuf_generate_grpc_cpp( |
| 4715 | src/proto/grpc/testing/messages.proto |
| 4716 | ) |
| 4717 | |
| 4718 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4719 | 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] | 4720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4721 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4722 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4723 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4724 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4725 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4726 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4727 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4728 | PRIVATE third_party/googletest/googletest/include |
| 4729 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4730 | PRIVATE third_party/googletest/googlemock/include |
| 4731 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4732 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4733 | ) |
| 4734 | |
| 4735 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4736 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4737 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4738 | grpc++_test_util |
| 4739 | grpc_test_util |
| 4740 | grpc++ |
| 4741 | grpc |
| 4742 | gpr |
| 4743 | ) |
| 4744 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4745 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4746 | |
| 4747 | endif (gRPC_BUILD_TESTS) |
| 4748 | if (gRPC_BUILD_TESTS) |
| 4749 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4750 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4751 | add_library(interop_client_main |
| 4752 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4753 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4757 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4758 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4760 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4761 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4762 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4763 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4764 | test/cpp/interop/client.cc |
| 4765 | test/cpp/interop/interop_client.cc |
| 4766 | ) |
| 4767 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4768 | if(WIN32 AND MSVC) |
| 4769 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4770 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4771 | ) |
| 4772 | if (gRPC_INSTALL) |
| 4773 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4774 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4775 | ) |
| 4776 | endif() |
| 4777 | endif() |
| 4778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4779 | protobuf_generate_grpc_cpp( |
| 4780 | src/proto/grpc/testing/empty.proto |
| 4781 | ) |
| 4782 | protobuf_generate_grpc_cpp( |
| 4783 | src/proto/grpc/testing/messages.proto |
| 4784 | ) |
| 4785 | protobuf_generate_grpc_cpp( |
| 4786 | src/proto/grpc/testing/test.proto |
| 4787 | ) |
| 4788 | |
| 4789 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4790 | 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] | 4791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4792 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4793 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4794 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4795 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4796 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4797 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4798 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4799 | PRIVATE third_party/googletest/googletest/include |
| 4800 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4801 | PRIVATE third_party/googletest/googlemock/include |
| 4802 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4803 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4804 | ) |
| 4805 | |
| 4806 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4807 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4808 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4809 | interop_client_helper |
| 4810 | grpc++_test_util |
| 4811 | grpc_test_util |
| 4812 | grpc++ |
| 4813 | grpc |
| 4814 | gpr_test_util |
| 4815 | gpr |
| 4816 | grpc++_test_config |
| 4817 | ) |
| 4818 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4819 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4820 | |
| 4821 | endif (gRPC_BUILD_TESTS) |
| 4822 | if (gRPC_BUILD_TESTS) |
| 4823 | |
| 4824 | add_library(interop_server_helper |
| 4825 | test/cpp/interop/server_helper.cc |
| 4826 | ) |
| 4827 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4828 | if(WIN32 AND MSVC) |
| 4829 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4830 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4831 | ) |
| 4832 | if (gRPC_INSTALL) |
| 4833 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4834 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4835 | ) |
| 4836 | endif() |
| 4837 | endif() |
| 4838 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4839 | |
| 4840 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4841 | 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] | 4842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4844 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4845 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4846 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4847 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4848 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4849 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4850 | PRIVATE third_party/googletest/googletest/include |
| 4851 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4852 | PRIVATE third_party/googletest/googlemock/include |
| 4853 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4854 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4855 | ) |
| 4856 | |
| 4857 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4858 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4859 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4860 | grpc++_test_util |
| 4861 | grpc_test_util |
| 4862 | grpc++ |
| 4863 | grpc |
| 4864 | gpr |
| 4865 | ) |
| 4866 | |
| 4867 | |
| 4868 | endif (gRPC_BUILD_TESTS) |
| 4869 | if (gRPC_BUILD_TESTS) |
| 4870 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4871 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4872 | add_library(interop_server_lib |
| 4873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4874 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4875 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4876 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4877 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4878 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4879 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4880 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4881 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4882 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4883 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4885 | test/cpp/interop/interop_server.cc |
| 4886 | ) |
| 4887 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4888 | if(WIN32 AND MSVC) |
| 4889 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4890 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4891 | ) |
| 4892 | if (gRPC_INSTALL) |
| 4893 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4894 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4895 | ) |
| 4896 | endif() |
| 4897 | endif() |
| 4898 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4899 | protobuf_generate_grpc_cpp( |
| 4900 | src/proto/grpc/testing/empty.proto |
| 4901 | ) |
| 4902 | protobuf_generate_grpc_cpp( |
| 4903 | src/proto/grpc/testing/messages.proto |
| 4904 | ) |
| 4905 | protobuf_generate_grpc_cpp( |
| 4906 | src/proto/grpc/testing/test.proto |
| 4907 | ) |
| 4908 | |
| 4909 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4910 | 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] | 4911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4912 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4913 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4914 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4915 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4916 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4917 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4918 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4919 | PRIVATE third_party/googletest/googletest/include |
| 4920 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4921 | PRIVATE third_party/googletest/googlemock/include |
| 4922 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4923 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4924 | ) |
| 4925 | |
| 4926 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4927 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4928 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4929 | interop_server_helper |
| 4930 | grpc++_test_util |
| 4931 | grpc_test_util |
| 4932 | grpc++ |
| 4933 | grpc |
| 4934 | gpr_test_util |
| 4935 | gpr |
| 4936 | grpc++_test_config |
| 4937 | ) |
| 4938 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 4939 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4940 | |
| 4941 | endif (gRPC_BUILD_TESTS) |
| 4942 | if (gRPC_BUILD_TESTS) |
| 4943 | |
| 4944 | add_library(interop_server_main |
| 4945 | test/cpp/interop/interop_server_bootstrap.cc |
| 4946 | ) |
| 4947 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4948 | if(WIN32 AND MSVC) |
| 4949 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4950 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4951 | ) |
| 4952 | if (gRPC_INSTALL) |
| 4953 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4954 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4955 | ) |
| 4956 | endif() |
| 4957 | endif() |
| 4958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4959 | |
| 4960 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4961 | 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] | 4962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4963 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4964 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4965 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4966 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4967 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4968 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 4969 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4970 | PRIVATE third_party/googletest/googletest/include |
| 4971 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4972 | PRIVATE third_party/googletest/googlemock/include |
| 4973 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4974 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4975 | ) |
| 4976 | |
| 4977 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4978 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4980 | interop_server_lib |
| 4981 | ) |
| 4982 | |
| 4983 | |
| 4984 | endif (gRPC_BUILD_TESTS) |
| 4985 | if (gRPC_BUILD_TESTS) |
| 4986 | |
Juanli Shen | a0aab7e | 2018-05-01 10:30:54 -0700 | [diff] [blame] | 4987 | add_library(lb_load_data_store |
| 4988 | src/cpp/server/load_reporter/load_data_store.cc |
| 4989 | ) |
| 4990 | |
| 4991 | if(WIN32 AND MSVC) |
| 4992 | set_target_properties(lb_load_data_store PROPERTIES COMPILE_PDB_NAME "lb_load_data_store" |
| 4993 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4994 | ) |
| 4995 | if (gRPC_INSTALL) |
| 4996 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lb_load_data_store.pdb |
| 4997 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 4998 | ) |
| 4999 | endif() |
| 5000 | endif() |
| 5001 | |
| 5002 | |
| 5003 | target_include_directories(lb_load_data_store |
| 5004 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
| 5005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5006 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5007 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5008 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5009 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5010 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5011 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 5012 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 5013 | PRIVATE third_party/googletest/googletest/include |
| 5014 | PRIVATE third_party/googletest/googletest |
| 5015 | PRIVATE third_party/googletest/googlemock/include |
| 5016 | PRIVATE third_party/googletest/googlemock |
| 5017 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 5018 | ) |
| 5019 | |
| 5020 | target_link_libraries(lb_load_data_store |
| 5021 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 5022 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5023 | grpc++ |
| 5024 | ) |
| 5025 | |
| 5026 | |
| 5027 | endif (gRPC_BUILD_TESTS) |
| 5028 | if (gRPC_BUILD_TESTS) |
| 5029 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5030 | if (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5031 | add_library(qps |
| 5032 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 5033 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 5034 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 5035 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 5036 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 5037 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 5038 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 5039 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 5040 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 5041 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 5042 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 5043 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 5044 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 5045 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 5046 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 5047 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 5048 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 5049 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 5050 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 5051 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 5052 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 5053 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 5054 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 5055 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 5056 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 5057 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 5058 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 5059 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h |
Nicolas "Pixel" Noble | b02dd01 | 2017-03-24 18:45:22 +0100 | [diff] [blame] | 5060 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5061 | test/cpp/qps/client_async.cc |
| 5062 | test/cpp/qps/client_sync.cc |
| 5063 | test/cpp/qps/driver.cc |
| 5064 | test/cpp/qps/parse_json.cc |
| 5065 | test/cpp/qps/qps_worker.cc |
| 5066 | test/cpp/qps/report.cc |
| 5067 | test/cpp/qps/server_async.cc |
| 5068 | test/cpp/qps/server_sync.cc |
| 5069 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5070 | ) |
| 5071 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5072 | if(WIN32 AND MSVC) |
| 5073 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 5074 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5075 | ) |
| 5076 | if (gRPC_INSTALL) |
| 5077 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5078 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5079 | ) |
| 5080 | endif() |
| 5081 | endif() |
| 5082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5083 | protobuf_generate_grpc_cpp( |
| 5084 | src/proto/grpc/testing/messages.proto |
| 5085 | ) |
| 5086 | protobuf_generate_grpc_cpp( |
| 5087 | src/proto/grpc/testing/payloads.proto |
| 5088 | ) |
| 5089 | protobuf_generate_grpc_cpp( |
| 5090 | src/proto/grpc/testing/stats.proto |
| 5091 | ) |
| 5092 | protobuf_generate_grpc_cpp( |
| 5093 | src/proto/grpc/testing/control.proto |
| 5094 | ) |
| 5095 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 5096 | src/proto/grpc/testing/benchmark_service.proto |
| 5097 | ) |
| 5098 | protobuf_generate_grpc_cpp( |
| 5099 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 5100 | ) |
| 5101 | protobuf_generate_grpc_cpp( |
| 5102 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | ) |
| 5104 | |
| 5105 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5106 | 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] | 5107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5108 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5109 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5110 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5111 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5112 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5113 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5114 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 5115 | PRIVATE third_party/googletest/googletest/include |
| 5116 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 5117 | PRIVATE third_party/googletest/googlemock/include |
| 5118 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5119 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 5120 | ) |
| 5121 | |
| 5122 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5123 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 5124 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5125 | grpc_test_util |
| 5126 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 5127 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5128 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 5129 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5130 | ) |
| 5131 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 5132 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5133 | |
| 5134 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5135 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 5136 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5137 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5138 | ) |
| 5139 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5140 | if(WIN32 AND MSVC) |
| 5141 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 5142 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5143 | ) |
| 5144 | if (gRPC_INSTALL) |
| 5145 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5146 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5147 | ) |
| 5148 | endif() |
| 5149 | endif() |
| 5150 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5152 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5153 | 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] | 5154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5155 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5156 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5157 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5158 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5159 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5160 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5161 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5162 | ) |
| 5163 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5164 | target_link_libraries(grpc_csharp_ext |
| 5165 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5166 | grpc |
| 5167 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5168 | ) |
| 5169 | |
| 5170 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5171 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5172 | if (gRPC_INSTALL) |
| 5173 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5174 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5175 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5176 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5177 | ) |
| 5178 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5180 | if (gRPC_BUILD_TESTS) |
| 5181 | |
| 5182 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5183 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5184 | ) |
| 5185 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5186 | if(WIN32 AND MSVC) |
| 5187 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 5188 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5189 | ) |
| 5190 | if (gRPC_INSTALL) |
| 5191 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5192 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5193 | ) |
| 5194 | endif() |
| 5195 | endif() |
| 5196 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5197 | |
| 5198 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5199 | 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] | 5200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5201 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5202 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5203 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5204 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5205 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5206 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5207 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5208 | ) |
| 5209 | |
| 5210 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5211 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5212 | grpc_test_util_unsecure |
| 5213 | grpc_unsecure |
| 5214 | gpr_test_util |
| 5215 | gpr |
| 5216 | ) |
| 5217 | |
| 5218 | |
| 5219 | endif (gRPC_BUILD_TESTS) |
| 5220 | if (gRPC_BUILD_TESTS) |
| 5221 | |
| 5222 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5223 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5224 | ) |
| 5225 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5226 | if(WIN32 AND MSVC) |
| 5227 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 5228 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5229 | ) |
| 5230 | if (gRPC_INSTALL) |
| 5231 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5232 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5233 | ) |
| 5234 | endif() |
| 5235 | endif() |
| 5236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5237 | |
| 5238 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5239 | 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] | 5240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5241 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5242 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5243 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5244 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5245 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5246 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5247 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5248 | ) |
| 5249 | |
| 5250 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5251 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5252 | grpc_test_util |
| 5253 | grpc |
| 5254 | gpr_test_util |
| 5255 | gpr |
| 5256 | ) |
| 5257 | |
| 5258 | |
| 5259 | endif (gRPC_BUILD_TESTS) |
| 5260 | if (gRPC_BUILD_TESTS) |
| 5261 | |
| 5262 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5263 | test/core/end2end/end2end_tests.cc |
| 5264 | test/core/end2end/end2end_test_utils.cc |
| 5265 | test/core/end2end/tests/authority_not_supported.cc |
| 5266 | test/core/end2end/tests/bad_hostname.cc |
| 5267 | test/core/end2end/tests/bad_ping.cc |
| 5268 | test/core/end2end/tests/binary_metadata.cc |
| 5269 | test/core/end2end/tests/call_creds.cc |
David Garcia Quintas | 861363d | 2018-03-26 15:57:33 -0700 | [diff] [blame] | 5270 | test/core/end2end/tests/call_host_override.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5271 | test/core/end2end/tests/cancel_after_accept.cc |
| 5272 | test/core/end2end/tests/cancel_after_client_done.cc |
| 5273 | test/core/end2end/tests/cancel_after_invoke.cc |
| 5274 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 5275 | test/core/end2end/tests/cancel_before_invoke.cc |
| 5276 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 5277 | test/core/end2end/tests/cancel_with_status.cc |
| 5278 | test/core/end2end/tests/compressed_payload.cc |
| 5279 | test/core/end2end/tests/connectivity.cc |
| 5280 | test/core/end2end/tests/default_host.cc |
| 5281 | test/core/end2end/tests/disappearing_server.cc |
| 5282 | test/core/end2end/tests/empty_batch.cc |
| 5283 | test/core/end2end/tests/filter_call_init_fails.cc |
| 5284 | test/core/end2end/tests/filter_causes_close.cc |
| 5285 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 5286 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5287 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 5288 | test/core/end2end/tests/high_initial_seqno.cc |
| 5289 | test/core/end2end/tests/hpack_size.cc |
| 5290 | test/core/end2end/tests/idempotent_request.cc |
| 5291 | test/core/end2end/tests/invoke_large_request.cc |
| 5292 | test/core/end2end/tests/keepalive_timeout.cc |
| 5293 | test/core/end2end/tests/large_metadata.cc |
| 5294 | test/core/end2end/tests/load_reporting_hook.cc |
| 5295 | test/core/end2end/tests/max_concurrent_streams.cc |
| 5296 | test/core/end2end/tests/max_connection_age.cc |
| 5297 | test/core/end2end/tests/max_connection_idle.cc |
| 5298 | test/core/end2end/tests/max_message_length.cc |
| 5299 | test/core/end2end/tests/negative_deadline.cc |
| 5300 | test/core/end2end/tests/network_status_change.cc |
| 5301 | test/core/end2end/tests/no_logging.cc |
| 5302 | test/core/end2end/tests/no_op.cc |
| 5303 | test/core/end2end/tests/payload.cc |
| 5304 | test/core/end2end/tests/ping.cc |
| 5305 | test/core/end2end/tests/ping_pong_streaming.cc |
| 5306 | test/core/end2end/tests/proxy_auth.cc |
| 5307 | test/core/end2end/tests/registered_call.cc |
| 5308 | test/core/end2end/tests/request_with_flags.cc |
| 5309 | test/core/end2end/tests/request_with_payload.cc |
| 5310 | test/core/end2end/tests/resource_quota_server.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5311 | test/core/end2end/tests/retry.cc |
| 5312 | test/core/end2end/tests/retry_cancellation.cc |
| 5313 | test/core/end2end/tests/retry_disabled.cc |
| 5314 | test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc |
| 5315 | test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc |
| 5316 | test/core/end2end/tests/retry_non_retriable_status.cc |
Mark D. Roth | de077ac | 2018-04-12 08:05:44 -0700 | [diff] [blame] | 5317 | test/core/end2end/tests/retry_non_retriable_status_before_recv_trailing_metadata_started.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5318 | test/core/end2end/tests/retry_recv_initial_metadata.cc |
| 5319 | test/core/end2end/tests/retry_recv_message.cc |
| 5320 | test/core/end2end/tests/retry_server_pushback_delay.cc |
| 5321 | test/core/end2end/tests/retry_server_pushback_disabled.cc |
| 5322 | test/core/end2end/tests/retry_streaming.cc |
| 5323 | test/core/end2end/tests/retry_streaming_after_commit.cc |
| 5324 | test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc |
| 5325 | test/core/end2end/tests/retry_throttled.cc |
| 5326 | test/core/end2end/tests/retry_too_many_attempts.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5327 | test/core/end2end/tests/server_finishes_request.cc |
| 5328 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 5329 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 5330 | test/core/end2end/tests/simple_cacheable_request.cc |
| 5331 | test/core/end2end/tests/simple_delayed_request.cc |
| 5332 | test/core/end2end/tests/simple_metadata.cc |
| 5333 | test/core/end2end/tests/simple_request.cc |
| 5334 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 5335 | test/core/end2end/tests/stream_compression_payload.cc |
| 5336 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 5337 | test/core/end2end/tests/streaming_error_response.cc |
| 5338 | test/core/end2end/tests/trailing_metadata.cc |
| 5339 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 5340 | test/core/end2end/tests/write_buffering.cc |
| 5341 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5342 | ) |
| 5343 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5344 | if(WIN32 AND MSVC) |
| 5345 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 5346 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5347 | ) |
| 5348 | if (gRPC_INSTALL) |
| 5349 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5350 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5351 | ) |
| 5352 | endif() |
| 5353 | endif() |
| 5354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5355 | |
| 5356 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5357 | 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] | 5358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5359 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5360 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5361 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5362 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5363 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5364 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5365 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5366 | ) |
| 5367 | |
| 5368 | target_link_libraries(end2end_tests |
| 5369 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5371 | grpc_test_util |
| 5372 | grpc |
| 5373 | gpr_test_util |
| 5374 | gpr |
| 5375 | ) |
| 5376 | |
| 5377 | |
| 5378 | endif (gRPC_BUILD_TESTS) |
| 5379 | if (gRPC_BUILD_TESTS) |
| 5380 | |
| 5381 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5382 | test/core/end2end/end2end_nosec_tests.cc |
| 5383 | test/core/end2end/end2end_test_utils.cc |
| 5384 | test/core/end2end/tests/authority_not_supported.cc |
| 5385 | test/core/end2end/tests/bad_hostname.cc |
| 5386 | test/core/end2end/tests/bad_ping.cc |
| 5387 | test/core/end2end/tests/binary_metadata.cc |
David Garcia Quintas | 861363d | 2018-03-26 15:57:33 -0700 | [diff] [blame] | 5388 | test/core/end2end/tests/call_host_override.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5389 | test/core/end2end/tests/cancel_after_accept.cc |
| 5390 | test/core/end2end/tests/cancel_after_client_done.cc |
| 5391 | test/core/end2end/tests/cancel_after_invoke.cc |
| 5392 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 5393 | test/core/end2end/tests/cancel_before_invoke.cc |
| 5394 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 5395 | test/core/end2end/tests/cancel_with_status.cc |
| 5396 | test/core/end2end/tests/compressed_payload.cc |
| 5397 | test/core/end2end/tests/connectivity.cc |
| 5398 | test/core/end2end/tests/default_host.cc |
| 5399 | test/core/end2end/tests/disappearing_server.cc |
| 5400 | test/core/end2end/tests/empty_batch.cc |
| 5401 | test/core/end2end/tests/filter_call_init_fails.cc |
| 5402 | test/core/end2end/tests/filter_causes_close.cc |
| 5403 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 5404 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5405 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 5406 | test/core/end2end/tests/high_initial_seqno.cc |
| 5407 | test/core/end2end/tests/hpack_size.cc |
| 5408 | test/core/end2end/tests/idempotent_request.cc |
| 5409 | test/core/end2end/tests/invoke_large_request.cc |
| 5410 | test/core/end2end/tests/keepalive_timeout.cc |
| 5411 | test/core/end2end/tests/large_metadata.cc |
| 5412 | test/core/end2end/tests/load_reporting_hook.cc |
| 5413 | test/core/end2end/tests/max_concurrent_streams.cc |
| 5414 | test/core/end2end/tests/max_connection_age.cc |
| 5415 | test/core/end2end/tests/max_connection_idle.cc |
| 5416 | test/core/end2end/tests/max_message_length.cc |
| 5417 | test/core/end2end/tests/negative_deadline.cc |
| 5418 | test/core/end2end/tests/network_status_change.cc |
| 5419 | test/core/end2end/tests/no_logging.cc |
| 5420 | test/core/end2end/tests/no_op.cc |
| 5421 | test/core/end2end/tests/payload.cc |
| 5422 | test/core/end2end/tests/ping.cc |
| 5423 | test/core/end2end/tests/ping_pong_streaming.cc |
| 5424 | test/core/end2end/tests/proxy_auth.cc |
| 5425 | test/core/end2end/tests/registered_call.cc |
| 5426 | test/core/end2end/tests/request_with_flags.cc |
| 5427 | test/core/end2end/tests/request_with_payload.cc |
| 5428 | test/core/end2end/tests/resource_quota_server.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5429 | test/core/end2end/tests/retry.cc |
| 5430 | test/core/end2end/tests/retry_cancellation.cc |
| 5431 | test/core/end2end/tests/retry_disabled.cc |
| 5432 | test/core/end2end/tests/retry_exceeds_buffer_size_in_initial_batch.cc |
| 5433 | test/core/end2end/tests/retry_exceeds_buffer_size_in_subsequent_batch.cc |
| 5434 | test/core/end2end/tests/retry_non_retriable_status.cc |
Mark D. Roth | de077ac | 2018-04-12 08:05:44 -0700 | [diff] [blame] | 5435 | test/core/end2end/tests/retry_non_retriable_status_before_recv_trailing_metadata_started.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 5436 | test/core/end2end/tests/retry_recv_initial_metadata.cc |
| 5437 | test/core/end2end/tests/retry_recv_message.cc |
| 5438 | test/core/end2end/tests/retry_server_pushback_delay.cc |
| 5439 | test/core/end2end/tests/retry_server_pushback_disabled.cc |
| 5440 | test/core/end2end/tests/retry_streaming.cc |
| 5441 | test/core/end2end/tests/retry_streaming_after_commit.cc |
| 5442 | test/core/end2end/tests/retry_streaming_succeeds_before_replay_finished.cc |
| 5443 | test/core/end2end/tests/retry_throttled.cc |
| 5444 | test/core/end2end/tests/retry_too_many_attempts.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5445 | test/core/end2end/tests/server_finishes_request.cc |
| 5446 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 5447 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 5448 | test/core/end2end/tests/simple_cacheable_request.cc |
| 5449 | test/core/end2end/tests/simple_delayed_request.cc |
| 5450 | test/core/end2end/tests/simple_metadata.cc |
| 5451 | test/core/end2end/tests/simple_request.cc |
| 5452 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 5453 | test/core/end2end/tests/stream_compression_payload.cc |
| 5454 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 5455 | test/core/end2end/tests/streaming_error_response.cc |
| 5456 | test/core/end2end/tests/trailing_metadata.cc |
| 5457 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 5458 | test/core/end2end/tests/write_buffering.cc |
| 5459 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5460 | ) |
| 5461 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5462 | if(WIN32 AND MSVC) |
| 5463 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 5464 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5465 | ) |
| 5466 | if (gRPC_INSTALL) |
| 5467 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5468 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5469 | ) |
| 5470 | endif() |
| 5471 | endif() |
| 5472 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5473 | |
| 5474 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5475 | 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] | 5476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5477 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5478 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5479 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5480 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5481 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5482 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5483 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5484 | ) |
| 5485 | |
| 5486 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5487 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5488 | grpc_test_util_unsecure |
| 5489 | grpc_unsecure |
| 5490 | gpr_test_util |
| 5491 | gpr |
| 5492 | ) |
| 5493 | |
| 5494 | |
| 5495 | endif (gRPC_BUILD_TESTS) |
| 5496 | |
| 5497 | if (gRPC_BUILD_TESTS) |
| 5498 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5499 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5500 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5501 | ) |
| 5502 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5503 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5504 | target_include_directories(algorithm_test |
| 5505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5507 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5508 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5509 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5510 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5511 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5512 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5513 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5514 | ) |
| 5515 | |
| 5516 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5518 | grpc_test_util |
| 5519 | grpc |
| 5520 | gpr_test_util |
| 5521 | gpr |
| 5522 | ) |
| 5523 | |
| 5524 | endif (gRPC_BUILD_TESTS) |
| 5525 | if (gRPC_BUILD_TESTS) |
| 5526 | |
| 5527 | add_executable(alloc_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5528 | test/core/gpr/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5529 | ) |
| 5530 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5531 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5532 | target_include_directories(alloc_test |
| 5533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5535 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5536 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5537 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5538 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5539 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5540 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5541 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5542 | ) |
| 5543 | |
| 5544 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5545 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5546 | gpr_test_util |
| 5547 | gpr |
| 5548 | ) |
| 5549 | |
| 5550 | endif (gRPC_BUILD_TESTS) |
| 5551 | if (gRPC_BUILD_TESTS) |
| 5552 | |
| 5553 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5554 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5555 | ) |
| 5556 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5557 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5558 | target_include_directories(alpn_test |
| 5559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5561 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5562 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5563 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5564 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5565 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5566 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5567 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5568 | ) |
| 5569 | |
| 5570 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5572 | grpc_test_util |
| 5573 | grpc |
| 5574 | gpr_test_util |
| 5575 | gpr |
| 5576 | ) |
| 5577 | |
| 5578 | endif (gRPC_BUILD_TESTS) |
| 5579 | if (gRPC_BUILD_TESTS) |
| 5580 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5581 | add_executable(arena_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5582 | test/core/gpr/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5583 | ) |
| 5584 | |
| 5585 | |
| 5586 | target_include_directories(arena_test |
| 5587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5589 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5590 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5591 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5592 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5593 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5594 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5595 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5596 | ) |
| 5597 | |
| 5598 | target_link_libraries(arena_test |
| 5599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5600 | gpr_test_util |
| 5601 | gpr |
| 5602 | ) |
| 5603 | |
| 5604 | endif (gRPC_BUILD_TESTS) |
| 5605 | if (gRPC_BUILD_TESTS) |
| 5606 | |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 5607 | add_executable(avl_test |
| 5608 | test/core/avl/avl_test.cc |
| 5609 | ) |
| 5610 | |
| 5611 | |
| 5612 | target_include_directories(avl_test |
| 5613 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5615 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5616 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5617 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5618 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5619 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5620 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5621 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 8f4fbb1 | 2018-02-08 10:04:08 -0800 | [diff] [blame] | 5622 | ) |
| 5623 | |
| 5624 | target_link_libraries(avl_test |
| 5625 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5626 | gpr_test_util |
| 5627 | gpr |
| 5628 | grpc |
| 5629 | ) |
| 5630 | |
| 5631 | endif (gRPC_BUILD_TESTS) |
| 5632 | if (gRPC_BUILD_TESTS) |
| 5633 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5634 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5635 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5636 | ) |
| 5637 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5638 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5639 | target_include_directories(bad_server_response_test |
| 5640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5642 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5643 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5644 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5645 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5646 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5647 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5648 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5649 | ) |
| 5650 | |
| 5651 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5653 | test_tcp_server |
| 5654 | grpc_test_util |
| 5655 | grpc |
| 5656 | gpr_test_util |
| 5657 | gpr |
| 5658 | ) |
| 5659 | |
| 5660 | endif (gRPC_BUILD_TESTS) |
| 5661 | if (gRPC_BUILD_TESTS) |
| 5662 | |
| 5663 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5664 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5665 | ) |
| 5666 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5667 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5668 | target_include_directories(bin_decoder_test |
| 5669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5671 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5672 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5673 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5674 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5675 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5676 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5677 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5678 | ) |
| 5679 | |
| 5680 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5682 | grpc_test_util |
| 5683 | grpc |
| 5684 | ) |
| 5685 | |
| 5686 | endif (gRPC_BUILD_TESTS) |
| 5687 | if (gRPC_BUILD_TESTS) |
| 5688 | |
| 5689 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5690 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5691 | ) |
| 5692 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5693 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5694 | target_include_directories(bin_encoder_test |
| 5695 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5697 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5698 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5699 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5700 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5701 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5702 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5703 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5704 | ) |
| 5705 | |
| 5706 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5707 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5708 | grpc_test_util |
| 5709 | grpc |
| 5710 | ) |
| 5711 | |
| 5712 | endif (gRPC_BUILD_TESTS) |
| 5713 | if (gRPC_BUILD_TESTS) |
| 5714 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5715 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5716 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5717 | ) |
| 5718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5719 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5720 | target_include_directories(channel_create_test |
| 5721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5723 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5724 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5725 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5726 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5727 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5728 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5729 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5730 | ) |
| 5731 | |
| 5732 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5733 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5734 | grpc_test_util |
| 5735 | grpc |
| 5736 | gpr_test_util |
| 5737 | gpr |
| 5738 | ) |
| 5739 | |
| 5740 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5741 | |
| 5742 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 5743 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5744 | ) |
| 5745 | |
| 5746 | |
| 5747 | target_include_directories(check_epollexclusive |
| 5748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5750 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5751 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5752 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5753 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5754 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5755 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5756 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5757 | ) |
| 5758 | |
| 5759 | target_link_libraries(check_epollexclusive |
| 5760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5761 | grpc |
| 5762 | gpr |
| 5763 | ) |
| 5764 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5765 | if (gRPC_BUILD_TESTS) |
| 5766 | |
| 5767 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5768 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5769 | ) |
| 5770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5771 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5772 | target_include_directories(chttp2_hpack_encoder_test |
| 5773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5775 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5776 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5777 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5778 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5779 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5780 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5781 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5782 | ) |
| 5783 | |
| 5784 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5785 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5786 | grpc_test_util |
| 5787 | grpc |
| 5788 | gpr_test_util |
| 5789 | gpr |
| 5790 | ) |
| 5791 | |
| 5792 | endif (gRPC_BUILD_TESTS) |
| 5793 | if (gRPC_BUILD_TESTS) |
| 5794 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5795 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5796 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5797 | ) |
| 5798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5800 | target_include_directories(chttp2_stream_map_test |
| 5801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5809 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5810 | ) |
| 5811 | |
| 5812 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5813 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5814 | grpc_test_util |
| 5815 | grpc |
| 5816 | gpr_test_util |
| 5817 | gpr |
| 5818 | ) |
| 5819 | |
| 5820 | endif (gRPC_BUILD_TESTS) |
| 5821 | if (gRPC_BUILD_TESTS) |
| 5822 | |
| 5823 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5824 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5825 | ) |
| 5826 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5827 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5828 | target_include_directories(chttp2_varint_test |
| 5829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5831 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5832 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5833 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5834 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5835 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5836 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5837 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5838 | ) |
| 5839 | |
| 5840 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5841 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5842 | grpc_test_util |
| 5843 | grpc |
| 5844 | gpr_test_util |
| 5845 | gpr |
| 5846 | ) |
| 5847 | |
| 5848 | endif (gRPC_BUILD_TESTS) |
| 5849 | if (gRPC_BUILD_TESTS) |
| 5850 | |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 5851 | add_executable(cmdline_test |
| 5852 | test/core/util/cmdline_test.cc |
| 5853 | ) |
| 5854 | |
| 5855 | |
| 5856 | target_include_directories(cmdline_test |
| 5857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5858 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5859 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5860 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5861 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5862 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5863 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5864 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5865 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 5866 | ) |
| 5867 | |
| 5868 | target_link_libraries(cmdline_test |
| 5869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5870 | gpr |
| 5871 | gpr_test_util |
| 5872 | grpc_test_util |
| 5873 | ) |
| 5874 | |
| 5875 | endif (gRPC_BUILD_TESTS) |
| 5876 | if (gRPC_BUILD_TESTS) |
| 5877 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5878 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5879 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5880 | ) |
| 5881 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5882 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5883 | target_include_directories(combiner_test |
| 5884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5886 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5887 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5888 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5889 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5890 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5891 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5892 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5893 | ) |
| 5894 | |
| 5895 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5896 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5897 | grpc_test_util |
| 5898 | grpc |
| 5899 | gpr_test_util |
| 5900 | gpr |
| 5901 | ) |
| 5902 | |
| 5903 | endif (gRPC_BUILD_TESTS) |
| 5904 | if (gRPC_BUILD_TESTS) |
| 5905 | |
| 5906 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5907 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5908 | ) |
| 5909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5910 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5911 | target_include_directories(compression_test |
| 5912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5914 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5915 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5916 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5917 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5918 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5919 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5920 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5921 | ) |
| 5922 | |
| 5923 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5924 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5925 | grpc_test_util |
| 5926 | grpc |
| 5927 | gpr_test_util |
| 5928 | gpr |
| 5929 | ) |
| 5930 | |
| 5931 | endif (gRPC_BUILD_TESTS) |
| 5932 | if (gRPC_BUILD_TESTS) |
| 5933 | |
| 5934 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5935 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5936 | ) |
| 5937 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5939 | target_include_directories(concurrent_connectivity_test |
| 5940 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5942 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5943 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5944 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5945 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5946 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5947 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5948 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5949 | ) |
| 5950 | |
| 5951 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5952 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5953 | grpc_test_util |
| 5954 | grpc |
| 5955 | gpr_test_util |
| 5956 | gpr |
| 5957 | ) |
| 5958 | |
| 5959 | endif (gRPC_BUILD_TESTS) |
| 5960 | if (gRPC_BUILD_TESTS) |
| 5961 | |
| 5962 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5963 | test/core/end2end/connection_refused_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(connection_refused_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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 5976 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5977 | ) |
| 5978 | |
| 5979 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5981 | grpc_test_util |
| 5982 | grpc |
| 5983 | gpr_test_util |
| 5984 | gpr |
| 5985 | ) |
| 5986 | |
| 5987 | endif (gRPC_BUILD_TESTS) |
| 5988 | if (gRPC_BUILD_TESTS) |
| 5989 | |
| 5990 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5991 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5992 | ) |
| 5993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5995 | target_include_directories(dns_resolver_connectivity_test |
| 5996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5998 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5999 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6000 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6001 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6002 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6003 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6004 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6005 | ) |
| 6006 | |
| 6007 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6009 | grpc_test_util |
| 6010 | grpc |
| 6011 | gpr_test_util |
| 6012 | gpr |
| 6013 | ) |
| 6014 | |
| 6015 | endif (gRPC_BUILD_TESTS) |
| 6016 | if (gRPC_BUILD_TESTS) |
| 6017 | |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 6018 | add_executable(dns_resolver_cooldown_test |
| 6019 | test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc |
| 6020 | ) |
| 6021 | |
| 6022 | |
| 6023 | target_include_directories(dns_resolver_cooldown_test |
| 6024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6026 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 6027 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6028 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6029 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6030 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6031 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6032 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 6033 | ) |
| 6034 | |
| 6035 | target_link_libraries(dns_resolver_cooldown_test |
| 6036 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6037 | grpc_test_util |
| 6038 | grpc |
| 6039 | gpr_test_util |
| 6040 | gpr |
| 6041 | ) |
| 6042 | |
| 6043 | endif (gRPC_BUILD_TESTS) |
| 6044 | if (gRPC_BUILD_TESTS) |
| 6045 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6046 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6047 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6048 | ) |
| 6049 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6050 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6051 | target_include_directories(dns_resolver_test |
| 6052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6054 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6055 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6056 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6057 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6058 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6059 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6060 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6061 | ) |
| 6062 | |
| 6063 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6064 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6065 | grpc_test_util |
| 6066 | grpc |
| 6067 | gpr_test_util |
| 6068 | gpr |
| 6069 | ) |
| 6070 | |
| 6071 | endif (gRPC_BUILD_TESTS) |
| 6072 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6073 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6074 | |
| 6075 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6076 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6077 | ) |
| 6078 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6079 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6080 | target_include_directories(dualstack_socket_test |
| 6081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6083 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6084 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6085 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6086 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6087 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6088 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6089 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6090 | ) |
| 6091 | |
| 6092 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6094 | grpc_test_util |
| 6095 | grpc |
| 6096 | gpr_test_util |
| 6097 | gpr |
| 6098 | ) |
| 6099 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6100 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6101 | endif (gRPC_BUILD_TESTS) |
| 6102 | if (gRPC_BUILD_TESTS) |
| 6103 | |
| 6104 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6105 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6106 | ) |
| 6107 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6108 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6109 | target_include_directories(endpoint_pair_test |
| 6110 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6112 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6113 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6114 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6115 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6116 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6117 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6118 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6119 | ) |
| 6120 | |
| 6121 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6122 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6123 | grpc_test_util |
| 6124 | grpc |
| 6125 | gpr_test_util |
| 6126 | gpr |
| 6127 | ) |
| 6128 | |
| 6129 | endif (gRPC_BUILD_TESTS) |
| 6130 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6131 | |
| 6132 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6133 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6134 | ) |
| 6135 | |
| 6136 | |
| 6137 | target_include_directories(error_test |
| 6138 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6139 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6140 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6141 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6142 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6143 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6144 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6145 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6146 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 6147 | ) |
| 6148 | |
| 6149 | target_link_libraries(error_test |
| 6150 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6151 | grpc_test_util |
| 6152 | grpc |
| 6153 | gpr_test_util |
| 6154 | gpr |
| 6155 | ) |
| 6156 | |
| 6157 | endif (gRPC_BUILD_TESTS) |
| 6158 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6159 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6160 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6161 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6162 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6163 | ) |
| 6164 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6165 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6166 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6169 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6170 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6171 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6172 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6173 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6174 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6175 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6176 | ) |
| 6177 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 6178 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6179 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6180 | grpc_test_util |
| 6181 | grpc |
| 6182 | gpr_test_util |
| 6183 | gpr |
| 6184 | ) |
| 6185 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6186 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6187 | endif (gRPC_BUILD_TESTS) |
| 6188 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6189 | |
| 6190 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6191 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6192 | ) |
| 6193 | |
| 6194 | |
| 6195 | target_include_directories(fake_resolver_test |
| 6196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6198 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6199 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6200 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6201 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6202 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6203 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6204 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 6205 | ) |
| 6206 | |
| 6207 | target_link_libraries(fake_resolver_test |
| 6208 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6209 | grpc_test_util |
| 6210 | grpc |
| 6211 | gpr_test_util |
| 6212 | gpr |
| 6213 | ) |
| 6214 | |
| 6215 | endif (gRPC_BUILD_TESTS) |
| 6216 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6217 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6218 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6219 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6220 | test/core/tsi/fake_transport_security_test.cc |
| 6221 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6222 | ) |
| 6223 | |
| 6224 | |
| 6225 | target_include_directories(fake_transport_security_test |
| 6226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6228 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6229 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6230 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6231 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6232 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6233 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6234 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 6235 | ) |
| 6236 | |
| 6237 | target_link_libraries(fake_transport_security_test |
| 6238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6239 | gpr_test_util |
| 6240 | gpr |
| 6241 | grpc |
| 6242 | ) |
| 6243 | |
| 6244 | endif() |
| 6245 | endif (gRPC_BUILD_TESTS) |
| 6246 | if (gRPC_BUILD_TESTS) |
| 6247 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 6248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6249 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6250 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6251 | ) |
| 6252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6254 | target_include_directories(fd_conservation_posix_test |
| 6255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6257 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6258 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6259 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6260 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6261 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6262 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6263 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6264 | ) |
| 6265 | |
| 6266 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6267 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6268 | grpc_test_util |
| 6269 | grpc |
| 6270 | gpr_test_util |
| 6271 | gpr |
| 6272 | ) |
| 6273 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6274 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6275 | endif (gRPC_BUILD_TESTS) |
| 6276 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6277 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6278 | |
| 6279 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6280 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6281 | ) |
| 6282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6284 | target_include_directories(fd_posix_test |
| 6285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6287 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6288 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6289 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6290 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6291 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6292 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6293 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6294 | ) |
| 6295 | |
| 6296 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6298 | grpc_test_util |
| 6299 | grpc |
| 6300 | gpr_test_util |
| 6301 | gpr |
| 6302 | ) |
| 6303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6304 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6305 | endif (gRPC_BUILD_TESTS) |
| 6306 | if (gRPC_BUILD_TESTS) |
| 6307 | |
| 6308 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6309 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6310 | ) |
| 6311 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6312 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6313 | target_include_directories(fling_client |
| 6314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6315 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6316 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6317 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6318 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6319 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6320 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6321 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6322 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6323 | ) |
| 6324 | |
| 6325 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6326 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6327 | grpc_test_util |
| 6328 | grpc |
| 6329 | gpr_test_util |
| 6330 | gpr |
| 6331 | ) |
| 6332 | |
| 6333 | endif (gRPC_BUILD_TESTS) |
| 6334 | if (gRPC_BUILD_TESTS) |
| 6335 | |
| 6336 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6337 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6338 | ) |
| 6339 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6340 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6341 | target_include_directories(fling_server |
| 6342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6344 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6345 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6346 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6347 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6348 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6349 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6350 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6351 | ) |
| 6352 | |
| 6353 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6354 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6355 | grpc_test_util |
| 6356 | grpc |
| 6357 | gpr_test_util |
| 6358 | gpr |
| 6359 | ) |
| 6360 | |
| 6361 | endif (gRPC_BUILD_TESTS) |
| 6362 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6363 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6364 | |
| 6365 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6366 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6367 | ) |
| 6368 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6369 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6370 | target_include_directories(fling_stream_test |
| 6371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6373 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6374 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6375 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6376 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6377 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6378 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6379 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6380 | ) |
| 6381 | |
| 6382 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6383 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6384 | grpc_test_util |
| 6385 | grpc |
| 6386 | gpr_test_util |
| 6387 | gpr |
| 6388 | ) |
| 6389 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6390 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6391 | endif (gRPC_BUILD_TESTS) |
| 6392 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6393 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6394 | |
| 6395 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6396 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6397 | ) |
| 6398 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6400 | target_include_directories(fling_test |
| 6401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6403 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6404 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6405 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6406 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6407 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6408 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6409 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6410 | ) |
| 6411 | |
| 6412 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6413 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6414 | grpc_test_util |
| 6415 | grpc |
| 6416 | gpr_test_util |
| 6417 | gpr |
| 6418 | ) |
| 6419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6420 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6421 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6422 | if (gRPC_BUILD_TESTS) |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6423 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC) |
| 6424 | |
| 6425 | add_executable(fork_test |
kpayson64 | 701e70d | 2018-04-30 17:40:00 -0700 | [diff] [blame] | 6426 | test/core/gprpp/fork_test.cc |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6427 | ) |
| 6428 | |
| 6429 | |
| 6430 | target_include_directories(fork_test |
| 6431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6433 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 6434 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6435 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6436 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6437 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6438 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
kpayson64 | c934a2e | 2018-05-11 12:22:47 -0700 | [diff] [blame] | 6439 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
kpayson64 | 38ab21e | 2018-03-08 15:47:40 -0800 | [diff] [blame] | 6440 | ) |
| 6441 | |
| 6442 | target_link_libraries(fork_test |
| 6443 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6444 | gpr_test_util |
| 6445 | gpr |
| 6446 | ) |
| 6447 | |
| 6448 | endif() |
| 6449 | endif (gRPC_BUILD_TESTS) |
| 6450 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6451 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6452 | |
| 6453 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6454 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | ) |
| 6456 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6457 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6458 | target_include_directories(goaway_server_test |
| 6459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6461 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6462 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6463 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6464 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6465 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6466 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6467 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6468 | ) |
| 6469 | |
| 6470 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6471 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6472 | grpc_test_util |
| 6473 | grpc |
| 6474 | gpr_test_util |
| 6475 | gpr |
| 6476 | ) |
| 6477 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6478 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6479 | endif (gRPC_BUILD_TESTS) |
| 6480 | if (gRPC_BUILD_TESTS) |
| 6481 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6482 | add_executable(gpr_cpu_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6483 | test/core/gpr/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6484 | ) |
| 6485 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6486 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6487 | target_include_directories(gpr_cpu_test |
| 6488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6490 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6491 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6492 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6493 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6494 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6495 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6496 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6497 | ) |
| 6498 | |
| 6499 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6500 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6501 | gpr_test_util |
| 6502 | gpr |
| 6503 | ) |
| 6504 | |
| 6505 | endif (gRPC_BUILD_TESTS) |
| 6506 | if (gRPC_BUILD_TESTS) |
| 6507 | |
| 6508 | add_executable(gpr_env_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6509 | test/core/gpr/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6510 | ) |
| 6511 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6512 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6513 | target_include_directories(gpr_env_test |
| 6514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6516 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6517 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6518 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6519 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6520 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6521 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6522 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6523 | ) |
| 6524 | |
| 6525 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6526 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6527 | gpr_test_util |
| 6528 | gpr |
| 6529 | ) |
| 6530 | |
| 6531 | endif (gRPC_BUILD_TESTS) |
| 6532 | if (gRPC_BUILD_TESTS) |
| 6533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6534 | add_executable(gpr_host_port_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6535 | test/core/gpr/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6536 | ) |
| 6537 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6538 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6539 | target_include_directories(gpr_host_port_test |
| 6540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6543 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6544 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6545 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6546 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6547 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6548 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6549 | ) |
| 6550 | |
| 6551 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6552 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | gpr_test_util |
| 6554 | gpr |
| 6555 | ) |
| 6556 | |
| 6557 | endif (gRPC_BUILD_TESTS) |
| 6558 | if (gRPC_BUILD_TESTS) |
| 6559 | |
| 6560 | add_executable(gpr_log_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6561 | test/core/gpr/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6562 | ) |
| 6563 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6564 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6565 | target_include_directories(gpr_log_test |
| 6566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6568 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6569 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6570 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6571 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6572 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6573 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6574 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6575 | ) |
| 6576 | |
| 6577 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6579 | gpr_test_util |
| 6580 | gpr |
| 6581 | ) |
| 6582 | |
| 6583 | endif (gRPC_BUILD_TESTS) |
| 6584 | if (gRPC_BUILD_TESTS) |
| 6585 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6586 | add_executable(gpr_manual_constructor_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 6587 | test/core/gprpp/manual_constructor_test.cc |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6588 | ) |
| 6589 | |
| 6590 | |
| 6591 | target_include_directories(gpr_manual_constructor_test |
| 6592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6594 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6595 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6596 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6597 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6598 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6599 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6600 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6601 | ) |
| 6602 | |
| 6603 | target_link_libraries(gpr_manual_constructor_test |
| 6604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6605 | gpr_test_util |
| 6606 | gpr |
| 6607 | ) |
| 6608 | |
| 6609 | endif (gRPC_BUILD_TESTS) |
| 6610 | if (gRPC_BUILD_TESTS) |
| 6611 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6612 | add_executable(gpr_mpscq_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6613 | test/core/gpr/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6614 | ) |
| 6615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6617 | target_include_directories(gpr_mpscq_test |
| 6618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6620 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6621 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6622 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6623 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6624 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6625 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6626 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6627 | ) |
| 6628 | |
| 6629 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6630 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6631 | gpr_test_util |
| 6632 | gpr |
| 6633 | ) |
| 6634 | |
| 6635 | endif (gRPC_BUILD_TESTS) |
| 6636 | if (gRPC_BUILD_TESTS) |
| 6637 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6638 | add_executable(gpr_spinlock_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6639 | test/core/gpr/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6640 | ) |
| 6641 | |
| 6642 | |
| 6643 | target_include_directories(gpr_spinlock_test |
| 6644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6646 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6647 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6648 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6649 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6650 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6651 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6652 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6653 | ) |
| 6654 | |
| 6655 | target_link_libraries(gpr_spinlock_test |
| 6656 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6657 | gpr_test_util |
| 6658 | gpr |
| 6659 | ) |
| 6660 | |
| 6661 | endif (gRPC_BUILD_TESTS) |
| 6662 | if (gRPC_BUILD_TESTS) |
| 6663 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6664 | add_executable(gpr_string_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6665 | test/core/gpr/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6666 | ) |
| 6667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6668 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6669 | target_include_directories(gpr_string_test |
| 6670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6672 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6673 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6674 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6675 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6676 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6677 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6678 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6679 | ) |
| 6680 | |
| 6681 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6682 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6683 | gpr_test_util |
| 6684 | gpr |
| 6685 | ) |
| 6686 | |
| 6687 | endif (gRPC_BUILD_TESTS) |
| 6688 | if (gRPC_BUILD_TESTS) |
| 6689 | |
| 6690 | add_executable(gpr_sync_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6691 | test/core/gpr/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6692 | ) |
| 6693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6694 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6695 | target_include_directories(gpr_sync_test |
| 6696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6698 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6699 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6700 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6701 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6702 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6703 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6704 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6705 | ) |
| 6706 | |
| 6707 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6708 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6709 | gpr_test_util |
| 6710 | gpr |
| 6711 | ) |
| 6712 | |
| 6713 | endif (gRPC_BUILD_TESTS) |
| 6714 | if (gRPC_BUILD_TESTS) |
| 6715 | |
| 6716 | add_executable(gpr_thd_test |
Vijay Pai | da69355 | 2018-02-16 22:59:03 -0800 | [diff] [blame] | 6717 | test/core/gprpp/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6718 | ) |
| 6719 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6720 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6721 | target_include_directories(gpr_thd_test |
| 6722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6724 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6725 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6726 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6727 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6728 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6729 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6730 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | ) |
| 6732 | |
| 6733 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6734 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6735 | gpr_test_util |
| 6736 | gpr |
| 6737 | ) |
| 6738 | |
| 6739 | endif (gRPC_BUILD_TESTS) |
| 6740 | if (gRPC_BUILD_TESTS) |
| 6741 | |
| 6742 | add_executable(gpr_time_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6743 | test/core/gpr/time_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(gpr_time_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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6756 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6757 | ) |
| 6758 | |
| 6759 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6760 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6761 | gpr_test_util |
| 6762 | gpr |
| 6763 | ) |
| 6764 | |
| 6765 | endif (gRPC_BUILD_TESTS) |
| 6766 | if (gRPC_BUILD_TESTS) |
| 6767 | |
| 6768 | add_executable(gpr_tls_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6769 | test/core/gpr/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6770 | ) |
| 6771 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6772 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6773 | target_include_directories(gpr_tls_test |
| 6774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6776 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6777 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6778 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6779 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6780 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6781 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6782 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6783 | ) |
| 6784 | |
| 6785 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6787 | gpr_test_util |
| 6788 | gpr |
| 6789 | ) |
| 6790 | |
| 6791 | endif (gRPC_BUILD_TESTS) |
| 6792 | if (gRPC_BUILD_TESTS) |
| 6793 | |
| 6794 | add_executable(gpr_useful_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 6795 | test/core/gpr/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6796 | ) |
| 6797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6798 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6799 | target_include_directories(gpr_useful_test |
| 6800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6802 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6803 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6804 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6805 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6806 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6807 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6808 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6809 | ) |
| 6810 | |
| 6811 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6813 | gpr_test_util |
| 6814 | gpr |
| 6815 | ) |
| 6816 | |
| 6817 | endif (gRPC_BUILD_TESTS) |
| 6818 | if (gRPC_BUILD_TESTS) |
| 6819 | |
| 6820 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6821 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6822 | ) |
| 6823 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6824 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6825 | target_include_directories(grpc_auth_context_test |
| 6826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6828 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6829 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6830 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6831 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6832 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6833 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6834 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6835 | ) |
| 6836 | |
| 6837 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6838 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6839 | grpc_test_util |
| 6840 | grpc |
| 6841 | gpr_test_util |
| 6842 | gpr |
| 6843 | ) |
| 6844 | |
| 6845 | endif (gRPC_BUILD_TESTS) |
| 6846 | if (gRPC_BUILD_TESTS) |
| 6847 | |
| 6848 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6849 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6850 | ) |
| 6851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6853 | target_include_directories(grpc_b64_test |
| 6854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6862 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6863 | ) |
| 6864 | |
| 6865 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6866 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6867 | grpc_test_util |
| 6868 | grpc |
| 6869 | gpr_test_util |
| 6870 | gpr |
| 6871 | ) |
| 6872 | |
| 6873 | endif (gRPC_BUILD_TESTS) |
| 6874 | if (gRPC_BUILD_TESTS) |
| 6875 | |
| 6876 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6877 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6878 | ) |
| 6879 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6880 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6881 | target_include_directories(grpc_byte_buffer_reader_test |
| 6882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6884 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6885 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6886 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6887 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6888 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6889 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6890 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6891 | ) |
| 6892 | |
| 6893 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6895 | grpc_test_util |
| 6896 | grpc |
| 6897 | gpr_test_util |
| 6898 | gpr |
| 6899 | ) |
| 6900 | |
| 6901 | endif (gRPC_BUILD_TESTS) |
| 6902 | if (gRPC_BUILD_TESTS) |
| 6903 | |
| 6904 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6905 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6906 | ) |
| 6907 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6908 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6909 | target_include_directories(grpc_channel_args_test |
| 6910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6912 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6913 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6914 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6915 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6916 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6917 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6918 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6919 | ) |
| 6920 | |
| 6921 | target_link_libraries(grpc_channel_args_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 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6932 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6933 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6934 | ) |
| 6935 | |
| 6936 | |
| 6937 | target_include_directories(grpc_channel_stack_builder_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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6946 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6947 | ) |
| 6948 | |
| 6949 | target_link_libraries(grpc_channel_stack_builder_test |
| 6950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6951 | grpc_test_util |
| 6952 | grpc |
| 6953 | gpr_test_util |
| 6954 | gpr |
| 6955 | ) |
| 6956 | |
| 6957 | endif (gRPC_BUILD_TESTS) |
| 6958 | if (gRPC_BUILD_TESTS) |
| 6959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6960 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6961 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6962 | ) |
| 6963 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6965 | target_include_directories(grpc_channel_stack_test |
| 6966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6969 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6970 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6971 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6972 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6973 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 6974 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6975 | ) |
| 6976 | |
| 6977 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6979 | grpc_test_util |
| 6980 | grpc |
| 6981 | gpr_test_util |
| 6982 | gpr |
| 6983 | ) |
| 6984 | |
| 6985 | endif (gRPC_BUILD_TESTS) |
| 6986 | if (gRPC_BUILD_TESTS) |
| 6987 | |
| 6988 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6989 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6990 | ) |
| 6991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6993 | target_include_directories(grpc_completion_queue_test |
| 6994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6997 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6998 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6999 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7000 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7001 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7002 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7003 | ) |
| 7004 | |
| 7005 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7007 | grpc_test_util |
| 7008 | grpc |
| 7009 | gpr_test_util |
| 7010 | gpr |
| 7011 | ) |
| 7012 | |
| 7013 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7014 | if (gRPC_BUILD_TESTS) |
| 7015 | |
| 7016 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7017 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7018 | ) |
| 7019 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7020 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7021 | target_include_directories(grpc_completion_queue_threading_test |
| 7022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7024 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7025 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7026 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7027 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7028 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7029 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7030 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7031 | ) |
| 7032 | |
| 7033 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7034 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7035 | grpc_test_util |
| 7036 | grpc |
| 7037 | gpr_test_util |
| 7038 | gpr |
| 7039 | ) |
| 7040 | |
| 7041 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 7042 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7043 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7044 | test/core/security/create_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7045 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7046 | ) |
| 7047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7048 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7049 | target_include_directories(grpc_create_jwt |
| 7050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7053 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7054 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7055 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7056 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7057 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7058 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7059 | ) |
| 7060 | |
| 7061 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7062 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7063 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7064 | grpc |
| 7065 | gpr |
| 7066 | ) |
| 7067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7068 | if (gRPC_BUILD_TESTS) |
| 7069 | |
| 7070 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7071 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7072 | ) |
| 7073 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7074 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | target_include_directories(grpc_credentials_test |
| 7076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7078 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7079 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7080 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7081 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7082 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7083 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7084 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7085 | ) |
| 7086 | |
| 7087 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7089 | grpc_test_util |
| 7090 | grpc |
| 7091 | gpr_test_util |
| 7092 | gpr |
| 7093 | ) |
| 7094 | |
| 7095 | endif (gRPC_BUILD_TESTS) |
| 7096 | if (gRPC_BUILD_TESTS) |
| 7097 | |
| 7098 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7099 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7100 | ) |
| 7101 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7102 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7103 | target_include_directories(grpc_fetch_oauth2 |
| 7104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7106 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7107 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7108 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7109 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7110 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7111 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7112 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7113 | ) |
| 7114 | |
| 7115 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7117 | grpc_test_util |
| 7118 | grpc |
| 7119 | gpr_test_util |
| 7120 | gpr |
| 7121 | ) |
| 7122 | |
| 7123 | endif (gRPC_BUILD_TESTS) |
| 7124 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7125 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7126 | |
| 7127 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7128 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7129 | ) |
| 7130 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7131 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7132 | target_include_directories(grpc_json_token_test |
| 7133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7135 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7136 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7137 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7138 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7139 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7140 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7141 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7142 | ) |
| 7143 | |
| 7144 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7145 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7146 | grpc_test_util |
| 7147 | grpc |
| 7148 | gpr_test_util |
| 7149 | gpr |
| 7150 | ) |
| 7151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7152 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7153 | endif (gRPC_BUILD_TESTS) |
| 7154 | if (gRPC_BUILD_TESTS) |
| 7155 | |
| 7156 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7157 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7158 | ) |
| 7159 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7160 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7161 | target_include_directories(grpc_jwt_verifier_test |
| 7162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7164 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7165 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7166 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7167 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7168 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7169 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7170 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7171 | ) |
| 7172 | |
| 7173 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7175 | grpc_test_util |
| 7176 | grpc |
| 7177 | gpr_test_util |
| 7178 | gpr |
| 7179 | ) |
| 7180 | |
| 7181 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7182 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7183 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7184 | test/core/security/print_google_default_creds_token.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7185 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7186 | ) |
| 7187 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7188 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7189 | target_include_directories(grpc_print_google_default_creds_token |
| 7190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7192 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7193 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7194 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7195 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7196 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7197 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7198 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7199 | ) |
| 7200 | |
| 7201 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7202 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7203 | grpc |
| 7204 | gpr |
| 7205 | ) |
| 7206 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7207 | if (gRPC_BUILD_TESTS) |
| 7208 | |
| 7209 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7210 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7211 | ) |
| 7212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7214 | target_include_directories(grpc_security_connector_test |
| 7215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7217 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7218 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7219 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7220 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7221 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7222 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7223 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7224 | ) |
| 7225 | |
| 7226 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7228 | grpc_test_util |
| 7229 | grpc |
| 7230 | gpr_test_util |
| 7231 | gpr |
| 7232 | ) |
| 7233 | |
| 7234 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7235 | if (gRPC_BUILD_TESTS) |
| 7236 | |
| 7237 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 7238 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7239 | ) |
| 7240 | |
| 7241 | |
| 7242 | target_include_directories(grpc_ssl_credentials_test |
| 7243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7245 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7246 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7247 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7248 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7249 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7250 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7251 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 7252 | ) |
| 7253 | |
| 7254 | target_link_libraries(grpc_ssl_credentials_test |
| 7255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7256 | grpc_test_util |
| 7257 | grpc |
| 7258 | gpr_test_util |
| 7259 | gpr |
| 7260 | ) |
| 7261 | |
| 7262 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7263 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7264 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7265 | test/core/security/verify_jwt.cc |
Vijay Pai | 80e23d1 | 2018-01-25 21:50:18 -0800 | [diff] [blame] | 7266 | test/core/util/cmdline.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7267 | ) |
| 7268 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7269 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7270 | target_include_directories(grpc_verify_jwt |
| 7271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7273 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7274 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7275 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7276 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7277 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7278 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7279 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7280 | ) |
| 7281 | |
| 7282 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7284 | grpc |
| 7285 | gpr |
| 7286 | ) |
| 7287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7288 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7289 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7290 | |
| 7291 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7292 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7293 | ) |
| 7294 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7295 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7296 | target_include_directories(handshake_client |
| 7297 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7299 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7300 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7301 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7302 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7303 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7304 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7305 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7306 | ) |
| 7307 | |
| 7308 | target_link_libraries(handshake_client |
| 7309 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7310 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7311 | grpc_test_util |
| 7312 | grpc |
| 7313 | gpr_test_util |
| 7314 | gpr |
| 7315 | ) |
| 7316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7317 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7318 | endif (gRPC_BUILD_TESTS) |
| 7319 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7320 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7321 | |
| 7322 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7323 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 7324 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7325 | ) |
| 7326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7328 | target_include_directories(handshake_server |
| 7329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7331 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7332 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7333 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7334 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7335 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7336 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7337 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7338 | ) |
| 7339 | |
| 7340 | target_link_libraries(handshake_server |
| 7341 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7343 | grpc_test_util |
| 7344 | grpc |
| 7345 | gpr_test_util |
| 7346 | gpr |
| 7347 | ) |
| 7348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7349 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7350 | endif (gRPC_BUILD_TESTS) |
| 7351 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7352 | if(_gRPC_PLATFORM_LINUX) |
| 7353 | |
| 7354 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 7355 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 7356 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7357 | ) |
| 7358 | |
| 7359 | |
| 7360 | target_include_directories(handshake_server_with_readahead_handshaker |
| 7361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7363 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7364 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7365 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7366 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7367 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7368 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7369 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7370 | ) |
| 7371 | |
| 7372 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 7373 | ${_gRPC_SSL_LIBRARIES} |
| 7374 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7375 | grpc_test_util |
| 7376 | grpc |
| 7377 | gpr_test_util |
| 7378 | gpr |
| 7379 | ) |
| 7380 | |
| 7381 | endif() |
| 7382 | endif (gRPC_BUILD_TESTS) |
| 7383 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7384 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7385 | add_executable(histogram_test |
| 7386 | test/core/util/histogram_test.cc |
| 7387 | ) |
| 7388 | |
| 7389 | |
| 7390 | target_include_directories(histogram_test |
| 7391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7393 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7394 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7395 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7396 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7397 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7398 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7399 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7400 | ) |
| 7401 | |
| 7402 | target_link_libraries(histogram_test |
| 7403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7404 | grpc_test_util |
| 7405 | gpr |
| 7406 | ) |
| 7407 | |
| 7408 | endif (gRPC_BUILD_TESTS) |
| 7409 | if (gRPC_BUILD_TESTS) |
| 7410 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7411 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7412 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7413 | ) |
| 7414 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7415 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7416 | target_include_directories(hpack_parser_test |
| 7417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7419 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7420 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7421 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7422 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7423 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7424 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7425 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7426 | ) |
| 7427 | |
| 7428 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | grpc_test_util |
| 7431 | grpc |
| 7432 | gpr_test_util |
| 7433 | gpr |
| 7434 | ) |
| 7435 | |
| 7436 | endif (gRPC_BUILD_TESTS) |
| 7437 | if (gRPC_BUILD_TESTS) |
| 7438 | |
| 7439 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7440 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7441 | ) |
| 7442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7444 | target_include_directories(hpack_table_test |
| 7445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7447 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7448 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7449 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7450 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7451 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7452 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7453 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7454 | ) |
| 7455 | |
| 7456 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7458 | grpc_test_util |
| 7459 | grpc |
| 7460 | gpr_test_util |
| 7461 | gpr |
| 7462 | ) |
| 7463 | |
| 7464 | endif (gRPC_BUILD_TESTS) |
| 7465 | if (gRPC_BUILD_TESTS) |
| 7466 | |
| 7467 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7468 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7469 | ) |
| 7470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7472 | target_include_directories(http_parser_test |
| 7473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7475 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7476 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7477 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7478 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7479 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7480 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7481 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7482 | ) |
| 7483 | |
| 7484 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7486 | grpc_test_util |
| 7487 | grpc |
| 7488 | gpr_test_util |
| 7489 | gpr |
| 7490 | ) |
| 7491 | |
| 7492 | endif (gRPC_BUILD_TESTS) |
| 7493 | if (gRPC_BUILD_TESTS) |
| 7494 | |
| 7495 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7496 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7497 | ) |
| 7498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7500 | target_include_directories(httpcli_format_request_test |
| 7501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7503 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7504 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7505 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7506 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7507 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7508 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7509 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7510 | ) |
| 7511 | |
| 7512 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7514 | grpc_test_util |
| 7515 | grpc |
| 7516 | gpr_test_util |
| 7517 | gpr |
| 7518 | ) |
| 7519 | |
| 7520 | endif (gRPC_BUILD_TESTS) |
| 7521 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7522 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7523 | |
| 7524 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7525 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7526 | ) |
| 7527 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7529 | target_include_directories(httpcli_test |
| 7530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7532 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7533 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7534 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7535 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7536 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7537 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7538 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7539 | ) |
| 7540 | |
| 7541 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7543 | grpc_test_util |
| 7544 | grpc |
| 7545 | gpr_test_util |
| 7546 | gpr |
| 7547 | ) |
| 7548 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7549 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7550 | endif (gRPC_BUILD_TESTS) |
| 7551 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7552 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7553 | |
| 7554 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7555 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7556 | ) |
| 7557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7559 | target_include_directories(httpscli_test |
| 7560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7562 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7563 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7564 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7565 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7566 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7567 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7568 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7569 | ) |
| 7570 | |
| 7571 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7572 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7573 | grpc_test_util |
| 7574 | grpc |
| 7575 | gpr_test_util |
| 7576 | gpr |
| 7577 | ) |
| 7578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7579 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7580 | endif (gRPC_BUILD_TESTS) |
| 7581 | if (gRPC_BUILD_TESTS) |
| 7582 | |
| 7583 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7584 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7585 | ) |
| 7586 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7588 | target_include_directories(init_test |
| 7589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7591 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7592 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7593 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7594 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7595 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7596 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7597 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7598 | ) |
| 7599 | |
| 7600 | target_link_libraries(init_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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7611 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7612 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7613 | ) |
| 7614 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7615 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7616 | target_include_directories(invalid_call_argument_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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7625 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7626 | ) |
| 7627 | |
| 7628 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7630 | grpc_test_util |
| 7631 | grpc |
| 7632 | gpr_test_util |
| 7633 | gpr |
| 7634 | ) |
| 7635 | |
| 7636 | endif (gRPC_BUILD_TESTS) |
| 7637 | if (gRPC_BUILD_TESTS) |
| 7638 | |
| 7639 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7640 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7641 | ) |
| 7642 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7643 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7644 | target_include_directories(json_rewrite |
| 7645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7647 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7648 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7649 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7650 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7651 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7652 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7653 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7654 | ) |
| 7655 | |
| 7656 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7657 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 7658 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7659 | grpc |
Vijay Pai | 8a99fdb | 2018-01-25 15:38:20 -0800 | [diff] [blame] | 7660 | gpr_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7661 | gpr |
| 7662 | ) |
| 7663 | |
| 7664 | endif (gRPC_BUILD_TESTS) |
| 7665 | if (gRPC_BUILD_TESTS) |
| 7666 | |
| 7667 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7668 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7669 | ) |
| 7670 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7671 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7672 | target_include_directories(json_rewrite_test |
| 7673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7675 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7676 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7677 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7678 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7679 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7680 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7681 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7682 | ) |
| 7683 | |
| 7684 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7685 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7686 | grpc_test_util |
| 7687 | grpc |
| 7688 | gpr_test_util |
| 7689 | gpr |
| 7690 | ) |
| 7691 | |
| 7692 | endif (gRPC_BUILD_TESTS) |
| 7693 | if (gRPC_BUILD_TESTS) |
| 7694 | |
| 7695 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7696 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7697 | ) |
| 7698 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7699 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7700 | target_include_directories(json_stream_error_test |
| 7701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7703 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7704 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7705 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7706 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7707 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7708 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7709 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7710 | ) |
| 7711 | |
| 7712 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7713 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7714 | grpc_test_util |
| 7715 | grpc |
| 7716 | gpr_test_util |
| 7717 | gpr |
| 7718 | ) |
| 7719 | |
| 7720 | endif (gRPC_BUILD_TESTS) |
| 7721 | if (gRPC_BUILD_TESTS) |
| 7722 | |
| 7723 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7724 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7725 | ) |
| 7726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7728 | target_include_directories(json_test |
| 7729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7731 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7732 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7733 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7734 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7735 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7736 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7737 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7738 | ) |
| 7739 | |
| 7740 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7741 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7742 | grpc_test_util |
| 7743 | grpc |
| 7744 | gpr_test_util |
| 7745 | gpr |
| 7746 | ) |
| 7747 | |
| 7748 | endif (gRPC_BUILD_TESTS) |
| 7749 | if (gRPC_BUILD_TESTS) |
| 7750 | |
| 7751 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7752 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7753 | ) |
| 7754 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7755 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7756 | target_include_directories(lame_client_test |
| 7757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7759 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7760 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7761 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7762 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7763 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7764 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7765 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7766 | ) |
| 7767 | |
| 7768 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7769 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7770 | grpc_test_util |
| 7771 | grpc |
| 7772 | gpr_test_util |
| 7773 | gpr |
| 7774 | ) |
| 7775 | |
| 7776 | endif (gRPC_BUILD_TESTS) |
| 7777 | if (gRPC_BUILD_TESTS) |
| 7778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7779 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7780 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7781 | ) |
| 7782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7783 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7784 | target_include_directories(load_file_test |
| 7785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7787 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7788 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7789 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7790 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7791 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7792 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7793 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7794 | ) |
| 7795 | |
| 7796 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7798 | grpc_test_util |
| 7799 | grpc |
| 7800 | gpr_test_util |
| 7801 | gpr |
| 7802 | ) |
| 7803 | |
| 7804 | endif (gRPC_BUILD_TESTS) |
| 7805 | if (gRPC_BUILD_TESTS) |
| 7806 | |
| 7807 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7808 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7809 | ) |
| 7810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7812 | target_include_directories(memory_profile_client |
| 7813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7815 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7816 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7817 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7818 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7819 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7820 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7821 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7822 | ) |
| 7823 | |
| 7824 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7826 | grpc_test_util |
| 7827 | grpc |
| 7828 | gpr_test_util |
| 7829 | gpr |
| 7830 | ) |
| 7831 | |
| 7832 | endif (gRPC_BUILD_TESTS) |
| 7833 | if (gRPC_BUILD_TESTS) |
| 7834 | |
| 7835 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7836 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7837 | ) |
| 7838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7840 | target_include_directories(memory_profile_server |
| 7841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7844 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7845 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7846 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7847 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7848 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7849 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7850 | ) |
| 7851 | |
| 7852 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7853 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7854 | grpc_test_util |
| 7855 | grpc |
| 7856 | gpr_test_util |
| 7857 | gpr |
| 7858 | ) |
| 7859 | |
| 7860 | endif (gRPC_BUILD_TESTS) |
| 7861 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7862 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7863 | |
| 7864 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7865 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7866 | ) |
| 7867 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7868 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7869 | target_include_directories(memory_profile_test |
| 7870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7872 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7873 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7874 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7875 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7876 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7877 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7878 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7879 | ) |
| 7880 | |
| 7881 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7882 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7883 | grpc_test_util |
| 7884 | grpc |
| 7885 | gpr_test_util |
| 7886 | gpr |
| 7887 | ) |
| 7888 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7889 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7890 | endif (gRPC_BUILD_TESTS) |
| 7891 | if (gRPC_BUILD_TESTS) |
| 7892 | |
| 7893 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7894 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7895 | ) |
| 7896 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7898 | target_include_directories(message_compress_test |
| 7899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7901 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7902 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7903 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7904 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7905 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7906 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7907 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7908 | ) |
| 7909 | |
| 7910 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7911 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7912 | grpc_test_util |
| 7913 | grpc |
| 7914 | gpr_test_util |
| 7915 | gpr |
| 7916 | ) |
| 7917 | |
| 7918 | endif (gRPC_BUILD_TESTS) |
| 7919 | if (gRPC_BUILD_TESTS) |
| 7920 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7921 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7922 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7923 | ) |
| 7924 | |
| 7925 | |
| 7926 | target_include_directories(minimal_stack_is_minimal_test |
| 7927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7929 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7930 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7931 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7932 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7933 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7934 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7935 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7936 | ) |
| 7937 | |
| 7938 | target_link_libraries(minimal_stack_is_minimal_test |
| 7939 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7940 | grpc_test_util |
| 7941 | grpc |
| 7942 | gpr_test_util |
| 7943 | gpr |
| 7944 | ) |
| 7945 | |
| 7946 | endif (gRPC_BUILD_TESTS) |
| 7947 | if (gRPC_BUILD_TESTS) |
| 7948 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7949 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7950 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7951 | ) |
| 7952 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7953 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7954 | target_include_directories(multiple_server_queues_test |
| 7955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7957 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7958 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7959 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7960 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7961 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7962 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7963 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7964 | ) |
| 7965 | |
| 7966 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7968 | grpc_test_util |
| 7969 | grpc |
| 7970 | gpr_test_util |
| 7971 | gpr |
| 7972 | ) |
| 7973 | |
| 7974 | endif (gRPC_BUILD_TESTS) |
| 7975 | if (gRPC_BUILD_TESTS) |
| 7976 | |
| 7977 | add_executable(murmur_hash_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 7978 | test/core/gpr/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7979 | ) |
| 7980 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7981 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7982 | target_include_directories(murmur_hash_test |
| 7983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7985 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7986 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7987 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7988 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7989 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7990 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 7991 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7992 | ) |
| 7993 | |
| 7994 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7996 | gpr_test_util |
| 7997 | gpr |
| 7998 | ) |
| 7999 | |
| 8000 | endif (gRPC_BUILD_TESTS) |
| 8001 | if (gRPC_BUILD_TESTS) |
| 8002 | |
| 8003 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8004 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8005 | ) |
| 8006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8008 | target_include_directories(no_server_test |
| 8009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8011 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8012 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8013 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8014 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8015 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8016 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8017 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8018 | ) |
| 8019 | |
| 8020 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8022 | grpc_test_util |
| 8023 | grpc |
| 8024 | gpr_test_util |
| 8025 | gpr |
| 8026 | ) |
| 8027 | |
| 8028 | endif (gRPC_BUILD_TESTS) |
| 8029 | if (gRPC_BUILD_TESTS) |
| 8030 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8031 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8032 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8033 | ) |
| 8034 | |
| 8035 | |
| 8036 | target_include_directories(num_external_connectivity_watchers_test |
| 8037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8039 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8040 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8041 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8042 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8043 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8044 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8045 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8046 | ) |
| 8047 | |
| 8048 | target_link_libraries(num_external_connectivity_watchers_test |
| 8049 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8050 | grpc_test_util |
| 8051 | grpc |
| 8052 | gpr_test_util |
| 8053 | gpr |
| 8054 | ) |
| 8055 | |
| 8056 | endif (gRPC_BUILD_TESTS) |
| 8057 | if (gRPC_BUILD_TESTS) |
| 8058 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8059 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8060 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8061 | ) |
| 8062 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8063 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8064 | target_include_directories(parse_address_test |
| 8065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8067 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8068 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8069 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8070 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8071 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8072 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8073 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8074 | ) |
| 8075 | |
| 8076 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8077 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8078 | grpc_test_util |
| 8079 | grpc |
| 8080 | gpr_test_util |
| 8081 | gpr |
| 8082 | ) |
| 8083 | |
| 8084 | endif (gRPC_BUILD_TESTS) |
| 8085 | if (gRPC_BUILD_TESTS) |
| 8086 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8087 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8088 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8089 | ) |
| 8090 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8091 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8092 | target_include_directories(percent_encoding_test |
| 8093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8095 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8096 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8097 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8098 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8099 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8100 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8101 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8102 | ) |
| 8103 | |
| 8104 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8106 | grpc_test_util |
| 8107 | grpc |
| 8108 | gpr_test_util |
| 8109 | gpr |
| 8110 | ) |
| 8111 | |
| 8112 | endif (gRPC_BUILD_TESTS) |
| 8113 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8114 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8115 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8116 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8117 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8118 | ) |
| 8119 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8120 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8121 | target_include_directories(pollset_set_test |
| 8122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8124 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8125 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8126 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8127 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8128 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8129 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8130 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8131 | ) |
| 8132 | |
| 8133 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8134 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8135 | grpc_test_util |
| 8136 | grpc |
| 8137 | gpr_test_util |
| 8138 | gpr |
| 8139 | ) |
| 8140 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8141 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8142 | endif (gRPC_BUILD_TESTS) |
| 8143 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8144 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8145 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8146 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8147 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8148 | ) |
| 8149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8150 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8151 | target_include_directories(resolve_address_posix_test |
| 8152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8154 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8155 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8156 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8157 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8158 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8159 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8160 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8161 | ) |
| 8162 | |
| 8163 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8165 | grpc_test_util |
| 8166 | grpc |
| 8167 | gpr_test_util |
| 8168 | gpr |
| 8169 | ) |
| 8170 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8171 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8172 | endif (gRPC_BUILD_TESTS) |
| 8173 | if (gRPC_BUILD_TESTS) |
| 8174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8175 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8176 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8177 | ) |
| 8178 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8180 | target_include_directories(resolve_address_test |
| 8181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8183 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8184 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8185 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8186 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8187 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8188 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8189 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8190 | ) |
| 8191 | |
| 8192 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8193 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8194 | grpc_test_util |
| 8195 | grpc |
| 8196 | gpr_test_util |
| 8197 | gpr |
| 8198 | ) |
| 8199 | |
| 8200 | endif (gRPC_BUILD_TESTS) |
| 8201 | if (gRPC_BUILD_TESTS) |
| 8202 | |
| 8203 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8204 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8205 | ) |
| 8206 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8207 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8208 | target_include_directories(resource_quota_test |
| 8209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8211 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8212 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8213 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8214 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8215 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8216 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8217 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8218 | ) |
| 8219 | |
| 8220 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8221 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8222 | grpc_test_util |
| 8223 | grpc |
| 8224 | gpr_test_util |
| 8225 | gpr |
| 8226 | ) |
| 8227 | |
| 8228 | endif (gRPC_BUILD_TESTS) |
| 8229 | if (gRPC_BUILD_TESTS) |
| 8230 | |
| 8231 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8232 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8233 | ) |
| 8234 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8235 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8236 | target_include_directories(secure_channel_create_test |
| 8237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8239 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8240 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8241 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8242 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8243 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8244 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8245 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8246 | ) |
| 8247 | |
| 8248 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8250 | grpc_test_util |
| 8251 | grpc |
| 8252 | gpr_test_util |
| 8253 | gpr |
| 8254 | ) |
| 8255 | |
| 8256 | endif (gRPC_BUILD_TESTS) |
| 8257 | if (gRPC_BUILD_TESTS) |
| 8258 | |
| 8259 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8260 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8261 | ) |
| 8262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8263 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8264 | target_include_directories(secure_endpoint_test |
| 8265 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8267 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8268 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8269 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8270 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8271 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8272 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8273 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8274 | ) |
| 8275 | |
| 8276 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8277 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8278 | grpc_test_util |
| 8279 | grpc |
| 8280 | gpr_test_util |
| 8281 | gpr |
| 8282 | ) |
| 8283 | |
| 8284 | endif (gRPC_BUILD_TESTS) |
| 8285 | if (gRPC_BUILD_TESTS) |
| 8286 | |
| 8287 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8288 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8289 | ) |
| 8290 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8291 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8292 | target_include_directories(sequential_connectivity_test |
| 8293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8295 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8296 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8297 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8298 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8299 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8300 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8301 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8302 | ) |
| 8303 | |
| 8304 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8305 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8306 | grpc_test_util |
| 8307 | grpc |
| 8308 | gpr_test_util |
| 8309 | gpr |
| 8310 | ) |
| 8311 | |
| 8312 | endif (gRPC_BUILD_TESTS) |
| 8313 | if (gRPC_BUILD_TESTS) |
| 8314 | |
| 8315 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8316 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8317 | ) |
| 8318 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8319 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8320 | target_include_directories(server_chttp2_test |
| 8321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8323 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8324 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8325 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8326 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8327 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8328 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8329 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8330 | ) |
| 8331 | |
| 8332 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8333 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8334 | grpc_test_util |
| 8335 | grpc |
| 8336 | gpr_test_util |
| 8337 | gpr |
| 8338 | ) |
| 8339 | |
| 8340 | endif (gRPC_BUILD_TESTS) |
| 8341 | if (gRPC_BUILD_TESTS) |
| 8342 | |
| 8343 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8344 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8345 | ) |
| 8346 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8347 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8348 | target_include_directories(server_test |
| 8349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8352 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8353 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8354 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8355 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8356 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8357 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8358 | ) |
| 8359 | |
| 8360 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8362 | grpc_test_util |
| 8363 | grpc |
| 8364 | gpr_test_util |
| 8365 | gpr |
| 8366 | ) |
| 8367 | |
| 8368 | endif (gRPC_BUILD_TESTS) |
| 8369 | if (gRPC_BUILD_TESTS) |
| 8370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8371 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8372 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8373 | ) |
| 8374 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8375 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8376 | target_include_directories(slice_buffer_test |
| 8377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8378 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8379 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8380 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8381 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8382 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8383 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8384 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8385 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8386 | ) |
| 8387 | |
| 8388 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8390 | grpc_test_util |
| 8391 | grpc |
| 8392 | gpr_test_util |
| 8393 | gpr |
| 8394 | ) |
| 8395 | |
| 8396 | endif (gRPC_BUILD_TESTS) |
| 8397 | if (gRPC_BUILD_TESTS) |
| 8398 | |
| 8399 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8400 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8401 | ) |
| 8402 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8403 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | target_include_directories(slice_string_helpers_test |
| 8405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8407 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8408 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8409 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8410 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8411 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8412 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8413 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8414 | ) |
| 8415 | |
| 8416 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8418 | grpc_test_util |
| 8419 | grpc |
| 8420 | gpr_test_util |
| 8421 | gpr |
| 8422 | ) |
| 8423 | |
| 8424 | endif (gRPC_BUILD_TESTS) |
| 8425 | if (gRPC_BUILD_TESTS) |
| 8426 | |
| 8427 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8428 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8429 | ) |
| 8430 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8431 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8432 | target_include_directories(slice_test |
| 8433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8435 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8436 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8437 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8438 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8439 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8440 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8441 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8442 | ) |
| 8443 | |
| 8444 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8446 | grpc_test_util |
| 8447 | grpc |
| 8448 | gpr_test_util |
| 8449 | gpr |
| 8450 | ) |
| 8451 | |
| 8452 | endif (gRPC_BUILD_TESTS) |
| 8453 | if (gRPC_BUILD_TESTS) |
| 8454 | |
| 8455 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8456 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8457 | ) |
| 8458 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8459 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8460 | target_include_directories(sockaddr_resolver_test |
| 8461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8463 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8464 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8465 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8466 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8467 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8468 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8469 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8470 | ) |
| 8471 | |
| 8472 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8473 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8474 | grpc_test_util |
| 8475 | grpc |
| 8476 | gpr_test_util |
| 8477 | gpr |
| 8478 | ) |
| 8479 | |
| 8480 | endif (gRPC_BUILD_TESTS) |
| 8481 | if (gRPC_BUILD_TESTS) |
| 8482 | |
| 8483 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8484 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8485 | ) |
| 8486 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8487 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8488 | target_include_directories(sockaddr_utils_test |
| 8489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8491 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8492 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8493 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8494 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8495 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8496 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8497 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8498 | ) |
| 8499 | |
| 8500 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8501 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8502 | grpc_test_util |
| 8503 | grpc |
| 8504 | gpr_test_util |
| 8505 | gpr |
| 8506 | ) |
| 8507 | |
| 8508 | endif (gRPC_BUILD_TESTS) |
| 8509 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8511 | |
| 8512 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8513 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8514 | ) |
| 8515 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8516 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8517 | target_include_directories(socket_utils_test |
| 8518 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8520 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8521 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8522 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8523 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8524 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8525 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8526 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8527 | ) |
| 8528 | |
| 8529 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8530 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8531 | grpc_test_util |
| 8532 | grpc |
| 8533 | gpr_test_util |
| 8534 | gpr |
| 8535 | ) |
| 8536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8537 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8538 | endif (gRPC_BUILD_TESTS) |
| 8539 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8540 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8541 | |
| 8542 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8543 | test/core/tsi/ssl_transport_security_test.cc |
| 8544 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8545 | ) |
| 8546 | |
| 8547 | |
| 8548 | target_include_directories(ssl_transport_security_test |
| 8549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8551 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8552 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8553 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8554 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8555 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8556 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8557 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8558 | ) |
| 8559 | |
| 8560 | target_link_libraries(ssl_transport_security_test |
| 8561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8562 | gpr_test_util |
| 8563 | gpr |
| 8564 | grpc |
| 8565 | ) |
| 8566 | |
| 8567 | endif() |
| 8568 | endif (gRPC_BUILD_TESTS) |
| 8569 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8570 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8571 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8572 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8573 | ) |
| 8574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8575 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8576 | target_include_directories(status_conversion_test |
| 8577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8579 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8580 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8581 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8582 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8583 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8584 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8585 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8586 | ) |
| 8587 | |
| 8588 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8590 | grpc_test_util |
| 8591 | grpc |
| 8592 | gpr_test_util |
| 8593 | gpr |
| 8594 | ) |
| 8595 | |
| 8596 | endif (gRPC_BUILD_TESTS) |
| 8597 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8598 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8599 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8600 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8601 | ) |
| 8602 | |
| 8603 | |
| 8604 | target_include_directories(stream_compression_test |
| 8605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8607 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8608 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8609 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8610 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8611 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8612 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8613 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8614 | ) |
| 8615 | |
| 8616 | target_link_libraries(stream_compression_test |
| 8617 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8618 | grpc_test_util |
| 8619 | grpc |
| 8620 | gpr_test_util |
| 8621 | gpr |
| 8622 | ) |
| 8623 | |
| 8624 | endif (gRPC_BUILD_TESTS) |
| 8625 | if (gRPC_BUILD_TESTS) |
| 8626 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8627 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8628 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8629 | ) |
| 8630 | |
| 8631 | |
| 8632 | target_include_directories(stream_owned_slice_test |
| 8633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8635 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8636 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8637 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8638 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8639 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8640 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8641 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8642 | ) |
| 8643 | |
| 8644 | target_link_libraries(stream_owned_slice_test |
| 8645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8646 | grpc_test_util |
| 8647 | grpc |
| 8648 | gpr_test_util |
| 8649 | gpr |
| 8650 | ) |
| 8651 | |
| 8652 | endif (gRPC_BUILD_TESTS) |
| 8653 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8654 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8655 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8656 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8657 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8658 | ) |
| 8659 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8660 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8661 | target_include_directories(tcp_client_posix_test |
| 8662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8664 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8665 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8666 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8667 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8668 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8669 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8670 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8671 | ) |
| 8672 | |
| 8673 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8675 | grpc_test_util |
| 8676 | grpc |
| 8677 | gpr_test_util |
| 8678 | gpr |
| 8679 | ) |
| 8680 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8681 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8682 | endif (gRPC_BUILD_TESTS) |
| 8683 | if (gRPC_BUILD_TESTS) |
| 8684 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8685 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8686 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8687 | ) |
| 8688 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8689 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8690 | target_include_directories(tcp_client_uv_test |
| 8691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8693 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8694 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8695 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8696 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8697 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8698 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8699 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8700 | ) |
| 8701 | |
| 8702 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8704 | grpc_test_util |
| 8705 | grpc |
| 8706 | gpr_test_util |
| 8707 | gpr |
| 8708 | ) |
| 8709 | |
| 8710 | endif (gRPC_BUILD_TESTS) |
| 8711 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8712 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8713 | |
| 8714 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8715 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8716 | ) |
| 8717 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8718 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8719 | target_include_directories(tcp_posix_test |
| 8720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8722 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8723 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8724 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8725 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8726 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8727 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8728 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8729 | ) |
| 8730 | |
| 8731 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8733 | grpc_test_util |
| 8734 | grpc |
| 8735 | gpr_test_util |
| 8736 | gpr |
| 8737 | ) |
| 8738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8739 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8740 | endif (gRPC_BUILD_TESTS) |
| 8741 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8742 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8743 | |
| 8744 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8745 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8746 | ) |
| 8747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8749 | target_include_directories(tcp_server_posix_test |
| 8750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8752 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8753 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8754 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8755 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8756 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8757 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8758 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8759 | ) |
| 8760 | |
| 8761 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8763 | grpc_test_util |
| 8764 | grpc |
| 8765 | gpr_test_util |
| 8766 | gpr |
| 8767 | ) |
| 8768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | endif (gRPC_BUILD_TESTS) |
| 8771 | if (gRPC_BUILD_TESTS) |
| 8772 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8773 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8774 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8775 | ) |
| 8776 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8777 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8778 | target_include_directories(tcp_server_uv_test |
| 8779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8781 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8782 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8783 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8784 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8785 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8786 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8787 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8788 | ) |
| 8789 | |
| 8790 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8792 | grpc_test_util |
| 8793 | grpc |
| 8794 | gpr_test_util |
| 8795 | gpr |
| 8796 | ) |
| 8797 | |
| 8798 | endif (gRPC_BUILD_TESTS) |
| 8799 | if (gRPC_BUILD_TESTS) |
| 8800 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8801 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8802 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | ) |
| 8804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8806 | target_include_directories(time_averaged_stats_test |
| 8807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8809 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8810 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8811 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8812 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8813 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8814 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8815 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8816 | ) |
| 8817 | |
| 8818 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8820 | grpc_test_util |
| 8821 | grpc |
| 8822 | gpr_test_util |
| 8823 | gpr |
| 8824 | ) |
| 8825 | |
| 8826 | endif (gRPC_BUILD_TESTS) |
| 8827 | if (gRPC_BUILD_TESTS) |
| 8828 | |
| 8829 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8830 | test/core/transport/timeout_encoding_test.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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8834 | target_include_directories(timeout_encoding_test |
| 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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8843 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8844 | ) |
| 8845 | |
| 8846 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8847 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8848 | grpc_test_util |
| 8849 | grpc |
| 8850 | gpr_test_util |
| 8851 | gpr |
| 8852 | ) |
| 8853 | |
| 8854 | endif (gRPC_BUILD_TESTS) |
| 8855 | if (gRPC_BUILD_TESTS) |
| 8856 | |
| 8857 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8858 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8859 | ) |
| 8860 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8861 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8862 | target_include_directories(timer_heap_test |
| 8863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8865 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8866 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8867 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8868 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8869 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8870 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8871 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8872 | ) |
| 8873 | |
| 8874 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8875 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8876 | grpc_test_util |
| 8877 | grpc |
| 8878 | gpr_test_util |
| 8879 | gpr |
| 8880 | ) |
| 8881 | |
| 8882 | endif (gRPC_BUILD_TESTS) |
| 8883 | if (gRPC_BUILD_TESTS) |
| 8884 | |
| 8885 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8886 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8887 | ) |
| 8888 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8889 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8890 | target_include_directories(timer_list_test |
| 8891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8893 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8894 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8895 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8896 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8897 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8898 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8899 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8900 | ) |
| 8901 | |
| 8902 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8904 | grpc_test_util |
| 8905 | grpc |
| 8906 | gpr_test_util |
| 8907 | gpr |
| 8908 | ) |
| 8909 | |
| 8910 | endif (gRPC_BUILD_TESTS) |
| 8911 | if (gRPC_BUILD_TESTS) |
| 8912 | |
| 8913 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8914 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8915 | ) |
| 8916 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8917 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8918 | target_include_directories(transport_connectivity_state_test |
| 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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8927 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8928 | ) |
| 8929 | |
| 8930 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8931 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8932 | grpc_test_util |
| 8933 | grpc |
| 8934 | gpr_test_util |
| 8935 | gpr |
| 8936 | ) |
| 8937 | |
| 8938 | endif (gRPC_BUILD_TESTS) |
| 8939 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8940 | |
| 8941 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8942 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8943 | ) |
| 8944 | |
| 8945 | |
| 8946 | target_include_directories(transport_metadata_test |
| 8947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8949 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8950 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8951 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8952 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8953 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8954 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8955 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8956 | ) |
| 8957 | |
| 8958 | target_link_libraries(transport_metadata_test |
| 8959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8960 | grpc_test_util |
| 8961 | grpc |
| 8962 | gpr_test_util |
| 8963 | gpr |
| 8964 | ) |
| 8965 | |
| 8966 | endif (gRPC_BUILD_TESTS) |
| 8967 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8968 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8969 | |
| 8970 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8971 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8972 | ) |
| 8973 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8974 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8975 | target_include_directories(transport_security_test |
| 8976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8978 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8979 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8980 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8981 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8982 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8983 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 8984 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8985 | ) |
| 8986 | |
| 8987 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8989 | grpc_test_util |
| 8990 | grpc |
| 8991 | gpr_test_util |
| 8992 | gpr |
| 8993 | ) |
| 8994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8995 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8996 | endif (gRPC_BUILD_TESTS) |
| 8997 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8998 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8999 | |
| 9000 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9001 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9002 | ) |
| 9003 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9004 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9005 | target_include_directories(udp_server_test |
| 9006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9008 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9009 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9010 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9011 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9012 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9013 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9014 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9015 | ) |
| 9016 | |
| 9017 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9018 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9019 | grpc_test_util |
| 9020 | grpc |
| 9021 | gpr_test_util |
| 9022 | gpr |
| 9023 | ) |
| 9024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9025 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9026 | endif (gRPC_BUILD_TESTS) |
| 9027 | if (gRPC_BUILD_TESTS) |
| 9028 | |
| 9029 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9030 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9031 | ) |
| 9032 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9033 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9034 | target_include_directories(uri_parser_test |
| 9035 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9037 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9038 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9039 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9040 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9041 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9042 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9043 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9044 | ) |
| 9045 | |
| 9046 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9048 | grpc_test_util |
| 9049 | grpc |
| 9050 | gpr_test_util |
| 9051 | gpr |
| 9052 | ) |
| 9053 | |
| 9054 | endif (gRPC_BUILD_TESTS) |
| 9055 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9056 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9057 | |
| 9058 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 9059 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9060 | ) |
| 9061 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9063 | target_include_directories(wakeup_fd_cv_test |
| 9064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9066 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9067 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9068 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9069 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9070 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9071 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9072 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9073 | ) |
| 9074 | |
| 9075 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9077 | grpc_test_util |
| 9078 | grpc |
| 9079 | gpr_test_util |
| 9080 | gpr |
| 9081 | ) |
| 9082 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9083 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9084 | endif (gRPC_BUILD_TESTS) |
| 9085 | if (gRPC_BUILD_TESTS) |
| 9086 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9087 | add_executable(alarm_test |
| 9088 | test/cpp/common/alarm_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9089 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9090 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9091 | ) |
| 9092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9093 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9094 | target_include_directories(alarm_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9097 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9098 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9099 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9100 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9101 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9102 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9103 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9104 | PRIVATE third_party/googletest/googletest/include |
| 9105 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9106 | PRIVATE third_party/googletest/googlemock/include |
| 9107 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9108 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9109 | ) |
| 9110 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 9111 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9112 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9114 | grpc++_test_util_unsecure |
| 9115 | grpc_test_util_unsecure |
| 9116 | grpc++_unsecure |
| 9117 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9118 | gpr_test_util |
| 9119 | gpr |
| 9120 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9121 | ) |
| 9122 | |
| 9123 | endif (gRPC_BUILD_TESTS) |
| 9124 | if (gRPC_BUILD_TESTS) |
| 9125 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9126 | add_executable(alts_counter_test |
| 9127 | test/core/tsi/alts/frame_protector/alts_counter_test.cc |
| 9128 | third_party/googletest/googletest/src/gtest-all.cc |
| 9129 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9130 | ) |
| 9131 | |
| 9132 | |
| 9133 | target_include_directories(alts_counter_test |
| 9134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9136 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9137 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9138 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9139 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9140 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9141 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9142 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9143 | PRIVATE third_party/googletest/googletest/include |
| 9144 | PRIVATE third_party/googletest/googletest |
| 9145 | PRIVATE third_party/googletest/googlemock/include |
| 9146 | PRIVATE third_party/googletest/googlemock |
| 9147 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9148 | ) |
| 9149 | |
| 9150 | target_link_libraries(alts_counter_test |
| 9151 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9152 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9153 | alts_test_util |
| 9154 | gpr |
| 9155 | grpc |
| 9156 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9157 | ) |
| 9158 | |
| 9159 | endif (gRPC_BUILD_TESTS) |
| 9160 | if (gRPC_BUILD_TESTS) |
| 9161 | |
| 9162 | add_executable(alts_crypt_test |
| 9163 | test/core/tsi/alts/crypt/aes_gcm_test.cc |
| 9164 | third_party/googletest/googletest/src/gtest-all.cc |
| 9165 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9166 | ) |
| 9167 | |
| 9168 | |
| 9169 | target_include_directories(alts_crypt_test |
| 9170 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9171 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9172 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9173 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9174 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9175 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9176 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9177 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9178 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9179 | PRIVATE third_party/googletest/googletest/include |
| 9180 | PRIVATE third_party/googletest/googletest |
| 9181 | PRIVATE third_party/googletest/googlemock/include |
| 9182 | PRIVATE third_party/googletest/googlemock |
| 9183 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9184 | ) |
| 9185 | |
| 9186 | target_link_libraries(alts_crypt_test |
| 9187 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9188 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9189 | alts_test_util |
| 9190 | gpr_test_util |
| 9191 | gpr |
| 9192 | grpc |
| 9193 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9194 | ) |
| 9195 | |
| 9196 | endif (gRPC_BUILD_TESTS) |
| 9197 | if (gRPC_BUILD_TESTS) |
| 9198 | |
| 9199 | add_executable(alts_crypter_test |
| 9200 | test/core/tsi/alts/frame_protector/alts_crypter_test.cc |
| 9201 | third_party/googletest/googletest/src/gtest-all.cc |
| 9202 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9203 | ) |
| 9204 | |
| 9205 | |
| 9206 | target_include_directories(alts_crypter_test |
| 9207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9209 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9210 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9211 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9212 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9213 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9214 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9215 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9216 | PRIVATE third_party/googletest/googletest/include |
| 9217 | PRIVATE third_party/googletest/googletest |
| 9218 | PRIVATE third_party/googletest/googlemock/include |
| 9219 | PRIVATE third_party/googletest/googlemock |
| 9220 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9221 | ) |
| 9222 | |
| 9223 | target_link_libraries(alts_crypter_test |
| 9224 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9226 | alts_test_util |
| 9227 | gpr |
| 9228 | grpc |
| 9229 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9230 | ) |
| 9231 | |
| 9232 | endif (gRPC_BUILD_TESTS) |
| 9233 | if (gRPC_BUILD_TESTS) |
| 9234 | |
| 9235 | add_executable(alts_frame_handler_test |
| 9236 | test/core/tsi/alts/frame_protector/frame_handler_test.cc |
| 9237 | third_party/googletest/googletest/src/gtest-all.cc |
| 9238 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9239 | ) |
| 9240 | |
| 9241 | |
| 9242 | target_include_directories(alts_frame_handler_test |
| 9243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9245 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9246 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9247 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9248 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9249 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9250 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9251 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9252 | PRIVATE third_party/googletest/googletest/include |
| 9253 | PRIVATE third_party/googletest/googletest |
| 9254 | PRIVATE third_party/googletest/googlemock/include |
| 9255 | PRIVATE third_party/googletest/googlemock |
| 9256 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9257 | ) |
| 9258 | |
| 9259 | target_link_libraries(alts_frame_handler_test |
| 9260 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9262 | alts_test_util |
| 9263 | gpr |
| 9264 | grpc |
| 9265 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9266 | ) |
| 9267 | |
| 9268 | endif (gRPC_BUILD_TESTS) |
| 9269 | if (gRPC_BUILD_TESTS) |
| 9270 | |
| 9271 | add_executable(alts_frame_protector_test |
| 9272 | test/core/tsi/alts/frame_protector/alts_frame_protector_test.cc |
| 9273 | test/core/tsi/transport_security_test_lib.cc |
| 9274 | third_party/googletest/googletest/src/gtest-all.cc |
| 9275 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9276 | ) |
| 9277 | |
| 9278 | |
| 9279 | target_include_directories(alts_frame_protector_test |
| 9280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9282 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9283 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9284 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9285 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9286 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9287 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9288 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9289 | PRIVATE third_party/googletest/googletest/include |
| 9290 | PRIVATE third_party/googletest/googletest |
| 9291 | PRIVATE third_party/googletest/googlemock/include |
| 9292 | PRIVATE third_party/googletest/googlemock |
| 9293 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9294 | ) |
| 9295 | |
| 9296 | target_link_libraries(alts_frame_protector_test |
| 9297 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9298 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9299 | alts_test_util |
| 9300 | gpr |
| 9301 | grpc |
| 9302 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9303 | ) |
| 9304 | |
| 9305 | endif (gRPC_BUILD_TESTS) |
| 9306 | if (gRPC_BUILD_TESTS) |
| 9307 | |
| 9308 | add_executable(alts_grpc_record_protocol_test |
| 9309 | test/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_test.cc |
| 9310 | third_party/googletest/googletest/src/gtest-all.cc |
| 9311 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9312 | ) |
| 9313 | |
| 9314 | |
| 9315 | target_include_directories(alts_grpc_record_protocol_test |
| 9316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9318 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9319 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9320 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9321 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9322 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9323 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9324 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9325 | PRIVATE third_party/googletest/googletest/include |
| 9326 | PRIVATE third_party/googletest/googletest |
| 9327 | PRIVATE third_party/googletest/googlemock/include |
| 9328 | PRIVATE third_party/googletest/googlemock |
| 9329 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9330 | ) |
| 9331 | |
| 9332 | target_link_libraries(alts_grpc_record_protocol_test |
| 9333 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9335 | alts_test_util |
| 9336 | gpr |
| 9337 | grpc |
| 9338 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9339 | ) |
| 9340 | |
| 9341 | endif (gRPC_BUILD_TESTS) |
| 9342 | if (gRPC_BUILD_TESTS) |
| 9343 | |
| 9344 | add_executable(alts_handshaker_client_test |
| 9345 | test/core/tsi/alts/handshaker/alts_handshaker_client_test.cc |
| 9346 | third_party/googletest/googletest/src/gtest-all.cc |
| 9347 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9348 | ) |
| 9349 | |
| 9350 | |
| 9351 | target_include_directories(alts_handshaker_client_test |
| 9352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9354 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9355 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9356 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9357 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9358 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9359 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9360 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9361 | PRIVATE third_party/googletest/googletest/include |
| 9362 | PRIVATE third_party/googletest/googletest |
| 9363 | PRIVATE third_party/googletest/googlemock/include |
| 9364 | PRIVATE third_party/googletest/googlemock |
| 9365 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9366 | ) |
| 9367 | |
| 9368 | target_link_libraries(alts_handshaker_client_test |
| 9369 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9371 | alts_test_util |
| 9372 | gpr |
| 9373 | grpc |
| 9374 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9375 | ) |
| 9376 | |
| 9377 | endif (gRPC_BUILD_TESTS) |
| 9378 | if (gRPC_BUILD_TESTS) |
| 9379 | |
| 9380 | add_executable(alts_handshaker_service_api_test |
| 9381 | test/core/tsi/alts/handshaker/alts_handshaker_service_api_test.cc |
| 9382 | third_party/googletest/googletest/src/gtest-all.cc |
| 9383 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9384 | ) |
| 9385 | |
| 9386 | |
| 9387 | target_include_directories(alts_handshaker_service_api_test |
| 9388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9390 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9391 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9392 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9393 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9394 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9395 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9396 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9397 | PRIVATE third_party/googletest/googletest/include |
| 9398 | PRIVATE third_party/googletest/googletest |
| 9399 | PRIVATE third_party/googletest/googlemock/include |
| 9400 | PRIVATE third_party/googletest/googlemock |
| 9401 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9402 | ) |
| 9403 | |
| 9404 | target_link_libraries(alts_handshaker_service_api_test |
| 9405 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9406 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9407 | alts_test_util |
| 9408 | gpr |
| 9409 | grpc |
| 9410 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9411 | ) |
| 9412 | |
| 9413 | endif (gRPC_BUILD_TESTS) |
| 9414 | if (gRPC_BUILD_TESTS) |
| 9415 | |
| 9416 | add_executable(alts_iovec_record_protocol_test |
| 9417 | test/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol_test.cc |
| 9418 | third_party/googletest/googletest/src/gtest-all.cc |
| 9419 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9420 | ) |
| 9421 | |
| 9422 | |
| 9423 | target_include_directories(alts_iovec_record_protocol_test |
| 9424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9426 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9427 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9428 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9429 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9430 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9431 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9432 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9433 | PRIVATE third_party/googletest/googletest/include |
| 9434 | PRIVATE third_party/googletest/googletest |
| 9435 | PRIVATE third_party/googletest/googlemock/include |
| 9436 | PRIVATE third_party/googletest/googlemock |
| 9437 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9438 | ) |
| 9439 | |
| 9440 | target_link_libraries(alts_iovec_record_protocol_test |
| 9441 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9442 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9443 | alts_test_util |
| 9444 | gpr |
| 9445 | grpc |
| 9446 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9447 | ) |
| 9448 | |
| 9449 | endif (gRPC_BUILD_TESTS) |
| 9450 | if (gRPC_BUILD_TESTS) |
| 9451 | |
| 9452 | add_executable(alts_security_connector_test |
| 9453 | test/core/security/alts_security_connector_test.cc |
| 9454 | third_party/googletest/googletest/src/gtest-all.cc |
| 9455 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9456 | ) |
| 9457 | |
| 9458 | |
| 9459 | target_include_directories(alts_security_connector_test |
| 9460 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9462 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9463 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9464 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9465 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9466 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9467 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9468 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9469 | PRIVATE third_party/googletest/googletest/include |
| 9470 | PRIVATE third_party/googletest/googletest |
| 9471 | PRIVATE third_party/googletest/googlemock/include |
| 9472 | PRIVATE third_party/googletest/googlemock |
| 9473 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9474 | ) |
| 9475 | |
| 9476 | target_link_libraries(alts_security_connector_test |
| 9477 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9478 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9479 | gpr |
| 9480 | grpc |
| 9481 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9482 | ) |
| 9483 | |
| 9484 | endif (gRPC_BUILD_TESTS) |
| 9485 | if (gRPC_BUILD_TESTS) |
| 9486 | |
| 9487 | add_executable(alts_tsi_handshaker_test |
| 9488 | test/core/tsi/alts/handshaker/alts_tsi_handshaker_test.cc |
| 9489 | third_party/googletest/googletest/src/gtest-all.cc |
| 9490 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9491 | ) |
| 9492 | |
| 9493 | |
| 9494 | target_include_directories(alts_tsi_handshaker_test |
| 9495 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9497 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9498 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9499 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9500 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9501 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9502 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9503 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9504 | PRIVATE third_party/googletest/googletest/include |
| 9505 | PRIVATE third_party/googletest/googletest |
| 9506 | PRIVATE third_party/googletest/googlemock/include |
| 9507 | PRIVATE third_party/googletest/googlemock |
| 9508 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9509 | ) |
| 9510 | |
| 9511 | target_link_libraries(alts_tsi_handshaker_test |
| 9512 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9514 | alts_test_util |
| 9515 | gpr |
| 9516 | grpc |
| 9517 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9518 | ) |
| 9519 | |
| 9520 | endif (gRPC_BUILD_TESTS) |
| 9521 | if (gRPC_BUILD_TESTS) |
| 9522 | |
| 9523 | add_executable(alts_tsi_utils_test |
| 9524 | test/core/tsi/alts/handshaker/alts_tsi_utils_test.cc |
| 9525 | third_party/googletest/googletest/src/gtest-all.cc |
| 9526 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9527 | ) |
| 9528 | |
| 9529 | |
| 9530 | target_include_directories(alts_tsi_utils_test |
| 9531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9534 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9535 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9536 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9537 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9538 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9539 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9540 | PRIVATE third_party/googletest/googletest/include |
| 9541 | PRIVATE third_party/googletest/googletest |
| 9542 | PRIVATE third_party/googletest/googlemock/include |
| 9543 | PRIVATE third_party/googletest/googlemock |
| 9544 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9545 | ) |
| 9546 | |
| 9547 | target_link_libraries(alts_tsi_utils_test |
| 9548 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9549 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9550 | alts_test_util |
| 9551 | gpr |
| 9552 | grpc |
| 9553 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9554 | ) |
| 9555 | |
| 9556 | endif (gRPC_BUILD_TESTS) |
| 9557 | if (gRPC_BUILD_TESTS) |
| 9558 | |
| 9559 | add_executable(alts_zero_copy_grpc_protector_test |
| 9560 | test/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector_test.cc |
| 9561 | third_party/googletest/googletest/src/gtest-all.cc |
| 9562 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9563 | ) |
| 9564 | |
| 9565 | |
| 9566 | target_include_directories(alts_zero_copy_grpc_protector_test |
| 9567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9569 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 9570 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9571 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9572 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9573 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9574 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9575 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 9576 | PRIVATE third_party/googletest/googletest/include |
| 9577 | PRIVATE third_party/googletest/googletest |
| 9578 | PRIVATE third_party/googletest/googlemock/include |
| 9579 | PRIVATE third_party/googletest/googlemock |
| 9580 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9581 | ) |
| 9582 | |
| 9583 | target_link_libraries(alts_zero_copy_grpc_protector_test |
| 9584 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9585 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9586 | alts_test_util |
| 9587 | gpr |
| 9588 | grpc |
| 9589 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9590 | ) |
| 9591 | |
| 9592 | endif (gRPC_BUILD_TESTS) |
| 9593 | if (gRPC_BUILD_TESTS) |
| 9594 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9595 | add_executable(async_end2end_test |
| 9596 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9597 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9598 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9599 | ) |
| 9600 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9602 | target_include_directories(async_end2end_test |
| 9603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9606 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9607 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9608 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9609 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9610 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9611 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9612 | PRIVATE third_party/googletest/googletest/include |
| 9613 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9614 | PRIVATE third_party/googletest/googlemock/include |
| 9615 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9616 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9617 | ) |
| 9618 | |
| 9619 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9620 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9622 | grpc++_test_util |
| 9623 | grpc_test_util |
| 9624 | grpc++ |
| 9625 | grpc |
| 9626 | gpr_test_util |
| 9627 | gpr |
| 9628 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9629 | ) |
| 9630 | |
| 9631 | endif (gRPC_BUILD_TESTS) |
| 9632 | if (gRPC_BUILD_TESTS) |
| 9633 | |
| 9634 | add_executable(auth_property_iterator_test |
| 9635 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9636 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9637 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9638 | ) |
| 9639 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9640 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9641 | target_include_directories(auth_property_iterator_test |
| 9642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9644 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9645 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9646 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9647 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9648 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9649 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9650 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9651 | PRIVATE third_party/googletest/googletest/include |
| 9652 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9653 | PRIVATE third_party/googletest/googlemock/include |
| 9654 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9655 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9656 | ) |
| 9657 | |
| 9658 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9659 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9660 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9661 | grpc++_test_util |
| 9662 | grpc_test_util |
| 9663 | grpc++ |
| 9664 | grpc |
| 9665 | gpr_test_util |
| 9666 | gpr |
| 9667 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9668 | ) |
| 9669 | |
| 9670 | endif (gRPC_BUILD_TESTS) |
| 9671 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 9672 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 9673 | add_executable(backoff_test |
| 9674 | test/core/backoff/backoff_test.cc |
| 9675 | third_party/googletest/googletest/src/gtest-all.cc |
| 9676 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9677 | ) |
| 9678 | |
| 9679 | |
| 9680 | target_include_directories(backoff_test |
| 9681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 9683 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9684 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9685 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9686 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9687 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9688 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9689 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 9690 | PRIVATE third_party/googletest/googletest/include |
| 9691 | PRIVATE third_party/googletest/googletest |
| 9692 | PRIVATE third_party/googletest/googlemock/include |
| 9693 | PRIVATE third_party/googletest/googlemock |
| 9694 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9695 | ) |
| 9696 | |
| 9697 | target_link_libraries(backoff_test |
| 9698 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9700 | grpc_test_util |
| 9701 | grpc |
| 9702 | gpr_test_util |
| 9703 | gpr |
| 9704 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9705 | ) |
| 9706 | |
| 9707 | endif (gRPC_BUILD_TESTS) |
| 9708 | if (gRPC_BUILD_TESTS) |
| 9709 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 9710 | add_executable(bdp_estimator_test |
| 9711 | test/core/transport/bdp_estimator_test.cc |
| 9712 | third_party/googletest/googletest/src/gtest-all.cc |
| 9713 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9714 | ) |
| 9715 | |
| 9716 | |
| 9717 | target_include_directories(bdp_estimator_test |
| 9718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9721 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9722 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9723 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9724 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9725 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9726 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 9727 | PRIVATE third_party/googletest/googletest/include |
| 9728 | PRIVATE third_party/googletest/googletest |
| 9729 | PRIVATE third_party/googletest/googlemock/include |
| 9730 | PRIVATE third_party/googletest/googlemock |
| 9731 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9732 | ) |
| 9733 | |
| 9734 | target_link_libraries(bdp_estimator_test |
| 9735 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9737 | grpc++_test_util |
| 9738 | grpc++ |
| 9739 | grpc_test_util |
| 9740 | grpc |
| 9741 | gpr_test_util |
| 9742 | gpr |
| 9743 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9744 | ) |
| 9745 | |
| 9746 | endif (gRPC_BUILD_TESTS) |
| 9747 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9748 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9749 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9750 | add_executable(bm_arena |
| 9751 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9752 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9753 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9754 | ) |
| 9755 | |
| 9756 | |
| 9757 | target_include_directories(bm_arena |
| 9758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9760 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9761 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9762 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9763 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9764 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9765 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9766 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9767 | PRIVATE third_party/googletest/googletest/include |
| 9768 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9769 | PRIVATE third_party/googletest/googlemock/include |
| 9770 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9771 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9772 | ) |
| 9773 | |
| 9774 | target_link_libraries(bm_arena |
| 9775 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9777 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9778 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9779 | grpc++_test_util_unsecure |
| 9780 | grpc_test_util_unsecure |
| 9781 | grpc++_unsecure |
| 9782 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9783 | gpr_test_util |
| 9784 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 9785 | grpc++_test_config |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9786 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9787 | ) |
| 9788 | |
| 9789 | endif() |
| 9790 | endif (gRPC_BUILD_TESTS) |
| 9791 | if (gRPC_BUILD_TESTS) |
| 9792 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9793 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9794 | add_executable(bm_call_create |
| 9795 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9796 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9797 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9798 | ) |
| 9799 | |
| 9800 | |
| 9801 | target_include_directories(bm_call_create |
| 9802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9804 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9805 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9806 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9807 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9808 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9809 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9810 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9811 | PRIVATE third_party/googletest/googletest/include |
| 9812 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9813 | PRIVATE third_party/googletest/googlemock/include |
| 9814 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9815 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9816 | ) |
| 9817 | |
| 9818 | target_link_libraries(bm_call_create |
| 9819 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9821 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9822 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9823 | grpc++_test_util_unsecure |
| 9824 | grpc_test_util_unsecure |
| 9825 | grpc++_unsecure |
| 9826 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9827 | gpr_test_util |
| 9828 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 9829 | grpc++_test_config |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9830 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9831 | ) |
| 9832 | |
| 9833 | endif() |
| 9834 | endif (gRPC_BUILD_TESTS) |
| 9835 | if (gRPC_BUILD_TESTS) |
| 9836 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9837 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9838 | add_executable(bm_chttp2_hpack |
| 9839 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9840 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9841 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9842 | ) |
| 9843 | |
| 9844 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9845 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9849 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9850 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9851 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9852 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9853 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9854 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9855 | PRIVATE third_party/googletest/googletest/include |
| 9856 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9857 | PRIVATE third_party/googletest/googlemock/include |
| 9858 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9859 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9860 | ) |
| 9861 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9862 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9863 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9864 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9865 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9866 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9867 | grpc++_test_util_unsecure |
| 9868 | grpc_test_util_unsecure |
| 9869 | grpc++_unsecure |
| 9870 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9871 | gpr_test_util |
| 9872 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 9873 | grpc++_test_config |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9874 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9875 | ) |
| 9876 | |
| 9877 | endif() |
| 9878 | endif (gRPC_BUILD_TESTS) |
| 9879 | if (gRPC_BUILD_TESTS) |
| 9880 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9881 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9882 | add_executable(bm_chttp2_transport |
| 9883 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9884 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9885 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9886 | ) |
| 9887 | |
| 9888 | |
| 9889 | target_include_directories(bm_chttp2_transport |
| 9890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9892 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9893 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9894 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9895 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9896 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9897 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9898 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9899 | PRIVATE third_party/googletest/googletest/include |
| 9900 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9901 | PRIVATE third_party/googletest/googlemock/include |
| 9902 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9903 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9904 | ) |
| 9905 | |
| 9906 | target_link_libraries(bm_chttp2_transport |
| 9907 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9909 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9910 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9911 | grpc++_test_util_unsecure |
| 9912 | grpc_test_util_unsecure |
| 9913 | grpc++_unsecure |
| 9914 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9915 | gpr_test_util |
| 9916 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 9917 | grpc++_test_config |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9918 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9919 | ) |
| 9920 | |
| 9921 | endif() |
| 9922 | endif (gRPC_BUILD_TESTS) |
| 9923 | if (gRPC_BUILD_TESTS) |
| 9924 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9925 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9926 | add_executable(bm_closure |
| 9927 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9928 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9929 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9930 | ) |
| 9931 | |
| 9932 | |
| 9933 | target_include_directories(bm_closure |
| 9934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9936 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9937 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9938 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9939 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9940 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9941 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9942 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9943 | PRIVATE third_party/googletest/googletest/include |
| 9944 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9945 | PRIVATE third_party/googletest/googlemock/include |
| 9946 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9947 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9948 | ) |
| 9949 | |
| 9950 | target_link_libraries(bm_closure |
| 9951 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9952 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9953 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9954 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9955 | grpc++_test_util_unsecure |
| 9956 | grpc_test_util_unsecure |
| 9957 | grpc++_unsecure |
| 9958 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9959 | gpr_test_util |
| 9960 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 9961 | grpc++_test_config |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9962 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9963 | ) |
| 9964 | |
| 9965 | endif() |
| 9966 | endif (gRPC_BUILD_TESTS) |
| 9967 | if (gRPC_BUILD_TESTS) |
| 9968 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9969 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9970 | add_executable(bm_cq |
| 9971 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9972 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9973 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9974 | ) |
| 9975 | |
| 9976 | |
| 9977 | target_include_directories(bm_cq |
| 9978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9980 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9981 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9982 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9983 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9984 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9985 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 9986 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9987 | PRIVATE third_party/googletest/googletest/include |
| 9988 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9989 | PRIVATE third_party/googletest/googlemock/include |
| 9990 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9991 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9992 | ) |
| 9993 | |
| 9994 | target_link_libraries(bm_cq |
| 9995 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9996 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9997 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9998 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9999 | grpc++_test_util_unsecure |
| 10000 | grpc_test_util_unsecure |
| 10001 | grpc++_unsecure |
| 10002 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10003 | gpr_test_util |
| 10004 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10005 | grpc++_test_config |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 10006 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10007 | ) |
| 10008 | |
| 10009 | endif() |
| 10010 | endif (gRPC_BUILD_TESTS) |
| 10011 | if (gRPC_BUILD_TESTS) |
| 10012 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10013 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10014 | add_executable(bm_cq_multiple_threads |
| 10015 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10016 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10017 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10018 | ) |
| 10019 | |
| 10020 | |
| 10021 | target_include_directories(bm_cq_multiple_threads |
| 10022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10024 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10025 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10026 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10027 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10028 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10029 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10030 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10031 | PRIVATE third_party/googletest/googletest/include |
| 10032 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10033 | PRIVATE third_party/googletest/googlemock/include |
| 10034 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10035 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10036 | ) |
| 10037 | |
| 10038 | target_link_libraries(bm_cq_multiple_threads |
| 10039 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10040 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10041 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10042 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10043 | grpc++_test_util_unsecure |
| 10044 | grpc_test_util_unsecure |
| 10045 | grpc++_unsecure |
| 10046 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10047 | gpr_test_util |
| 10048 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10049 | grpc++_test_config |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 10050 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10051 | ) |
| 10052 | |
| 10053 | endif() |
| 10054 | endif (gRPC_BUILD_TESTS) |
| 10055 | if (gRPC_BUILD_TESTS) |
| 10056 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10057 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10058 | add_executable(bm_error |
| 10059 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10060 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10061 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10062 | ) |
| 10063 | |
| 10064 | |
| 10065 | target_include_directories(bm_error |
| 10066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10068 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10069 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10070 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10071 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10072 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10073 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10074 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10075 | PRIVATE third_party/googletest/googletest/include |
| 10076 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10077 | PRIVATE third_party/googletest/googlemock/include |
| 10078 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10079 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10080 | ) |
| 10081 | |
| 10082 | target_link_libraries(bm_error |
| 10083 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10084 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10085 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10086 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10087 | grpc++_test_util_unsecure |
| 10088 | grpc_test_util_unsecure |
| 10089 | grpc++_unsecure |
| 10090 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10091 | gpr_test_util |
| 10092 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10093 | grpc++_test_config |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 10094 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10095 | ) |
| 10096 | |
| 10097 | endif() |
| 10098 | endif (gRPC_BUILD_TESTS) |
| 10099 | if (gRPC_BUILD_TESTS) |
| 10100 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10101 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10102 | add_executable(bm_fullstack_streaming_ping_pong |
| 10103 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10104 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10105 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10106 | ) |
| 10107 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10108 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10109 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10110 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10112 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10113 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10114 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10115 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10116 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10117 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10118 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10119 | PRIVATE third_party/googletest/googletest/include |
| 10120 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10121 | PRIVATE third_party/googletest/googlemock/include |
| 10122 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10123 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10124 | ) |
| 10125 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10126 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 10127 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10128 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10129 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10130 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10131 | grpc++_test_util_unsecure |
| 10132 | grpc_test_util_unsecure |
| 10133 | grpc++_unsecure |
| 10134 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10135 | gpr_test_util |
| 10136 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10137 | grpc++_test_config |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10138 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10139 | ) |
| 10140 | |
| 10141 | endif() |
| 10142 | endif (gRPC_BUILD_TESTS) |
| 10143 | if (gRPC_BUILD_TESTS) |
| 10144 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10145 | |
| 10146 | add_executable(bm_fullstack_streaming_pump |
| 10147 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10148 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10149 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10150 | ) |
| 10151 | |
| 10152 | |
| 10153 | target_include_directories(bm_fullstack_streaming_pump |
| 10154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10156 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10157 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10158 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10159 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10160 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10161 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10162 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10163 | PRIVATE third_party/googletest/googletest/include |
| 10164 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10165 | PRIVATE third_party/googletest/googlemock/include |
| 10166 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 10167 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10168 | ) |
| 10169 | |
| 10170 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10171 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10173 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10174 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10175 | grpc++_test_util_unsecure |
| 10176 | grpc_test_util_unsecure |
| 10177 | grpc++_unsecure |
| 10178 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10179 | gpr_test_util |
| 10180 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10181 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10182 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10183 | ) |
| 10184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10185 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10186 | endif (gRPC_BUILD_TESTS) |
| 10187 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10188 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10189 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10190 | add_executable(bm_fullstack_trickle |
| 10191 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10192 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10193 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10194 | ) |
| 10195 | |
| 10196 | |
| 10197 | target_include_directories(bm_fullstack_trickle |
| 10198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10200 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10201 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10202 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10203 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10204 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10205 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10206 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10207 | PRIVATE third_party/googletest/googletest/include |
| 10208 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10209 | PRIVATE third_party/googletest/googlemock/include |
| 10210 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10211 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10212 | ) |
| 10213 | |
| 10214 | target_link_libraries(bm_fullstack_trickle |
| 10215 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10216 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10217 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10218 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10219 | grpc++_test_util_unsecure |
| 10220 | grpc_test_util_unsecure |
| 10221 | grpc++_unsecure |
| 10222 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10223 | gpr_test_util |
| 10224 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 10225 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 10226 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10227 | ) |
| 10228 | |
| 10229 | endif() |
| 10230 | endif (gRPC_BUILD_TESTS) |
| 10231 | if (gRPC_BUILD_TESTS) |
| 10232 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10233 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10234 | add_executable(bm_fullstack_unary_ping_pong |
| 10235 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10236 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10237 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10238 | ) |
| 10239 | |
| 10240 | |
| 10241 | target_include_directories(bm_fullstack_unary_ping_pong |
| 10242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10250 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10251 | PRIVATE third_party/googletest/googletest/include |
| 10252 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10253 | PRIVATE third_party/googletest/googlemock/include |
| 10254 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10255 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10256 | ) |
| 10257 | |
| 10258 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 10259 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10261 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10262 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10263 | grpc++_test_util_unsecure |
| 10264 | grpc_test_util_unsecure |
| 10265 | grpc++_unsecure |
| 10266 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10267 | gpr_test_util |
| 10268 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10269 | grpc++_test_config |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 10270 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10271 | ) |
| 10272 | |
| 10273 | endif() |
| 10274 | endif (gRPC_BUILD_TESTS) |
| 10275 | if (gRPC_BUILD_TESTS) |
| 10276 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10277 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10278 | add_executable(bm_metadata |
| 10279 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10280 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10281 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10282 | ) |
| 10283 | |
| 10284 | |
| 10285 | target_include_directories(bm_metadata |
| 10286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10288 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10289 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10290 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10291 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10292 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10293 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10294 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10295 | PRIVATE third_party/googletest/googletest/include |
| 10296 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10297 | PRIVATE third_party/googletest/googlemock/include |
| 10298 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10299 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10300 | ) |
| 10301 | |
| 10302 | target_link_libraries(bm_metadata |
| 10303 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 10305 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10306 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10307 | grpc++_test_util_unsecure |
| 10308 | grpc_test_util_unsecure |
| 10309 | grpc++_unsecure |
| 10310 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10311 | gpr_test_util |
| 10312 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10313 | grpc++_test_config |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 10314 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10315 | ) |
| 10316 | |
| 10317 | endif() |
| 10318 | endif (gRPC_BUILD_TESTS) |
| 10319 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10320 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10321 | |
| 10322 | add_executable(bm_pollset |
| 10323 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10324 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10325 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10326 | ) |
| 10327 | |
| 10328 | |
| 10329 | target_include_directories(bm_pollset |
| 10330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10332 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10333 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10334 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10335 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10336 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10337 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10338 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10339 | PRIVATE third_party/googletest/googletest/include |
| 10340 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10341 | PRIVATE third_party/googletest/googlemock/include |
| 10342 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10343 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10344 | ) |
| 10345 | |
| 10346 | target_link_libraries(bm_pollset |
| 10347 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10348 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10349 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10350 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 10351 | grpc++_test_util_unsecure |
| 10352 | grpc_test_util_unsecure |
| 10353 | grpc++_unsecure |
| 10354 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10355 | gpr_test_util |
| 10356 | gpr |
ncteisen | 40ec89f | 2018-04-25 12:00:28 -0700 | [diff] [blame] | 10357 | grpc++_test_config |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 10358 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10359 | ) |
| 10360 | |
| 10361 | endif() |
| 10362 | endif (gRPC_BUILD_TESTS) |
| 10363 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10364 | |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 10365 | add_executable(byte_stream_test |
| 10366 | test/core/transport/byte_stream_test.cc |
| 10367 | third_party/googletest/googletest/src/gtest-all.cc |
| 10368 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10369 | ) |
| 10370 | |
| 10371 | |
| 10372 | target_include_directories(byte_stream_test |
| 10373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10375 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10376 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10377 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10378 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10379 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10380 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10381 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 3d8b32d | 2018-03-09 13:25:40 -0800 | [diff] [blame] | 10382 | PRIVATE third_party/googletest/googletest/include |
| 10383 | PRIVATE third_party/googletest/googletest |
| 10384 | PRIVATE third_party/googletest/googlemock/include |
| 10385 | PRIVATE third_party/googletest/googlemock |
| 10386 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10387 | ) |
| 10388 | |
| 10389 | target_link_libraries(byte_stream_test |
| 10390 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10391 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10392 | grpc_test_util |
| 10393 | grpc |
| 10394 | gpr_test_util |
| 10395 | gpr |
| 10396 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10397 | ) |
| 10398 | |
| 10399 | endif (gRPC_BUILD_TESTS) |
| 10400 | if (gRPC_BUILD_TESTS) |
| 10401 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10402 | add_executable(channel_arguments_test |
| 10403 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10404 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10405 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10406 | ) |
| 10407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10409 | target_include_directories(channel_arguments_test |
| 10410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10412 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10413 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10414 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10415 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10416 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10417 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10418 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10419 | PRIVATE third_party/googletest/googletest/include |
| 10420 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10421 | PRIVATE third_party/googletest/googlemock/include |
| 10422 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10423 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10424 | ) |
| 10425 | |
| 10426 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10427 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10429 | grpc++ |
| 10430 | grpc |
| 10431 | gpr |
| 10432 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10433 | ) |
| 10434 | |
| 10435 | endif (gRPC_BUILD_TESTS) |
| 10436 | if (gRPC_BUILD_TESTS) |
| 10437 | |
| 10438 | add_executable(channel_filter_test |
| 10439 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10440 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10441 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10442 | ) |
| 10443 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10445 | target_include_directories(channel_filter_test |
| 10446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10448 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10449 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10450 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10451 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10452 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10453 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10454 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10455 | PRIVATE third_party/googletest/googletest/include |
| 10456 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10457 | PRIVATE third_party/googletest/googlemock/include |
| 10458 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10459 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10460 | ) |
| 10461 | |
| 10462 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10463 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10464 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10465 | grpc++ |
| 10466 | grpc |
| 10467 | gpr |
| 10468 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10469 | ) |
| 10470 | |
| 10471 | endif (gRPC_BUILD_TESTS) |
| 10472 | if (gRPC_BUILD_TESTS) |
| 10473 | |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 10474 | add_executable(channel_trace_test |
| 10475 | test/core/channel/channel_trace_test.cc |
| 10476 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.cc |
| 10477 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.cc |
| 10478 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h |
| 10479 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h |
| 10480 | third_party/googletest/googletest/src/gtest-all.cc |
| 10481 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10482 | ) |
| 10483 | |
| 10484 | protobuf_generate_grpc_cpp( |
| 10485 | src/proto/grpc/channelz/channelz.proto |
| 10486 | ) |
| 10487 | |
| 10488 | target_include_directories(channel_trace_test |
| 10489 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10491 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 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} |
ncteisen | e71c1b8 | 2018-03-26 16:28:21 -0700 | [diff] [blame] | 10497 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 10498 | PRIVATE third_party/googletest/googletest/include |
| 10499 | PRIVATE third_party/googletest/googletest |
| 10500 | PRIVATE third_party/googletest/googlemock/include |
| 10501 | PRIVATE third_party/googletest/googlemock |
| 10502 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10503 | ) |
| 10504 | |
| 10505 | target_link_libraries(channel_trace_test |
| 10506 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10507 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10508 | grpc_test_util |
| 10509 | grpc++_test_util |
| 10510 | grpc++ |
| 10511 | grpc |
| 10512 | gpr_test_util |
| 10513 | gpr |
| 10514 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10515 | ) |
| 10516 | |
| 10517 | endif (gRPC_BUILD_TESTS) |
| 10518 | if (gRPC_BUILD_TESTS) |
| 10519 | |
ncteisen | 16b42ca | 2018-05-11 11:59:38 -0400 | [diff] [blame] | 10520 | add_executable(channelz_registry_test |
| 10521 | test/core/channel/channelz_registry_test.cc |
| 10522 | third_party/googletest/googletest/src/gtest-all.cc |
| 10523 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10524 | ) |
| 10525 | |
| 10526 | |
| 10527 | target_include_directories(channelz_registry_test |
| 10528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10530 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 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} |
| 10536 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 10537 | PRIVATE third_party/googletest/googletest/include |
| 10538 | PRIVATE third_party/googletest/googletest |
| 10539 | PRIVATE third_party/googletest/googlemock/include |
| 10540 | PRIVATE third_party/googletest/googlemock |
| 10541 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10542 | ) |
| 10543 | |
| 10544 | target_link_libraries(channelz_registry_test |
| 10545 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10547 | grpc_test_util |
| 10548 | grpc++_test_util |
| 10549 | grpc++ |
| 10550 | grpc |
| 10551 | gpr_test_util |
| 10552 | gpr |
| 10553 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10554 | ) |
| 10555 | |
| 10556 | endif (gRPC_BUILD_TESTS) |
| 10557 | if (gRPC_BUILD_TESTS) |
| 10558 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 10559 | add_executable(check_gcp_environment_linux_test |
| 10560 | test/core/security/check_gcp_environment_linux_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(check_gcp_environment_linux_test |
| 10567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10569 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10575 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 10576 | PRIVATE third_party/googletest/googletest/include |
| 10577 | PRIVATE third_party/googletest/googletest |
| 10578 | PRIVATE third_party/googletest/googlemock/include |
| 10579 | PRIVATE third_party/googletest/googlemock |
| 10580 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10581 | ) |
| 10582 | |
| 10583 | target_link_libraries(check_gcp_environment_linux_test |
| 10584 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10585 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10586 | grpc |
| 10587 | gpr |
| 10588 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10589 | ) |
| 10590 | |
| 10591 | endif (gRPC_BUILD_TESTS) |
| 10592 | if (gRPC_BUILD_TESTS) |
| 10593 | |
| 10594 | add_executable(check_gcp_environment_windows_test |
| 10595 | test/core/security/check_gcp_environment_windows_test.cc |
| 10596 | third_party/googletest/googletest/src/gtest-all.cc |
| 10597 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10598 | ) |
| 10599 | |
| 10600 | |
| 10601 | target_include_directories(check_gcp_environment_windows_test |
| 10602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10604 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10605 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10606 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10607 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10608 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10609 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10610 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 10611 | PRIVATE third_party/googletest/googletest/include |
| 10612 | PRIVATE third_party/googletest/googletest |
| 10613 | PRIVATE third_party/googletest/googlemock/include |
| 10614 | PRIVATE third_party/googletest/googlemock |
| 10615 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10616 | ) |
| 10617 | |
| 10618 | target_link_libraries(check_gcp_environment_windows_test |
| 10619 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10621 | grpc |
| 10622 | gpr |
| 10623 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10624 | ) |
| 10625 | |
| 10626 | endif (gRPC_BUILD_TESTS) |
| 10627 | if (gRPC_BUILD_TESTS) |
| 10628 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 10629 | add_executable(chttp2_settings_timeout_test |
| 10630 | test/core/transport/chttp2/settings_timeout_test.cc |
| 10631 | third_party/googletest/googletest/src/gtest-all.cc |
| 10632 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10633 | ) |
| 10634 | |
| 10635 | |
| 10636 | target_include_directories(chttp2_settings_timeout_test |
| 10637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10639 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10640 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10641 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10642 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10643 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10644 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10645 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 10646 | PRIVATE third_party/googletest/googletest/include |
| 10647 | PRIVATE third_party/googletest/googletest |
| 10648 | PRIVATE third_party/googletest/googlemock/include |
| 10649 | PRIVATE third_party/googletest/googlemock |
| 10650 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10651 | ) |
| 10652 | |
| 10653 | target_link_libraries(chttp2_settings_timeout_test |
| 10654 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10655 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10656 | grpc_test_util |
| 10657 | grpc |
| 10658 | gpr_test_util |
| 10659 | gpr |
| 10660 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10661 | ) |
| 10662 | |
| 10663 | endif (gRPC_BUILD_TESTS) |
| 10664 | if (gRPC_BUILD_TESTS) |
| 10665 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10666 | add_executable(cli_call_test |
| 10667 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10668 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10669 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10670 | ) |
| 10671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10673 | target_include_directories(cli_call_test |
| 10674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10677 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10678 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10679 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10680 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10681 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10682 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10683 | PRIVATE third_party/googletest/googletest/include |
| 10684 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10685 | PRIVATE third_party/googletest/googlemock/include |
| 10686 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10687 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10688 | ) |
| 10689 | |
| 10690 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10691 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10693 | grpc_cli_libs |
| 10694 | grpc++_test_util |
| 10695 | grpc_test_util |
| 10696 | grpc++ |
| 10697 | grpc |
| 10698 | gpr_test_util |
| 10699 | gpr |
| 10700 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10701 | ) |
| 10702 | |
| 10703 | endif (gRPC_BUILD_TESTS) |
| 10704 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 10705 | |
| 10706 | add_executable(client_channel_stress_test |
| 10707 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10708 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10709 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10710 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10711 | test/cpp/client/client_channel_stress_test.cc |
| 10712 | third_party/googletest/googletest/src/gtest-all.cc |
| 10713 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10714 | ) |
| 10715 | |
| 10716 | protobuf_generate_grpc_cpp( |
| 10717 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10718 | ) |
| 10719 | |
| 10720 | target_include_directories(client_channel_stress_test |
| 10721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10723 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10724 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10725 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10726 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10727 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10728 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10729 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 10730 | PRIVATE third_party/googletest/googletest/include |
| 10731 | PRIVATE third_party/googletest/googletest |
| 10732 | PRIVATE third_party/googletest/googlemock/include |
| 10733 | PRIVATE third_party/googletest/googlemock |
| 10734 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10735 | ) |
| 10736 | |
| 10737 | target_link_libraries(client_channel_stress_test |
| 10738 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10739 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10740 | grpc++_test_util |
| 10741 | grpc_test_util |
| 10742 | grpc++ |
| 10743 | grpc |
| 10744 | gpr_test_util |
| 10745 | gpr |
| 10746 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10747 | ) |
| 10748 | |
| 10749 | endif (gRPC_BUILD_TESTS) |
| 10750 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10751 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10752 | |
| 10753 | add_executable(client_crash_test |
| 10754 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10755 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10756 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10757 | ) |
| 10758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10760 | target_include_directories(client_crash_test |
| 10761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10763 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10764 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10765 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10766 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10767 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10768 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10769 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10770 | PRIVATE third_party/googletest/googletest/include |
| 10771 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10772 | PRIVATE third_party/googletest/googlemock/include |
| 10773 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10774 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10775 | ) |
| 10776 | |
| 10777 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10778 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10779 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10780 | grpc++_test_util |
| 10781 | grpc_test_util |
| 10782 | grpc++ |
| 10783 | grpc |
| 10784 | gpr_test_util |
| 10785 | gpr |
| 10786 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10787 | ) |
| 10788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10789 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10790 | endif (gRPC_BUILD_TESTS) |
| 10791 | if (gRPC_BUILD_TESTS) |
| 10792 | |
| 10793 | add_executable(client_crash_test_server |
| 10794 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10795 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10796 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10797 | ) |
| 10798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10800 | target_include_directories(client_crash_test_server |
| 10801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10804 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10805 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10806 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10807 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10808 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10809 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10810 | PRIVATE third_party/googletest/googletest/include |
| 10811 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10812 | PRIVATE third_party/googletest/googlemock/include |
| 10813 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10814 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10815 | ) |
| 10816 | |
| 10817 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10818 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10820 | grpc++_test_util |
| 10821 | grpc_test_util |
| 10822 | grpc++ |
| 10823 | grpc |
| 10824 | gpr_test_util |
| 10825 | gpr |
| 10826 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10827 | ) |
| 10828 | |
| 10829 | endif (gRPC_BUILD_TESTS) |
| 10830 | if (gRPC_BUILD_TESTS) |
| 10831 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10832 | add_executable(client_lb_end2end_test |
| 10833 | test/cpp/end2end/client_lb_end2end_test.cc |
| 10834 | third_party/googletest/googletest/src/gtest-all.cc |
| 10835 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10836 | ) |
| 10837 | |
| 10838 | |
| 10839 | target_include_directories(client_lb_end2end_test |
| 10840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10842 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10843 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10844 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10845 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10846 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10847 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10848 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10849 | PRIVATE third_party/googletest/googletest/include |
| 10850 | PRIVATE third_party/googletest/googletest |
| 10851 | PRIVATE third_party/googletest/googlemock/include |
| 10852 | PRIVATE third_party/googletest/googlemock |
| 10853 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10854 | ) |
| 10855 | |
| 10856 | target_link_libraries(client_lb_end2end_test |
| 10857 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10858 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10859 | grpc++_test_util |
| 10860 | grpc_test_util |
| 10861 | grpc++ |
| 10862 | grpc |
| 10863 | gpr_test_util |
| 10864 | gpr |
| 10865 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10866 | ) |
| 10867 | |
| 10868 | endif (gRPC_BUILD_TESTS) |
| 10869 | if (gRPC_BUILD_TESTS) |
| 10870 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10871 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10874 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10875 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10876 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10877 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10878 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10879 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10880 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10881 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10882 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10883 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 10884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 10885 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 10886 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 10887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 10888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 10889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 10890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 10891 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 10892 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 10893 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 10894 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 10895 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10896 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10897 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10898 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10899 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10900 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10901 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10902 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10903 | ) |
| 10904 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10905 | protobuf_generate_grpc_cpp( |
| 10906 | src/proto/grpc/testing/control.proto |
| 10907 | ) |
| 10908 | protobuf_generate_grpc_cpp( |
| 10909 | src/proto/grpc/testing/messages.proto |
| 10910 | ) |
| 10911 | protobuf_generate_grpc_cpp( |
| 10912 | src/proto/grpc/testing/payloads.proto |
| 10913 | ) |
| 10914 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 10915 | src/proto/grpc/testing/benchmark_service.proto |
| 10916 | ) |
| 10917 | protobuf_generate_grpc_cpp( |
| 10918 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 10919 | ) |
| 10920 | protobuf_generate_grpc_cpp( |
| 10921 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10922 | ) |
| 10923 | protobuf_generate_grpc_cpp( |
| 10924 | src/proto/grpc/testing/stats.proto |
| 10925 | ) |
| 10926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10927 | target_include_directories(codegen_test_full |
| 10928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10930 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10931 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10932 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10933 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10934 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10935 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 10936 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10937 | PRIVATE third_party/googletest/googletest/include |
| 10938 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10939 | PRIVATE third_party/googletest/googlemock/include |
| 10940 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10941 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10942 | ) |
| 10943 | |
| 10944 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10945 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 10947 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10948 | grpc++ |
| 10949 | grpc |
| 10950 | gpr |
| 10951 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10952 | ) |
| 10953 | |
| 10954 | endif (gRPC_BUILD_TESTS) |
| 10955 | if (gRPC_BUILD_TESTS) |
| 10956 | |
| 10957 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10958 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10959 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10960 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10962 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10963 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10965 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10967 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10968 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10969 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 10970 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.cc |
| 10971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.cc |
| 10972 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.pb.h |
| 10973 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/benchmark_service.grpc.pb.h |
| 10974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.cc |
| 10975 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.cc |
| 10976 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.pb.h |
| 10977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/report_qps_scenario_service.grpc.pb.h |
| 10978 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.cc |
| 10979 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.cc |
| 10980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.pb.h |
| 10981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/worker_service.grpc.pb.h |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10984 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10985 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10986 | test/cpp/codegen/codegen_test_minimal.cc |
| 10987 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10988 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10989 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10990 | ) |
| 10991 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10992 | protobuf_generate_grpc_cpp( |
| 10993 | src/proto/grpc/testing/control.proto |
| 10994 | ) |
| 10995 | protobuf_generate_grpc_cpp( |
| 10996 | src/proto/grpc/testing/messages.proto |
| 10997 | ) |
| 10998 | protobuf_generate_grpc_cpp( |
| 10999 | src/proto/grpc/testing/payloads.proto |
| 11000 | ) |
| 11001 | protobuf_generate_grpc_cpp( |
kpayson64 | 7a20c96 | 2018-04-18 15:19:55 -0700 | [diff] [blame] | 11002 | src/proto/grpc/testing/benchmark_service.proto |
| 11003 | ) |
| 11004 | protobuf_generate_grpc_cpp( |
| 11005 | src/proto/grpc/testing/report_qps_scenario_service.proto |
| 11006 | ) |
| 11007 | protobuf_generate_grpc_cpp( |
| 11008 | src/proto/grpc/testing/worker_service.proto |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11009 | ) |
| 11010 | protobuf_generate_grpc_cpp( |
| 11011 | src/proto/grpc/testing/stats.proto |
| 11012 | ) |
| 11013 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11014 | target_include_directories(codegen_test_minimal |
| 11015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11017 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11018 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11019 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11020 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11021 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11022 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11023 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11024 | PRIVATE third_party/googletest/googletest/include |
| 11025 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11026 | PRIVATE third_party/googletest/googlemock/include |
| 11027 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11028 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11029 | ) |
| 11030 | |
| 11031 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11032 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11033 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11034 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 11035 | grpc |
| 11036 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11037 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11038 | ) |
| 11039 | |
| 11040 | endif (gRPC_BUILD_TESTS) |
| 11041 | if (gRPC_BUILD_TESTS) |
| 11042 | |
| 11043 | add_executable(credentials_test |
| 11044 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11045 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11046 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11047 | ) |
| 11048 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11049 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11050 | target_include_directories(credentials_test |
| 11051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11053 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11054 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11055 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11056 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11057 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11058 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11059 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11060 | PRIVATE third_party/googletest/googletest/include |
| 11061 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11062 | PRIVATE third_party/googletest/googlemock/include |
| 11063 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11064 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11065 | ) |
| 11066 | |
| 11067 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11068 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11070 | grpc++ |
| 11071 | grpc |
| 11072 | gpr |
| 11073 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11074 | ) |
| 11075 | |
| 11076 | endif (gRPC_BUILD_TESTS) |
| 11077 | if (gRPC_BUILD_TESTS) |
| 11078 | |
| 11079 | add_executable(cxx_byte_buffer_test |
| 11080 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11081 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11082 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11083 | ) |
| 11084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11085 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11086 | target_include_directories(cxx_byte_buffer_test |
| 11087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11088 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11089 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11090 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11091 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11092 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11093 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11094 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11095 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11096 | PRIVATE third_party/googletest/googletest/include |
| 11097 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11098 | PRIVATE third_party/googletest/googlemock/include |
| 11099 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11100 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11101 | ) |
| 11102 | |
| 11103 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11104 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11106 | grpc_test_util |
| 11107 | grpc++ |
| 11108 | grpc |
| 11109 | gpr_test_util |
| 11110 | gpr |
| 11111 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11112 | ) |
| 11113 | |
| 11114 | endif (gRPC_BUILD_TESTS) |
| 11115 | if (gRPC_BUILD_TESTS) |
| 11116 | |
| 11117 | add_executable(cxx_slice_test |
| 11118 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11119 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11120 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11121 | ) |
| 11122 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11123 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11124 | target_include_directories(cxx_slice_test |
| 11125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11127 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11128 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11129 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11130 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11131 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11132 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11133 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11134 | PRIVATE third_party/googletest/googletest/include |
| 11135 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11136 | PRIVATE third_party/googletest/googlemock/include |
| 11137 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11138 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11139 | ) |
| 11140 | |
| 11141 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11142 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11144 | grpc_test_util |
| 11145 | grpc++ |
| 11146 | grpc |
| 11147 | gpr_test_util |
| 11148 | gpr |
| 11149 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11150 | ) |
| 11151 | |
| 11152 | endif (gRPC_BUILD_TESTS) |
| 11153 | if (gRPC_BUILD_TESTS) |
| 11154 | |
| 11155 | add_executable(cxx_string_ref_test |
| 11156 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11157 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11158 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11159 | ) |
| 11160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11161 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11162 | target_include_directories(cxx_string_ref_test |
| 11163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11166 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11167 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11168 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11169 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11170 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11171 | PRIVATE ${_gRPC_ADDRESS_SORTING_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(cxx_string_ref_test |
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 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 11183 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11184 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11185 | ) |
| 11186 | |
| 11187 | endif (gRPC_BUILD_TESTS) |
| 11188 | if (gRPC_BUILD_TESTS) |
| 11189 | |
| 11190 | add_executable(cxx_time_test |
| 11191 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11192 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11193 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11194 | ) |
| 11195 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11196 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11197 | target_include_directories(cxx_time_test |
| 11198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11200 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11201 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11202 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11203 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11204 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11205 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11206 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11207 | PRIVATE third_party/googletest/googletest/include |
| 11208 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11209 | PRIVATE third_party/googletest/googlemock/include |
| 11210 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11211 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11212 | ) |
| 11213 | |
| 11214 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11215 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11216 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11217 | grpc_test_util |
| 11218 | grpc++ |
| 11219 | grpc |
| 11220 | gpr_test_util |
| 11221 | gpr |
| 11222 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11223 | ) |
| 11224 | |
| 11225 | endif (gRPC_BUILD_TESTS) |
| 11226 | if (gRPC_BUILD_TESTS) |
| 11227 | |
| 11228 | add_executable(end2end_test |
| 11229 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11230 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11231 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11232 | ) |
| 11233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11234 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11235 | target_include_directories(end2end_test |
| 11236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11238 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11239 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11240 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11241 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11242 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11243 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11244 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11245 | PRIVATE third_party/googletest/googletest/include |
| 11246 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11247 | PRIVATE third_party/googletest/googlemock/include |
| 11248 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11249 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11250 | ) |
| 11251 | |
| 11252 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11253 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11254 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11255 | grpc++_test_util |
| 11256 | grpc_test_util |
| 11257 | grpc++ |
| 11258 | grpc |
| 11259 | gpr_test_util |
| 11260 | gpr |
| 11261 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11262 | ) |
| 11263 | |
| 11264 | endif (gRPC_BUILD_TESTS) |
| 11265 | if (gRPC_BUILD_TESTS) |
| 11266 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11267 | add_executable(error_details_test |
| 11268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11271 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11272 | test/cpp/util/error_details_test.cc |
| 11273 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11274 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11275 | ) |
| 11276 | |
| 11277 | protobuf_generate_grpc_cpp( |
| 11278 | src/proto/grpc/testing/echo_messages.proto |
| 11279 | ) |
| 11280 | |
| 11281 | target_include_directories(error_details_test |
| 11282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11283 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11284 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11285 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11286 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11287 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11288 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11289 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11290 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11291 | PRIVATE third_party/googletest/googletest/include |
| 11292 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11293 | PRIVATE third_party/googletest/googlemock/include |
| 11294 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 11295 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11296 | ) |
| 11297 | |
| 11298 | target_link_libraries(error_details_test |
| 11299 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11301 | grpc++_error_details |
| 11302 | grpc++ |
| 11303 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11304 | ) |
| 11305 | |
| 11306 | endif (gRPC_BUILD_TESTS) |
| 11307 | if (gRPC_BUILD_TESTS) |
| 11308 | |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 11309 | add_executable(exception_test |
| 11310 | test/cpp/end2end/exception_test.cc |
| 11311 | third_party/googletest/googletest/src/gtest-all.cc |
| 11312 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11313 | ) |
| 11314 | |
| 11315 | |
| 11316 | target_include_directories(exception_test |
| 11317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11319 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11320 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11321 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11322 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11323 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11324 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11325 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 11326 | PRIVATE third_party/googletest/googletest/include |
| 11327 | PRIVATE third_party/googletest/googletest |
| 11328 | PRIVATE third_party/googletest/googlemock/include |
| 11329 | PRIVATE third_party/googletest/googlemock |
| 11330 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11331 | ) |
| 11332 | |
| 11333 | target_link_libraries(exception_test |
| 11334 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11336 | grpc++_test_util |
| 11337 | grpc_test_util |
| 11338 | grpc++ |
| 11339 | grpc |
| 11340 | gpr_test_util |
| 11341 | gpr |
| 11342 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11343 | ) |
| 11344 | |
| 11345 | endif (gRPC_BUILD_TESTS) |
| 11346 | if (gRPC_BUILD_TESTS) |
| 11347 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11348 | add_executable(filter_end2end_test |
| 11349 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11350 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11351 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11352 | ) |
| 11353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11355 | target_include_directories(filter_end2end_test |
| 11356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11358 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11359 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11360 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11361 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11362 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11363 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11364 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11365 | PRIVATE third_party/googletest/googletest/include |
| 11366 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11367 | PRIVATE third_party/googletest/googlemock/include |
| 11368 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11369 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11370 | ) |
| 11371 | |
| 11372 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11373 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11374 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11375 | grpc++_test_util |
| 11376 | grpc_test_util |
| 11377 | grpc++ |
| 11378 | grpc |
| 11379 | gpr_test_util |
| 11380 | gpr |
| 11381 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11382 | ) |
| 11383 | |
| 11384 | endif (gRPC_BUILD_TESTS) |
| 11385 | if (gRPC_BUILD_TESTS) |
| 11386 | |
| 11387 | add_executable(generic_end2end_test |
| 11388 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11389 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11390 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11391 | ) |
| 11392 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11393 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11394 | target_include_directories(generic_end2end_test |
| 11395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11397 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11398 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11399 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11400 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11401 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11402 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11403 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11404 | PRIVATE third_party/googletest/googletest/include |
| 11405 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11406 | PRIVATE third_party/googletest/googlemock/include |
| 11407 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11408 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11409 | ) |
| 11410 | |
| 11411 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11412 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11413 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11414 | grpc++_test_util |
| 11415 | grpc_test_util |
| 11416 | grpc++ |
| 11417 | grpc |
| 11418 | gpr_test_util |
| 11419 | gpr |
| 11420 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11421 | ) |
| 11422 | |
| 11423 | endif (gRPC_BUILD_TESTS) |
| 11424 | if (gRPC_BUILD_TESTS) |
| 11425 | |
| 11426 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11427 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 11428 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 11429 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 11430 | ${_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] | 11431 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11432 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11433 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11434 | ) |
| 11435 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11436 | protobuf_generate_grpc_cpp( |
| 11437 | src/proto/grpc/testing/compiler_test.proto |
| 11438 | ) |
| 11439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11440 | target_include_directories(golden_file_test |
| 11441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11444 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11445 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11446 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11447 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11448 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11449 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11450 | PRIVATE third_party/googletest/googletest/include |
| 11451 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11452 | PRIVATE third_party/googletest/googlemock/include |
| 11453 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11454 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11455 | ) |
| 11456 | |
| 11457 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11458 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11459 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11460 | grpc++ |
| 11461 | grpc |
| 11462 | gpr |
| 11463 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11464 | ) |
| 11465 | |
| 11466 | endif (gRPC_BUILD_TESTS) |
| 11467 | if (gRPC_BUILD_TESTS) |
| 11468 | |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11469 | add_executable(grpc_alts_credentials_options_test |
| 11470 | test/core/security/grpc_alts_credentials_options_test.cc |
| 11471 | third_party/googletest/googletest/src/gtest-all.cc |
| 11472 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11473 | ) |
| 11474 | |
| 11475 | |
| 11476 | target_include_directories(grpc_alts_credentials_options_test |
| 11477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11479 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11480 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11481 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11482 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11483 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11484 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11485 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 11486 | PRIVATE third_party/googletest/googletest/include |
| 11487 | PRIVATE third_party/googletest/googletest |
| 11488 | PRIVATE third_party/googletest/googlemock/include |
| 11489 | PRIVATE third_party/googletest/googlemock |
| 11490 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11491 | ) |
| 11492 | |
| 11493 | target_link_libraries(grpc_alts_credentials_options_test |
| 11494 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11496 | grpc |
| 11497 | gpr |
| 11498 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11499 | ) |
| 11500 | |
| 11501 | endif (gRPC_BUILD_TESTS) |
| 11502 | if (gRPC_BUILD_TESTS) |
| 11503 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11504 | add_executable(grpc_cli |
| 11505 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11506 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11507 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11508 | ) |
| 11509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11511 | target_include_directories(grpc_cli |
| 11512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11514 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11515 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11516 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11517 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11518 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11519 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11520 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11521 | PRIVATE third_party/googletest/googletest/include |
| 11522 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11523 | PRIVATE third_party/googletest/googlemock/include |
| 11524 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11525 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11526 | ) |
| 11527 | |
| 11528 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11529 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11530 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11531 | grpc_cli_libs |
| 11532 | grpc++_proto_reflection_desc_db |
| 11533 | grpc++ |
| 11534 | grpc |
| 11535 | gpr |
| 11536 | grpc++_test_config |
| 11537 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11538 | ) |
| 11539 | |
| 11540 | endif (gRPC_BUILD_TESTS) |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11541 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11542 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11543 | add_executable(grpc_cpp_plugin |
| 11544 | src/compiler/cpp_plugin.cc |
| 11545 | ) |
| 11546 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11547 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11548 | target_include_directories(grpc_cpp_plugin |
| 11549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11551 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11552 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11553 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11554 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11555 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11556 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11557 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11558 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11559 | ) |
| 11560 | |
| 11561 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11562 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11563 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11564 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11565 | grpc_plugin_support |
| 11566 | ) |
| 11567 | |
| 11568 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11569 | if (gRPC_INSTALL) |
| 11570 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11571 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11572 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11573 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11574 | ) |
| 11575 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11576 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11577 | endif (gRPC_BUILD_CODEGEN) |
| 11578 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11579 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11580 | add_executable(grpc_csharp_plugin |
| 11581 | src/compiler/csharp_plugin.cc |
| 11582 | ) |
| 11583 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11584 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11585 | target_include_directories(grpc_csharp_plugin |
| 11586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11588 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11589 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11590 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11591 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11592 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11593 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11594 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11595 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11596 | ) |
| 11597 | |
| 11598 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11599 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11600 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11601 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11602 | grpc_plugin_support |
| 11603 | ) |
| 11604 | |
| 11605 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11606 | if (gRPC_INSTALL) |
| 11607 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11608 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11609 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11610 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11611 | ) |
| 11612 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11613 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11614 | endif (gRPC_BUILD_CODEGEN) |
| 11615 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11616 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11617 | add_executable(grpc_node_plugin |
| 11618 | src/compiler/node_plugin.cc |
| 11619 | ) |
| 11620 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11621 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11622 | target_include_directories(grpc_node_plugin |
| 11623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11624 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11625 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11626 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11627 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11628 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11629 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11630 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11631 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11632 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11633 | ) |
| 11634 | |
| 11635 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11636 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11637 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11638 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11639 | grpc_plugin_support |
| 11640 | ) |
| 11641 | |
| 11642 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11643 | if (gRPC_INSTALL) |
| 11644 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11645 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11646 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11647 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11648 | ) |
| 11649 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11650 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11651 | endif (gRPC_BUILD_CODEGEN) |
| 11652 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11653 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11654 | add_executable(grpc_objective_c_plugin |
| 11655 | src/compiler/objective_c_plugin.cc |
| 11656 | ) |
| 11657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11658 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11659 | target_include_directories(grpc_objective_c_plugin |
| 11660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11662 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11663 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11664 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11665 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11666 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11667 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11668 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11669 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11670 | ) |
| 11671 | |
| 11672 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11673 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11674 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11675 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11676 | grpc_plugin_support |
| 11677 | ) |
| 11678 | |
| 11679 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11680 | if (gRPC_INSTALL) |
| 11681 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11682 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11683 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11684 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11685 | ) |
| 11686 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11687 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11688 | endif (gRPC_BUILD_CODEGEN) |
| 11689 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11690 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11691 | add_executable(grpc_php_plugin |
| 11692 | src/compiler/php_plugin.cc |
| 11693 | ) |
| 11694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11695 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11696 | target_include_directories(grpc_php_plugin |
| 11697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11699 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11700 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11701 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11702 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11703 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11704 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11705 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11707 | ) |
| 11708 | |
| 11709 | target_link_libraries(grpc_php_plugin |
| 11710 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11711 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11713 | grpc_plugin_support |
| 11714 | ) |
| 11715 | |
| 11716 | |
| 11717 | if (gRPC_INSTALL) |
| 11718 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11719 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11720 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11721 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11722 | ) |
| 11723 | endif() |
| 11724 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11725 | endif (gRPC_BUILD_CODEGEN) |
| 11726 | if (gRPC_BUILD_CODEGEN) |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11727 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11728 | add_executable(grpc_python_plugin |
| 11729 | src/compiler/python_plugin.cc |
| 11730 | ) |
| 11731 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11732 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11733 | target_include_directories(grpc_python_plugin |
| 11734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11736 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11737 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11738 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11739 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11740 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11741 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11742 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11743 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11744 | ) |
| 11745 | |
| 11746 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11747 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11748 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11750 | grpc_plugin_support |
| 11751 | ) |
| 11752 | |
| 11753 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11754 | if (gRPC_INSTALL) |
| 11755 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11756 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11757 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11758 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11759 | ) |
| 11760 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11761 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11762 | endif (gRPC_BUILD_CODEGEN) |
| 11763 | if (gRPC_BUILD_CODEGEN) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 11764 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11765 | add_executable(grpc_ruby_plugin |
| 11766 | src/compiler/ruby_plugin.cc |
| 11767 | ) |
| 11768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11769 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11770 | target_include_directories(grpc_ruby_plugin |
| 11771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11773 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11774 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11775 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11776 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11777 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11778 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11779 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11780 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11781 | ) |
| 11782 | |
| 11783 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 11784 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11785 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11787 | grpc_plugin_support |
| 11788 | ) |
| 11789 | |
| 11790 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11791 | if (gRPC_INSTALL) |
| 11792 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 11793 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 11794 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 11795 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 11796 | ) |
| 11797 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11798 | |
Eric Gribkoff | a32a4c5 | 2018-01-25 13:16:41 -0800 | [diff] [blame] | 11799 | endif (gRPC_BUILD_CODEGEN) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11800 | if (gRPC_BUILD_TESTS) |
| 11801 | |
| 11802 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11803 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11804 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11805 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11806 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11807 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11808 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11810 | ${_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] | 11811 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11812 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11813 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11814 | ) |
| 11815 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11816 | protobuf_generate_grpc_cpp( |
| 11817 | src/proto/grpc/testing/echo.proto |
| 11818 | ) |
| 11819 | protobuf_generate_grpc_cpp( |
| 11820 | src/proto/grpc/testing/echo_messages.proto |
| 11821 | ) |
| 11822 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11823 | target_include_directories(grpc_tool_test |
| 11824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11826 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11827 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11828 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11829 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11830 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11831 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11832 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11833 | PRIVATE third_party/googletest/googletest/include |
| 11834 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11835 | PRIVATE third_party/googletest/googlemock/include |
| 11836 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11837 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11838 | ) |
| 11839 | |
| 11840 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11841 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11843 | grpc_cli_libs |
| 11844 | grpc++_proto_reflection_desc_db |
| 11845 | grpc++_reflection |
| 11846 | grpc++_test_util |
| 11847 | grpc_test_util |
| 11848 | grpc++ |
| 11849 | grpc |
| 11850 | gpr_test_util |
| 11851 | gpr |
| 11852 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11853 | ) |
| 11854 | |
| 11855 | endif (gRPC_BUILD_TESTS) |
| 11856 | if (gRPC_BUILD_TESTS) |
| 11857 | |
| 11858 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11862 | ${_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] | 11863 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11864 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11865 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11866 | ) |
| 11867 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11868 | protobuf_generate_grpc_cpp( |
| 11869 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11870 | ) |
| 11871 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11872 | target_include_directories(grpclb_api_test |
| 11873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11875 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11876 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11877 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11878 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11879 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11880 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11881 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11882 | PRIVATE third_party/googletest/googletest/include |
| 11883 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11884 | PRIVATE third_party/googletest/googlemock/include |
| 11885 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11886 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11887 | ) |
| 11888 | |
| 11889 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11890 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11892 | grpc++_test_util |
| 11893 | grpc_test_util |
| 11894 | grpc++ |
| 11895 | grpc |
| 11896 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11897 | ) |
| 11898 | |
| 11899 | endif (gRPC_BUILD_TESTS) |
| 11900 | if (gRPC_BUILD_TESTS) |
| 11901 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11902 | add_executable(grpclb_end2end_test |
| 11903 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11904 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11905 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11906 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 11907 | test/cpp/end2end/grpclb_end2end_test.cc |
| 11908 | third_party/googletest/googletest/src/gtest-all.cc |
| 11909 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11910 | ) |
| 11911 | |
| 11912 | protobuf_generate_grpc_cpp( |
| 11913 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11914 | ) |
| 11915 | |
| 11916 | target_include_directories(grpclb_end2end_test |
| 11917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11919 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11920 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11921 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11922 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11923 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11924 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11925 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11926 | PRIVATE third_party/googletest/googletest/include |
| 11927 | PRIVATE third_party/googletest/googletest |
| 11928 | PRIVATE third_party/googletest/googlemock/include |
| 11929 | PRIVATE third_party/googletest/googlemock |
| 11930 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11931 | ) |
| 11932 | |
| 11933 | target_link_libraries(grpclb_end2end_test |
| 11934 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11935 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11936 | grpc++_test_util |
| 11937 | grpc_test_util |
| 11938 | grpc++ |
| 11939 | grpc |
| 11940 | gpr_test_util |
| 11941 | gpr |
| 11942 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11943 | ) |
| 11944 | |
| 11945 | endif (gRPC_BUILD_TESTS) |
| 11946 | if (gRPC_BUILD_TESTS) |
| 11947 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 11948 | add_executable(h2_ssl_cert_test |
| 11949 | test/core/end2end/h2_ssl_cert_test.cc |
| 11950 | third_party/googletest/googletest/src/gtest-all.cc |
| 11951 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11952 | ) |
| 11953 | |
| 11954 | |
| 11955 | target_include_directories(h2_ssl_cert_test |
| 11956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11957 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11958 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11959 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11960 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11961 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11962 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11963 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 11964 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 11965 | PRIVATE third_party/googletest/googletest/include |
| 11966 | PRIVATE third_party/googletest/googletest |
| 11967 | PRIVATE third_party/googletest/googlemock/include |
| 11968 | PRIVATE third_party/googletest/googlemock |
| 11969 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11970 | ) |
| 11971 | |
| 11972 | target_link_libraries(h2_ssl_cert_test |
| 11973 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11974 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11975 | grpc_test_util |
| 11976 | grpc++ |
| 11977 | grpc |
| 11978 | gpr_test_util |
| 11979 | gpr |
| 11980 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11981 | ) |
| 11982 | |
| 11983 | endif (gRPC_BUILD_TESTS) |
| 11984 | if (gRPC_BUILD_TESTS) |
| 11985 | |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 11986 | add_executable(h2_ssl_session_reuse_test |
| 11987 | test/core/end2end/h2_ssl_session_reuse_test.cc |
| 11988 | third_party/googletest/googletest/src/gtest-all.cc |
| 11989 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11990 | ) |
| 11991 | |
| 11992 | |
| 11993 | target_include_directories(h2_ssl_session_reuse_test |
| 11994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11996 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11997 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11998 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11999 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12000 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12001 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | ee2ad09 | 2018-03-20 23:54:52 -0700 | [diff] [blame] | 12002 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ruslan Nigmatullin | 99d0cee | 2018-03-20 09:18:29 -0700 | [diff] [blame] | 12003 | PRIVATE third_party/googletest/googletest/include |
| 12004 | PRIVATE third_party/googletest/googletest |
| 12005 | PRIVATE third_party/googletest/googlemock/include |
| 12006 | PRIVATE third_party/googletest/googlemock |
| 12007 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12008 | ) |
| 12009 | |
| 12010 | target_link_libraries(h2_ssl_session_reuse_test |
| 12011 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12013 | grpc_test_util |
| 12014 | grpc++ |
| 12015 | grpc |
| 12016 | gpr_test_util |
| 12017 | gpr |
| 12018 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12019 | ) |
| 12020 | |
| 12021 | endif (gRPC_BUILD_TESTS) |
| 12022 | if (gRPC_BUILD_TESTS) |
| 12023 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12024 | add_executable(health_service_end2end_test |
| 12025 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12026 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12027 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12028 | ) |
| 12029 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12030 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12031 | target_include_directories(health_service_end2end_test |
| 12032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12034 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12035 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12036 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12037 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12038 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12039 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12040 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12041 | PRIVATE third_party/googletest/googletest/include |
| 12042 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12043 | PRIVATE third_party/googletest/googlemock/include |
| 12044 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12045 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12046 | ) |
| 12047 | |
| 12048 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 12049 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12050 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 12051 | grpc++_test_util |
| 12052 | grpc_test_util |
| 12053 | grpc++ |
| 12054 | grpc |
| 12055 | gpr_test_util |
| 12056 | gpr |
| 12057 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12058 | ) |
| 12059 | |
| 12060 | endif (gRPC_BUILD_TESTS) |
| 12061 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12062 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12063 | |
| 12064 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12065 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12066 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12067 | ) |
| 12068 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12069 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12070 | target_include_directories(http2_client |
| 12071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12073 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12074 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12075 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12076 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12077 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12078 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12079 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12080 | PRIVATE third_party/googletest/googletest/include |
| 12081 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12082 | PRIVATE third_party/googletest/googlemock/include |
| 12083 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12084 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12085 | ) |
| 12086 | |
| 12087 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12088 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12089 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12090 | http2_client_main |
| 12091 | grpc++_test_util |
| 12092 | grpc_test_util |
| 12093 | grpc++ |
| 12094 | grpc |
| 12095 | grpc++_test_config |
| 12096 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12097 | ) |
| 12098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12099 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12100 | endif (gRPC_BUILD_TESTS) |
| 12101 | if (gRPC_BUILD_TESTS) |
| 12102 | |
| 12103 | add_executable(hybrid_end2end_test |
| 12104 | test/cpp/end2end/hybrid_end2end_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 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12107 | ) |
| 12108 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12109 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12110 | target_include_directories(hybrid_end2end_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} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12119 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12120 | PRIVATE third_party/googletest/googletest/include |
| 12121 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12122 | PRIVATE third_party/googletest/googlemock/include |
| 12123 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12124 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12125 | ) |
| 12126 | |
| 12127 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12128 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12130 | grpc++_test_util |
| 12131 | grpc_test_util |
| 12132 | grpc++ |
| 12133 | grpc |
| 12134 | gpr_test_util |
| 12135 | gpr |
| 12136 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12137 | ) |
| 12138 | |
| 12139 | endif (gRPC_BUILD_TESTS) |
| 12140 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12141 | |
| 12142 | add_executable(inlined_vector_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 12143 | test/core/gprpp/inlined_vector_test.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12144 | third_party/googletest/googletest/src/gtest-all.cc |
| 12145 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12146 | ) |
| 12147 | |
| 12148 | |
| 12149 | target_include_directories(inlined_vector_test |
| 12150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12152 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12153 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12154 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12155 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12156 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12157 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12158 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 12159 | PRIVATE third_party/googletest/googletest/include |
| 12160 | PRIVATE third_party/googletest/googletest |
| 12161 | PRIVATE third_party/googletest/googlemock/include |
| 12162 | PRIVATE third_party/googletest/googlemock |
| 12163 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12164 | ) |
| 12165 | |
| 12166 | target_link_libraries(inlined_vector_test |
| 12167 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12169 | grpc_test_util |
| 12170 | grpc++ |
| 12171 | grpc |
| 12172 | gpr_test_util |
| 12173 | gpr |
| 12174 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12175 | ) |
| 12176 | |
| 12177 | endif (gRPC_BUILD_TESTS) |
| 12178 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12179 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12180 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 12181 | add_executable(inproc_sync_unary_ping_pong_test |
| 12182 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 12183 | third_party/googletest/googletest/src/gtest-all.cc |
| 12184 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12185 | ) |
| 12186 | |
| 12187 | |
| 12188 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 12189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12197 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 12198 | PRIVATE third_party/googletest/googletest/include |
| 12199 | PRIVATE third_party/googletest/googletest |
| 12200 | PRIVATE third_party/googletest/googlemock/include |
| 12201 | PRIVATE third_party/googletest/googlemock |
| 12202 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12203 | ) |
| 12204 | |
| 12205 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 12206 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12207 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12208 | qps |
| 12209 | grpc++_core_stats |
| 12210 | grpc++_test_util |
| 12211 | grpc_test_util |
| 12212 | grpc++ |
| 12213 | grpc |
| 12214 | gpr_test_util |
| 12215 | gpr |
| 12216 | grpc++_test_config |
| 12217 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12218 | ) |
| 12219 | |
| 12220 | endif() |
| 12221 | endif (gRPC_BUILD_TESTS) |
| 12222 | if (gRPC_BUILD_TESTS) |
| 12223 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 12224 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12225 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12226 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12227 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12228 | ) |
| 12229 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12230 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12231 | target_include_directories(interop_client |
| 12232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12233 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12234 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12235 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12236 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12237 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12238 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12239 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12240 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12241 | PRIVATE third_party/googletest/googletest/include |
| 12242 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12243 | PRIVATE third_party/googletest/googlemock/include |
| 12244 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12245 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12246 | ) |
| 12247 | |
| 12248 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12249 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12250 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12251 | interop_client_main |
| 12252 | interop_client_helper |
| 12253 | grpc++_test_util |
| 12254 | grpc_test_util |
| 12255 | grpc++ |
| 12256 | grpc |
| 12257 | gpr_test_util |
| 12258 | gpr |
| 12259 | grpc++_test_config |
| 12260 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12261 | ) |
| 12262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12263 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12264 | endif (gRPC_BUILD_TESTS) |
| 12265 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12266 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12267 | |
| 12268 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12269 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12270 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12271 | ) |
| 12272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12273 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12274 | target_include_directories(interop_server |
| 12275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12277 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12278 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12279 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12280 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12281 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12282 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12283 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12284 | PRIVATE third_party/googletest/googletest/include |
| 12285 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12286 | PRIVATE third_party/googletest/googlemock/include |
| 12287 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12288 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12289 | ) |
| 12290 | |
| 12291 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12292 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12294 | interop_server_main |
| 12295 | interop_server_helper |
| 12296 | interop_server_lib |
| 12297 | grpc++_test_util |
| 12298 | grpc_test_util |
| 12299 | grpc++ |
| 12300 | grpc |
| 12301 | gpr_test_util |
| 12302 | gpr |
| 12303 | grpc++_test_config |
| 12304 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12305 | ) |
| 12306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12307 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12308 | endif (gRPC_BUILD_TESTS) |
| 12309 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12310 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12311 | |
| 12312 | add_executable(interop_test |
| 12313 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12314 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12315 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12316 | ) |
| 12317 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12318 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12319 | target_include_directories(interop_test |
| 12320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12322 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12323 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12324 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12325 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12326 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12327 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12328 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12329 | PRIVATE third_party/googletest/googletest/include |
| 12330 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12331 | PRIVATE third_party/googletest/googlemock/include |
| 12332 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12333 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12334 | ) |
| 12335 | |
| 12336 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12337 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12339 | grpc_test_util |
| 12340 | grpc |
| 12341 | gpr_test_util |
| 12342 | gpr |
| 12343 | grpc++_test_config |
| 12344 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12345 | ) |
| 12346 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12347 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12348 | endif (gRPC_BUILD_TESTS) |
| 12349 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12350 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12351 | |
| 12352 | add_executable(json_run_localhost |
| 12353 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12354 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12355 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12356 | ) |
| 12357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12358 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12359 | target_include_directories(json_run_localhost |
| 12360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12362 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12363 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12364 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12365 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12366 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12367 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12368 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12369 | PRIVATE third_party/googletest/googletest/include |
| 12370 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12371 | PRIVATE third_party/googletest/googlemock/include |
| 12372 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12374 | ) |
| 12375 | |
| 12376 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12377 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12379 | grpc++_test_util |
| 12380 | grpc_test_util |
| 12381 | grpc++ |
| 12382 | grpc |
| 12383 | gpr_test_util |
| 12384 | gpr |
| 12385 | grpc++_test_config |
| 12386 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12387 | ) |
| 12388 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12389 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12390 | endif (gRPC_BUILD_TESTS) |
| 12391 | if (gRPC_BUILD_TESTS) |
| 12392 | |
Juanli Shen | a0aab7e | 2018-05-01 10:30:54 -0700 | [diff] [blame] | 12393 | add_executable(lb_load_data_store_test |
| 12394 | test/cpp/server/load_reporter/load_data_store_test.cc |
| 12395 | third_party/googletest/googletest/src/gtest-all.cc |
| 12396 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12397 | ) |
| 12398 | |
| 12399 | |
| 12400 | target_include_directories(lb_load_data_store_test |
| 12401 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12402 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12403 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12404 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12405 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12406 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12407 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12408 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 12409 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 12410 | PRIVATE third_party/googletest/googletest/include |
| 12411 | PRIVATE third_party/googletest/googletest |
| 12412 | PRIVATE third_party/googletest/googlemock/include |
| 12413 | PRIVATE third_party/googletest/googlemock |
| 12414 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12415 | ) |
| 12416 | |
| 12417 | target_link_libraries(lb_load_data_store_test |
| 12418 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12419 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12420 | lb_load_data_store |
| 12421 | grpc++_test_util |
| 12422 | grpc_test_util |
| 12423 | grpc++ |
| 12424 | grpc |
| 12425 | gpr_test_util |
| 12426 | gpr |
| 12427 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12428 | ) |
| 12429 | |
| 12430 | endif (gRPC_BUILD_TESTS) |
| 12431 | if (gRPC_BUILD_TESTS) |
| 12432 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12433 | add_executable(memory_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 12434 | test/core/gprpp/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 12435 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 12436 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12437 | ) |
| 12438 | |
| 12439 | |
| 12440 | target_include_directories(memory_test |
| 12441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12444 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12445 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12446 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12447 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12448 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12449 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 12450 | PRIVATE third_party/googletest/googletest/include |
| 12451 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 12452 | PRIVATE third_party/googletest/googlemock/include |
| 12453 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 12454 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12455 | ) |
| 12456 | |
| 12457 | target_link_libraries(memory_test |
| 12458 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12459 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12460 | grpc_test_util |
| 12461 | grpc++ |
| 12462 | grpc |
| 12463 | gpr_test_util |
| 12464 | gpr |
| 12465 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12466 | ) |
| 12467 | |
| 12468 | endif (gRPC_BUILD_TESTS) |
| 12469 | if (gRPC_BUILD_TESTS) |
| 12470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12471 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12472 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12475 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12476 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12477 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12478 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12479 | ) |
| 12480 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12481 | protobuf_generate_grpc_cpp( |
| 12482 | src/proto/grpc/testing/metrics.proto |
| 12483 | ) |
| 12484 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12485 | target_include_directories(metrics_client |
| 12486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12488 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12489 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12490 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12491 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12492 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12493 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12494 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12495 | PRIVATE third_party/googletest/googletest/include |
| 12496 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12497 | PRIVATE third_party/googletest/googlemock/include |
| 12498 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12499 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12500 | ) |
| 12501 | |
| 12502 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12503 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12505 | grpc++ |
| 12506 | grpc |
| 12507 | gpr |
| 12508 | grpc++_test_config |
| 12509 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12510 | ) |
| 12511 | |
| 12512 | endif (gRPC_BUILD_TESTS) |
| 12513 | if (gRPC_BUILD_TESTS) |
| 12514 | |
| 12515 | add_executable(mock_test |
| 12516 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12517 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12518 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12519 | ) |
| 12520 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12522 | target_include_directories(mock_test |
| 12523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12525 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12526 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12527 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12528 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12529 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12530 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12531 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12532 | PRIVATE third_party/googletest/googletest/include |
| 12533 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12534 | PRIVATE third_party/googletest/googlemock/include |
| 12535 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12536 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12537 | ) |
| 12538 | |
| 12539 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12540 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12542 | grpc++_test_util |
| 12543 | grpc_test_util |
| 12544 | grpc++ |
| 12545 | grpc |
| 12546 | gpr_test_util |
| 12547 | gpr |
| 12548 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12549 | ) |
| 12550 | |
| 12551 | endif (gRPC_BUILD_TESTS) |
| 12552 | if (gRPC_BUILD_TESTS) |
| 12553 | |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 12554 | add_executable(nonblocking_test |
| 12555 | test/cpp/end2end/nonblocking_test.cc |
| 12556 | third_party/googletest/googletest/src/gtest-all.cc |
| 12557 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12558 | ) |
| 12559 | |
| 12560 | |
| 12561 | target_include_directories(nonblocking_test |
| 12562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12564 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 12565 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12566 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12567 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12568 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12569 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12570 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 132efa0 | 2018-02-09 15:28:14 -0800 | [diff] [blame] | 12571 | PRIVATE third_party/googletest/googletest/include |
| 12572 | PRIVATE third_party/googletest/googletest |
| 12573 | PRIVATE third_party/googletest/googlemock/include |
| 12574 | PRIVATE third_party/googletest/googlemock |
| 12575 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12576 | ) |
| 12577 | |
| 12578 | target_link_libraries(nonblocking_test |
| 12579 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12580 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12581 | grpc++_test_util |
| 12582 | grpc_test_util |
| 12583 | grpc++ |
| 12584 | grpc |
| 12585 | gpr_test_util |
| 12586 | gpr |
| 12587 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12588 | ) |
| 12589 | |
| 12590 | endif (gRPC_BUILD_TESTS) |
| 12591 | if (gRPC_BUILD_TESTS) |
| 12592 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12593 | add_executable(noop-benchmark |
| 12594 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12595 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12596 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12597 | ) |
| 12598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12599 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12600 | target_include_directories(noop-benchmark |
| 12601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12603 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12604 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12605 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12606 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12607 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12608 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12609 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12610 | PRIVATE third_party/googletest/googletest/include |
| 12611 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12612 | PRIVATE third_party/googletest/googlemock/include |
| 12613 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12614 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12615 | ) |
| 12616 | |
| 12617 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12618 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12619 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12620 | ${_gRPC_BENCHMARK_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12621 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12622 | ) |
| 12623 | |
| 12624 | endif (gRPC_BUILD_TESTS) |
| 12625 | if (gRPC_BUILD_TESTS) |
| 12626 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 12627 | add_executable(orphanable_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 12628 | test/core/gprpp/orphanable_test.cc |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 12629 | third_party/googletest/googletest/src/gtest-all.cc |
| 12630 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12631 | ) |
| 12632 | |
| 12633 | |
| 12634 | target_include_directories(orphanable_test |
| 12635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | d9c288b | 2018-01-17 09:10:06 -0800 | [diff] [blame] | 12638 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12639 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12640 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12641 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12642 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12643 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 12644 | PRIVATE third_party/googletest/googletest/include |
| 12645 | PRIVATE third_party/googletest/googletest |
| 12646 | PRIVATE third_party/googletest/googlemock/include |
| 12647 | PRIVATE third_party/googletest/googlemock |
| 12648 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12649 | ) |
| 12650 | |
| 12651 | target_link_libraries(orphanable_test |
| 12652 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12653 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12654 | grpc_test_util |
| 12655 | grpc++ |
| 12656 | grpc |
| 12657 | gpr_test_util |
| 12658 | gpr |
| 12659 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12660 | ) |
| 12661 | |
| 12662 | endif (gRPC_BUILD_TESTS) |
| 12663 | if (gRPC_BUILD_TESTS) |
| 12664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12665 | add_executable(proto_server_reflection_test |
| 12666 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12667 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12668 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12669 | ) |
| 12670 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12671 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12672 | target_include_directories(proto_server_reflection_test |
| 12673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12675 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12676 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12677 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12678 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12679 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12680 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12681 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12682 | PRIVATE third_party/googletest/googletest/include |
| 12683 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12684 | PRIVATE third_party/googletest/googlemock/include |
| 12685 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12686 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12687 | ) |
| 12688 | |
| 12689 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12690 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12692 | grpc++_proto_reflection_desc_db |
| 12693 | grpc++_reflection |
| 12694 | grpc++_test_util |
| 12695 | grpc_test_util |
| 12696 | grpc++ |
| 12697 | grpc |
| 12698 | gpr_test_util |
| 12699 | gpr |
| 12700 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12701 | ) |
| 12702 | |
| 12703 | endif (gRPC_BUILD_TESTS) |
| 12704 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 12705 | |
| 12706 | add_executable(proto_utils_test |
| 12707 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12708 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12709 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 12710 | ) |
| 12711 | |
| 12712 | |
| 12713 | target_include_directories(proto_utils_test |
| 12714 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12716 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12717 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12718 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12719 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12720 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12721 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12722 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12723 | PRIVATE third_party/googletest/googletest/include |
| 12724 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12725 | PRIVATE third_party/googletest/googlemock/include |
| 12726 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 12727 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12728 | ) |
| 12729 | |
| 12730 | target_link_libraries(proto_utils_test |
| 12731 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12733 | grpc++ |
| 12734 | grpc |
| 12735 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12736 | ) |
| 12737 | |
| 12738 | endif (gRPC_BUILD_TESTS) |
| 12739 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12740 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12741 | |
| 12742 | add_executable(qps_interarrival_test |
| 12743 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12744 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12745 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12746 | ) |
| 12747 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12748 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12749 | target_include_directories(qps_interarrival_test |
| 12750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12752 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12753 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12754 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12755 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12756 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12757 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12758 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12759 | PRIVATE third_party/googletest/googletest/include |
| 12760 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12761 | PRIVATE third_party/googletest/googlemock/include |
| 12762 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12763 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12764 | ) |
| 12765 | |
| 12766 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12767 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12768 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12769 | qps |
| 12770 | grpc++_test_util |
| 12771 | grpc_test_util |
| 12772 | grpc++ |
| 12773 | grpc |
| 12774 | gpr_test_util |
| 12775 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 12776 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12777 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12778 | ) |
| 12779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12780 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12781 | endif (gRPC_BUILD_TESTS) |
| 12782 | if (gRPC_BUILD_TESTS) |
| 12783 | |
| 12784 | add_executable(qps_json_driver |
| 12785 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12786 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12787 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12788 | ) |
| 12789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12791 | target_include_directories(qps_json_driver |
| 12792 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12793 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12794 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12795 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12796 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12797 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12798 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12799 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12800 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12801 | PRIVATE third_party/googletest/googletest/include |
| 12802 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12803 | PRIVATE third_party/googletest/googlemock/include |
| 12804 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12805 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12806 | ) |
| 12807 | |
| 12808 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12809 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12810 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12811 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 12812 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12813 | grpc++_test_util |
| 12814 | grpc_test_util |
| 12815 | grpc++ |
| 12816 | grpc |
| 12817 | gpr_test_util |
| 12818 | gpr |
| 12819 | grpc++_test_config |
| 12820 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12821 | ) |
| 12822 | |
| 12823 | endif (gRPC_BUILD_TESTS) |
| 12824 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12825 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12826 | |
| 12827 | add_executable(qps_openloop_test |
| 12828 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12829 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12830 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12831 | ) |
| 12832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12833 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12834 | target_include_directories(qps_openloop_test |
| 12835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12837 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12838 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12839 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12840 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12841 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12842 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12843 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12844 | PRIVATE third_party/googletest/googletest/include |
| 12845 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12846 | PRIVATE third_party/googletest/googlemock/include |
| 12847 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12848 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | ) |
| 12850 | |
| 12851 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12852 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12853 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12854 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 12855 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12856 | grpc++_test_util |
| 12857 | grpc_test_util |
| 12858 | grpc++ |
| 12859 | grpc |
| 12860 | gpr_test_util |
| 12861 | gpr |
| 12862 | grpc++_test_config |
| 12863 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12864 | ) |
| 12865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12866 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12867 | endif (gRPC_BUILD_TESTS) |
| 12868 | if (gRPC_BUILD_TESTS) |
| 12869 | |
| 12870 | add_executable(qps_worker |
| 12871 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12872 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12873 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12874 | ) |
| 12875 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12876 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12877 | target_include_directories(qps_worker |
| 12878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12880 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12881 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12882 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12883 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12884 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12885 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12886 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12887 | PRIVATE third_party/googletest/googletest/include |
| 12888 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12889 | PRIVATE third_party/googletest/googlemock/include |
| 12890 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12891 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12892 | ) |
| 12893 | |
| 12894 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12895 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12896 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12897 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 12898 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12899 | grpc++_test_util |
| 12900 | grpc_test_util |
| 12901 | grpc++ |
| 12902 | grpc |
| 12903 | gpr_test_util |
| 12904 | gpr |
| 12905 | grpc++_test_config |
| 12906 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12907 | ) |
| 12908 | |
| 12909 | endif (gRPC_BUILD_TESTS) |
| 12910 | if (gRPC_BUILD_TESTS) |
| 12911 | |
| 12912 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12913 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12914 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12915 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12916 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12917 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12918 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12919 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12920 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12921 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12922 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12923 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12924 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12925 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12926 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12927 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12928 | ) |
| 12929 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12930 | protobuf_generate_grpc_cpp( |
| 12931 | src/proto/grpc/testing/empty.proto |
| 12932 | ) |
| 12933 | protobuf_generate_grpc_cpp( |
| 12934 | src/proto/grpc/testing/messages.proto |
| 12935 | ) |
| 12936 | protobuf_generate_grpc_cpp( |
| 12937 | src/proto/grpc/testing/test.proto |
| 12938 | ) |
| 12939 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12940 | target_include_directories(reconnect_interop_client |
| 12941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12943 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12944 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12945 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12946 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12947 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12948 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 12949 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12950 | PRIVATE third_party/googletest/googletest/include |
| 12951 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12952 | PRIVATE third_party/googletest/googlemock/include |
| 12953 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12954 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12955 | ) |
| 12956 | |
| 12957 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12958 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12960 | grpc++_test_util |
| 12961 | grpc_test_util |
| 12962 | grpc++ |
| 12963 | grpc |
| 12964 | gpr_test_util |
| 12965 | gpr |
| 12966 | grpc++_test_config |
| 12967 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12968 | ) |
| 12969 | |
| 12970 | endif (gRPC_BUILD_TESTS) |
| 12971 | if (gRPC_BUILD_TESTS) |
| 12972 | |
| 12973 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12975 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12976 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12978 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12979 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12984 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12985 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12986 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12987 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12988 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12989 | ) |
| 12990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12991 | protobuf_generate_grpc_cpp( |
| 12992 | src/proto/grpc/testing/empty.proto |
| 12993 | ) |
| 12994 | protobuf_generate_grpc_cpp( |
| 12995 | src/proto/grpc/testing/messages.proto |
| 12996 | ) |
| 12997 | protobuf_generate_grpc_cpp( |
| 12998 | src/proto/grpc/testing/test.proto |
| 12999 | ) |
| 13000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13001 | target_include_directories(reconnect_interop_server |
| 13002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13004 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13005 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13006 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13007 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13008 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13009 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13010 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13011 | PRIVATE third_party/googletest/googletest/include |
| 13012 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13013 | PRIVATE third_party/googletest/googlemock/include |
| 13014 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13015 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13016 | ) |
| 13017 | |
| 13018 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13019 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13021 | reconnect_server |
| 13022 | test_tcp_server |
| 13023 | grpc++_test_util |
| 13024 | grpc_test_util |
| 13025 | grpc++ |
| 13026 | grpc |
| 13027 | gpr_test_util |
| 13028 | gpr |
| 13029 | grpc++_test_config |
| 13030 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13031 | ) |
| 13032 | |
| 13033 | endif (gRPC_BUILD_TESTS) |
| 13034 | if (gRPC_BUILD_TESTS) |
| 13035 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13036 | add_executable(ref_counted_ptr_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 13037 | test/core/gprpp/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13038 | third_party/googletest/googletest/src/gtest-all.cc |
| 13039 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13040 | ) |
| 13041 | |
| 13042 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13043 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13046 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13047 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13048 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13049 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13050 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13051 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13052 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13053 | PRIVATE third_party/googletest/googletest/include |
| 13054 | PRIVATE third_party/googletest/googletest |
| 13055 | PRIVATE third_party/googletest/googlemock/include |
| 13056 | PRIVATE third_party/googletest/googlemock |
| 13057 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13058 | ) |
| 13059 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13060 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 13061 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13062 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13063 | grpc_test_util |
| 13064 | grpc++ |
| 13065 | grpc |
| 13066 | gpr_test_util |
| 13067 | gpr |
| 13068 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13069 | ) |
| 13070 | |
| 13071 | endif (gRPC_BUILD_TESTS) |
| 13072 | if (gRPC_BUILD_TESTS) |
| 13073 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13074 | add_executable(ref_counted_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 13075 | test/core/gprpp/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13076 | third_party/googletest/googletest/src/gtest-all.cc |
| 13077 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13078 | ) |
| 13079 | |
| 13080 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13081 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13084 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13085 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13086 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13087 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13088 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13089 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13090 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13091 | PRIVATE third_party/googletest/googletest/include |
| 13092 | PRIVATE third_party/googletest/googletest |
| 13093 | PRIVATE third_party/googletest/googlemock/include |
| 13094 | PRIVATE third_party/googletest/googlemock |
| 13095 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13096 | ) |
| 13097 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 13098 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 13099 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13100 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13101 | grpc_test_util |
| 13102 | grpc++ |
| 13103 | grpc |
| 13104 | gpr_test_util |
| 13105 | gpr |
| 13106 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13107 | ) |
| 13108 | |
| 13109 | endif (gRPC_BUILD_TESTS) |
| 13110 | if (gRPC_BUILD_TESTS) |
| 13111 | |
Mark D. Roth | 9db86fc | 2018-03-28 07:42:20 -0700 | [diff] [blame] | 13112 | add_executable(retry_throttle_test |
| 13113 | test/core/client_channel/retry_throttle_test.cc |
| 13114 | third_party/googletest/googletest/src/gtest-all.cc |
| 13115 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13116 | ) |
| 13117 | |
| 13118 | |
| 13119 | target_include_directories(retry_throttle_test |
| 13120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13122 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13123 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13124 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13125 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13126 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13127 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 13128 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 13129 | PRIVATE third_party/googletest/googletest/include |
| 13130 | PRIVATE third_party/googletest/googletest |
| 13131 | PRIVATE third_party/googletest/googlemock/include |
| 13132 | PRIVATE third_party/googletest/googlemock |
| 13133 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13134 | ) |
| 13135 | |
| 13136 | target_link_libraries(retry_throttle_test |
| 13137 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13138 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13139 | grpc_test_util |
| 13140 | grpc |
| 13141 | gpr_test_util |
| 13142 | gpr |
| 13143 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13144 | ) |
| 13145 | |
| 13146 | endif (gRPC_BUILD_TESTS) |
| 13147 | if (gRPC_BUILD_TESTS) |
| 13148 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13149 | add_executable(secure_auth_context_test |
| 13150 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13151 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13152 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13153 | ) |
| 13154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13156 | target_include_directories(secure_auth_context_test |
| 13157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13159 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13160 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13161 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13162 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13163 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13164 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13165 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13166 | PRIVATE third_party/googletest/googletest/include |
| 13167 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13168 | PRIVATE third_party/googletest/googlemock/include |
| 13169 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13170 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13171 | ) |
| 13172 | |
| 13173 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13174 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13176 | grpc++_test_util |
| 13177 | grpc_test_util |
| 13178 | grpc++ |
| 13179 | grpc |
| 13180 | gpr_test_util |
| 13181 | gpr |
| 13182 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13183 | ) |
| 13184 | |
| 13185 | endif (gRPC_BUILD_TESTS) |
| 13186 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13187 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13188 | |
| 13189 | add_executable(secure_sync_unary_ping_pong_test |
| 13190 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13191 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13192 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13193 | ) |
| 13194 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13195 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13196 | target_include_directories(secure_sync_unary_ping_pong_test |
| 13197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13199 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13200 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13201 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13202 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13203 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13204 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13205 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13206 | PRIVATE third_party/googletest/googletest/include |
| 13207 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13208 | PRIVATE third_party/googletest/googlemock/include |
| 13209 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13210 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13211 | ) |
| 13212 | |
| 13213 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13214 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13215 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13216 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 13217 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13218 | grpc++_test_util |
| 13219 | grpc_test_util |
| 13220 | grpc++ |
| 13221 | grpc |
| 13222 | gpr_test_util |
| 13223 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 13224 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13225 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13226 | ) |
| 13227 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13228 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13229 | endif (gRPC_BUILD_TESTS) |
| 13230 | if (gRPC_BUILD_TESTS) |
| 13231 | |
| 13232 | add_executable(server_builder_plugin_test |
| 13233 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13234 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13235 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13236 | ) |
| 13237 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13238 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13239 | target_include_directories(server_builder_plugin_test |
| 13240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13242 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13243 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13244 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13245 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13246 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13247 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13248 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13249 | PRIVATE third_party/googletest/googletest/include |
| 13250 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13251 | PRIVATE third_party/googletest/googlemock/include |
| 13252 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13253 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13254 | ) |
| 13255 | |
| 13256 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13257 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13258 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13259 | grpc++_test_util |
| 13260 | grpc_test_util |
| 13261 | grpc++ |
| 13262 | grpc |
| 13263 | gpr_test_util |
| 13264 | gpr |
| 13265 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13266 | ) |
| 13267 | |
| 13268 | endif (gRPC_BUILD_TESTS) |
| 13269 | if (gRPC_BUILD_TESTS) |
| 13270 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13271 | add_executable(server_builder_test |
| 13272 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 13273 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 13274 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 13275 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 13276 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 13277 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 13278 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 13279 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 13280 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13281 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13282 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13283 | ) |
| 13284 | |
| 13285 | protobuf_generate_grpc_cpp( |
| 13286 | src/proto/grpc/testing/echo_messages.proto |
| 13287 | ) |
| 13288 | protobuf_generate_grpc_cpp( |
| 13289 | src/proto/grpc/testing/echo.proto |
| 13290 | ) |
| 13291 | |
| 13292 | target_include_directories(server_builder_test |
| 13293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13295 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13296 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13297 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13298 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13299 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13300 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13301 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13302 | PRIVATE third_party/googletest/googletest/include |
| 13303 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13304 | PRIVATE third_party/googletest/googlemock/include |
| 13305 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13306 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13307 | ) |
| 13308 | |
| 13309 | target_link_libraries(server_builder_test |
| 13310 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13312 | grpc++_test_util_unsecure |
| 13313 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13314 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13315 | grpc++_unsecure |
| 13316 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13317 | gpr |
| 13318 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13319 | ) |
| 13320 | |
| 13321 | endif (gRPC_BUILD_TESTS) |
| 13322 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | ac8b72f | 2018-05-04 17:18:27 -0700 | [diff] [blame] | 13323 | if(_gRPC_PLATFORM_POSIX) |
| 13324 | |
| 13325 | add_executable(server_builder_with_socket_mutator_test |
| 13326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 13327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 13328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 13329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 13330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 13331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 13332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 13333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 13334 | test/cpp/server/server_builder_with_socket_mutator_test.cc |
| 13335 | third_party/googletest/googletest/src/gtest-all.cc |
| 13336 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13337 | ) |
| 13338 | |
| 13339 | protobuf_generate_grpc_cpp( |
| 13340 | src/proto/grpc/testing/echo_messages.proto |
| 13341 | ) |
| 13342 | protobuf_generate_grpc_cpp( |
| 13343 | src/proto/grpc/testing/echo.proto |
| 13344 | ) |
| 13345 | |
| 13346 | target_include_directories(server_builder_with_socket_mutator_test |
| 13347 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13348 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13349 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13350 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13351 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13352 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13353 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13354 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 13355 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 13356 | PRIVATE third_party/googletest/googletest/include |
| 13357 | PRIVATE third_party/googletest/googletest |
| 13358 | PRIVATE third_party/googletest/googlemock/include |
| 13359 | PRIVATE third_party/googletest/googlemock |
| 13360 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13361 | ) |
| 13362 | |
| 13363 | target_link_libraries(server_builder_with_socket_mutator_test |
| 13364 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13365 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13366 | grpc++_test_util_unsecure |
| 13367 | grpc_test_util_unsecure |
| 13368 | gpr_test_util |
| 13369 | grpc++_unsecure |
| 13370 | grpc_unsecure |
| 13371 | gpr |
| 13372 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13373 | ) |
| 13374 | |
| 13375 | endif() |
| 13376 | endif (gRPC_BUILD_TESTS) |
| 13377 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 13378 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13379 | add_executable(server_context_test_spouse_test |
| 13380 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13381 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13382 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | ) |
| 13384 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13385 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13386 | target_include_directories(server_context_test_spouse_test |
| 13387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13389 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13390 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13391 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13392 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13393 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13394 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13395 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13396 | PRIVATE third_party/googletest/googletest/include |
| 13397 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13398 | PRIVATE third_party/googletest/googlemock/include |
| 13399 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13400 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13401 | ) |
| 13402 | |
| 13403 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13404 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13405 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13406 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13407 | grpc++ |
| 13408 | grpc |
| 13409 | gpr_test_util |
| 13410 | gpr |
| 13411 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13412 | ) |
| 13413 | |
| 13414 | endif (gRPC_BUILD_TESTS) |
| 13415 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13416 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13417 | |
| 13418 | add_executable(server_crash_test |
| 13419 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13420 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13421 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13422 | ) |
| 13423 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13424 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13425 | target_include_directories(server_crash_test |
| 13426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13428 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13429 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13430 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13431 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13432 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13433 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13434 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13435 | PRIVATE third_party/googletest/googletest/include |
| 13436 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13437 | PRIVATE third_party/googletest/googlemock/include |
| 13438 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13439 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13440 | ) |
| 13441 | |
| 13442 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13443 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13444 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13445 | grpc++_test_util |
| 13446 | grpc_test_util |
| 13447 | grpc++ |
| 13448 | grpc |
| 13449 | gpr_test_util |
| 13450 | gpr |
| 13451 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13452 | ) |
| 13453 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13454 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13455 | endif (gRPC_BUILD_TESTS) |
| 13456 | if (gRPC_BUILD_TESTS) |
| 13457 | |
| 13458 | add_executable(server_crash_test_client |
| 13459 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13460 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13461 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13462 | ) |
| 13463 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13464 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13465 | target_include_directories(server_crash_test_client |
| 13466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13468 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13469 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13470 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13471 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13472 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13473 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13474 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13475 | PRIVATE third_party/googletest/googletest/include |
| 13476 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13477 | PRIVATE third_party/googletest/googlemock/include |
| 13478 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13479 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13480 | ) |
| 13481 | |
| 13482 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13483 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | grpc++_test_util |
| 13486 | grpc_test_util |
| 13487 | grpc++ |
| 13488 | grpc |
| 13489 | gpr_test_util |
| 13490 | gpr |
| 13491 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13492 | ) |
| 13493 | |
| 13494 | endif (gRPC_BUILD_TESTS) |
| 13495 | if (gRPC_BUILD_TESTS) |
| 13496 | |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 13497 | add_executable(server_early_return_test |
| 13498 | test/cpp/end2end/server_early_return_test.cc |
| 13499 | third_party/googletest/googletest/src/gtest-all.cc |
| 13500 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13501 | ) |
| 13502 | |
| 13503 | |
| 13504 | target_include_directories(server_early_return_test |
| 13505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13507 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13508 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13509 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13510 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13511 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13512 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13513 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 13514 | PRIVATE third_party/googletest/googletest/include |
| 13515 | PRIVATE third_party/googletest/googletest |
| 13516 | PRIVATE third_party/googletest/googlemock/include |
| 13517 | PRIVATE third_party/googletest/googlemock |
| 13518 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13519 | ) |
| 13520 | |
| 13521 | target_link_libraries(server_early_return_test |
| 13522 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13524 | grpc++_test_util |
| 13525 | grpc_test_util |
| 13526 | grpc++ |
| 13527 | grpc |
| 13528 | gpr_test_util |
| 13529 | gpr |
| 13530 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13531 | ) |
| 13532 | |
| 13533 | endif (gRPC_BUILD_TESTS) |
| 13534 | if (gRPC_BUILD_TESTS) |
| 13535 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 13536 | add_executable(server_request_call_test |
| 13537 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 13538 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 13539 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 13540 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 13541 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 13542 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 13543 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 13544 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 13545 | test/cpp/server/server_request_call_test.cc |
| 13546 | third_party/googletest/googletest/src/gtest-all.cc |
| 13547 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13548 | ) |
| 13549 | |
| 13550 | protobuf_generate_grpc_cpp( |
| 13551 | src/proto/grpc/testing/echo_messages.proto |
| 13552 | ) |
| 13553 | protobuf_generate_grpc_cpp( |
| 13554 | src/proto/grpc/testing/echo.proto |
| 13555 | ) |
| 13556 | |
| 13557 | target_include_directories(server_request_call_test |
| 13558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13560 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13561 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13562 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13563 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13564 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13565 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13566 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 13567 | PRIVATE third_party/googletest/googletest/include |
| 13568 | PRIVATE third_party/googletest/googletest |
| 13569 | PRIVATE third_party/googletest/googlemock/include |
| 13570 | PRIVATE third_party/googletest/googlemock |
| 13571 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13572 | ) |
| 13573 | |
| 13574 | target_link_libraries(server_request_call_test |
| 13575 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13576 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13577 | grpc++_test_util_unsecure |
| 13578 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 13579 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13580 | grpc++_unsecure |
| 13581 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 13582 | gpr |
| 13583 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13584 | ) |
| 13585 | |
| 13586 | endif (gRPC_BUILD_TESTS) |
| 13587 | if (gRPC_BUILD_TESTS) |
| 13588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13589 | add_executable(shutdown_test |
| 13590 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13591 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13592 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13593 | ) |
| 13594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13596 | target_include_directories(shutdown_test |
| 13597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13599 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13600 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13601 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13602 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13603 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13604 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13605 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13606 | PRIVATE third_party/googletest/googletest/include |
| 13607 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13608 | PRIVATE third_party/googletest/googlemock/include |
| 13609 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13610 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13611 | ) |
| 13612 | |
| 13613 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13614 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13615 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13616 | grpc++_test_util |
| 13617 | grpc_test_util |
| 13618 | grpc++ |
| 13619 | grpc |
| 13620 | gpr_test_util |
| 13621 | gpr |
| 13622 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13623 | ) |
| 13624 | |
| 13625 | endif (gRPC_BUILD_TESTS) |
| 13626 | if (gRPC_BUILD_TESTS) |
| 13627 | |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 13628 | add_executable(slice_hash_table_test |
| 13629 | test/core/slice/slice_hash_table_test.cc |
| 13630 | third_party/googletest/googletest/src/gtest-all.cc |
| 13631 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13632 | ) |
| 13633 | |
| 13634 | |
| 13635 | target_include_directories(slice_hash_table_test |
| 13636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13638 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13639 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13640 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13641 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13642 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13643 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13644 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 3e7f2df | 2018-02-26 13:17:06 -0800 | [diff] [blame] | 13645 | PRIVATE third_party/googletest/googletest/include |
| 13646 | PRIVATE third_party/googletest/googletest |
| 13647 | PRIVATE third_party/googletest/googlemock/include |
| 13648 | PRIVATE third_party/googletest/googlemock |
| 13649 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13650 | ) |
| 13651 | |
| 13652 | target_link_libraries(slice_hash_table_test |
| 13653 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13655 | grpc_test_util |
| 13656 | grpc |
| 13657 | gpr_test_util |
| 13658 | gpr |
| 13659 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13660 | ) |
| 13661 | |
| 13662 | endif (gRPC_BUILD_TESTS) |
| 13663 | if (gRPC_BUILD_TESTS) |
| 13664 | |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 13665 | add_executable(slice_weak_hash_table_test |
| 13666 | test/core/slice/slice_weak_hash_table_test.cc |
| 13667 | third_party/googletest/googletest/src/gtest-all.cc |
| 13668 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13669 | ) |
| 13670 | |
| 13671 | |
| 13672 | target_include_directories(slice_weak_hash_table_test |
| 13673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13675 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13676 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13677 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13678 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13679 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13680 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13681 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
David Garcia Quintas | 396d49d | 2018-02-28 16:06:30 -0800 | [diff] [blame] | 13682 | PRIVATE third_party/googletest/googletest/include |
| 13683 | PRIVATE third_party/googletest/googletest |
| 13684 | PRIVATE third_party/googletest/googlemock/include |
| 13685 | PRIVATE third_party/googletest/googlemock |
| 13686 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13687 | ) |
| 13688 | |
| 13689 | target_link_libraries(slice_weak_hash_table_test |
| 13690 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13691 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13692 | grpc_test_util |
| 13693 | grpc |
| 13694 | gpr_test_util |
| 13695 | gpr |
| 13696 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13697 | ) |
| 13698 | |
| 13699 | endif (gRPC_BUILD_TESTS) |
| 13700 | if (gRPC_BUILD_TESTS) |
| 13701 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 13702 | add_executable(stats_test |
| 13703 | test/core/debug/stats_test.cc |
| 13704 | third_party/googletest/googletest/src/gtest-all.cc |
| 13705 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13706 | ) |
| 13707 | |
| 13708 | |
| 13709 | target_include_directories(stats_test |
| 13710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13712 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13713 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13714 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13715 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13716 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13717 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13718 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 13719 | PRIVATE third_party/googletest/googletest/include |
| 13720 | PRIVATE third_party/googletest/googletest |
| 13721 | PRIVATE third_party/googletest/googlemock/include |
| 13722 | PRIVATE third_party/googletest/googlemock |
| 13723 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13724 | ) |
| 13725 | |
| 13726 | target_link_libraries(stats_test |
| 13727 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13728 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13729 | grpc++_test_util |
| 13730 | grpc_test_util |
| 13731 | grpc |
| 13732 | gpr_test_util |
| 13733 | gpr |
| 13734 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13735 | ) |
| 13736 | |
| 13737 | endif (gRPC_BUILD_TESTS) |
| 13738 | if (gRPC_BUILD_TESTS) |
| 13739 | |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 13740 | add_executable(status_metadata_test |
| 13741 | test/core/transport/status_metadata_test.cc |
| 13742 | third_party/googletest/googletest/src/gtest-all.cc |
| 13743 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13744 | ) |
| 13745 | |
| 13746 | |
| 13747 | target_include_directories(status_metadata_test |
| 13748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13750 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13751 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13752 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13753 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13754 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13755 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13756 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 13757 | PRIVATE third_party/googletest/googletest/include |
| 13758 | PRIVATE third_party/googletest/googletest |
| 13759 | PRIVATE third_party/googletest/googlemock/include |
| 13760 | PRIVATE third_party/googletest/googlemock |
| 13761 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13762 | ) |
| 13763 | |
| 13764 | target_link_libraries(status_metadata_test |
| 13765 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13766 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13767 | grpc |
| 13768 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13769 | ) |
| 13770 | |
| 13771 | endif (gRPC_BUILD_TESTS) |
| 13772 | if (gRPC_BUILD_TESTS) |
| 13773 | |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 13774 | add_executable(status_util_test |
ncteisen | 3b42f83 | 2018-03-19 13:22:35 -0700 | [diff] [blame] | 13775 | test/core/channel/status_util_test.cc |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 13776 | third_party/googletest/googletest/src/gtest-all.cc |
| 13777 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13778 | ) |
| 13779 | |
| 13780 | |
| 13781 | target_include_directories(status_util_test |
| 13782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13784 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 13785 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13786 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13787 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13788 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13789 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13790 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Mark D. Roth | 718c834 | 2018-02-28 13:00:04 -0800 | [diff] [blame] | 13791 | PRIVATE third_party/googletest/googletest/include |
| 13792 | PRIVATE third_party/googletest/googletest |
| 13793 | PRIVATE third_party/googletest/googlemock/include |
| 13794 | PRIVATE third_party/googletest/googlemock |
| 13795 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13796 | ) |
| 13797 | |
| 13798 | target_link_libraries(status_util_test |
| 13799 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13800 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13801 | grpc |
| 13802 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13803 | ) |
| 13804 | |
| 13805 | endif (gRPC_BUILD_TESTS) |
| 13806 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13807 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13808 | |
| 13809 | add_executable(streaming_throughput_test |
| 13810 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13811 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13812 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13813 | ) |
| 13814 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13815 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13816 | target_include_directories(streaming_throughput_test |
| 13817 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13819 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13820 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13821 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13822 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13823 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13824 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13825 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13826 | PRIVATE third_party/googletest/googletest/include |
| 13827 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13828 | PRIVATE third_party/googletest/googlemock/include |
| 13829 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13830 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13831 | ) |
| 13832 | |
| 13833 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13834 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13835 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13836 | grpc++_test_util |
| 13837 | grpc_test_util |
| 13838 | grpc++ |
| 13839 | grpc |
| 13840 | gpr_test_util |
| 13841 | gpr |
| 13842 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13843 | ) |
| 13844 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13845 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13846 | endif (gRPC_BUILD_TESTS) |
| 13847 | if (gRPC_BUILD_TESTS) |
| 13848 | |
| 13849 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13850 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 13851 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 13852 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 13853 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 13854 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 13855 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 13856 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 13857 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 13858 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 13859 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 13860 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 13861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 13862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 13863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 13864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 13865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13866 | test/cpp/interop/interop_client.cc |
| 13867 | test/cpp/interop/stress_interop_client.cc |
| 13868 | test/cpp/interop/stress_test.cc |
| 13869 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13870 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13871 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13872 | ) |
| 13873 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13874 | protobuf_generate_grpc_cpp( |
| 13875 | src/proto/grpc/testing/empty.proto |
| 13876 | ) |
| 13877 | protobuf_generate_grpc_cpp( |
| 13878 | src/proto/grpc/testing/messages.proto |
| 13879 | ) |
| 13880 | protobuf_generate_grpc_cpp( |
| 13881 | src/proto/grpc/testing/metrics.proto |
| 13882 | ) |
| 13883 | protobuf_generate_grpc_cpp( |
| 13884 | src/proto/grpc/testing/test.proto |
| 13885 | ) |
| 13886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13887 | target_include_directories(stress_test |
| 13888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13890 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13891 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13892 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13893 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13894 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13895 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13896 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13897 | PRIVATE third_party/googletest/googletest/include |
| 13898 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13899 | PRIVATE third_party/googletest/googlemock/include |
| 13900 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13901 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13902 | ) |
| 13903 | |
| 13904 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13905 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13906 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13907 | grpc++_test_util |
| 13908 | grpc_test_util |
| 13909 | grpc++ |
| 13910 | grpc |
| 13911 | gpr_test_util |
| 13912 | gpr |
| 13913 | grpc++_test_config |
| 13914 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13915 | ) |
| 13916 | |
| 13917 | endif (gRPC_BUILD_TESTS) |
| 13918 | if (gRPC_BUILD_TESTS) |
| 13919 | |
| 13920 | add_executable(thread_manager_test |
| 13921 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13922 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13923 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13924 | ) |
| 13925 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13927 | target_include_directories(thread_manager_test |
| 13928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13930 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13931 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13932 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13933 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13934 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13935 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13936 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13937 | PRIVATE third_party/googletest/googletest/include |
| 13938 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13939 | PRIVATE third_party/googletest/googlemock/include |
| 13940 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13941 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13942 | ) |
| 13943 | |
| 13944 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13945 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13947 | grpc++_unsecure |
| 13948 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13949 | gpr |
| 13950 | grpc++_test_config |
| 13951 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13952 | ) |
| 13953 | |
| 13954 | endif (gRPC_BUILD_TESTS) |
| 13955 | if (gRPC_BUILD_TESTS) |
| 13956 | |
| 13957 | add_executable(thread_stress_test |
| 13958 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13959 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13960 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13961 | ) |
| 13962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13963 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13964 | target_include_directories(thread_stress_test |
| 13965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13967 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13968 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13969 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13970 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13971 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13972 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 13973 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 13974 | PRIVATE third_party/googletest/googletest/include |
| 13975 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 13976 | PRIVATE third_party/googletest/googlemock/include |
| 13977 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13978 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13979 | ) |
| 13980 | |
| 13981 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13982 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13983 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 13984 | grpc++_test_util_unsecure |
| 13985 | grpc_test_util_unsecure |
| 13986 | grpc++_unsecure |
| 13987 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13988 | gpr_test_util |
| 13989 | gpr |
| 13990 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13991 | ) |
| 13992 | |
| 13993 | endif (gRPC_BUILD_TESTS) |
| 13994 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 13995 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 13996 | add_executable(transport_pid_controller_test |
| 13997 | test/core/transport/pid_controller_test.cc |
| 13998 | third_party/googletest/googletest/src/gtest-all.cc |
| 13999 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14000 | ) |
| 14001 | |
| 14002 | |
| 14003 | target_include_directories(transport_pid_controller_test |
| 14004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14006 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14007 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14008 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14009 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14010 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14011 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14012 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 14013 | PRIVATE third_party/googletest/googletest/include |
| 14014 | PRIVATE third_party/googletest/googletest |
| 14015 | PRIVATE third_party/googletest/googlemock/include |
| 14016 | PRIVATE third_party/googletest/googlemock |
| 14017 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14018 | ) |
| 14019 | |
| 14020 | target_link_libraries(transport_pid_controller_test |
| 14021 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14022 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14023 | grpc++_test_util |
| 14024 | grpc++ |
| 14025 | grpc_test_util |
| 14026 | grpc |
| 14027 | gpr_test_util |
| 14028 | gpr |
| 14029 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14030 | ) |
| 14031 | |
| 14032 | endif (gRPC_BUILD_TESTS) |
| 14033 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 14034 | |
| 14035 | add_executable(transport_security_common_api_test |
| 14036 | test/core/tsi/alts/handshaker/transport_security_common_api_test.cc |
| 14037 | third_party/googletest/googletest/src/gtest-all.cc |
| 14038 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14039 | ) |
| 14040 | |
| 14041 | |
| 14042 | target_include_directories(transport_security_common_api_test |
| 14043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14045 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14046 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14047 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14048 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14049 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14050 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14051 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yihua Zhang | eaf6486 | 2018-03-06 21:40:45 -0800 | [diff] [blame] | 14052 | PRIVATE third_party/googletest/googletest/include |
| 14053 | PRIVATE third_party/googletest/googletest |
| 14054 | PRIVATE third_party/googletest/googlemock/include |
| 14055 | PRIVATE third_party/googletest/googlemock |
| 14056 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14057 | ) |
| 14058 | |
| 14059 | target_link_libraries(transport_security_common_api_test |
| 14060 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14061 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14062 | alts_test_util |
| 14063 | gpr |
| 14064 | grpc |
| 14065 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14066 | ) |
| 14067 | |
| 14068 | endif (gRPC_BUILD_TESTS) |
| 14069 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 14070 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14071 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14072 | add_executable(writes_per_rpc_test |
| 14073 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14074 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14075 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14076 | ) |
| 14077 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14078 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14079 | target_include_directories(writes_per_rpc_test |
| 14080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14082 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14083 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14084 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14085 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14086 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14087 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14088 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 14089 | PRIVATE third_party/googletest/googletest/include |
| 14090 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 14091 | PRIVATE third_party/googletest/googlemock/include |
| 14092 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14093 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14094 | ) |
| 14095 | |
| 14096 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 14097 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14099 | grpc++_test_util |
| 14100 | grpc_test_util |
| 14101 | grpc++ |
| 14102 | grpc |
| 14103 | gpr_test_util |
| 14104 | gpr |
| 14105 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14106 | ) |
| 14107 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 14108 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 14109 | endif (gRPC_BUILD_TESTS) |
| 14110 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14111 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14112 | add_executable(public_headers_must_be_c89 |
| 14113 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14114 | ) |
| 14115 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14116 | |
| 14117 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14120 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14121 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14122 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14123 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14124 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14125 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14126 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14127 | ) |
| 14128 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14129 | target_link_libraries(public_headers_must_be_c89 |
| 14130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14131 | grpc |
| 14132 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14133 | ) |
| 14134 | |
| 14135 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14136 | |
| 14137 | add_executable(gen_hpack_tables |
| 14138 | tools/codegen/core/gen_hpack_tables.cc |
| 14139 | ) |
| 14140 | |
| 14141 | |
| 14142 | target_include_directories(gen_hpack_tables |
| 14143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14145 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14146 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14147 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14148 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14149 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14150 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14151 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14152 | ) |
| 14153 | |
| 14154 | target_link_libraries(gen_hpack_tables |
| 14155 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14156 | gpr |
| 14157 | grpc |
| 14158 | ) |
| 14159 | |
| 14160 | |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14161 | add_executable(gen_legal_metadata_characters |
| 14162 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 14163 | ) |
| 14164 | |
| 14165 | |
| 14166 | target_include_directories(gen_legal_metadata_characters |
| 14167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14169 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14170 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14171 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14172 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14173 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14174 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14175 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14176 | ) |
| 14177 | |
| 14178 | target_link_libraries(gen_legal_metadata_characters |
| 14179 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14180 | ) |
| 14181 | |
| 14182 | |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14183 | add_executable(gen_percent_encoding_tables |
| 14184 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 14185 | ) |
| 14186 | |
| 14187 | |
| 14188 | target_include_directories(gen_percent_encoding_tables |
| 14189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14197 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 14198 | ) |
| 14199 | |
| 14200 | target_link_libraries(gen_percent_encoding_tables |
| 14201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14202 | ) |
| 14203 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14204 | if (gRPC_BUILD_TESTS) |
| 14205 | |
| 14206 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14207 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14208 | ) |
| 14209 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14210 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14211 | target_include_directories(badreq_bad_client_test |
| 14212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14214 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14215 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14216 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14217 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14218 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14219 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14220 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14221 | ) |
| 14222 | |
| 14223 | target_link_libraries(badreq_bad_client_test |
| 14224 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14226 | bad_client_test |
| 14227 | grpc_test_util_unsecure |
| 14228 | grpc_unsecure |
| 14229 | gpr_test_util |
| 14230 | gpr |
| 14231 | ) |
| 14232 | |
| 14233 | endif (gRPC_BUILD_TESTS) |
| 14234 | if (gRPC_BUILD_TESTS) |
| 14235 | |
| 14236 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14237 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14238 | ) |
| 14239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14241 | target_include_directories(connection_prefix_bad_client_test |
| 14242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14250 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14251 | ) |
| 14252 | |
| 14253 | target_link_libraries(connection_prefix_bad_client_test |
| 14254 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14256 | bad_client_test |
| 14257 | grpc_test_util_unsecure |
| 14258 | grpc_unsecure |
| 14259 | gpr_test_util |
| 14260 | gpr |
| 14261 | ) |
| 14262 | |
| 14263 | endif (gRPC_BUILD_TESTS) |
| 14264 | if (gRPC_BUILD_TESTS) |
| 14265 | |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 14266 | add_executable(duplicate_header_bad_client_test |
| 14267 | test/core/bad_client/tests/duplicate_header.cc |
| 14268 | ) |
| 14269 | |
| 14270 | |
| 14271 | target_include_directories(duplicate_header_bad_client_test |
| 14272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14274 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 14275 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14276 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14277 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14278 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14279 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14280 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Ken Payson | 1dc0833 | 2018-01-25 16:52:51 -0800 | [diff] [blame] | 14281 | ) |
| 14282 | |
| 14283 | target_link_libraries(duplicate_header_bad_client_test |
| 14284 | ${_gRPC_SSL_LIBRARIES} |
| 14285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14286 | bad_client_test |
| 14287 | grpc_test_util_unsecure |
| 14288 | grpc_unsecure |
| 14289 | gpr_test_util |
| 14290 | gpr |
| 14291 | ) |
| 14292 | |
| 14293 | endif (gRPC_BUILD_TESTS) |
| 14294 | if (gRPC_BUILD_TESTS) |
| 14295 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14296 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14297 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14298 | ) |
| 14299 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14300 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14301 | target_include_directories(head_of_line_blocking_bad_client_test |
| 14302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14304 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14305 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14306 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14307 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14308 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14309 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14310 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14311 | ) |
| 14312 | |
| 14313 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 14314 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14316 | bad_client_test |
| 14317 | grpc_test_util_unsecure |
| 14318 | grpc_unsecure |
| 14319 | gpr_test_util |
| 14320 | gpr |
| 14321 | ) |
| 14322 | |
| 14323 | endif (gRPC_BUILD_TESTS) |
| 14324 | if (gRPC_BUILD_TESTS) |
| 14325 | |
| 14326 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14327 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14328 | ) |
| 14329 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14330 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14331 | target_include_directories(headers_bad_client_test |
| 14332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14334 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14335 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14336 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14337 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14338 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14339 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14340 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14341 | ) |
| 14342 | |
| 14343 | target_link_libraries(headers_bad_client_test |
| 14344 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14345 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14346 | bad_client_test |
| 14347 | grpc_test_util_unsecure |
| 14348 | grpc_unsecure |
| 14349 | gpr_test_util |
| 14350 | gpr |
| 14351 | ) |
| 14352 | |
| 14353 | endif (gRPC_BUILD_TESTS) |
| 14354 | if (gRPC_BUILD_TESTS) |
| 14355 | |
| 14356 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14357 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14358 | ) |
| 14359 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14360 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14361 | target_include_directories(initial_settings_frame_bad_client_test |
| 14362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14364 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14365 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14366 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14367 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14368 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14369 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14370 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14371 | ) |
| 14372 | |
| 14373 | target_link_libraries(initial_settings_frame_bad_client_test |
| 14374 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14375 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14376 | bad_client_test |
| 14377 | grpc_test_util_unsecure |
| 14378 | grpc_unsecure |
| 14379 | gpr_test_util |
| 14380 | gpr |
| 14381 | ) |
| 14382 | |
| 14383 | endif (gRPC_BUILD_TESTS) |
| 14384 | if (gRPC_BUILD_TESTS) |
| 14385 | |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 14386 | add_executable(large_metadata_bad_client_test |
| 14387 | test/core/bad_client/tests/large_metadata.cc |
| 14388 | ) |
| 14389 | |
| 14390 | |
| 14391 | target_include_directories(large_metadata_bad_client_test |
| 14392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14393 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14394 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yash Tibrewal | ea318b6 | 2018-01-24 10:59:26 -0800 | [diff] [blame] | 14395 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14396 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14397 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14398 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14399 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14400 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 14401 | ) |
| 14402 | |
| 14403 | target_link_libraries(large_metadata_bad_client_test |
| 14404 | ${_gRPC_SSL_LIBRARIES} |
| 14405 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14406 | bad_client_test |
| 14407 | grpc_test_util_unsecure |
| 14408 | grpc_unsecure |
| 14409 | gpr_test_util |
| 14410 | gpr |
| 14411 | ) |
| 14412 | |
| 14413 | endif (gRPC_BUILD_TESTS) |
| 14414 | if (gRPC_BUILD_TESTS) |
| 14415 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14416 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14417 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14418 | ) |
| 14419 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14420 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14421 | target_include_directories(server_registered_method_bad_client_test |
| 14422 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14424 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14425 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14426 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14427 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14428 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14429 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14430 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14431 | ) |
| 14432 | |
| 14433 | target_link_libraries(server_registered_method_bad_client_test |
| 14434 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14436 | bad_client_test |
| 14437 | grpc_test_util_unsecure |
| 14438 | grpc_unsecure |
| 14439 | gpr_test_util |
| 14440 | gpr |
| 14441 | ) |
| 14442 | |
| 14443 | endif (gRPC_BUILD_TESTS) |
| 14444 | if (gRPC_BUILD_TESTS) |
| 14445 | |
| 14446 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14447 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14448 | ) |
| 14449 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14451 | target_include_directories(simple_request_bad_client_test |
| 14452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14454 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14455 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14456 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14457 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14458 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14459 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14460 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14461 | ) |
| 14462 | |
| 14463 | target_link_libraries(simple_request_bad_client_test |
| 14464 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14466 | bad_client_test |
| 14467 | grpc_test_util_unsecure |
| 14468 | grpc_unsecure |
| 14469 | gpr_test_util |
| 14470 | gpr |
| 14471 | ) |
| 14472 | |
| 14473 | endif (gRPC_BUILD_TESTS) |
| 14474 | if (gRPC_BUILD_TESTS) |
| 14475 | |
| 14476 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14477 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14478 | ) |
| 14479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14481 | target_include_directories(unknown_frame_bad_client_test |
| 14482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14484 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14485 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14486 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14487 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14488 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14489 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14490 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14491 | ) |
| 14492 | |
| 14493 | target_link_libraries(unknown_frame_bad_client_test |
| 14494 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14496 | bad_client_test |
| 14497 | grpc_test_util_unsecure |
| 14498 | grpc_unsecure |
| 14499 | gpr_test_util |
| 14500 | gpr |
| 14501 | ) |
| 14502 | |
| 14503 | endif (gRPC_BUILD_TESTS) |
| 14504 | if (gRPC_BUILD_TESTS) |
| 14505 | |
| 14506 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14507 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14508 | ) |
| 14509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14511 | target_include_directories(window_overflow_bad_client_test |
| 14512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14514 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14515 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14516 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14517 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14518 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14519 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14520 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14521 | ) |
| 14522 | |
| 14523 | target_link_libraries(window_overflow_bad_client_test |
| 14524 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14525 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14526 | bad_client_test |
| 14527 | grpc_test_util_unsecure |
| 14528 | grpc_unsecure |
| 14529 | gpr_test_util |
| 14530 | gpr |
| 14531 | ) |
| 14532 | |
| 14533 | endif (gRPC_BUILD_TESTS) |
| 14534 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14535 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14536 | |
| 14537 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14538 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14539 | ) |
| 14540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14541 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14542 | target_include_directories(bad_ssl_cert_server |
| 14543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14545 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14546 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14547 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14548 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14549 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14550 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14551 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14552 | ) |
| 14553 | |
| 14554 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14555 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14556 | bad_ssl_test_server |
| 14557 | grpc_test_util |
| 14558 | grpc |
| 14559 | gpr_test_util |
| 14560 | gpr |
| 14561 | ) |
| 14562 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14563 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14564 | endif (gRPC_BUILD_TESTS) |
| 14565 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14566 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14567 | |
| 14568 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14569 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14570 | ) |
| 14571 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14572 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14573 | target_include_directories(bad_ssl_cert_test |
| 14574 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14576 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14577 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14578 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14579 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14580 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14581 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14582 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14583 | ) |
| 14584 | |
| 14585 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14586 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14587 | grpc_test_util |
| 14588 | grpc |
| 14589 | gpr_test_util |
| 14590 | gpr |
| 14591 | ) |
| 14592 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14593 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14594 | endif (gRPC_BUILD_TESTS) |
| 14595 | if (gRPC_BUILD_TESTS) |
| 14596 | |
| 14597 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14598 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14599 | ) |
| 14600 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14602 | target_include_directories(h2_census_test |
| 14603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14606 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14607 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14608 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14609 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14610 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14611 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14612 | ) |
| 14613 | |
| 14614 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14615 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14616 | end2end_tests |
| 14617 | grpc_test_util |
| 14618 | grpc |
| 14619 | gpr_test_util |
| 14620 | gpr |
| 14621 | ) |
| 14622 | |
| 14623 | endif (gRPC_BUILD_TESTS) |
| 14624 | if (gRPC_BUILD_TESTS) |
| 14625 | |
| 14626 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14627 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14628 | ) |
| 14629 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14630 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14631 | target_include_directories(h2_compress_test |
| 14632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14634 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14635 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14636 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14637 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14638 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14639 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14640 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14641 | ) |
| 14642 | |
| 14643 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14644 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14645 | end2end_tests |
| 14646 | grpc_test_util |
| 14647 | grpc |
| 14648 | gpr_test_util |
| 14649 | gpr |
| 14650 | ) |
| 14651 | |
| 14652 | endif (gRPC_BUILD_TESTS) |
| 14653 | if (gRPC_BUILD_TESTS) |
| 14654 | |
| 14655 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14656 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14657 | ) |
| 14658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14660 | target_include_directories(h2_fakesec_test |
| 14661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14663 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14664 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14665 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14666 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14667 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14668 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14669 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14670 | ) |
| 14671 | |
| 14672 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14673 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14674 | end2end_tests |
| 14675 | grpc_test_util |
| 14676 | grpc |
| 14677 | gpr_test_util |
| 14678 | gpr |
| 14679 | ) |
| 14680 | |
| 14681 | endif (gRPC_BUILD_TESTS) |
| 14682 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14683 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14684 | |
| 14685 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14686 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14687 | ) |
| 14688 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14689 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14690 | target_include_directories(h2_fd_test |
| 14691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14693 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14694 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14695 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14696 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14697 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14698 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14699 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14700 | ) |
| 14701 | |
| 14702 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14704 | end2end_tests |
| 14705 | grpc_test_util |
| 14706 | grpc |
| 14707 | gpr_test_util |
| 14708 | gpr |
| 14709 | ) |
| 14710 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14711 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14712 | endif (gRPC_BUILD_TESTS) |
| 14713 | if (gRPC_BUILD_TESTS) |
| 14714 | |
| 14715 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14716 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14717 | ) |
| 14718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14719 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14720 | target_include_directories(h2_full_test |
| 14721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14723 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14724 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14725 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14726 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14727 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14728 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14729 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14730 | ) |
| 14731 | |
| 14732 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14733 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14734 | end2end_tests |
| 14735 | grpc_test_util |
| 14736 | grpc |
| 14737 | gpr_test_util |
| 14738 | gpr |
| 14739 | ) |
| 14740 | |
| 14741 | endif (gRPC_BUILD_TESTS) |
| 14742 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14743 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14744 | |
| 14745 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14746 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14747 | ) |
| 14748 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14749 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14750 | target_include_directories(h2_full+pipe_test |
| 14751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14753 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14754 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14755 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14756 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14757 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14758 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14759 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14760 | ) |
| 14761 | |
| 14762 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14764 | end2end_tests |
| 14765 | grpc_test_util |
| 14766 | grpc |
| 14767 | gpr_test_util |
| 14768 | gpr |
| 14769 | ) |
| 14770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14771 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14772 | endif (gRPC_BUILD_TESTS) |
| 14773 | if (gRPC_BUILD_TESTS) |
| 14774 | |
| 14775 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14776 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14777 | ) |
| 14778 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14779 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14780 | target_include_directories(h2_full+trace_test |
| 14781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14783 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14784 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14785 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14786 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14787 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14788 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14789 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14790 | ) |
| 14791 | |
| 14792 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14793 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14794 | end2end_tests |
| 14795 | grpc_test_util |
| 14796 | grpc |
| 14797 | gpr_test_util |
| 14798 | gpr |
| 14799 | ) |
| 14800 | |
| 14801 | endif (gRPC_BUILD_TESTS) |
| 14802 | if (gRPC_BUILD_TESTS) |
| 14803 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 14804 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14805 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 14806 | ) |
| 14807 | |
| 14808 | |
| 14809 | target_include_directories(h2_full+workarounds_test |
| 14810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14812 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14813 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14814 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14815 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14816 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14817 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14818 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 14819 | ) |
| 14820 | |
| 14821 | target_link_libraries(h2_full+workarounds_test |
| 14822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14823 | end2end_tests |
| 14824 | grpc_test_util |
| 14825 | grpc |
| 14826 | gpr_test_util |
| 14827 | gpr |
| 14828 | ) |
| 14829 | |
| 14830 | endif (gRPC_BUILD_TESTS) |
| 14831 | if (gRPC_BUILD_TESTS) |
| 14832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14833 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14834 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14835 | ) |
| 14836 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14838 | target_include_directories(h2_http_proxy_test |
| 14839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14841 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14842 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14843 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14844 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14845 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14846 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14847 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14848 | ) |
| 14849 | |
| 14850 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14851 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14852 | end2end_tests |
| 14853 | grpc_test_util |
| 14854 | grpc |
| 14855 | gpr_test_util |
| 14856 | gpr |
| 14857 | ) |
| 14858 | |
| 14859 | endif (gRPC_BUILD_TESTS) |
| 14860 | if (gRPC_BUILD_TESTS) |
| 14861 | |
| 14862 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14863 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14864 | ) |
| 14865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14866 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14867 | target_include_directories(h2_load_reporting_test |
| 14868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14870 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14871 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14872 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14873 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14874 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14875 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14876 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14877 | ) |
| 14878 | |
| 14879 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14881 | end2end_tests |
| 14882 | grpc_test_util |
| 14883 | grpc |
| 14884 | gpr_test_util |
| 14885 | gpr |
| 14886 | ) |
| 14887 | |
| 14888 | endif (gRPC_BUILD_TESTS) |
| 14889 | if (gRPC_BUILD_TESTS) |
| 14890 | |
| 14891 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14892 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14893 | ) |
| 14894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14896 | target_include_directories(h2_oauth2_test |
| 14897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14905 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14906 | ) |
| 14907 | |
| 14908 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14910 | end2end_tests |
| 14911 | grpc_test_util |
| 14912 | grpc |
| 14913 | gpr_test_util |
| 14914 | gpr |
| 14915 | ) |
| 14916 | |
| 14917 | endif (gRPC_BUILD_TESTS) |
| 14918 | if (gRPC_BUILD_TESTS) |
| 14919 | |
| 14920 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14921 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14922 | ) |
| 14923 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14924 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14925 | target_include_directories(h2_proxy_test |
| 14926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14928 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14929 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14930 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14931 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14932 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14933 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14934 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14935 | ) |
| 14936 | |
| 14937 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14938 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14939 | end2end_tests |
| 14940 | grpc_test_util |
| 14941 | grpc |
| 14942 | gpr_test_util |
| 14943 | gpr |
| 14944 | ) |
| 14945 | |
| 14946 | endif (gRPC_BUILD_TESTS) |
| 14947 | if (gRPC_BUILD_TESTS) |
| 14948 | |
| 14949 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14950 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14951 | ) |
| 14952 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14953 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14954 | target_include_directories(h2_sockpair_test |
| 14955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14956 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14957 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14958 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14959 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14960 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14961 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14962 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14963 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14964 | ) |
| 14965 | |
| 14966 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14968 | end2end_tests |
| 14969 | grpc_test_util |
| 14970 | grpc |
| 14971 | gpr_test_util |
| 14972 | gpr |
| 14973 | ) |
| 14974 | |
| 14975 | endif (gRPC_BUILD_TESTS) |
| 14976 | if (gRPC_BUILD_TESTS) |
| 14977 | |
| 14978 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14979 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14980 | ) |
| 14981 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14982 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14983 | target_include_directories(h2_sockpair+trace_test |
| 14984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14986 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14987 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14988 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14989 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14990 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14991 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 14992 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14993 | ) |
| 14994 | |
| 14995 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14996 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14997 | end2end_tests |
| 14998 | grpc_test_util |
| 14999 | grpc |
| 15000 | gpr_test_util |
| 15001 | gpr |
| 15002 | ) |
| 15003 | |
| 15004 | endif (gRPC_BUILD_TESTS) |
| 15005 | if (gRPC_BUILD_TESTS) |
| 15006 | |
| 15007 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15008 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15009 | ) |
| 15010 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15011 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15012 | target_include_directories(h2_sockpair_1byte_test |
| 15013 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15015 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15016 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15017 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15018 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15019 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15020 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15021 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15022 | ) |
| 15023 | |
| 15024 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15026 | end2end_tests |
| 15027 | grpc_test_util |
| 15028 | grpc |
| 15029 | gpr_test_util |
| 15030 | gpr |
| 15031 | ) |
| 15032 | |
| 15033 | endif (gRPC_BUILD_TESTS) |
| 15034 | if (gRPC_BUILD_TESTS) |
| 15035 | |
| 15036 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15037 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15038 | ) |
| 15039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15041 | target_include_directories(h2_ssl_test |
| 15042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15044 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15045 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15046 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15047 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15048 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15049 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15050 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15051 | ) |
| 15052 | |
| 15053 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15055 | end2end_tests |
| 15056 | grpc_test_util |
| 15057 | grpc |
| 15058 | gpr_test_util |
| 15059 | gpr |
| 15060 | ) |
| 15061 | |
| 15062 | endif (gRPC_BUILD_TESTS) |
| 15063 | if (gRPC_BUILD_TESTS) |
| 15064 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15065 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15066 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15067 | ) |
| 15068 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15069 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15070 | target_include_directories(h2_ssl_proxy_test |
| 15071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15072 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15073 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15074 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15075 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15076 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15077 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15078 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15079 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15080 | ) |
| 15081 | |
| 15082 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15083 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15084 | end2end_tests |
| 15085 | grpc_test_util |
| 15086 | grpc |
| 15087 | gpr_test_util |
| 15088 | gpr |
| 15089 | ) |
| 15090 | |
| 15091 | endif (gRPC_BUILD_TESTS) |
| 15092 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15093 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15094 | |
| 15095 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15096 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15097 | ) |
| 15098 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15099 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15100 | target_include_directories(h2_uds_test |
| 15101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15103 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15104 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15105 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15106 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15107 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15108 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15109 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15110 | ) |
| 15111 | |
| 15112 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15114 | end2end_tests |
| 15115 | grpc_test_util |
| 15116 | grpc |
| 15117 | gpr_test_util |
| 15118 | gpr |
| 15119 | ) |
| 15120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15121 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15122 | endif (gRPC_BUILD_TESTS) |
| 15123 | if (gRPC_BUILD_TESTS) |
| 15124 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15125 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15126 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15127 | ) |
| 15128 | |
| 15129 | |
| 15130 | target_include_directories(inproc_test |
| 15131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15133 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15134 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15135 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15136 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15137 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15138 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15139 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15140 | ) |
| 15141 | |
| 15142 | target_link_libraries(inproc_test |
| 15143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15144 | end2end_tests |
| 15145 | grpc_test_util |
| 15146 | grpc |
| 15147 | gpr_test_util |
| 15148 | gpr |
| 15149 | ) |
| 15150 | |
| 15151 | endif (gRPC_BUILD_TESTS) |
| 15152 | if (gRPC_BUILD_TESTS) |
| 15153 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15154 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15155 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15156 | ) |
| 15157 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15158 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15159 | target_include_directories(h2_census_nosec_test |
| 15160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15162 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15163 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15164 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15165 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15166 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15167 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15168 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15169 | ) |
| 15170 | |
| 15171 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15173 | end2end_nosec_tests |
| 15174 | grpc_test_util_unsecure |
| 15175 | grpc_unsecure |
| 15176 | gpr_test_util |
| 15177 | gpr |
| 15178 | ) |
| 15179 | |
| 15180 | endif (gRPC_BUILD_TESTS) |
| 15181 | if (gRPC_BUILD_TESTS) |
| 15182 | |
| 15183 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15184 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15185 | ) |
| 15186 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15187 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15188 | target_include_directories(h2_compress_nosec_test |
| 15189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15191 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15192 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15193 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15194 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15195 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15196 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15197 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15198 | ) |
| 15199 | |
| 15200 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15202 | end2end_nosec_tests |
| 15203 | grpc_test_util_unsecure |
| 15204 | grpc_unsecure |
| 15205 | gpr_test_util |
| 15206 | gpr |
| 15207 | ) |
| 15208 | |
| 15209 | endif (gRPC_BUILD_TESTS) |
| 15210 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15211 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15212 | |
| 15213 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15214 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15215 | ) |
| 15216 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15217 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15218 | target_include_directories(h2_fd_nosec_test |
| 15219 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15221 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15222 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15223 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15224 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15225 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15226 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15227 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15228 | ) |
| 15229 | |
| 15230 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15232 | end2end_nosec_tests |
| 15233 | grpc_test_util_unsecure |
| 15234 | grpc_unsecure |
| 15235 | gpr_test_util |
| 15236 | gpr |
| 15237 | ) |
| 15238 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15239 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15240 | endif (gRPC_BUILD_TESTS) |
| 15241 | if (gRPC_BUILD_TESTS) |
| 15242 | |
| 15243 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15244 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15245 | ) |
| 15246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15248 | target_include_directories(h2_full_nosec_test |
| 15249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15251 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15252 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15253 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15254 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15255 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15256 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15257 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15258 | ) |
| 15259 | |
| 15260 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15262 | end2end_nosec_tests |
| 15263 | grpc_test_util_unsecure |
| 15264 | grpc_unsecure |
| 15265 | gpr_test_util |
| 15266 | gpr |
| 15267 | ) |
| 15268 | |
| 15269 | endif (gRPC_BUILD_TESTS) |
| 15270 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15271 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15272 | |
| 15273 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15274 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15275 | ) |
| 15276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15278 | target_include_directories(h2_full+pipe_nosec_test |
| 15279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15281 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15282 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15283 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15284 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15285 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15286 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15287 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15288 | ) |
| 15289 | |
| 15290 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15292 | end2end_nosec_tests |
| 15293 | grpc_test_util_unsecure |
| 15294 | grpc_unsecure |
| 15295 | gpr_test_util |
| 15296 | gpr |
| 15297 | ) |
| 15298 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15299 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15300 | endif (gRPC_BUILD_TESTS) |
| 15301 | if (gRPC_BUILD_TESTS) |
| 15302 | |
| 15303 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15304 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15305 | ) |
| 15306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15307 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15308 | target_include_directories(h2_full+trace_nosec_test |
| 15309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15311 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15312 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15313 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15314 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15315 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15316 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15317 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15318 | ) |
| 15319 | |
| 15320 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15321 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15322 | end2end_nosec_tests |
| 15323 | grpc_test_util_unsecure |
| 15324 | grpc_unsecure |
| 15325 | gpr_test_util |
| 15326 | gpr |
| 15327 | ) |
| 15328 | |
| 15329 | endif (gRPC_BUILD_TESTS) |
| 15330 | if (gRPC_BUILD_TESTS) |
| 15331 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15332 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15333 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15334 | ) |
| 15335 | |
| 15336 | |
| 15337 | target_include_directories(h2_full+workarounds_nosec_test |
| 15338 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15340 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15341 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15342 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15343 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15344 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15345 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15346 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 15347 | ) |
| 15348 | |
| 15349 | target_link_libraries(h2_full+workarounds_nosec_test |
| 15350 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15351 | end2end_nosec_tests |
| 15352 | grpc_test_util_unsecure |
| 15353 | grpc_unsecure |
| 15354 | gpr_test_util |
| 15355 | gpr |
| 15356 | ) |
| 15357 | |
| 15358 | endif (gRPC_BUILD_TESTS) |
| 15359 | if (gRPC_BUILD_TESTS) |
| 15360 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15361 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15362 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15363 | ) |
| 15364 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15365 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15366 | target_include_directories(h2_http_proxy_nosec_test |
| 15367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15369 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15370 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15371 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15372 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15373 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15374 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15375 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15376 | ) |
| 15377 | |
| 15378 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15379 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15380 | end2end_nosec_tests |
| 15381 | grpc_test_util_unsecure |
| 15382 | grpc_unsecure |
| 15383 | gpr_test_util |
| 15384 | gpr |
| 15385 | ) |
| 15386 | |
| 15387 | endif (gRPC_BUILD_TESTS) |
| 15388 | if (gRPC_BUILD_TESTS) |
| 15389 | |
| 15390 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15391 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15392 | ) |
| 15393 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15395 | target_include_directories(h2_load_reporting_nosec_test |
| 15396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15398 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15399 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15400 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15401 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15402 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15403 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15404 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15405 | ) |
| 15406 | |
| 15407 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15409 | end2end_nosec_tests |
| 15410 | grpc_test_util_unsecure |
| 15411 | grpc_unsecure |
| 15412 | gpr_test_util |
| 15413 | gpr |
| 15414 | ) |
| 15415 | |
| 15416 | endif (gRPC_BUILD_TESTS) |
| 15417 | if (gRPC_BUILD_TESTS) |
| 15418 | |
| 15419 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15420 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15421 | ) |
| 15422 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15423 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15424 | target_include_directories(h2_proxy_nosec_test |
| 15425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15427 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15428 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15429 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15430 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15431 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15432 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15433 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15434 | ) |
| 15435 | |
| 15436 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15437 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15438 | end2end_nosec_tests |
| 15439 | grpc_test_util_unsecure |
| 15440 | grpc_unsecure |
| 15441 | gpr_test_util |
| 15442 | gpr |
| 15443 | ) |
| 15444 | |
| 15445 | endif (gRPC_BUILD_TESTS) |
| 15446 | if (gRPC_BUILD_TESTS) |
| 15447 | |
| 15448 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15449 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15450 | ) |
| 15451 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15452 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15453 | target_include_directories(h2_sockpair_nosec_test |
| 15454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15456 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15457 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15458 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15459 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15460 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15461 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15462 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15463 | ) |
| 15464 | |
| 15465 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15466 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15467 | end2end_nosec_tests |
| 15468 | grpc_test_util_unsecure |
| 15469 | grpc_unsecure |
| 15470 | gpr_test_util |
| 15471 | gpr |
| 15472 | ) |
| 15473 | |
| 15474 | endif (gRPC_BUILD_TESTS) |
| 15475 | if (gRPC_BUILD_TESTS) |
| 15476 | |
| 15477 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15478 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15479 | ) |
| 15480 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15481 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15482 | target_include_directories(h2_sockpair+trace_nosec_test |
| 15483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15485 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15486 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15487 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15488 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15489 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15490 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15491 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15492 | ) |
| 15493 | |
| 15494 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15496 | end2end_nosec_tests |
| 15497 | grpc_test_util_unsecure |
| 15498 | grpc_unsecure |
| 15499 | gpr_test_util |
| 15500 | gpr |
| 15501 | ) |
| 15502 | |
| 15503 | endif (gRPC_BUILD_TESTS) |
| 15504 | if (gRPC_BUILD_TESTS) |
| 15505 | |
| 15506 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15507 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15508 | ) |
| 15509 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15510 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15511 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 15512 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15513 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15514 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15515 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15516 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15517 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15518 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15519 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15520 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15521 | ) |
| 15522 | |
| 15523 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15524 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15525 | end2end_nosec_tests |
| 15526 | grpc_test_util_unsecure |
| 15527 | grpc_unsecure |
| 15528 | gpr_test_util |
| 15529 | gpr |
| 15530 | ) |
| 15531 | |
| 15532 | endif (gRPC_BUILD_TESTS) |
| 15533 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15535 | |
| 15536 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15537 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15538 | ) |
| 15539 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15540 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15541 | target_include_directories(h2_uds_nosec_test |
| 15542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15544 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15545 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15546 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15547 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15548 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15549 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15550 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15551 | ) |
| 15552 | |
| 15553 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15554 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15555 | end2end_nosec_tests |
| 15556 | grpc_test_util_unsecure |
| 15557 | grpc_unsecure |
| 15558 | gpr_test_util |
| 15559 | gpr |
| 15560 | ) |
| 15561 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15562 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15563 | endif (gRPC_BUILD_TESTS) |
| 15564 | if (gRPC_BUILD_TESTS) |
| 15565 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15566 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15567 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15568 | ) |
| 15569 | |
| 15570 | |
| 15571 | target_include_directories(inproc_nosec_test |
| 15572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15574 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15575 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15576 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15577 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15578 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15579 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15580 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15581 | ) |
| 15582 | |
| 15583 | target_link_libraries(inproc_nosec_test |
| 15584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15585 | end2end_nosec_tests |
| 15586 | grpc_test_util_unsecure |
| 15587 | grpc_unsecure |
| 15588 | gpr_test_util |
| 15589 | gpr |
| 15590 | ) |
| 15591 | |
| 15592 | endif (gRPC_BUILD_TESTS) |
| 15593 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 15594 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15595 | |
| 15596 | add_executable(resolver_component_test_unsecure |
| 15597 | test/cpp/naming/resolver_component_test.cc |
| 15598 | third_party/googletest/googletest/src/gtest-all.cc |
| 15599 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15600 | ) |
| 15601 | |
| 15602 | |
| 15603 | target_include_directories(resolver_component_test_unsecure |
| 15604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15606 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15607 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15608 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15609 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15610 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15611 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15612 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 15613 | PRIVATE third_party/googletest/googletest/include |
| 15614 | PRIVATE third_party/googletest/googletest |
| 15615 | PRIVATE third_party/googletest/googlemock/include |
| 15616 | PRIVATE third_party/googletest/googlemock |
| 15617 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15618 | ) |
| 15619 | |
| 15620 | target_link_libraries(resolver_component_test_unsecure |
| 15621 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15623 | grpc++_test_util_unsecure |
| 15624 | grpc_test_util_unsecure |
| 15625 | gpr_test_util |
| 15626 | grpc++_unsecure |
| 15627 | grpc_unsecure |
| 15628 | gpr |
| 15629 | grpc++_test_config |
| 15630 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15631 | ) |
| 15632 | |
| 15633 | endif() |
| 15634 | endif (gRPC_BUILD_TESTS) |
| 15635 | if (gRPC_BUILD_TESTS) |
| 15636 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15637 | |
| 15638 | add_executable(resolver_component_test |
| 15639 | test/cpp/naming/resolver_component_test.cc |
| 15640 | third_party/googletest/googletest/src/gtest-all.cc |
| 15641 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15642 | ) |
| 15643 | |
| 15644 | |
| 15645 | target_include_directories(resolver_component_test |
| 15646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15648 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15649 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15650 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15651 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15652 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15653 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15654 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 15655 | PRIVATE third_party/googletest/googletest/include |
| 15656 | PRIVATE third_party/googletest/googletest |
| 15657 | PRIVATE third_party/googletest/googlemock/include |
| 15658 | PRIVATE third_party/googletest/googlemock |
| 15659 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15660 | ) |
| 15661 | |
| 15662 | target_link_libraries(resolver_component_test |
| 15663 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15665 | grpc++_test_util |
| 15666 | grpc_test_util |
| 15667 | gpr_test_util |
| 15668 | grpc++ |
| 15669 | grpc |
| 15670 | gpr |
| 15671 | grpc++_test_config |
| 15672 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15673 | ) |
| 15674 | |
| 15675 | endif() |
| 15676 | endif (gRPC_BUILD_TESTS) |
| 15677 | if (gRPC_BUILD_TESTS) |
| 15678 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15679 | |
| 15680 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 15681 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 15682 | third_party/googletest/googletest/src/gtest-all.cc |
| 15683 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15684 | ) |
| 15685 | |
| 15686 | |
| 15687 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 15688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15691 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15692 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15693 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15694 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15695 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15696 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 15697 | PRIVATE third_party/googletest/googletest/include |
| 15698 | PRIVATE third_party/googletest/googletest |
| 15699 | PRIVATE third_party/googletest/googlemock/include |
| 15700 | PRIVATE third_party/googletest/googlemock |
| 15701 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15702 | ) |
| 15703 | |
| 15704 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 15705 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15706 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15707 | grpc++_test_util |
| 15708 | grpc_test_util |
| 15709 | gpr_test_util |
| 15710 | grpc++ |
| 15711 | grpc |
| 15712 | gpr |
| 15713 | grpc++_test_config |
| 15714 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15715 | ) |
| 15716 | |
| 15717 | endif() |
| 15718 | endif (gRPC_BUILD_TESTS) |
| 15719 | if (gRPC_BUILD_TESTS) |
| 15720 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15721 | |
| 15722 | add_executable(resolver_component_tests_runner_invoker |
| 15723 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 15724 | third_party/googletest/googletest/src/gtest-all.cc |
| 15725 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15726 | ) |
| 15727 | |
| 15728 | |
| 15729 | target_include_directories(resolver_component_tests_runner_invoker |
| 15730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15732 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15733 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15734 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15735 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15736 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15737 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15738 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 15739 | PRIVATE third_party/googletest/googletest/include |
| 15740 | PRIVATE third_party/googletest/googletest |
| 15741 | PRIVATE third_party/googletest/googlemock/include |
| 15742 | PRIVATE third_party/googletest/googlemock |
| 15743 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15744 | ) |
| 15745 | |
| 15746 | target_link_libraries(resolver_component_tests_runner_invoker |
| 15747 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15748 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15749 | grpc++_test_util |
| 15750 | grpc_test_util |
| 15751 | gpr_test_util |
| 15752 | grpc++ |
| 15753 | grpc |
| 15754 | gpr |
| 15755 | grpc++_test_config |
| 15756 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15757 | ) |
| 15758 | |
| 15759 | endif() |
| 15760 | endif (gRPC_BUILD_TESTS) |
| 15761 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 15762 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15763 | |
| 15764 | add_executable(address_sorting_test_unsecure |
| 15765 | test/cpp/naming/address_sorting_test.cc |
| 15766 | third_party/googletest/googletest/src/gtest-all.cc |
| 15767 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15768 | ) |
| 15769 | |
| 15770 | |
| 15771 | target_include_directories(address_sorting_test_unsecure |
| 15772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 15774 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 15775 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15776 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15777 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15778 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15779 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15780 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 15781 | PRIVATE third_party/googletest/googletest/include |
| 15782 | PRIVATE third_party/googletest/googletest |
| 15783 | PRIVATE third_party/googletest/googlemock/include |
| 15784 | PRIVATE third_party/googletest/googlemock |
| 15785 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15786 | ) |
| 15787 | |
| 15788 | target_link_libraries(address_sorting_test_unsecure |
| 15789 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15790 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15791 | grpc++_test_util_unsecure |
| 15792 | grpc_test_util_unsecure |
| 15793 | gpr_test_util |
| 15794 | grpc++_unsecure |
| 15795 | grpc_unsecure |
| 15796 | gpr |
| 15797 | grpc++_test_config |
| 15798 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15799 | ) |
| 15800 | |
| 15801 | endif() |
| 15802 | endif (gRPC_BUILD_TESTS) |
| 15803 | if (gRPC_BUILD_TESTS) |
| 15804 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 15805 | |
| 15806 | add_executable(address_sorting_test |
| 15807 | test/cpp/naming/address_sorting_test.cc |
| 15808 | third_party/googletest/googletest/src/gtest-all.cc |
| 15809 | third_party/googletest/googlemock/src/gmock-all.cc |
| 15810 | ) |
| 15811 | |
| 15812 | |
| 15813 | target_include_directories(address_sorting_test |
| 15814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 15816 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 15817 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15818 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15819 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15820 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15821 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15822 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Alexander Polcyn | 690dde6 | 2017-10-18 00:20:33 -0700 | [diff] [blame] | 15823 | PRIVATE third_party/googletest/googletest/include |
| 15824 | PRIVATE third_party/googletest/googletest |
| 15825 | PRIVATE third_party/googletest/googlemock/include |
| 15826 | PRIVATE third_party/googletest/googlemock |
| 15827 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 15828 | ) |
| 15829 | |
| 15830 | target_link_libraries(address_sorting_test |
| 15831 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 15832 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15833 | grpc++_test_util |
| 15834 | grpc_test_util |
| 15835 | gpr_test_util |
| 15836 | grpc++ |
| 15837 | grpc |
| 15838 | gpr |
| 15839 | grpc++_test_config |
| 15840 | ${_gRPC_GFLAGS_LIBRARIES} |
| 15841 | ) |
| 15842 | |
| 15843 | endif() |
| 15844 | endif (gRPC_BUILD_TESTS) |
| 15845 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 15846 | |
Yihua Zhang | cc93663 | 2018-05-08 10:15:03 -0700 | [diff] [blame] | 15847 | add_executable(alts_credentials_fuzzer_one_entry |
| 15848 | test/core/security/alts_credentials_fuzzer.cc |
| 15849 | test/core/util/one_corpus_entry_fuzzer.cc |
| 15850 | ) |
| 15851 | |
| 15852 | |
| 15853 | target_include_directories(alts_credentials_fuzzer_one_entry |
| 15854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 15856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 15857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 15862 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
| 15863 | ) |
| 15864 | |
| 15865 | target_link_libraries(alts_credentials_fuzzer_one_entry |
| 15866 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15867 | grpc_test_util |
| 15868 | grpc |
| 15869 | gpr_test_util |
| 15870 | gpr |
| 15871 | ) |
| 15872 | |
| 15873 | endif (gRPC_BUILD_TESTS) |
| 15874 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15876 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15877 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 15878 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15879 | ) |
| 15880 | |
| 15881 | |
| 15882 | target_include_directories(api_fuzzer_one_entry |
| 15883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15885 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15886 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15887 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15888 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15889 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15890 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15891 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15892 | ) |
| 15893 | |
| 15894 | target_link_libraries(api_fuzzer_one_entry |
| 15895 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15896 | grpc_test_util |
| 15897 | grpc |
| 15898 | gpr_test_util |
| 15899 | gpr |
| 15900 | ) |
| 15901 | |
| 15902 | endif (gRPC_BUILD_TESTS) |
| 15903 | if (gRPC_BUILD_TESTS) |
| 15904 | |
| 15905 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15906 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 15907 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15908 | ) |
| 15909 | |
| 15910 | |
| 15911 | target_include_directories(client_fuzzer_one_entry |
| 15912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15914 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15915 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15916 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15917 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15918 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15919 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15920 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15921 | ) |
| 15922 | |
| 15923 | target_link_libraries(client_fuzzer_one_entry |
| 15924 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 15925 | grpc_test_util |
| 15926 | grpc |
| 15927 | gpr_test_util |
| 15928 | gpr |
| 15929 | ) |
| 15930 | |
| 15931 | endif (gRPC_BUILD_TESTS) |
| 15932 | if (gRPC_BUILD_TESTS) |
| 15933 | |
| 15934 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15935 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 15936 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15937 | ) |
| 15938 | |
| 15939 | |
| 15940 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 15941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15943 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15944 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15945 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15946 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15947 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15948 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15949 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15950 | ) |
| 15951 | |
| 15952 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15954 | grpc_test_util |
| 15955 | grpc |
| 15956 | gpr_test_util |
| 15957 | gpr |
| 15958 | ) |
| 15959 | |
| 15960 | endif (gRPC_BUILD_TESTS) |
| 15961 | if (gRPC_BUILD_TESTS) |
| 15962 | |
| 15963 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15964 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 15965 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15966 | ) |
| 15967 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15968 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15969 | target_include_directories(http_request_fuzzer_test_one_entry |
| 15970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 15971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 15972 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 15973 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 15974 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 15975 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 15976 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 15977 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 15978 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15979 | ) |
| 15980 | |
| 15981 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15983 | grpc_test_util |
| 15984 | grpc |
| 15985 | gpr_test_util |
| 15986 | gpr |
| 15987 | ) |
| 15988 | |
| 15989 | endif (gRPC_BUILD_TESTS) |
| 15990 | if (gRPC_BUILD_TESTS) |
| 15991 | |
| 15992 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 15993 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 15994 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15995 | ) |
| 15996 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 15997 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 15998 | target_include_directories(http_response_fuzzer_test_one_entry |
| 15999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16001 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16002 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16003 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16004 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16005 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16006 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16007 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16008 | ) |
| 16009 | |
| 16010 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16012 | grpc_test_util |
| 16013 | grpc |
| 16014 | gpr_test_util |
| 16015 | gpr |
| 16016 | ) |
| 16017 | |
| 16018 | endif (gRPC_BUILD_TESTS) |
| 16019 | if (gRPC_BUILD_TESTS) |
| 16020 | |
| 16021 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16022 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16023 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16024 | ) |
| 16025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16027 | target_include_directories(json_fuzzer_test_one_entry |
| 16028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16030 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16031 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16032 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16033 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16034 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16035 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16036 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16037 | ) |
| 16038 | |
| 16039 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16040 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16041 | grpc_test_util |
| 16042 | grpc |
| 16043 | gpr_test_util |
| 16044 | gpr |
| 16045 | ) |
| 16046 | |
| 16047 | endif (gRPC_BUILD_TESTS) |
| 16048 | if (gRPC_BUILD_TESTS) |
| 16049 | |
| 16050 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16051 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16052 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16053 | ) |
| 16054 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16055 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16056 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 16057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16059 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16060 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16061 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16062 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16063 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16064 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16065 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16066 | ) |
| 16067 | |
| 16068 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16070 | grpc_test_util |
| 16071 | grpc |
| 16072 | gpr_test_util |
| 16073 | gpr |
| 16074 | ) |
| 16075 | |
| 16076 | endif (gRPC_BUILD_TESTS) |
| 16077 | if (gRPC_BUILD_TESTS) |
| 16078 | |
| 16079 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16080 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16081 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16082 | ) |
| 16083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16085 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 16086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16089 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16090 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16091 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16092 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16093 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16094 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16095 | ) |
| 16096 | |
| 16097 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16099 | grpc_test_util |
| 16100 | grpc |
| 16101 | gpr_test_util |
| 16102 | gpr |
| 16103 | ) |
| 16104 | |
| 16105 | endif (gRPC_BUILD_TESTS) |
| 16106 | if (gRPC_BUILD_TESTS) |
| 16107 | |
| 16108 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16109 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16110 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16111 | ) |
| 16112 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16113 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16114 | target_include_directories(percent_decode_fuzzer_one_entry |
| 16115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16117 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16118 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16119 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16120 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16121 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16122 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16123 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16124 | ) |
| 16125 | |
| 16126 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16127 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16128 | grpc_test_util |
| 16129 | grpc |
| 16130 | gpr_test_util |
| 16131 | gpr |
| 16132 | ) |
| 16133 | |
| 16134 | endif (gRPC_BUILD_TESTS) |
| 16135 | if (gRPC_BUILD_TESTS) |
| 16136 | |
| 16137 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16138 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16139 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16140 | ) |
| 16141 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16142 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16143 | target_include_directories(percent_encode_fuzzer_one_entry |
| 16144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16145 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16146 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16147 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16148 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16149 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16150 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16151 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16152 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16153 | ) |
| 16154 | |
| 16155 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16157 | grpc_test_util |
| 16158 | grpc |
| 16159 | gpr_test_util |
| 16160 | gpr |
| 16161 | ) |
| 16162 | |
| 16163 | endif (gRPC_BUILD_TESTS) |
| 16164 | if (gRPC_BUILD_TESTS) |
| 16165 | |
| 16166 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16167 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16168 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16169 | ) |
| 16170 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16171 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16172 | target_include_directories(server_fuzzer_one_entry |
| 16173 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16175 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16176 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16177 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16178 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16179 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16180 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16181 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16182 | ) |
| 16183 | |
| 16184 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16185 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16186 | grpc_test_util |
| 16187 | grpc |
| 16188 | gpr_test_util |
| 16189 | gpr |
| 16190 | ) |
| 16191 | |
| 16192 | endif (gRPC_BUILD_TESTS) |
| 16193 | if (gRPC_BUILD_TESTS) |
| 16194 | |
| 16195 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16196 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16197 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16198 | ) |
| 16199 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16200 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16201 | target_include_directories(ssl_server_fuzzer_one_entry |
| 16202 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16203 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16204 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16205 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16206 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16207 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16208 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16209 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16210 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16211 | ) |
| 16212 | |
| 16213 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16214 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16215 | grpc_test_util |
| 16216 | grpc |
| 16217 | gpr_test_util |
| 16218 | gpr |
| 16219 | ) |
| 16220 | |
| 16221 | endif (gRPC_BUILD_TESTS) |
| 16222 | if (gRPC_BUILD_TESTS) |
| 16223 | |
| 16224 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 16225 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 16226 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16227 | ) |
| 16228 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16229 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16230 | target_include_directories(uri_fuzzer_test_one_entry |
| 16231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 16232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 16233 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 16234 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 16235 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 16236 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 16237 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 16238 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 5de3478 | 2018-01-19 14:48:19 -0800 | [diff] [blame] | 16239 | PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16240 | ) |
| 16241 | |
| 16242 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 16243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 16244 | grpc_test_util |
| 16245 | grpc |
| 16246 | gpr_test_util |
| 16247 | gpr |
| 16248 | ) |
| 16249 | |
| 16250 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 16251 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 16252 | |
| 16253 | |
| 16254 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 16255 | |
| 16256 | |
| 16257 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 16258 | if (gRPC_INSTALL) |
| 16259 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 16260 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 16261 | NAMESPACE gRPC:: |
| 16262 | ) |
| 16263 | endif() |
| 16264 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16265 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 16266 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16267 | ${_config}.cmake @ONLY) |
| 16268 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 16269 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 16270 | ) |
| 16271 | endforeach() |
Jan Tattermusch | a3992d2 | 2018-05-09 17:37:27 +0200 | [diff] [blame] | 16272 | |
| 16273 | install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/etc/roots.pem |
| 16274 | DESTINATION ${gRPC_INSTALL_SHAREDIR}) |